Tony Mack [Tue, 1 Dec 2009 15:37:11 +0000 (15:37 +0000)]
renamed reset_slices to reset_slice
Tony Mack [Tue, 1 Dec 2009 15:36:27 +0000 (15:36 +0000)]
changed destination of node key
Tony Mack [Tue, 1 Dec 2009 15:35:57 +0000 (15:35 +0000)]
initial checkin of reboot and redeem_ticket methods"
Tony Mack [Tue, 1 Dec 2009 15:34:53 +0000 (15:34 +0000)]
added component to allowed interfaces
Tony Mack [Tue, 1 Dec 2009 15:29:16 +0000 (15:29 +0000)]
added compoent to allowed interfaces
Tony Mack [Tue, 1 Dec 2009 15:27:19 +0000 (15:27 +0000)]
added component to allowed interfaces
Tony Mack [Tue, 1 Dec 2009 15:22:46 +0000 (15:22 +0000)]
add option for component server
Tony Mack [Tue, 1 Dec 2009 15:15:35 +0000 (15:15 +0000)]
modify how we import callable methods
Anil-Kumar Vengalil [Tue, 1 Dec 2009 14:36:46 +0000 (14:36 +0000)]
bug fix
Anil-Kumar Vengalil [Mon, 30 Nov 2009 20:17:12 +0000 (20:17 +0000)]
taking out debug statement from the previous commit
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
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
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
Tony Mack [Mon, 30 Nov 2009 16:39:49 +0000 (16:39 +0000)]
initial checkin of get_gids method
Tony Mack [Mon, 30 Nov 2009 16:37:06 +0000 (16:37 +0000)]
added rights to get_gids method to controller
Tony Mack [Mon, 30 Nov 2009 16:35:45 +0000 (16:35 +0000)]
allow us to specify which columns to return
Anil-Kumar Vengalil [Mon, 30 Nov 2009 16:03:26 +0000 (16:03 +0000)]
verbose in case if the trusted_roots directory is missing
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
Anil-Kumar Vengalil [Fri, 27 Nov 2009 13:13:57 +0000 (13:13 +0000)]
bug fix in importing sfa method modules
Tony Mack [Wed, 25 Nov 2009 20:50:05 +0000 (20:50 +0000)]
fix syntax error
Tony Mack [Wed, 25 Nov 2009 20:38:19 +0000 (20:38 +0000)]
GeniAPI inherits BaseAPI. Moved ComponentAPI class here.
Tony Mack [Wed, 25 Nov 2009 20:24:31 +0000 (20:24 +0000)]
moving component server here
Tony Mack [Tue, 24 Nov 2009 23:30:19 +0000 (23:30 +0000)]
added methods_module variable to self
Tony Mack [Tue, 24 Nov 2009 17:22:56 +0000 (17:22 +0000)]
compute_hash() method belongs to api.key not api
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
Tony Mack [Mon, 23 Nov 2009 03:51:59 +0000 (03:51 +0000)]
initial checkin of request_key method
Tony Mack [Mon, 23 Nov 2009 02:45:25 +0000 (02:45 +0000)]
added rights for component
Tony Mack [Mon, 23 Nov 2009 02:16:53 +0000 (02:16 +0000)]
initial checkin of get_trusted_certs method
Tony Mack [Mon, 23 Nov 2009 02:12:36 +0000 (02:12 +0000)]
components can call get_trusted_certs
Tony Mack [Mon, 23 Nov 2009 01:36:21 +0000 (01:36 +0000)]
get the correct remote address
Anil-Kumar Vengalil [Sun, 22 Nov 2009 09:56:13 +0000 (09:56 +0000)]
call traceability for get_slices method
Tony Mack [Fri, 20 Nov 2009 20:25:07 +0000 (20:25 +0000)]
initial checkin of redeem_ticket method
Tony Mack [Fri, 20 Nov 2009 19:52:40 +0000 (19:52 +0000)]
fix command documentation for redeem_ticket
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
Tony Mack [Fri, 20 Nov 2009 19:45:52 +0000 (19:45 +0000)]
refactored"
Tony Mack [Fri, 20 Nov 2009 19:41:23 +0000 (19:41 +0000)]
added sliver_exists() method
Tony Mack [Fri, 20 Nov 2009 19:40:23 +0000 (19:40 +0000)]
added redeemticket
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
Tony Mack [Fri, 20 Nov 2009 19:28:06 +0000 (19:28 +0000)]
renamed attributes variable to data
Tony Mack [Fri, 20 Nov 2009 19:23:03 +0000 (19:23 +0000)]
dont forget to import the time package
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
Tony Mack [Fri, 20 Nov 2009 19:15:46 +0000 (19:15 +0000)]
pass slice_credential when calling redeem_ticket on components(nodes)
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
Tony Mack [Fri, 20 Nov 2009 17:37:12 +0000 (17:37 +0000)]
fix syntax error
Anil-Kumar Vengalil [Fri, 20 Nov 2009 09:48:23 +0000 (09:48 +0000)]
taking out debug lines from the previous commit
Anil-Kumar Vengalil [Fri, 20 Nov 2009 09:39:01 +0000 (09:39 +0000)]
logging for get_slices call
Tony Mack [Fri, 20 Nov 2009 01:25:00 +0000 (01:25 +0000)]
added stub for redeem_ticket
Tony Mack [Fri, 20 Nov 2009 01:07:10 +0000 (01:07 +0000)]
added components (get_components) 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
Tony Mack [Fri, 20 Nov 2009 00:39:55 +0000 (00:39 +0000)]
fixed syntax errors and bugs
Tony Mack [Fri, 20 Nov 2009 00:39:20 +0000 (00:39 +0000)]
fully ported get_slivers to the sfa environment
Tony Mack [Thu, 19 Nov 2009 23:58:40 +0000 (23:58 +0000)]
fixed package import
Tony Mack [Thu, 19 Nov 2009 19:39:30 +0000 (19:39 +0000)]
filter rspec against sfa tables incomming ruleset
Tony Mack [Thu, 19 Nov 2009 18:52:37 +0000 (18:52 +0000)]
rspec comes from user
Tony Mack [Thu, 19 Nov 2009 01:06:53 +0000 (01:06 +0000)]
changed how we look up sfa records
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)
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()
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
Tony Mack [Mon, 16 Nov 2009 00:13:36 +0000 (00:13 +0000)]
moved server key initializaion code to new method init_server_key()
Anil-Kumar Vengalil [Sun, 15 Nov 2009 19:39:54 +0000 (19:39 +0000)]
continuation of making request_hash optional
Anil-Kumar Vengalil [Sun, 15 Nov 2009 18:39:26 +0000 (18:39 +0000)]
for list call too first attempt ois without hash value
Anil-Kumar Vengalil [Sun, 15 Nov 2009 18:33:35 +0000 (18:33 +0000)]
first call is without request hash
Sapan Bhatia [Sat, 14 Nov 2009 01:22:56 +0000 (01:22 +0000)]
Fixing my last commit.
Sapan Bhatia [Sat, 14 Nov 2009 01:17:48 +0000 (01:17 +0000)]
Anil-Kumar Vengalil [Fri, 13 Nov 2009 15:45:40 +0000 (15:45 +0000)]
typo
Anil-Kumar Vengalil [Fri, 13 Nov 2009 15:38:44 +0000 (15:38 +0000)]
bug-fix
Andy Bavier [Thu, 12 Nov 2009 20:15:54 +0000 (20:15 +0000)]
Convert string to int
Andy Bavier [Thu, 12 Nov 2009 19:58:46 +0000 (19:58 +0000)]
Don't display imported sites in the RSpec
Andy Bavier [Thu, 12 Nov 2009 19:25:53 +0000 (19:25 +0000)]
Change <bw> to <kbps>
Andy Bavier [Thu, 12 Nov 2009 18:21:12 +0000 (18:21 +0000)]
Small bug fix for case when kbps not specified
Sapan Bhatia [Thu, 12 Nov 2009 16:18:41 +0000 (16:18 +0000)]
Limit b/w on a particular node
Sapan Bhatia [Thu, 12 Nov 2009 15:05:48 +0000 (15:05 +0000)]
Restrict b/w only on one node.
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
Tony Mack [Wed, 11 Nov 2009 20:20:27 +0000 (20:20 +0000)]
create the data directory if it doesnt already exist
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
Tony Mack [Wed, 11 Nov 2009 19:49:07 +0000 (19:49 +0000)]
change 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
Tony Mack [Wed, 11 Nov 2009 19:46:30 +0000 (19:46 +0000)]
change SFA_BASE_DIR to SFA_DATA_DIR
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
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
Tony Mack [Tue, 10 Nov 2009 00:05:47 +0000 (00:05 +0000)]
if record already exist, raise ExistingRecord exception
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.
Sapan Bhatia [Mon, 9 Nov 2009 22:03:10 +0000 (22:03 +0000)]
Copy attributes in addition of internal tags.
Sapan Bhatia [Mon, 9 Nov 2009 22:01:53 +0000 (22:01 +0000)]
Bug fix that was dropping the nodespec's attributes.
Sapan Bhatia [Mon, 9 Nov 2009 16:18:06 +0000 (16:18 +0000)]
Whoops. create_slice is linked with INCOMING, not OUTGOING.
Tony Mack [Mon, 9 Nov 2009 02:05:57 +0000 (02:05 +0000)]
modfiy comments
Tony Mack [Mon, 9 Nov 2009 02:04:54 +0000 (02:04 +0000)]
fix header comments
Tony Mack [Mon, 9 Nov 2009 02:00:44 +0000 (02:00 +0000)]
initial checkin
Tony Mack [Mon, 9 Nov 2009 01:56:05 +0000 (01:56 +0000)]
initial checkin
Tony Mack [Mon, 9 Nov 2009 01:46:20 +0000 (01:46 +0000)]
convert the hrn to a planetlab slice name
Tony Mack [Mon, 9 Nov 2009 01:42:15 +0000 (01:42 +0000)]
initial checkin
Tony Mack [Mon, 9 Nov 2009 01:40:29 +0000 (01:40 +0000)]
check for the resetslice right
Tony Mack [Mon, 9 Nov 2009 01:38:43 +0000 (01:38 +0000)]
initial checkin
Tony Mack [Mon, 9 Nov 2009 01:36:06 +0000 (01:36 +0000)]
changed interface to component
Tony Mack [Mon, 9 Nov 2009 01:34:44 +0000 (01:34 +0000)]
initial checkin
Tony Mack [Mon, 9 Nov 2009 01:33:54 +0000 (01:33 +0000)]
remove unnecessary import
Tony Mack [Mon, 9 Nov 2009 01:31:16 +0000 (01:31 +0000)]
initial checkin
Tony Mack [Mon, 9 Nov 2009 01:06:36 +0000 (01:06 +0000)]
create a connection to the nodemanager xmlrpc server
Tony Mack [Mon, 9 Nov 2009 00:52:37 +0000 (00:52 +0000)]
GeniServer uses GeniAPI by defualut. reinitalize the servers api as ComponentAPI
Tony Mack [Mon, 9 Nov 2009 00:36:25 +0000 (00:36 +0000)]
remove unnecessary imports