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

15 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

15 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'

15 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

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

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

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

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

15 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

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

15 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

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

15 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

15 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

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

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

15 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

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

15 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

15 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

15 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'

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

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

15 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

15 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

15 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

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

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

15 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

15 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

15 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

15 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'

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

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

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

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

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

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

15 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

15 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

15 years agoBecause sfa-import-plc.py has dashes (-) it cannot be imported by other python script...
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.

15 years agomoving geniwrapper trunk to the new sfa module
Thierry Parmentelat [Thu, 23 Jul 2009 21:09:56 +0000 (21:09 +0000)]
moving geniwrapper trunk to the new sfa module

15 years agoSetting tag geniwrapper-0.8-6 trunk@14639
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

15 years agoadded a function to return the public key string from a keypair object
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

15 years agosets the right gid for level1_auth in the genitable
Anil-Kumar Vengalil [Tue, 21 Jul 2009 18:04:52 +0000 (18:04 +0000)]
sets the right gid for level1_auth in the genitable

15 years agoRspec -> RSpec
Andy Bavier [Mon, 20 Jul 2009 20:25:17 +0000 (20:25 +0000)]
Rspec -> RSpec

15 years ago(no commit message)
Sapan Bhatia [Mon, 20 Jul 2009 16:30:14 +0000 (16:30 +0000)]

15 years agoGr.
Sapan Bhatia [Mon, 20 Jul 2009 15:26:48 +0000 (15:26 +0000)]
Gr.

15 years agoTweaking AddTags
Sapan Bhatia [Mon, 20 Jul 2009 15:18:18 +0000 (15:18 +0000)]
Tweaking AddTags

15 years agoThanks.
Sapan Bhatia [Mon, 20 Jul 2009 13:51:42 +0000 (13:51 +0000)]
Thanks.

15 years agoSapan's tweaks
Andy Bavier [Mon, 20 Jul 2009 05:30:48 +0000 (05:30 +0000)]
Sapan's tweaks

15 years agoslight nit in the vini rspec
Sapan Bhatia [Sun, 19 Jul 2009 19:58:08 +0000 (19:58 +0000)]
slight nit in the vini rspec

15 years ago(no commit message)
Sapan Bhatia [Fri, 17 Jul 2009 20:19:21 +0000 (20:19 +0000)]

15 years agoAdd I2 Houston - KC link
Andy Bavier [Fri, 17 Jul 2009 19:31:24 +0000 (19:31 +0000)]
Add I2 Houston - KC link

15 years agoAdd bandwidth units
Andy Bavier [Fri, 17 Jul 2009 18:56:11 +0000 (18:56 +0000)]
Add bandwidth units

15 years agoSeems to basically work
Andy Bavier [Fri, 17 Jul 2009 18:47:33 +0000 (18:47 +0000)]
Seems to basically work

15 years agoFix
Sapan Bhatia [Fri, 17 Jul 2009 18:32:43 +0000 (18:32 +0000)]
Fix

15 years agodrop pdb
Sapan Bhatia [Fri, 17 Jul 2009 18:18:06 +0000 (18:18 +0000)]
drop pdb

15 years agoFix 1
Sapan Bhatia [Fri, 17 Jul 2009 18:10:12 +0000 (18:10 +0000)]
Fix 1

15 years agoAlmost done ! :)
Sapan Bhatia [Fri, 17 Jul 2009 18:06:47 +0000 (18:06 +0000)]
Almost done ! :)

15 years agoImprovements on the max rspec manager
Sapan Bhatia [Fri, 17 Jul 2009 17:55:32 +0000 (17:55 +0000)]
Improvements on the max rspec manager

15 years agoPorted code from create_topo_attributes.py
Andy Bavier [Fri, 17 Jul 2009 17:29:19 +0000 (17:29 +0000)]
Ported code from create_topo_attributes.py

15 years agofail silently
Tony Mack [Fri, 17 Jul 2009 16:44:10 +0000 (16:44 +0000)]
fail silently

15 years agofor now use sfa.plc.nodes.get_rspec() when trying to get a slice's resources. This...
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

15 years ago(no commit message)
Andy Bavier [Fri, 17 Jul 2009 13:55:13 +0000 (13:55 +0000)]

15 years agodont raise exception, just print it and move on
Tony Mack [Fri, 17 Jul 2009 13:55:10 +0000 (13:55 +0000)]
dont raise exception, just print it and move on

