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

14 years agoMore bug fixes...
Sapan Bhatia [Tue, 27 Oct 2009 03:23:12 +0000 (03:23 +0000)]
More bug fixes...

14 years agoModified a processor to conform to the XML schema of match parameters.
Sapan Bhatia [Tue, 27 Oct 2009 03:05:08 +0000 (03:05 +0000)]
Modified a processor to conform to the XML schema of match parameters.

14 years agoBracket.
Sapan Bhatia [Tue, 27 Oct 2009 02:20:50 +0000 (02:20 +0000)]
Bracket.

14 years agoFixed a bug we ran into a demo with Andy. Stop on terminal rules ONLY if it has matched.
Sapan Bhatia [Tue, 27 Oct 2009 02:19:29 +0000 (02:19 +0000)]
Fixed a bug we ran into a demo with Andy. Stop on terminal rules ONLY if it has matched.

14 years agoRemoved a debugging statement
Sapan Bhatia [Mon, 26 Oct 2009 19:48:11 +0000 (19:48 +0000)]
Removed a debugging statement

14 years agoRemoved some debuggin print statements.
Sapan Bhatia [Mon, 26 Oct 2009 19:42:27 +0000 (19:42 +0000)]
Removed some debuggin print statements.

14 years ago(no commit message)
Sapan Bhatia [Mon, 26 Oct 2009 19:40:47 +0000 (19:40 +0000)]

14 years agoBug fix
Sapan Bhatia [Mon, 26 Oct 2009 19:36:27 +0000 (19:36 +0000)]
Bug fix

14 years agoKeep xml files valid :-/
Sapan Bhatia [Mon, 26 Oct 2009 19:10:48 +0000 (19:10 +0000)]
Keep xml files valid :-/

14 years agoKeep parameter names non-colliding
Sapan Bhatia [Mon, 26 Oct 2009 19:10:20 +0000 (19:10 +0000)]
Keep parameter names non-colliding

14 years agoAdding a node filtering rule for legacy rspecs.
Sapan Bhatia [Mon, 26 Oct 2009 19:04:35 +0000 (19:04 +0000)]
Adding a node filtering rule for legacy rspecs.

14 years agoAdding a restrict to rspec file for our legacy rspec
Sapan Bhatia [Mon, 26 Oct 2009 19:00:18 +0000 (19:00 +0000)]
Adding a restrict to rspec file for our legacy rspec

14 years agoChanged Rspec --> RSpec throughout.
Sapan Bhatia [Mon, 26 Oct 2009 18:31:09 +0000 (18:31 +0000)]
Changed Rspec --> RSpec throughout.

14 years agoadded extra argument to accepts
Tony Mack [Mon, 26 Oct 2009 18:02:01 +0000 (18:02 +0000)]
added extra argument to accepts

14 years agorspec -> Rspec. TODO: change all XML literals into symbolic constants and define...
Sapan Bhatia [Mon, 26 Oct 2009 16:02:01 +0000 (16:02 +0000)]
rspec -> Rspec. TODO: change all XML literals into symbolic constants and define them visibly somewhere.

14 years agoRemove all sfatables processing if there are no rules.
Sapan Bhatia [Mon, 26 Oct 2009 15:44:06 +0000 (15:44 +0000)]
Remove all sfatables processing if there are no rules.

14 years agoReturning the request context in the right format. This is needed by sfatables.
Sapan Bhatia [Mon, 26 Oct 2009 15:32:46 +0000 (15:32 +0000)]
Returning the request context in the right format. This is needed by sfatables.

14 years agoThe request context would need to be fetched in a more elaborate way at some point...
Sapan Bhatia [Mon, 26 Oct 2009 15:29:39 +0000 (15:29 +0000)]
The request context would need to be fetched in a more elaborate way at some point. For now, we return a hardcoded minimal context as a dict.

14 years agoThis is hopefully the first version of sfatables that basically works.
Sapan Bhatia [Mon, 26 Oct 2009 15:25:15 +0000 (15:25 +0000)]
This is hopefully the first version of sfatables that basically works.

14 years agoOnly load those arguments into the target that have been configured in the rule defin...
Sapan Bhatia [Mon, 26 Oct 2009 15:20:39 +0000 (15:20 +0000)]
Only load those arguments into the target that have been configured in the rule definiton.

14 years agoMatches operate on the request context.
Sapan Bhatia [Mon, 26 Oct 2009 15:00:53 +0000 (15:00 +0000)]
Matches operate on the request context.

14 years agoremote soapprotocol import
Tony Mack [Mon, 26 Oct 2009 15:00:48 +0000 (15:00 +0000)]
remote soapprotocol import

14 years agoadded usual variables
Tony Mack [Mon, 26 Oct 2009 14:57:40 +0000 (14:57 +0000)]
added usual variables

14 years agoAdded separate contexts for matches and targets, instead of having combined contexts...
Sapan Bhatia [Mon, 26 Oct 2009 14:52:06 +0000 (14:52 +0000)]
Added separate contexts for matches and targets, instead of having combined contexts for rules.

14 years agoRemove both match and target contexts after a rule is done.
Sapan Bhatia [Mon, 26 Oct 2009 14:49:21 +0000 (14:49 +0000)]
Remove both match and target contexts after a rule is done.

