sfa.git
15 years agono need to store managers in differnty directories depending on their type, the type...
Tony Mack [Tue, 1 Dec 2009 16:53:02 +0000 (16:53 +0000)]
no need to store managers in differnty directories depending on their type, the type is defined in the name

15 years agoadded some configuration variables for the componet manager.
Tony Mack [Tue, 1 Dec 2009 16:43:19 +0000 (16:43 +0000)]
added some configuration variables for the componet manager.

15 years agochanged COMPONENT_TYPE to CM_TYPE
Tony Mack [Tue, 1 Dec 2009 16:41:51 +0000 (16:41 +0000)]
changed COMPONENT_TYPE to CM_TYPE

15 years agoadded some default configuration variables
Tony Mack [Tue, 1 Dec 2009 16:25:40 +0000 (16:25 +0000)]
added some default configuration variables

15 years agoinitial checkin of default unimplemented component manager
Tony Mack [Tue, 1 Dec 2009 16:18:27 +0000 (16:18 +0000)]
initial checkin of default unimplemented component manager

15 years agorenaming
Tony Mack [Tue, 1 Dec 2009 16:14:09 +0000 (16:14 +0000)]
renaming

15 years agoinitial checkin of managers plugin directory
Tony Mack [Tue, 1 Dec 2009 16:10:07 +0000 (16:10 +0000)]
initial checkin of managers plugin directory

15 years agodeleting
Tony Mack [Tue, 1 Dec 2009 15:38:14 +0000 (15:38 +0000)]
deleting

15 years agorenamed reset_slices to reset_slice
Tony Mack [Tue, 1 Dec 2009 15:37:11 +0000 (15:37 +0000)]
renamed reset_slices to reset_slice

15 years agochanged destination of node key
Tony Mack [Tue, 1 Dec 2009 15:36:27 +0000 (15:36 +0000)]
changed destination of node key

15 years agoinitial checkin of reboot and redeem_ticket methods"
Tony Mack [Tue, 1 Dec 2009 15:35:57 +0000 (15:35 +0000)]
initial checkin of reboot and redeem_ticket methods"

15 years agoadded component to allowed interfaces
Tony Mack [Tue, 1 Dec 2009 15:34:53 +0000 (15:34 +0000)]
added component to allowed interfaces

15 years agoadded compoent to allowed interfaces
Tony Mack [Tue, 1 Dec 2009 15:29:16 +0000 (15:29 +0000)]
added compoent to allowed interfaces

15 years agoadded component to allowed interfaces
Tony Mack [Tue, 1 Dec 2009 15:27:19 +0000 (15:27 +0000)]
added component to allowed interfaces

15 years agoadd option for component server
Tony Mack [Tue, 1 Dec 2009 15:22:46 +0000 (15:22 +0000)]
add option for component server

15 years agomodify how we import callable methods
Tony Mack [Tue, 1 Dec 2009 15:15:35 +0000 (15:15 +0000)]
modify how we import callable methods

15 years agobug fix
Anil-Kumar Vengalil [Tue, 1 Dec 2009 14:36:46 +0000 (14:36 +0000)]
bug fix

15 years agotaking out debug statement from the previous commit
Anil-Kumar Vengalil [Mon, 30 Nov 2009 20:17:12 +0000 (20:17 +0000)]
taking out debug statement from the previous commit

15 years agomaking SM and AM to use different rule chains. SM is now being connected to the FORWA...
Anil-Kumar Vengalil [Mon, 30 Nov 2009 20:00:54 +0000 (20:00 +0000)]
making SM and AM to use different rule chains. SM is now being connected to the FORWARDING chain

15 years agojust import the nm api source instead of using its xmlrpc interface
Tony Mack [Mon, 30 Nov 2009 19:48:30 +0000 (19:48 +0000)]
just import the nm api source instead of using its xmlrpc interface

15 years agodo not go through the sfatables code, if the current rule list is empty
Anil-Kumar Vengalil [Mon, 30 Nov 2009 16:45:51 +0000 (16:45 +0000)]
do not go through the sfatables code, if the current rule list is empty