15 years ago(no commit message)
Sapan Bhatia [Fri, 17 Jul 2009 13:51:40 +0000 (13:51 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 17 Jul 2009 04:14:55 +0000 (04:14 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 17 Jul 2009 04:10:17 +0000 (04:10 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 17 Jul 2009 03:58:26 +0000 (03:58 +0000)]

15 years ago(no commit message)
Sapan Bhatia [Fri, 17 Jul 2009 03:52:36 +0000 (03:52 +0000)]

15 years agoTesting max aggregate
Sapan Bhatia [Fri, 17 Jul 2009 02:59:52 +0000 (02:59 +0000)]
Testing max aggregate

15 years agoRe-indent
Andy Bavier [Fri, 17 Jul 2009 01:30:52 +0000 (01:30 +0000)]
Re-indent

15 years ago'sfi resources' appears to work
Andy Bavier [Thu, 16 Jul 2009 21:11:46 +0000 (21:11 +0000)]
'sfi resources' appears to work

15 years agoChange name to vini
Andy Bavier [Thu, 16 Jul 2009 21:10:37 +0000 (21:10 +0000)]
Change name to vini

15 years agoAdd API as argument to get_rspec
Andy Bavier [Thu, 16 Jul 2009 20:45:11 +0000 (20:45 +0000)]
Add API as argument to get_rspec

15 years agocomment out BindObjectToPeer() calls until things are working
Tony Mack [Thu, 16 Jul 2009 20:42:08 +0000 (20:42 +0000)]
comment out BindObjectToPeer() calls until things are working

15 years agoAdd API as argument to rspec manager
Andy Bavier [Thu, 16 Jul 2009 20:39:48 +0000 (20:39 +0000)]
Add API as argument to rspec manager

15 years agoBug that andy found...
Sapan Bhatia [Thu, 16 Jul 2009 20:08:58 +0000 (20:08 +0000)]
Bug that andy found...

15 years agocheck for myplc peers in create_slice_aggregate, not create_slice_smgr
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

15 years agoRspec handler for VINI aggregate
Andy Bavier [Thu, 16 Jul 2009 19:01:51 +0000 (19:01 +0000)]
Rspec handler for VINI aggregate

15 years agofix bug in remove
Tony Mack [Thu, 16 Jul 2009 18:27:28 +0000 (18:27 +0000)]
fix bug in remove

15 years agoProposed VINI Rspec
Andy Bavier [Thu, 16 Jul 2009 17:00:10 +0000 (17:00 +0000)]
Proposed VINI Rspec

15 years agofix bug in update()
Tony Mack [Thu, 16 Jul 2009 16:49:51 +0000 (16:49 +0000)]
fix bug in update()

15 years agouse BindObjectToPeer when necessary
Tony Mack [Thu, 16 Jul 2009 16:16:21 +0000 (16:16 +0000)]
use BindObjectToPeer when necessary

15 years agofix bug in get_rsepc_smgr
Tony Mack [Thu, 16 Jul 2009 14:05:01 +0000 (14:05 +0000)]
fix bug in get_rsepc_smgr

15 years agoadded get_rspec_smgr(), get_rspec_aggregate(), get_remote_resources() methods
Tony Mack [Thu, 16 Jul 2009 13:04:01 +0000 (13:04 +0000)]
added get_rspec_smgr(), get_rspec_aggregate(), get_remote_resources() methods

15 years agoFixed an import bug in trunk.
Sapan Bhatia [Thu, 16 Jul 2009 02:38:55 +0000 (02:38 +0000)]
Fixed an import bug in trunk.

15 years ago(no commit message)
Sapan Bhatia [Wed, 15 Jul 2009 23:21:30 +0000 (23:21 +0000)]

15 years agoLast bit of code injection that hits the mainline (not max, not vini) code path
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

15 years agoSetting tag geniwrapper-0.8-5
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

15 years agooops, sfi_dir now in options
Thierry Parmentelat [Wed, 15 Jul 2009 09:18:08 +0000 (09:18 +0000)]
oops, sfi_dir now in options

15 years agotraceback/show exceptino when sfa_api_debug is set
Thierry Parmentelat [Wed, 15 Jul 2009 09:08:25 +0000 (09:08 +0000)]
traceback/show exceptino when sfa_api_debug is set

15 years agothe -d option is used for locating the config file
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

15 years agoin get_auth_cred, record type is 'authority' not 'sa'
Tony Mack [Tue, 14 Jul 2009 20:50:49 +0000 (20:50 +0000)]
in get_auth_cred, record type is 'authority' not 'sa'

15 years agomake sure to use the type specified by the user when resolving the record
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

15 years agoin create_cmd_parser, add output/file to options parser
Tony Mack [Tue, 14 Jul 2009 19:46:02 +0000 (19:46 +0000)]
in create_cmd_parser, add output/file to options parser

15 years agocapture server errors and return propper error to user.
Faiyaz Ahmed [Tue, 14 Jul 2009 15:18:39 +0000 (15:18 +0000)]
capture server errors and return propper error to user.

15 years agoFixed, tested to work.
Sapan Bhatia [Tue, 14 Jul 2009 15:18:11 +0000 (15:18 +0000)]
Fixed, tested to work.

15 years agofix
Sapan Bhatia [Tue, 14 Jul 2009 15:00:40 +0000 (15:00 +0000)]
fix