14 years agoSet up different namespaces for match and target arguments.
Sapan Bhatia [Mon, 26 Oct 2009 14:48:47 +0000 (14:48 +0000)]
Set up different namespaces for match and target arguments.

14 years agoContinuation of bug fixes and integration-related fixes.
Sapan Bhatia [Mon, 26 Oct 2009 14:35:09 +0000 (14:35 +0000)]
Continuation of bug fixes and integration-related fixes.

14 years agoWe need post processing after every rule, then a final postprocessing step once all...
Sapan Bhatia [Mon, 26 Oct 2009 14:26:20 +0000 (14:26 +0000)]
We need post processing after every rule, then a final postprocessing step once all of the rules have been applied.

14 years agoonly allow authority creds if oject_hrn in pi list
Tony Mack [Mon, 26 Oct 2009 14:16:42 +0000 (14:16 +0000)]
only allow authority creds if oject_hrn in pi list

14 years agoContinuation - adding request and rule contexts to rspecs currently being processed.
Sapan Bhatia [Mon, 26 Oct 2009 14:12:19 +0000 (14:12 +0000)]
Continuation - adding request and rule contexts to rspecs currently being processed.

14 years agoInsert the current context into the rspec for the rules to operate.
Sapan Bhatia [Mon, 26 Oct 2009 13:26:53 +0000 (13:26 +0000)]
Insert the current context into the rspec for the rules to operate.

14 years agoBug fixes and cleanups
Sapan Bhatia [Mon, 26 Oct 2009 03:15:57 +0000 (03:15 +0000)]
Bug fixes and cleanups

14 years agoLooks like I hadn't committed this file previously.
Sapan Bhatia [Mon, 26 Oct 2009 02:41:40 +0000 (02:41 +0000)]
Looks like I hadn't committed this file previously.

14 years agoLive and learn. Some properties in this code were being instantiated as class propert...
Sapan Bhatia [Sun, 25 Oct 2009 00:13:27 +0000 (00:13 +0000)]
Live and learn. Some properties in this code were being instantiated as class properties, not object
properties.

14 years agoLatest updated from Srini:
Sapan Bhatia [Sat, 24 Oct 2009 20:47:29 +0000 (20:47 +0000)]
Latest updated from Srini:

Hi Sapan
Finally, I got everything to work fine. The two main issues I realized
late were that 1) the wsdl has changed to include the request_hash,
and 2) the SOAPpy module needs to be installed for SOAP to work in the
SFA server. All good now.

Please check in the attached updated version of the RSpec manager.

Thanks
Srini.

14 years agosend output to /dev/null
Tony Mack [Sat, 24 Oct 2009 03:23:22 +0000 (03:23 +0000)]
send output to /dev/null

14 years agoremove debugging output
Tony Mack [Sat, 24 Oct 2009 03:22:59 +0000 (03:22 +0000)]
remove debugging output

14 years agoaccept logger argument
Tony Mack [Fri, 23 Oct 2009 22:43:25 +0000 (22:43 +0000)]
accept logger argument

14 years agodefine these variables in the get_sfa_logger() method
Tony Mack [Fri, 23 Oct 2009 22:40:30 +0000 (22:40 +0000)]
define these variables in the get_sfa_logger() method

14 years agosend output to logfile
Tony Mack [Fri, 23 Oct 2009 22:40:05 +0000 (22:40 +0000)]
send output to logfile

14 years agorequest hash argument is optional for now
Tony Mack [Fri, 23 Oct 2009 15:28:03 +0000 (15:28 +0000)]
request hash argument is optional for now

14 years agopass request_hash argument to interface calls
Tony Mack [Fri, 23 Oct 2009 14:54:53 +0000 (14:54 +0000)]
pass request_hash argument to interface calls

14 years agopass request_hash argument to sfa interface calls
Tony Mack [Fri, 23 Oct 2009 14:45:56 +0000 (14:45 +0000)]
pass request_hash argument to sfa interface calls

14 years agoapi.getCredential should always return a string not an object
Tony Mack [Fri, 23 Oct 2009 14:45:19 +0000 (14:45 +0000)]
api.getCredential should always return a string not an object

14 years agopassrequest_hash argument to sfa interface calls
Tony Mack [Fri, 23 Oct 2009 14:44:44 +0000 (14:44 +0000)]
passrequest_hash argument to sfa interface calls

14 years agouse record['name'] not record.get_name()
Tony Mack [Fri, 23 Oct 2009 02:37:09 +0000 (02:37 +0000)]
use record['name'] not record.get_name()

14 years agoget_user_cred(), get_auth_cred() and get_slice_cred() all return objects...for now...
Tony Mack [Fri, 23 Oct 2009 02:36:25 +0000 (02:36 +0000)]
get_user_cred(), get_auth_cred() and get_slice_cred() all return objects...for now. will change this to strings later

14 years agoOptimize the rule processing function to parse only once, then manipulate the parsed...
Sapan Bhatia [Fri, 23 Oct 2009 02:34:30 +0000 (02:34 +0000)]
Optimize the rule processing function to parse only once, then manipulate the parsed version.