sfa.git
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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.

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

14 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

14 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

14 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

14 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

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

14 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

14 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

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

14 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

14 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

14 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

14 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

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

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

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

14 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

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

14 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

14 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

14 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)

14 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

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

14 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

14 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

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

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

14 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

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

14 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

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

14 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

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

14 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

14 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)

14 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()

14 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

14 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()

14 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

14 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

14 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

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

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

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

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

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

14 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

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

14 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

14 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

14 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.

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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.

14 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.

14 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.

14 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.

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

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

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

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

14 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

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

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

14 years agoinitial checkin
Tony Mack [Mon, 9 Nov 2009 01:38:43 +0000 (01:38 +0000)]
initial checkin

14 years agochanged interface to component
Tony Mack [Mon, 9 Nov 2009 01:36:06 +0000 (01:36 +0000)]
changed interface to component

14 years agoinitial checkin
Tony Mack [Mon, 9 Nov 2009 01:34:44 +0000 (01:34 +0000)]
initial checkin

14 years agoremove unnecessary import
Tony Mack [Mon, 9 Nov 2009 01:33:54 +0000 (01:33 +0000)]
remove unnecessary import

14 years agoinitial checkin
Tony Mack [Mon, 9 Nov 2009 01:31:16 +0000 (01:31 +0000)]
initial checkin

14 years agocreate a connection to the nodemanager xmlrpc server
Tony Mack [Mon, 9 Nov 2009 01:06:36 +0000 (01:06 +0000)]
create a connection to the nodemanager xmlrpc server

14 years agoGeniServer uses GeniAPI by defualut. reinitalize the servers api as ComponentAPI
Tony Mack [Mon, 9 Nov 2009 00:52:37 +0000 (00:52 +0000)]
GeniServer uses GeniAPI by defualut. reinitalize the servers api as ComponentAPI

14 years agoremove unnecessary imports
Tony Mack [Mon, 9 Nov 2009 00:36:25 +0000 (00:36 +0000)]
remove unnecessary imports

14 years ago<x/> gets parsed into a list. Go figure.
Sapan Bhatia [Fri, 6 Nov 2009 21:09:36 +0000 (21:09 +0000)]
<x/> gets parsed into a list. Go figure.

14 years agoAdding a new rule for limiting node bandwidth, minor fix to rule for limiting link...
Sapan Bhatia [Fri, 6 Nov 2009 20:50:45 +0000 (20:50 +0000)]
Adding a new rule for limiting node bandwidth, minor fix to rule for limiting link bandwidth.

14 years agoBug fix
Sapan Bhatia [Fri, 6 Nov 2009 18:51:02 +0000 (18:51 +0000)]
Bug fix

14 years agoCap kbps values rather than discard LinkSpecs
Andy Bavier [Fri, 6 Nov 2009 15:01:09 +0000 (15:01 +0000)]
Cap kbps values rather than discard LinkSpecs

14 years agoRenamed max-link-bandwidth to max-link-kbps for clarity
Andy Bavier [Thu, 5 Nov 2009 20:58:50 +0000 (20:58 +0000)]
Renamed max-link-bandwidth to max-link-kbps for clarity

14 years agoFixed typos
Andy Bavier [Thu, 5 Nov 2009 20:40:42 +0000 (20:40 +0000)]
Fixed typos

14 years agoPass on rspec attributes as slice attributes.
Sapan Bhatia [Thu, 5 Nov 2009 20:02:41 +0000 (20:02 +0000)]
Pass on rspec attributes as slice attributes.

14 years agochanged port to 12346
Tony Mack [Thu, 5 Nov 2009 02:21:06 +0000 (02:21 +0000)]
changed port to 12346

14 years agoinitial checkin of component server script
Tony Mack [Thu, 5 Nov 2009 01:59:42 +0000 (01:59 +0000)]
initial checkin of component server script