sfa.git
14 years agobug fix: PLCAPI (e.g. DeletetPerson) delete an object and then call registry.remove...
Anil-Kumar Vengalil [Thu, 3 Sep 2009 10:03:41 +0000 (10:03 +0000)]
bug fix: PLCAPI (e.g. DeletetPerson) delete an object and then call registry.remove, which again tries to remove the same object using PLCAPI call

14 years agoOk, Add and List are working generically.
Sapan Bhatia [Wed, 2 Sep 2009 22:27:06 +0000 (22:27 +0000)]
Ok, Add and List are working generically.

14 years ago(no commit message)
Sapan Bhatia [Wed, 2 Sep 2009 21:59:00 +0000 (21:59 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Wed, 2 Sep 2009 14:48:54 +0000 (14:48 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Wed, 2 Sep 2009 03:20:17 +0000 (03:20 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Wed, 2 Sep 2009 03:14:00 +0000 (03:14 +0000)]

14 years agoin create_slice_smgr, if we have a netspec for an aggregate we are not directly conne...
Tony Mack [Tue, 1 Sep 2009 15:29:35 +0000 (15:29 +0000)]
in create_slice_smgr, if we have a netspec for an aggregate we are not directly connected to, use get_aggregates() to find a peer that indirectly connects us to the aggregate

14 years ago(no commit message)
Sapan Bhatia [Tue, 1 Sep 2009 15:17:39 +0000 (15:17 +0000)]

14 years agofix typo
Tony Mack [Tue, 1 Sep 2009 01:19:20 +0000 (01:19 +0000)]
fix typo

14 years agoaccept either a key string or a list of key strings in the 'key' field of a user...
Tony Mack [Tue, 1 Sep 2009 01:03:31 +0000 (01:03 +0000)]
accept either a key string or a list of key strings in the 'key' field of a user record

14 years agoremove the 'name' field from the slice record before updateing. Cant allow user to...
Tony Mack [Tue, 1 Sep 2009 00:36:27 +0000 (00:36 +0000)]
remove the 'name' field from the slice record before updateing. Cant allow user to attempt to change the slice name

14 years agoremove the 'name' field from the slice record before updateing. Cant allow user to...
Tony Mack [Tue, 1 Sep 2009 00:35:05 +0000 (00:35 +0000)]
remove the 'name' field from the slice record before updateing. Cant allow user to attempt to change the slice name

14 years agobug fix in adding user key
Anil-Kumar Vengalil [Tue, 1 Sep 2009 00:31:25 +0000 (00:31 +0000)]
bug fix in adding user key

14 years agoaccept either a key string or a list of key strings in the 'key' field of a user...
Tony Mack [Tue, 1 Sep 2009 00:20:42 +0000 (00:20 +0000)]
accept either a key string or a list of key strings in the 'key' field of a user record

14 years ago(no commit message)
Sapan Bhatia [Mon, 31 Aug 2009 19:07:56 +0000 (19:07 +0000)]

14 years agofix bug in update method
Tony Mack [Thu, 27 Aug 2009 23:16:20 +0000 (23:16 +0000)]
fix bug in update method

14 years agocheck if record exists before adding to PLC
Tony Mack [Thu, 27 Aug 2009 19:53:50 +0000 (19:53 +0000)]
check if record exists before adding to PLC

14 years agoadd links that refer to the SFAGuide in the SVN wiki
Stephen Soltesz [Thu, 27 Aug 2009 18:13:34 +0000 (18:13 +0000)]
add links that refer to the SFAGuide in the SVN wiki

14 years agoadd try/except aound BindObjectToPeer when object type is key
Tony Mack [Mon, 24 Aug 2009 14:22:40 +0000 (14:22 +0000)]
add try/except aound BindObjectToPeer when object type is key

14 years agoVerify request against capacity
Andy Bavier [Fri, 21 Aug 2009 20:08:02 +0000 (20:08 +0000)]
Verify request against capacity

14 years agoManually generate XML rather than using Rspec() class, so that XSugar works
Andy Bavier [Fri, 21 Aug 2009 19:11:59 +0000 (19:11 +0000)]
Manually generate XML rather than using Rspec() class, so that XSugar works

14 years agoConvert Rspecs and SliceTags to data structure with Node objects connected by Link...
Andy Bavier [Thu, 20 Aug 2009 18:16:50 +0000 (18:16 +0000)]
Convert Rspecs and SliceTags to data structure with Node objects connected by Link objects

14 years agofix some bugs regarding sub authority implementaiton
Tony Mack [Thu, 20 Aug 2009 17:33:58 +0000 (17:33 +0000)]
fix some bugs regarding sub authority implementaiton

14 years agofix bug
Tony Mack [Thu, 20 Aug 2009 17:23:16 +0000 (17:23 +0000)]
fix bug

14 years agouse person_dict as it's the same thing with person_record
Barış Metin [Thu, 20 Aug 2009 16:03:19 +0000 (16:03 +0000)]
use person_dict as it's the same thing with person_record

14 years agobug fix
Anil-Kumar Vengalil [Thu, 20 Aug 2009 11:45:57 +0000 (11:45 +0000)]
bug fix

14 years agofix some bugs
Tony Mack [Wed, 19 Aug 2009 21:17:58 +0000 (21:17 +0000)]
fix some bugs

14 years agoAccount for already allocated bandwidth in Capacity
Andy Bavier [Wed, 19 Aug 2009 20:59:13 +0000 (20:59 +0000)]
Account for already allocated bandwidth in Capacity

14 years agoFix parseDict()
Andy Bavier [Wed, 19 Aug 2009 19:35:01 +0000 (19:35 +0000)]
Fix parseDict()

14 years agoAdd VINI aggregate
Andy Bavier [Wed, 19 Aug 2009 19:34:14 +0000 (19:34 +0000)]
Add VINI aggregate

14 years agoGenerate Capacity in VINI Rspec
Andy Bavier [Wed, 19 Aug 2009 19:33:46 +0000 (19:33 +0000)]
Generate Capacity in VINI Rspec

14 years agobug fix in binding person to a site
Anil-Kumar Vengalil [Wed, 19 Aug 2009 18:16:42 +0000 (18:16 +0000)]
bug fix in binding person to a site

14 years agoadd 'site_id' to GetSlices return fields query
Tony Mack [Wed, 19 Aug 2009 15:32:29 +0000 (15:32 +0000)]
add 'site_id' to GetSlices return fields query

14 years agofix bug regarding site_id
Tony Mack [Wed, 19 Aug 2009 14:39:05 +0000 (14:39 +0000)]
fix bug regarding site_id

14 years agoext_ip should be address
Tony Mack [Wed, 19 Aug 2009 14:32:40 +0000 (14:32 +0000)]
ext_ip should be address

14 years agoadd local aggregate information to the 'interfaces' class variable
Tony Mack [Wed, 19 Aug 2009 01:20:13 +0000 (01:20 +0000)]
add local aggregate information to the 'interfaces' class variable

14 years agoadded -a --aggregate for resouces and create calls
Tony Mack [Wed, 19 Aug 2009 01:15:40 +0000 (01:15 +0000)]
added -a --aggregate for resouces and create calls

14 years agofilter results if hrn argument is specified
Tony Mack [Tue, 18 Aug 2009 22:44:13 +0000 (22:44 +0000)]
filter results if hrn argument is specified

14 years agoremoving debugging output
Tony Mack [Tue, 18 Aug 2009 22:01:18 +0000 (22:01 +0000)]
removing debugging output

14 years agoadd peer person to peer site
Tony Mack [Tue, 18 Aug 2009 17:43:27 +0000 (17:43 +0000)]
add peer person to peer site

14 years agofix tabs
Tony Mack [Tue, 18 Aug 2009 01:10:30 +0000 (01:10 +0000)]
fix tabs

14 years agoremove the site table and site record correctly when deleting sites
Tony Mack [Tue, 18 Aug 2009 01:10:04 +0000 (01:10 +0000)]
remove the site table and site record correctly when deleting sites

14 years agono longer support type 'person'
Tony Mack [Mon, 17 Aug 2009 22:11:23 +0000 (22:11 +0000)]
no longer support type 'person'

14 years agologging and call tracing features
Anil-Kumar Vengalil [Mon, 17 Aug 2009 17:56:56 +0000 (17:56 +0000)]
logging and call tracing features

14 years agoAn enhancement to sfa for tracing and logging calls. The original caller credential...
Anil-Kumar Vengalil [Mon, 17 Aug 2009 17:49:28 +0000 (17:49 +0000)]
An enhancement to sfa for tracing and logging calls. The original caller credential is now propagated accross aggregates. With this actual caller (hrn) is traced accross federated agggregates. An access log is also added and this records the original caller hrn of each aggegates in /var/log/

14 years agodont forget to update the person key
Tony Mack [Mon, 17 Aug 2009 16:56:40 +0000 (16:56 +0000)]
dont forget to update the person key

14 years ago(no commit message)
Sapan Bhatia [Sat, 15 Aug 2009 00:46:01 +0000 (00:46 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Sat, 15 Aug 2009 00:33:02 +0000 (00:33 +0000)]

14 years agodon't butcher ssh public key strings by returning all fields after 1 as part
Stephen Soltesz [Fri, 14 Aug 2009 19:26:20 +0000 (19:26 +0000)]
don't butcher ssh public key strings by returning all fields after 1 as part
of the value.

14 years ago(no commit message)
Sapan Bhatia [Fri, 14 Aug 2009 17:27:30 +0000 (17:27 +0000)]

14 years agoExample for Baris
Sapan Bhatia [Fri, 14 Aug 2009 13:39:10 +0000 (13:39 +0000)]
Example for Baris

14 years ago(no commit message)
Sapan Bhatia [Fri, 14 Aug 2009 02:38:37 +0000 (02:38 +0000)]

14 years agoXSL match for HRNs
Sapan Bhatia [Fri, 14 Aug 2009 02:36:15 +0000 (02:36 +0000)]
XSL match for HRNs

14 years agoadded 2 new methods, 'get_aggregates' and 'get_registries'
Tony Mack [Fri, 14 Aug 2009 00:52:06 +0000 (00:52 +0000)]
added 2 new methods, 'get_aggregates' and 'get_registries'

14 years agoadded 2 new methods, 'get_aggregates' and 'get_registries'
Tony Mack [Fri, 14 Aug 2009 00:51:29 +0000 (00:51 +0000)]
added 2 new methods, 'get_aggregates' and 'get_registries'

14 years agoadded 'interfaces' class variable
Tony Mack [Thu, 13 Aug 2009 22:03:57 +0000 (22:03 +0000)]
added 'interfaces' class variable

14 years ago(no commit message)
Sapan Bhatia [Thu, 13 Aug 2009 14:49:37 +0000 (14:49 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Thu, 13 Aug 2009 14:49:06 +0000 (14:49 +0000)]

14 years agoundo last commit, some files are not ready
Tony Mack [Wed, 12 Aug 2009 20:43:10 +0000 (20:43 +0000)]
undo last commit, some files are not ready

14 years agodont raise the excpetion
Tony Mack [Wed, 12 Aug 2009 20:32:16 +0000 (20:32 +0000)]
dont raise the excpetion

14 years agoMoved helper functions to vini_utils.py
Andy Bavier [Wed, 12 Aug 2009 20:10:48 +0000 (20:10 +0000)]
Moved helper functions to vini_utils.py

14 years agoMake sure slice doesn't request more than allowed bandwidth
Andy Bavier [Wed, 12 Aug 2009 19:36:26 +0000 (19:36 +0000)]
Make sure slice doesn't request more than allowed bandwidth

14 years agofix name error, 'record_list' should be 'records'
Tony Mack [Wed, 12 Aug 2009 19:25:25 +0000 (19:25 +0000)]
fix name error, 'record_list' should be 'records'

14 years agouse a prefix tree to determine which registry inteface to contact
Tony Mack [Wed, 12 Aug 2009 19:18:07 +0000 (19:18 +0000)]
use a prefix tree to determine which registry inteface to contact

14 years ago(no commit message)
Sapan Bhatia [Wed, 12 Aug 2009 18:28:08 +0000 (18:28 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Wed, 12 Aug 2009 18:07:59 +0000 (18:07 +0000)]

14 years ago(no commit message)
Sapan Bhatia [Wed, 12 Aug 2009 14:49:00 +0000 (14:49 +0000)]

14 years agoSome initial plumbing for sfatables
Sapan Bhatia [Wed, 12 Aug 2009 14:44:11 +0000 (14:44 +0000)]
Some initial plumbing for sfatables

14 years agouse a prefix tree to decide which registry to send the request to. The prefix tree...
Tony Mack [Wed, 12 Aug 2009 03:18:07 +0000 (03:18 +0000)]
use a prefix tree to decide which registry to send the request to. The prefix tree finds the chooses the longest matching hrn

14 years agoAdded simple whitelist
Andy Bavier [Tue, 11 Aug 2009 21:03:58 +0000 (21:03 +0000)]
Added simple whitelist

14 years agochecking in some debugging statements, will remove them later
Tony Mack [Tue, 11 Aug 2009 19:43:31 +0000 (19:43 +0000)]
checking in some debugging statements, will remove them later

14 years agoundo last change
Tony Mack [Tue, 11 Aug 2009 19:15:16 +0000 (19:15 +0000)]
undo last change

14 years agoFix problem with adding/removing nodes from existing slice
Andy Bavier [Tue, 11 Aug 2009 18:20:53 +0000 (18:20 +0000)]
Fix problem with adding/removing nodes from existing slice

14 years agosetting peer_id of remote key object
Anil-Kumar Vengalil [Tue, 11 Aug 2009 18:13:36 +0000 (18:13 +0000)]
setting peer_id of remote key object

14 years agorevert last change
Tony Mack [Tue, 11 Aug 2009 16:56:27 +0000 (16:56 +0000)]
revert last change

14 years agorenmaed a method
Tony Mack [Tue, 11 Aug 2009 16:38:34 +0000 (16:38 +0000)]
renmaed a method

14 years agoin verify_chain, if the check if public keys are the same
Tony Mack [Tue, 11 Aug 2009 03:23:08 +0000 (03:23 +0000)]
in verify_chain, if the check if public keys are the same

14 years agocorrecting UnBindObjectFromPeer arguments
Anil-Kumar Vengalil [Mon, 10 Aug 2009 21:24:37 +0000 (21:24 +0000)]
correcting UnBindObjectFromPeer arguments

14 years agounbinding the foreign person before adding key
Anil-Kumar Vengalil [Mon, 10 Aug 2009 20:44:04 +0000 (20:44 +0000)]
unbinding the foreign person before adding key

14 years agoAfter adding the record to the plc db, check if the record exists in sfa db. sfa...
Tony Mack [Mon, 10 Aug 2009 18:19:42 +0000 (18:19 +0000)]
After adding the record to the plc db, check if the record exists in sfa db. sfa upcalls in PLCAPI may have already added the record so if we blindly add them in register we will have duplicates

14 years agoin geni_fields_to_pl_fields, when converting node fields check for 'hostname' not...
Tony Mack [Fri, 7 Aug 2009 19:01:48 +0000 (19:01 +0000)]
in geni_fields_to_pl_fields, when converting node fields check for 'hostname' not 'dns'

14 years agouse spaces not tabs...
Stephen Soltesz [Thu, 6 Aug 2009 20:06:56 +0000 (20:06 +0000)]
use spaces not tabs...

14 years agoallow user to delete some attributes, such as 'gid' which break calls to
Stephen Soltesz [Thu, 6 Aug 2009 20:01:46 +0000 (20:01 +0000)]
allow user to delete some attributes, such as 'gid' which break calls to
'sfi.py add' if the old gid is still present.

14 years agoin get_peer(), convert values to lowercase before trying to find a match
Tony Mack [Thu, 6 Aug 2009 17:10:57 +0000 (17:10 +0000)]
in get_peer(), convert values to lowercase before trying to find a match

14 years agoin get_peer(), convert values to lowercase before trying to find a match
Tony Mack [Thu, 6 Aug 2009 17:09:44 +0000 (17:09 +0000)]
in get_peer(), convert values to lowercase before trying to find a match

14 years agouse BindObjectToPeer/UnBindObjectFromPeer when deleting peer slices from an aggregate...
Tony Mack [Wed, 5 Aug 2009 20:54:23 +0000 (20:54 +0000)]
use BindObjectToPeer/UnBindObjectFromPeer when deleting peer slices from an aggregate's nodes

14 years agofix name error bugs
Tony Mack [Wed, 5 Aug 2009 19:26:20 +0000 (19:26 +0000)]
fix name error bugs

14 years ago'person' should be 'persons'
Tony Mack [Wed, 5 Aug 2009 18:45:57 +0000 (18:45 +0000)]
'person' should be 'persons'

14 years agouse BindObjectToPeer/UnBindObjectFromPeer to manipulate peer records
Tony Mack [Tue, 4 Aug 2009 22:32:53 +0000 (22:32 +0000)]
use BindObjectToPeer/UnBindObjectFromPeer to manipulate peer records

14 years agofix bug in import_person, 'plc_auth' is now defined
Tony Mack [Tue, 4 Aug 2009 22:15:41 +0000 (22:15 +0000)]
fix bug in import_person, 'plc_auth' is now defined

14 years agofix bug in import_person, 'shell' is now defined
Tony Mack [Tue, 4 Aug 2009 22:11:53 +0000 (22:11 +0000)]
fix bug in import_person, 'shell' is now defined

14 years agodont forget to check for type 'authority'
Tony Mack [Tue, 4 Aug 2009 20:48:17 +0000 (20:48 +0000)]
dont forget to check for type 'authority'

14 years agosupport 'authority' type
Tony Mack [Tue, 4 Aug 2009 19:49:20 +0000 (19:49 +0000)]
support 'authority' type

14 years agofix bug in delete_record
Tony Mack [Tue, 4 Aug 2009 01:14:01 +0000 (01:14 +0000)]
fix bug in delete_record

14 years agofix bug in import_node
Tony Mack [Tue, 4 Aug 2009 01:01:39 +0000 (01:01 +0000)]
fix bug in import_node

14 years agomodified delete_record
Tony Mack [Mon, 3 Aug 2009 21:25:17 +0000 (21:25 +0000)]
modified delete_record

14 years agofixed 'keys' is now 'key'
Tony Mack [Mon, 3 Aug 2009 20:25:32 +0000 (20:25 +0000)]
fixed 'keys' is now 'key'

14 years agofixed 'keys' is now 'key'
Tony Mack [Mon, 3 Aug 2009 20:23:59 +0000 (20:23 +0000)]
fixed 'keys' is now 'key'

14 years agoexpect user records to only have 1 public key
Tony Mack [Mon, 3 Aug 2009 20:18:52 +0000 (20:18 +0000)]
expect user records to only have 1 public key

14 years agoprint traceback if exception is encountered
Tony Mack [Mon, 3 Aug 2009 20:06:09 +0000 (20:06 +0000)]
print traceback if exception is encountered