15 years agoinitial checkin of get_gids method
Tony Mack [Mon, 30 Nov 2009 16:39:49 +0000 (16:39 +0000)]
initial checkin of get_gids method

15 years agoadded rights to get_gids method to controller
Tony Mack [Mon, 30 Nov 2009 16:37:06 +0000 (16:37 +0000)]
added rights to get_gids method to controller

15 years agoallow us to specify which columns to return
Tony Mack [Mon, 30 Nov 2009 16:35:45 +0000 (16:35 +0000)]
allow us to specify which columns to return

15 years agoverbose in case if the trusted_roots directory is missing
Anil-Kumar Vengalil [Mon, 30 Nov 2009 16:03:26 +0000 (16:03 +0000)]
verbose in case if the trusted_roots directory is missing

15 years agoensruing that trusted_root directory is present and holds root gids
Anil-Kumar Vengalil [Mon, 30 Nov 2009 15:57:12 +0000 (15:57 +0000)]
ensruing that trusted_root directory is present and holds root gids

15 years agobug fix in importing sfa method modules
Anil-Kumar Vengalil [Fri, 27 Nov 2009 13:13:57 +0000 (13:13 +0000)]
bug fix in importing sfa method modules

15 years agofix syntax error
Tony Mack [Wed, 25 Nov 2009 20:50:05 +0000 (20:50 +0000)]
fix syntax error

15 years agoGeniAPI inherits BaseAPI. Moved ComponentAPI class here.
Tony Mack [Wed, 25 Nov 2009 20:38:19 +0000 (20:38 +0000)]
GeniAPI inherits BaseAPI. Moved ComponentAPI class here.

15 years agomoving component server here
Tony Mack [Wed, 25 Nov 2009 20:24:31 +0000 (20:24 +0000)]
moving component server here

15 years agoadded methods_module variable to self
Tony Mack [Tue, 24 Nov 2009 23:30:19 +0000 (23:30 +0000)]
added methods_module variable to self

15 years agocompute_hash() method belongs to api.key not api
Tony Mack [Tue, 24 Nov 2009 17:22:56 +0000 (17:22 +0000)]
compute_hash() method belongs to api.key not api

15 years agoin the case of an SM-SM federation, this check will avoid looping of get_resources...
Anil-Kumar Vengalil [Mon, 23 Nov 2009 16:25:27 +0000 (16:25 +0000)]
in the case of an SM-SM federation, this check will avoid looping of get_resources call

15 years agoinitial checkin of request_key method
Tony Mack [Mon, 23 Nov 2009 03:51:59 +0000 (03:51 +0000)]
initial checkin of request_key method

15 years agoadded rights for component
Tony Mack [Mon, 23 Nov 2009 02:45:25 +0000 (02:45 +0000)]
added rights for component

15 years agoinitial checkin of get_trusted_certs method
Tony Mack [Mon, 23 Nov 2009 02:16:53 +0000 (02:16 +0000)]
initial checkin of get_trusted_certs method

15 years agocomponents can call get_trusted_certs
Tony Mack [Mon, 23 Nov 2009 02:12:36 +0000 (02:12 +0000)]
components can call get_trusted_certs

15 years agoget the correct remote address
Tony Mack [Mon, 23 Nov 2009 01:36:21 +0000 (01:36 +0000)]
get the correct remote address

15 years agocall traceability for get_slices method
Anil-Kumar Vengalil [Sun, 22 Nov 2009 09:56:13 +0000 (09:56 +0000)]
call traceability for get_slices method

15 years agoinitial checkin of redeem_ticket method
Tony Mack [Fri, 20 Nov 2009 20:25:07 +0000 (20:25 +0000)]
initial checkin of redeem_ticket method

15 years agofix command documentation for redeem_ticket
Tony Mack [Fri, 20 Nov 2009 19:52:40 +0000 (19:52 +0000)]
fix command documentation for redeem_ticket

