sfa.git
14 years agocompute hash belongs to api.key not api sfa-0.9-6
Tony Mack [Tue, 24 Nov 2009 17:23:39 +0000 (17:23 +0000)]
compute hash belongs to api.key not api

14 years agoSetting tag sfa-0.9-6
Anil-Kumar Vengalil [Mon, 16 Nov 2009 15:18:14 +0000 (15:18 +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 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

14 years agoadded a TODO reminder to fix the certificate subject
Tony Mack [Thu, 5 Nov 2009 01:57:29 +0000 (01:57 +0000)]
added a TODO reminder to fix the certificate subject

14 years agomodified usage
Tony Mack [Thu, 5 Nov 2009 01:51:18 +0000 (01:51 +0000)]
modified usage

14 years agofixed the class name
Tony Mack [Thu, 5 Nov 2009 01:49:07 +0000 (01:49 +0000)]
fixed the class name

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

14 years agoupdate methods list
Tony Mack [Thu, 5 Nov 2009 01:38:03 +0000 (01:38 +0000)]
update methods list

14 years agorenaming componet to sfacomponent
Tony Mack [Thu, 5 Nov 2009 01:22:17 +0000 (01:22 +0000)]
renaming componet to sfacomponent

14 years agoinitial checkin of component code
Tony Mack [Thu, 5 Nov 2009 01:19:10 +0000 (01:19 +0000)]
initial checkin of component code

14 years agono need to call getPLCShell() here
Tony Mack [Thu, 5 Nov 2009 01:17:39 +0000 (01:17 +0000)]
no need to call getPLCShell() here

14 years agono need to import sfa.util.genitable here
Tony Mack [Thu, 5 Nov 2009 01:08:05 +0000 (01:08 +0000)]
no need to import sfa.util.genitable here

14 years agoinitial checkin of base api class
Tony Mack [Thu, 5 Nov 2009 01:05:19 +0000 (01:05 +0000)]
initial checkin of base api class

14 years agorequest hash is optional
Tony Mack [Wed, 4 Nov 2009 01:05:16 +0000 (01:05 +0000)]
request hash is optional

14 years agorequest hash is optional
Tony Mack [Wed, 4 Nov 2009 00:47:44 +0000 (00:47 +0000)]
request hash is optional

14 years agorequest hash is optional
Tony Mack [Wed, 4 Nov 2009 00:41:34 +0000 (00:41 +0000)]
request hash is optional

14 years agoFlowspec processor for sfatables.
Sapan Bhatia [Tue, 3 Nov 2009 20:52:59 +0000 (20:52 +0000)]
Flowspec processor for sfatables.

14 years agoAdded extensions for flowspecs.
Sapan Bhatia [Tue, 3 Nov 2009 16:17:54 +0000 (16:17 +0000)]
Added extensions for flowspecs.

14 years agoNew OpenFlow RSpec.
Sapan Bhatia [Mon, 2 Nov 2009 19:41:15 +0000 (19:41 +0000)]
New OpenFlow RSpec.

14 years agopassing request_hash to federated resolve call
Anil-Kumar Vengalil [Sun, 1 Nov 2009 13:29:42 +0000 (13:29 +0000)]
passing request_hash to federated resolve call

14 years agopassing request_hash to federated list call
Anil-Kumar Vengalil [Sun, 1 Nov 2009 13:17:40 +0000 (13:17 +0000)]
passing request_hash to federated list call

14 years agoserver.cert has subject set to registry, and in this case certificate.get_subject...
Anil-Kumar Vengalil [Sat, 31 Oct 2009 22:03:38 +0000 (22:03 +0000)]
server.cert has subject set to registry, and in this case certificate.get_subject() does not return hrn. This was happening while SM bootstraps its credential using get_self_credentail

14 years agousing method get_self_credential to bootstrap SM credential
Anil-Kumar Vengalil [Sat, 31 Oct 2009 21:42:05 +0000 (21:42 +0000)]
using method get_self_credential to bootstrap SM credential

14 years agolist of pi in in key PI; SM uses the authority credential while contacting AM for...
Anil-Kumar Vengalil [Sat, 31 Oct 2009 21:29:49 +0000 (21:29 +0000)]
list of pi in in key PI; SM uses the authority credential while contacting AM for slice creation

14 years agominor bug fix
Anil-Kumar Vengalil [Sat, 31 Oct 2009 21:21:04 +0000 (21:21 +0000)]
minor bug fix

14 years agobug fix
Anil-Kumar Vengalil [Sat, 31 Oct 2009 20:58:14 +0000 (20:58 +0000)]
bug fix

14 years agopython-ZSI
Anil-Kumar Vengalil [Sat, 31 Oct 2009 08:02:21 +0000 (08:02 +0000)]
python-ZSI

14 years ago-h option is already used for --help, use -k for --hashrequest instead
Tony Mack [Thu, 29 Oct 2009 19:33:10 +0000 (19:33 +0000)]
-h option is already used for --help, use -k for --hashrequest instead

14 years agofix indent
Tony Mack [Thu, 29 Oct 2009 19:26:04 +0000 (19:26 +0000)]
fix indent

14 years agorequest_hash is added to calls only if specifies the -h --hashrequest option
Tony Mack [Thu, 29 Oct 2009 19:25:11 +0000 (19:25 +0000)]
request_hash is added to calls only if specifies the -h --hashrequest option

14 years agoadded hashrequest option
Tony Mack [Thu, 29 Oct 2009 19:09:21 +0000 (19:09 +0000)]
added hashrequest option

14 years agoreorganized. put command parser logic at the top. fixed some tabs
Tony Mack [Thu, 29 Oct 2009 18:47:44 +0000 (18:47 +0000)]
reorganized. put command parser logic at the top. fixed some tabs

14 years agoargumnets for auth.determine_user_rights has changed. Pass the callers hrn instead...
Tony Mack [Thu, 29 Oct 2009 18:38:20 +0000 (18:38 +0000)]
argumnets for auth.determine_user_rights has changed. Pass the callers hrn instead of credential (hrn may come from the credential if get_credential() is called, or certificate.get_subject() if get_self_credential is called

14 years agodetermine user rights reqires the hrn of the caller instead of a cred (which may...
Tony Mack [Thu, 29 Oct 2009 18:36:33 +0000 (18:36 +0000)]
determine user rights reqires the hrn of the caller instead of a cred (which may be null at times when get_self_cred is called). Since we now always have the cllers hrn at hand, ive fixed a loophole in determin_user_rights when issuing authority rights

14 years agoreorganized
Tony Mack [Thu, 29 Oct 2009 18:19:47 +0000 (18:19 +0000)]
reorganized

14 years agoget_self_credential has become its own call, move out of get_credential
Tony Mack [Thu, 29 Oct 2009 18:16:42 +0000 (18:16 +0000)]
get_self_credential has become its own call, move out of get_credential

14 years agoallow the interface to get authority rights
Tony Mack [Thu, 29 Oct 2009 18:00:22 +0000 (18:00 +0000)]
allow the interface to get authority rights

14 years agorevert last commit
Tony Mack [Thu, 29 Oct 2009 17:50:28 +0000 (17:50 +0000)]
revert last commit

14 years agoif the remote agg. does not have person with peer_id, try to use the local account...
Anil-Kumar Vengalil [Thu, 29 Oct 2009 17:28:03 +0000 (17:28 +0000)]
if the remote agg. does not have person with peer_id, try to use the local account, if present

14 years agoAttempted fixes
Andy Bavier [Thu, 29 Oct 2009 15:29:17 +0000 (15:29 +0000)]
Attempted fixes

14 years agoAdd match on slice HRN
Andy Bavier [Wed, 28 Oct 2009 21:28:56 +0000 (21:28 +0000)]
Add match on slice HRN

14 years agoreverting to the old code as the latest modification was making same entries multiple...
Anil-Kumar Vengalil [Wed, 28 Oct 2009 16:55:55 +0000 (16:55 +0000)]
reverting to the old code as the latest modification was making same entries multiple times in the log file

14 years agoPrint all rules
Andy Bavier [Tue, 27 Oct 2009 21:23:10 +0000 (21:23 +0000)]
Print all rules

14 years agoVery basic Insert command
Andy Bavier [Tue, 27 Oct 2009 21:18:12 +0000 (21:18 +0000)]
Very basic Insert command

14 years agosmall bug fix
Anil-Kumar Vengalil [Tue, 27 Oct 2009 12:38:21 +0000 (12:38 +0000)]
small bug fix

14 years ago(no commit message)
Sapan Bhatia [Tue, 27 Oct 2009 04:38:15 +0000 (04:38 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Tue, 27 Oct 2009 03:52:45 +0000 (03:52 +0000)]

14 years agoRemoved debugging line
Sapan Bhatia [Tue, 27 Oct 2009 03:24:41 +0000 (03:24 +0000)]
Removed debugging line

14 years agoRemoveddebugging lines.
Sapan Bhatia [Tue, 27 Oct 2009 03:24:13 +0000 (03:24 +0000)]
Removeddebugging lines.