Andy Bavier [Wed, 12 Aug 2009 20:10:48 +0000 (20:10 +0000)]
Moved helper functions to vini_utils.py
Andy Bavier [Wed, 12 Aug 2009 19:36:26 +0000 (19:36 +0000)]
Make sure slice doesn't request more than allowed bandwidth
Tony Mack [Wed, 12 Aug 2009 19:25:25 +0000 (19:25 +0000)]
fix name error, 'record_list' should be 'records'
Tony Mack [Wed, 12 Aug 2009 19:18:07 +0000 (19:18 +0000)]
use a prefix tree to determine which registry inteface to contact
Sapan Bhatia [Wed, 12 Aug 2009 18:28:08 +0000 (18:28 +0000)]
Sapan Bhatia [Wed, 12 Aug 2009 18:07:59 +0000 (18:07 +0000)]
Sapan Bhatia [Wed, 12 Aug 2009 14:49:00 +0000 (14:49 +0000)]
Sapan Bhatia [Wed, 12 Aug 2009 14:44:11 +0000 (14:44 +0000)]
Some initial plumbing for sfatables
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
Andy Bavier [Tue, 11 Aug 2009 21:03:58 +0000 (21:03 +0000)]
Added simple whitelist
Tony Mack [Tue, 11 Aug 2009 19:43:31 +0000 (19:43 +0000)]
checking in some debugging statements, will remove them later
Tony Mack [Tue, 11 Aug 2009 19:15:16 +0000 (19:15 +0000)]
undo last change
Andy Bavier [Tue, 11 Aug 2009 18:20:53 +0000 (18:20 +0000)]
Fix problem with adding/removing nodes from existing slice
Anil-Kumar Vengalil [Tue, 11 Aug 2009 18:13:36 +0000 (18:13 +0000)]
setting peer_id of remote key object
Tony Mack [Tue, 11 Aug 2009 16:56:27 +0000 (16:56 +0000)]
revert last change
Tony Mack [Tue, 11 Aug 2009 16:38:34 +0000 (16:38 +0000)]
renmaed a method
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
Anil-Kumar Vengalil [Mon, 10 Aug 2009 21:24:37 +0000 (21:24 +0000)]
correcting UnBindObjectFromPeer arguments
Anil-Kumar Vengalil [Mon, 10 Aug 2009 20:44:04 +0000 (20:44 +0000)]
unbinding the foreign person before adding key
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
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'
Stephen Soltesz [Thu, 6 Aug 2009 20:06:56 +0000 (20:06 +0000)]
use spaces not tabs...
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.
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
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
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
Tony Mack [Wed, 5 Aug 2009 19:26:20 +0000 (19:26 +0000)]
fix name error bugs
Tony Mack [Wed, 5 Aug 2009 18:45:57 +0000 (18:45 +0000)]
'person' should be 'persons'
Tony Mack [Tue, 4 Aug 2009 22:32:53 +0000 (22:32 +0000)]
use BindObjectToPeer/UnBindObjectFromPeer to manipulate peer records
Tony Mack [Tue, 4 Aug 2009 22:15:41 +0000 (22:15 +0000)]
fix bug in import_person, 'plc_auth' 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
Tony Mack [Tue, 4 Aug 2009 20:48:17 +0000 (20:48 +0000)]
dont forget to check for type 'authority'
Tony Mack [Tue, 4 Aug 2009 19:49:20 +0000 (19:49 +0000)]
support 'authority' type
Tony Mack [Tue, 4 Aug 2009 01:14:01 +0000 (01:14 +0000)]
fix bug in delete_record
Tony Mack [Tue, 4 Aug 2009 01:01:39 +0000 (01:01 +0000)]
fix bug in import_node
Tony Mack [Mon, 3 Aug 2009 21:25:17 +0000 (21:25 +0000)]
modified delete_record
Tony Mack [Mon, 3 Aug 2009 20:25:32 +0000 (20:25 +0000)]
fixed 'keys' is now 'key'
Tony Mack [Mon, 3 Aug 2009 20:23:59 +0000 (20:23 +0000)]
fixed 'keys' is now 'key'
Tony Mack [Mon, 3 Aug 2009 20:18:52 +0000 (20:18 +0000)]
expect user records to only have 1 public key
Tony Mack [Mon, 3 Aug 2009 20:06:09 +0000 (20:06 +0000)]
print traceback if exception is encountered
Tony Mack [Mon, 3 Aug 2009 18:20:11 +0000 (18:20 +0000)]
Because sfa-import-plc.py has dashes (-) it cannot be imported by other python scripts. To fix this Ive moved most of import logic from sfa-import-plc to the sfaImport, which can be imported by other script.
Thierry Parmentelat [Thu, 23 Jul 2009 21:09:56 +0000 (21:09 +0000)]
moving geniwrapper trunk to the new sfa module
Thierry Parmentelat [Thu, 23 Jul 2009 20:55:55 +0000 (20:55 +0000)]
Setting tag geniwrapper-0.8-6
snapshot after the GEC5 demo
should be the last tag set in the geniwrapper module, are we are now moving to the sfa module
Scott Baker [Thu, 23 Jul 2009 18:36:31 +0000 (18:36 +0000)]
added a function to return the public key string from a keypair object
Anil-Kumar Vengalil [Tue, 21 Jul 2009 18:04:52 +0000 (18:04 +0000)]
sets the right gid for level1_auth in the genitable
Andy Bavier [Mon, 20 Jul 2009 20:25:17 +0000 (20:25 +0000)]
Rspec -> RSpec
Sapan Bhatia [Mon, 20 Jul 2009 16:30:14 +0000 (16:30 +0000)]
Sapan Bhatia [Mon, 20 Jul 2009 15:26:48 +0000 (15:26 +0000)]
Gr.
Sapan Bhatia [Mon, 20 Jul 2009 15:18:18 +0000 (15:18 +0000)]
Tweaking AddTags
Sapan Bhatia [Mon, 20 Jul 2009 13:51:42 +0000 (13:51 +0000)]
Thanks.
Andy Bavier [Mon, 20 Jul 2009 05:30:48 +0000 (05:30 +0000)]
Sapan's tweaks
Sapan Bhatia [Sun, 19 Jul 2009 19:58:08 +0000 (19:58 +0000)]
slight nit in the vini rspec
Sapan Bhatia [Fri, 17 Jul 2009 20:19:21 +0000 (20:19 +0000)]
Andy Bavier [Fri, 17 Jul 2009 19:31:24 +0000 (19:31 +0000)]
Add I2 Houston - KC link
Andy Bavier [Fri, 17 Jul 2009 18:56:11 +0000 (18:56 +0000)]
Add bandwidth units
Andy Bavier [Fri, 17 Jul 2009 18:47:33 +0000 (18:47 +0000)]
Seems to basically work
Sapan Bhatia [Fri, 17 Jul 2009 18:32:43 +0000 (18:32 +0000)]
Fix
Sapan Bhatia [Fri, 17 Jul 2009 18:18:06 +0000 (18:18 +0000)]
drop pdb
Sapan Bhatia [Fri, 17 Jul 2009 18:10:12 +0000 (18:10 +0000)]
Fix 1
Sapan Bhatia [Fri, 17 Jul 2009 18:06:47 +0000 (18:06 +0000)]
Almost done ! :)
Sapan Bhatia [Fri, 17 Jul 2009 17:55:32 +0000 (17:55 +0000)]
Improvements on the max rspec manager
Andy Bavier [Fri, 17 Jul 2009 17:29:19 +0000 (17:29 +0000)]
Ported code from create_topo_attributes.py
Tony Mack [Fri, 17 Jul 2009 16:44:10 +0000 (16:44 +0000)]
fail silently
Tony Mack [Fri, 17 Jul 2009 15:29:48 +0000 (15:29 +0000)]
for now use sfa.plc.nodes.get_rspec() when trying to get a slice's resources. This can be replaced when rspec_manager_vini is finished
Andy Bavier [Fri, 17 Jul 2009 13:55:13 +0000 (13:55 +0000)]
Tony Mack [Fri, 17 Jul 2009 13:55:10 +0000 (13:55 +0000)]
dont raise exception, just print it and move on
Sapan Bhatia [Fri, 17 Jul 2009 13:51:40 +0000 (13:51 +0000)]
Sapan Bhatia [Fri, 17 Jul 2009 04:14:55 +0000 (04:14 +0000)]
Sapan Bhatia [Fri, 17 Jul 2009 04:10:17 +0000 (04:10 +0000)]
Sapan Bhatia [Fri, 17 Jul 2009 03:58:26 +0000 (03:58 +0000)]
Sapan Bhatia [Fri, 17 Jul 2009 03:52:36 +0000 (03:52 +0000)]
Sapan Bhatia [Fri, 17 Jul 2009 02:59:52 +0000 (02:59 +0000)]
Testing max aggregate
Andy Bavier [Fri, 17 Jul 2009 01:30:52 +0000 (01:30 +0000)]
Re-indent
Andy Bavier [Thu, 16 Jul 2009 21:11:46 +0000 (21:11 +0000)]
'sfi resources' appears to work
Andy Bavier [Thu, 16 Jul 2009 21:10:37 +0000 (21:10 +0000)]
Change name to vini
Andy Bavier [Thu, 16 Jul 2009 20:45:11 +0000 (20:45 +0000)]
Add API as argument to get_rspec
Tony Mack [Thu, 16 Jul 2009 20:42:08 +0000 (20:42 +0000)]
comment out BindObjectToPeer() calls until things are working
Andy Bavier [Thu, 16 Jul 2009 20:39:48 +0000 (20:39 +0000)]
Add API as argument to rspec manager
Sapan Bhatia [Thu, 16 Jul 2009 20:08:58 +0000 (20:08 +0000)]
Bug that andy found...
Tony Mack [Thu, 16 Jul 2009 19:29:30 +0000 (19:29 +0000)]
check for myplc peers in create_slice_aggregate, not create_slice_smgr
Andy Bavier [Thu, 16 Jul 2009 19:01:51 +0000 (19:01 +0000)]
Rspec handler for VINI aggregate
Tony Mack [Thu, 16 Jul 2009 18:27:28 +0000 (18:27 +0000)]
fix bug in remove
Andy Bavier [Thu, 16 Jul 2009 17:00:10 +0000 (17:00 +0000)]
Proposed VINI Rspec
Tony Mack [Thu, 16 Jul 2009 16:49:51 +0000 (16:49 +0000)]
fix bug in update()
Tony Mack [Thu, 16 Jul 2009 16:16:21 +0000 (16:16 +0000)]
use BindObjectToPeer when necessary
Tony Mack [Thu, 16 Jul 2009 14:05:01 +0000 (14:05 +0000)]
fix bug in get_rsepc_smgr
Tony Mack [Thu, 16 Jul 2009 13:04:01 +0000 (13:04 +0000)]
added get_rspec_smgr(), get_rspec_aggregate(), get_remote_resources() methods
Sapan Bhatia [Thu, 16 Jul 2009 02:38:55 +0000 (02:38 +0000)]
Fixed an import bug in trunk.
Sapan Bhatia [Wed, 15 Jul 2009 23:21:30 +0000 (23:21 +0000)]
Sapan Bhatia [Wed, 15 Jul 2009 13:16:55 +0000 (13:16 +0000)]
Last bit of code injection that hits the mainline (not max, not vini) code path
Thierry Parmentelat [Wed, 15 Jul 2009 09:45:42 +0000 (09:45 +0000)]
Setting tag geniwrapper-0.8-5
snapshot july 15 - has gone through superficial manual testing
hopefully a good basis for gec5 demo
multi-dir sfi client tested as well
Thierry Parmentelat [Wed, 15 Jul 2009 09:18:08 +0000 (09:18 +0000)]
oops, sfi_dir now in options
Thierry Parmentelat [Wed, 15 Jul 2009 09:08:25 +0000 (09:08 +0000)]
traceback/show exceptino when sfa_api_debug is set
Thierry Parmentelat [Wed, 15 Jul 2009 09:07:23 +0000 (09:07 +0000)]
the -d option is used for locating the config file
reviewed help messages to outline default
introduce the Sfi class - no more globals
Tony Mack [Tue, 14 Jul 2009 20:50:49 +0000 (20:50 +0000)]
in get_auth_cred, record type is 'authority' not 'sa'
Tony Mack [Tue, 14 Jul 2009 20:29:20 +0000 (20:29 +0000)]
make sure to use the type specified by the user when resolving the record
Tony Mack [Tue, 14 Jul 2009 19:46:02 +0000 (19:46 +0000)]
in create_cmd_parser, add output/file to options parser
Faiyaz Ahmed [Tue, 14 Jul 2009 15:18:39 +0000 (15:18 +0000)]
capture server errors and return propper error to user.
Sapan Bhatia [Tue, 14 Jul 2009 15:18:11 +0000 (15:18 +0000)]
Fixed, tested to work.
Sapan Bhatia [Tue, 14 Jul 2009 15:00:40 +0000 (15:00 +0000)]
fix