15 years agoin redeem_ticket() - no need to require rspec as a command arguemt, get rspec from...
Tony Mack [Fri, 20 Nov 2009 19:51:05 +0000 (19:51 +0000)]
in redeem_ticket() - no need to require rspec as a command arguemt, get rspec from the ticket. get the slice hrn from the ticket also

15 years agorefactored"
Tony Mack [Fri, 20 Nov 2009 19:45:52 +0000 (19:45 +0000)]
refactored"

15 years agoadded sliver_exists() method
Tony Mack [Fri, 20 Nov 2009 19:41:23 +0000 (19:41 +0000)]
added sliver_exists() method

15 years agoadded redeemticket
Tony Mack [Fri, 20 Nov 2009 19:40:23 +0000 (19:40 +0000)]
added redeemticket

15 years agodata['slivers'] should be a list even though there will only be 1 element in the...
Tony Mack [Fri, 20 Nov 2009 19:39:43 +0000 (19:39 +0000)]
data['slivers'] should be a list even though there will only be 1 element in the list

15 years agorenamed attributes variable to data
Tony Mack [Fri, 20 Nov 2009 19:28:06 +0000 (19:28 +0000)]
renamed attributes variable to data

15 years agodont forget to import the time package
Tony Mack [Fri, 20 Nov 2009 19:23:03 +0000 (19:23 +0000)]
dont forget to import the time package

15 years agochange the format of the 'data' to something that nm is used to
Tony Mack [Fri, 20 Nov 2009 19:22:29 +0000 (19:22 +0000)]
change the format of the 'data' to something that nm is used to

15 years agopass slice_credential when calling redeem_ticket on components(nodes)
Tony Mack [Fri, 20 Nov 2009 19:15:46 +0000 (19:15 +0000)]
pass slice_credential when calling redeem_ticket on components(nodes)

15 years agoredeem_ticket() calls redeem_ticket on all nodes specified in the rspec
Tony Mack [Fri, 20 Nov 2009 18:19:00 +0000 (18:19 +0000)]
redeem_ticket() calls redeem_ticket on all nodes specified in the rspec

15 years agofix syntax error
Tony Mack [Fri, 20 Nov 2009 17:37:12 +0000 (17:37 +0000)]
fix syntax error

15 years agotaking out debug lines from the previous commit
Anil-Kumar Vengalil [Fri, 20 Nov 2009 09:48:23 +0000 (09:48 +0000)]
taking out debug lines from the previous commit

15 years agologging for get_slices call
Anil-Kumar Vengalil [Fri, 20 Nov 2009 09:39:01 +0000 (09:39 +0000)]
logging for get_slices call

15 years agoadded stub for redeem_ticket
Tony Mack [Fri, 20 Nov 2009 01:25:00 +0000 (01:25 +0000)]
added stub for redeem_ticket

15 years agoadded components (get_components) method
Tony Mack [Fri, 20 Nov 2009 01:07:10 +0000 (01:07 +0000)]
added components (get_components) method

15 years agomoved utility methods out of Sfi class. added get_ticket method
Tony Mack [Fri, 20 Nov 2009 01:02:44 +0000 (01:02 +0000)]
moved utility methods out of Sfi class. added get_ticket method

15 years agofixed syntax errors and bugs
Tony Mack [Fri, 20 Nov 2009 00:39:55 +0000 (00:39 +0000)]
fixed syntax errors and bugs

15 years agofully ported get_slivers to the sfa environment
Tony Mack [Fri, 20 Nov 2009 00:39:20 +0000 (00:39 +0000)]
fully ported get_slivers to the sfa environment

15 years agofixed package import
Tony Mack [Thu, 19 Nov 2009 23:58:40 +0000 (23:58 +0000)]
fixed package import

15 years agofilter rspec against sfa tables incomming ruleset
Tony Mack [Thu, 19 Nov 2009 19:39:30 +0000 (19:39 +0000)]
filter rspec against sfa tables incomming ruleset

15 years agorspec comes from user
Tony Mack [Thu, 19 Nov 2009 18:52:37 +0000 (18:52 +0000)]
rspec comes from user

