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

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

14 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

14 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

14 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

14 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

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

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

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

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

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

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

14 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

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

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

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

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

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

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

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

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

14 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

14 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

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

14 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

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

14 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

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

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

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

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

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

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

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

14 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

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

14 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

14 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

14 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

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

14 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

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

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

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

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

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

14 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

14 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

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

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

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

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

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

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

14 years agoindent
Sapan Bhatia [Tue, 14 Jul 2009 14:53:34 +0000 (14:53 +0000)]
indent

14 years agodumpformat --> format
Sapan Bhatia [Tue, 14 Jul 2009 14:53:00 +0000 (14:53 +0000)]
dumpformat --> format

14 years agoAdded --dumpformat option for upcoming vi-based shell
Sapan Bhatia [Tue, 14 Jul 2009 14:11:54 +0000 (14:11 +0000)]
Added --dumpformat option for upcoming vi-based shell

14 years agoAnother typo
Sapan Bhatia [Mon, 13 Jul 2009 20:57:51 +0000 (20:57 +0000)]
Another typo

14 years agoTypo
Sapan Bhatia [Mon, 13 Jul 2009 20:50:45 +0000 (20:50 +0000)]
Typo

14 years agoInstall new package paths.
Sapan Bhatia [Mon, 13 Jul 2009 20:45:39 +0000 (20:45 +0000)]
Install new package paths.

14 years agono 'fof'
Stephen Soltesz [Mon, 13 Jul 2009 20:26:20 +0000 (20:26 +0000)]
no 'fof'