15 years agochanged how we look up sfa records
Tony Mack [Thu, 19 Nov 2009 01:06:53 +0000 (01:06 +0000)]
changed how we look up sfa records

15 years agocall plc.slices.Slices.get_slivers to get sliver info (attributes, keys, etc)
Tony Mack [Thu, 19 Nov 2009 00:59:18 +0000 (00:59 +0000)]
call plc.slices.Slices.get_slivers to get sliver info (attributes, keys, etc)

15 years agoadded get_slivers methods (mostly just copied from PLCAPI.GetSlivers.get_slivers()
Tony Mack [Thu, 19 Nov 2009 00:58:27 +0000 (00:58 +0000)]
added get_slivers methods (mostly just copied from PLCAPI.GetSlivers.get_slivers()

15 years agoSetting tag sfa-0.9-6
Anil-Kumar Vengalil [Mon, 16 Nov 2009 15:17:49 +0000 (15:17 +0000)]
Setting tag sfa-0.9-6
This tag includes:
- Sfatables
- Preliminary version of hash based authentication
- Initial code for Component Manager
- Authority structure is moved to /var/lib/sfa/
- some bug-fixes

15 years agomoved server key initializaion code to new method init_server_key()
Tony Mack [Mon, 16 Nov 2009 00:13:36 +0000 (00:13 +0000)]
moved server key initializaion code to new method init_server_key()

15 years agocontinuation of making request_hash optional
Anil-Kumar Vengalil [Sun, 15 Nov 2009 19:39:54 +0000 (19:39 +0000)]
continuation of making request_hash optional

15 years agofor list call too first attempt ois without hash value
Anil-Kumar Vengalil [Sun, 15 Nov 2009 18:39:26 +0000 (18:39 +0000)]
for list call too first attempt ois without hash value

15 years agofirst call is without request hash
Anil-Kumar Vengalil [Sun, 15 Nov 2009 18:33:35 +0000 (18:33 +0000)]
first call is without request hash

15 years agoFixing my last commit.
Sapan Bhatia [Sat, 14 Nov 2009 01:22:56 +0000 (01:22 +0000)]
Fixing my last commit.

15 years ago(no commit message)
Sapan Bhatia [Sat, 14 Nov 2009 01:17:48 +0000 (01:17 +0000)]

15 years agotypo
Anil-Kumar Vengalil [Fri, 13 Nov 2009 15:45:40 +0000 (15:45 +0000)]
typo

15 years agobug-fix
Anil-Kumar Vengalil [Fri, 13 Nov 2009 15:38:44 +0000 (15:38 +0000)]
bug-fix

15 years agoConvert string to int
Andy Bavier [Thu, 12 Nov 2009 20:15:54 +0000 (20:15 +0000)]
Convert string to int

15 years agoDon't display imported sites in the RSpec
Andy Bavier [Thu, 12 Nov 2009 19:58:46 +0000 (19:58 +0000)]
Don't display imported sites in the RSpec

15 years agoChange <bw> to <kbps>
Andy Bavier [Thu, 12 Nov 2009 19:25:53 +0000 (19:25 +0000)]
Change <bw> to <kbps>

15 years agoSmall bug fix for case when kbps not specified
Andy Bavier [Thu, 12 Nov 2009 18:21:12 +0000 (18:21 +0000)]
Small bug fix for case when kbps not specified

15 years agoLimit b/w on a particular node
Sapan Bhatia [Thu, 12 Nov 2009 16:18:41 +0000 (16:18 +0000)]
Limit b/w on a particular node

15 years agoRestrict b/w only on one node.
Sapan Bhatia [Thu, 12 Nov 2009 15:05:48 +0000 (15:05 +0000)]
Restrict b/w only on one node.

15 years agoif the server.key doesnt exist, lets try to find the correct one in the authorities...
Tony Mack [Wed, 11 Nov 2009 20:52:56 +0000 (20:52 +0000)]
if the server.key doesnt exist, lets try to find the correct one in the authorities directory befrore we generate a random one

15 years agocreate the data directory if it doesnt already exist
Tony Mack [Wed, 11 Nov 2009 20:20:27 +0000 (20:20 +0000)]
create the data directory if it doesnt already exist

15 years agodont think this is still being used anywhere, but renamed SFA_BASE_DIR to SFA_CONFIG_...
Tony Mack [Wed, 11 Nov 2009 19:52:12 +0000 (19:52 +0000)]
dont think this is still being used anywhere, but renamed SFA_BASE_DIR to SFA_CONFIG_DIR just to be safe

15 years agochange SFA_BASE_DIR to SFA_DATA_DIR
Tony Mack [Wed, 11 Nov 2009 19:49:07 +0000 (19:49 +0000)]
change SFA_BASE_DIR to SFA_DATA_DIR

15 years agochange SFA_BASE_DIR to SFA_DATA_DIR
Tony Mack [Wed, 11 Nov 2009 19:47:44 +0000 (19:47 +0000)]
change SFA_BASE_DIR to SFA_DATA_DIR

15 years agochange SFA_BASE_DIR to SFA_DATA_DIR
Tony Mack [Wed, 11 Nov 2009 19:46:30 +0000 (19:46 +0000)]
change SFA_BASE_DIR to SFA_DATA_DIR

15 years agouse defaults for SFA_CONFIG_DIR and SFA_DATA_DIR if not found in config file
Tony Mack [Wed, 11 Nov 2009 18:12:00 +0000 (18:12 +0000)]
use defaults for SFA_CONFIG_DIR and SFA_DATA_DIR if not found in config file

15 years agoRenamed SFA_BASE_DIR to SFA_CONFIG_DIR. Added SFA_DATA_DIR
Tony Mack [Wed, 11 Nov 2009 18:11:08 +0000 (18:11 +0000)]
Renamed SFA_BASE_DIR to SFA_CONFIG_DIR. Added SFA_DATA_DIR

15 years agoif record already exist, raise ExistingRecord exception
Tony Mack [Tue, 10 Nov 2009 00:05:47 +0000 (00:05 +0000)]
if record already exist, raise ExistingRecord exception

15 years agoThe previous expression for copying the current node had a hitch, next attempt.
Sapan Bhatia [Mon, 9 Nov 2009 22:20:12 +0000 (22:20 +0000)]
The previous expression for copying the current node had a hitch, next attempt.

15 years agoCopy attributes in addition of internal tags.
Sapan Bhatia [Mon, 9 Nov 2009 22:03:10 +0000 (22:03 +0000)]
Copy attributes in addition of internal tags.

15 years agoBug fix that was dropping the nodespec's attributes.
Sapan Bhatia [Mon, 9 Nov 2009 22:01:53 +0000 (22:01 +0000)]
Bug fix that was dropping the nodespec's attributes.

15 years agoWhoops. create_slice is linked with INCOMING, not OUTGOING.
Sapan Bhatia [Mon, 9 Nov 2009 16:18:06 +0000 (16:18 +0000)]
Whoops. create_slice is linked with INCOMING, not OUTGOING.

15 years agomodfiy comments
Tony Mack [Mon, 9 Nov 2009 02:05:57 +0000 (02:05 +0000)]
modfiy comments

15 years agofix header comments
Tony Mack [Mon, 9 Nov 2009 02:04:54 +0000 (02:04 +0000)]
fix header comments

15 years agoinitial checkin
Tony Mack [Mon, 9 Nov 2009 02:00:44 +0000 (02:00 +0000)]
initial checkin

15 years agoinitial checkin
Tony Mack [Mon, 9 Nov 2009 01:56:05 +0000 (01:56 +0000)]
initial checkin

15 years agoconvert the hrn to a planetlab slice name
Tony Mack [Mon, 9 Nov 2009 01:46:20 +0000 (01:46 +0000)]
convert the hrn to a planetlab slice name

15 years agoinitial checkin
Tony Mack [Mon, 9 Nov 2009 01:42:15 +0000 (01:42 +0000)]
initial checkin

15 years agocheck for the resetslice right
Tony Mack [Mon, 9 Nov 2009 01:40:29 +0000 (01:40 +0000)]
check for the resetslice right