sfa.git
16 years agooops.
Faiyaz Ahmed [Mon, 16 Mar 2009 23:23:10 +0000 (23:23 +0000)]
oops.

16 years agooops
Faiyaz Ahmed [Mon, 16 Mar 2009 23:21:21 +0000 (23:21 +0000)]
oops

16 years agoadded support for slinkspecs
Faiyaz Ahmed [Mon, 16 Mar 2009 22:20:30 +0000 (22:20 +0000)]
added support for slinkspecs

16 years agoSupport GetLinkSpecs
Faiyaz Ahmed [Mon, 16 Mar 2009 22:08:08 +0000 (22:08 +0000)]
Support GetLinkSpecs

16 years agoUpdate instructions
Faiyaz Ahmed [Mon, 16 Mar 2009 18:11:31 +0000 (18:11 +0000)]
Update instructions

16 years agocontains the location of aggregates the slice manager should connect to
Tony Mack [Sat, 14 Mar 2009 21:09:03 +0000 (21:09 +0000)]
contains the location of aggregates the slice manager should connect to

16 years agoadded XmlStorage class
Tony Mack [Sat, 14 Mar 2009 20:58:49 +0000 (20:58 +0000)]
added XmlStorage class

16 years agoin RecordSpec.dict2dom, no need to always hardcode add the root_tag, it may already...
Tony Mack [Sat, 14 Mar 2009 20:41:49 +0000 (20:41 +0000)]
in RecordSpec.dict2dom, no need to always hardcode add the root_tag, it may already be there

16 years agofix bug, cannot be an empty string
Tony Mack [Sat, 14 Mar 2009 20:10:48 +0000 (20:10 +0000)]
fix bug, cannot be an empty string

16 years agono longer hard code the 'record' tag in RecordSpec
Tony Mack [Sat, 14 Mar 2009 18:18:44 +0000 (18:18 +0000)]
no longer hard code the 'record' tag in RecordSpec

16 years agoadded getCredentialFromReistry() method
Tony Mack [Fri, 13 Mar 2009 23:52:13 +0000 (23:52 +0000)]
added getCredentialFromReistry() method

16 years agoadded getCredentialFromReistry() method
Tony Mack [Fri, 13 Mar 2009 23:51:47 +0000 (23:51 +0000)]
added getCredentialFromReistry() method

16 years agoAdds linkspecs to netspec.
Faiyaz Ahmed [Fri, 13 Mar 2009 19:17:14 +0000 (19:17 +0000)]
Adds linkspecs to netspec.

16 years agoupdate demo script of slice register
Scott Baker [Fri, 13 Mar 2009 00:28:27 +0000 (00:28 +0000)]
update demo script of slice register

16 years agoadd --extractgid option
Scott Baker [Fri, 13 Mar 2009 00:27:51 +0000 (00:27 +0000)]
add --extractgid option

16 years agofix bug in refresh_components
Tony Mack [Thu, 12 Mar 2009 15:14:39 +0000 (15:14 +0000)]
fix bug in refresh_components

16 years agoupdated createSlice
Tony Mack [Thu, 12 Mar 2009 14:46:52 +0000 (14:46 +0000)]
updated createSlice

16 years agofix respec in refresh_components(), in get_resources() return actual resources being...
Tony Mack [Thu, 12 Mar 2009 14:45:43 +0000 (14:45 +0000)]
fix respec in refresh_components(), in get_resources() return actual resources being used, not what slice has requested

16 years agofix syntax error
Tony Mack [Wed, 11 Mar 2009 16:22:33 +0000 (16:22 +0000)]
fix syntax error

16 years agoxml data can either be an attribute in a element tag or many text nodes (this represe...
Tony Mack [Wed, 11 Mar 2009 16:16:10 +0000 (16:16 +0000)]
xml data can either be an attribute in a element tag or many text nodes (this represents a list/array of values). Support both

16 years agoload_from_string() now uses RecordSpec class instead of xmlrpclib ot load xml
Tony Mack [Wed, 11 Mar 2009 14:54:58 +0000 (14:54 +0000)]
load_from_string() now uses RecordSpec class instead of xmlrpclib ot load xml

16 years agoarrays of primitive types get treated as minidom text nodes
Tony Mack [Wed, 11 Mar 2009 14:48:18 +0000 (14:48 +0000)]
arrays of primitive types get treated as minidom text nodes

16 years agosupport special cases where caller is the root auth (root auth must have a registry...
Tony Mack [Wed, 11 Mar 2009 04:01:14 +0000 (04:01 +0000)]
support special cases where  caller is the root auth (root auth must have a registry record

16 years agowhitespace
Tony Mack [Wed, 11 Mar 2009 03:59:54 +0000 (03:59 +0000)]
whitespace

16 years agouse values defined in config for root_auth and level1_auth
Tony Mack [Wed, 11 Mar 2009 01:20:42 +0000 (01:20 +0000)]
use values defined in config for root_auth and level1_auth

16 years agofix bug when comparing timestamps
Tony Mack [Wed, 11 Mar 2009 01:19:50 +0000 (01:19 +0000)]
fix bug when comparing timestamps

16 years agodo not connect to registry for now
Tony Mack [Wed, 11 Mar 2009 01:19:31 +0000 (01:19 +0000)]
do not connect to registry for now

16 years agoadded root_auth and level1_auth registry variables to config
Tony Mack [Wed, 11 Mar 2009 01:18:03 +0000 (01:18 +0000)]
added root_auth and level1_auth registry variables to config

16 years agochange list_resources to get_resources
Tony Mack [Wed, 11 Mar 2009 01:17:19 +0000 (01:17 +0000)]
change list_resources to get_resources

16 years agominor updates
Tony Mack [Tue, 10 Mar 2009 15:01:49 +0000 (15:01 +0000)]
minor updates

16 years agofix bugs in refresh_components, getResources
Tony Mack [Tue, 10 Mar 2009 14:27:31 +0000 (14:27 +0000)]
fix bugs in refresh_components, getResources

16 years agono longer generate node hrn list
Tony Mack [Tue, 10 Mar 2009 14:26:11 +0000 (14:26 +0000)]
no longer generate node hrn list

16 years agoadded RecordSpec class
Tony Mack [Tue, 10 Mar 2009 14:25:20 +0000 (14:25 +0000)]
added RecordSpec class

16 years agoin save_to_string() dump cleaner xml
Tony Mack [Tue, 10 Mar 2009 14:24:47 +0000 (14:24 +0000)]
in save_to_string() dump cleaner xml

16 years agorename list_resorces to get_resources
Tony Mack [Tue, 10 Mar 2009 14:23:49 +0000 (14:23 +0000)]
rename list_resorces to get_resources

16 years agofix bug in adding/removing researchers, check for permission before granting credentials
Scott Baker [Tue, 10 Mar 2009 03:05:10 +0000 (03:05 +0000)]
fix bug in adding/removing researchers, check for permission before granting credentials

16 years agofix bug when removing researchers
Scott Baker [Tue, 10 Mar 2009 03:03:19 +0000 (03:03 +0000)]
fix bug when removing researchers

16 years agoautomatically switch between slice and auth credentials in update
Scott Baker [Tue, 10 Mar 2009 03:02:14 +0000 (03:02 +0000)]
automatically switch between slice and auth credentials in update

16 years agoremoved --gidhrn and rename --gidkeyfile to --pubkeyfile
Scott Baker [Tue, 10 Mar 2009 00:11:07 +0000 (00:11 +0000)]
removed --gidhrn and rename --gidkeyfile to --pubkeyfile

16 years agoformatting.
Faiyaz Ahmed [Mon, 9 Mar 2009 21:12:22 +0000 (21:12 +0000)]
formatting.

16 years agoeliminate calls to createGid
Scott Baker [Thu, 5 Mar 2009 20:25:18 +0000 (20:25 +0000)]
eliminate calls to createGid

16 years agoImport ecore (EMF) model for rspecs.
Faiyaz Ahmed [Thu, 5 Mar 2009 17:32:32 +0000 (17:32 +0000)]
Import ecore (EMF) model for rspecs.

16 years agoold code. all consolidated into the rspec class. removing.
Faiyaz Ahmed [Thu, 5 Mar 2009 17:19:18 +0000 (17:19 +0000)]
old code.  all consolidated into the rspec class.  removing.

16 years agouse existing private keys when creating authorities if they are present
Scott Baker [Thu, 5 Mar 2009 01:25:33 +0000 (01:25 +0000)]
use existing private keys when creating authorities if they are present

16 years agouse only leftmost part of dns name when creating node hrns
Scott Baker [Thu, 5 Mar 2009 01:23:49 +0000 (01:23 +0000)]
use only leftmost part of dns name when creating node hrns

16 years agoadded comments
Tony Mack [Wed, 4 Mar 2009 21:02:00 +0000 (21:02 +0000)]
added comments

16 years agoAdded comments.
Faiyaz Ahmed [Wed, 4 Mar 2009 19:25:51 +0000 (19:25 +0000)]
Added comments.

16 years agolist_nodes no longer accepts the 'format' param, always return an rspec
Tony Mack [Wed, 4 Mar 2009 17:46:01 +0000 (17:46 +0000)]
list_nodes no longer accepts the 'format' param, always return an rspec

16 years agocheck for the correct rights. fixed many other bugs
Tony Mack [Wed, 4 Mar 2009 17:43:38 +0000 (17:43 +0000)]
check for the correct rights. fixed many other bugs

16 years agoimport config, instantiate shell globally
Tony Mack [Wed, 4 Mar 2009 17:42:20 +0000 (17:42 +0000)]
import config, instantiate shell globally

16 years agono longer pass return format when calling list_nodes
Tony Mack [Wed, 4 Mar 2009 17:28:41 +0000 (17:28 +0000)]
no longer pass return format when calling list_nodes

16 years ago no longer assume basedir is our current working dir, get basedir from config
Tony Mack [Wed, 4 Mar 2009 17:17:40 +0000 (17:17 +0000)]
 no longer assume basedir is our current working dir, get basedir from config

16 years agoremove the 'format' param from 'list_nodes' calls
Tony Mack [Wed, 4 Mar 2009 17:16:45 +0000 (17:16 +0000)]
remove the 'format' param from 'list_nodes' calls

16 years agoExtend specdict for linkspec class.
Faiyaz Ahmed [Tue, 3 Mar 2009 21:41:38 +0000 (21:41 +0000)]
Extend specdict for linkspec class.
fix rpsec.py to not have syntax errors.

16 years agoeliminated 'name' argument from add/update
Larry Peterson [Tue, 3 Mar 2009 16:39:06 +0000 (16:39 +0000)]
eliminated 'name' argument from add/update

16 years agotype mapping.
Faiyaz Ahmed [Sat, 28 Feb 2009 05:42:12 +0000 (05:42 +0000)]
type mapping.

16 years agoupdated variables
Tony Mack [Sat, 28 Feb 2009 00:31:48 +0000 (00:31 +0000)]
updated variables

16 years agoplanetlab domains are now plc. instead of planetlab.us. and users are now named by...
Scott Baker [Thu, 26 Feb 2009 06:29:02 +0000 (06:29 +0000)]
planetlab domains are now plc. instead of planetlab.us. and users are now named by their email instead of first/last names

16 years agoremove creategid from sfi; store gid creating info in record and silently create...
Scott Baker [Thu, 26 Feb 2009 05:18:36 +0000 (05:18 +0000)]
remove creategid from sfi; store gid creating info in record and silently create when using sfi add

16 years agocheck in lost code for updating researchers in records
Scott Baker [Thu, 26 Feb 2009 04:07:58 +0000 (04:07 +0000)]
check in lost code for updating researchers in records

16 years agoAdded schema parsing w/ Namespace URI.
Faiyaz Ahmed [Wed, 25 Feb 2009 21:26:11 +0000 (21:26 +0000)]
Added schema parsing w/ Namespace URI.

16 years agoThe 'IF EXISTS' postgres table create option only works for postgres >= 8.2. Now...
Tony Mack [Tue, 24 Feb 2009 18:14:24 +0000 (18:14 +0000)]
The 'IF EXISTS' postgres table create option only works for postgres >= 8.2. Now support older versions

16 years agoalt agg
Larry Peterson [Thu, 19 Feb 2009 00:33:32 +0000 (00:33 +0000)]
alt agg

16 years agofixed bug in create, delete
Tony Mack [Fri, 13 Feb 2009 15:15:02 +0000 (15:15 +0000)]
fixed bug in create, delete

16 years agofix bugs
Tony Mack [Fri, 13 Feb 2009 13:17:30 +0000 (13:17 +0000)]
fix bugs

16 years agosave registry records in ~/.sfi dir unless and abs path is given. in slices() print...
Tony Mack [Thu, 12 Feb 2009 19:34:29 +0000 (19:34 +0000)]
save registry records in ~/.sfi dir unless and abs path is given. in slices() print one record per line with no separator

16 years agoimplemented save_rspec_to_file. added display_list method. modified display_record...
Tony Mack [Thu, 12 Feb 2009 19:16:28 +0000 (19:16 +0000)]
implemented save_rspec_to_file. added display_list method. modified display_record to only display record.hrn and record.type. modified nodes() so that if output file is specified, always result as rspec no matter what return format is specified

16 years agomake imports more fault tolerant
Tony Mack [Thu, 12 Feb 2009 19:12:38 +0000 (19:12 +0000)]
make imports more fault tolerant

16 years agorenamed get to getdict, added some return info in getdict
Tony Mack [Thu, 12 Feb 2009 19:11:42 +0000 (19:11 +0000)]
renamed get to getdict, added some return info in getdict

16 years agoadded more calls
Tony Mack [Wed, 11 Feb 2009 22:17:12 +0000 (22:17 +0000)]
added more calls

16 years agoadded get_ticket, removed hrn param from list_slices
Tony Mack [Wed, 11 Feb 2009 22:15:23 +0000 (22:15 +0000)]
added get_ticket, removed hrn param from list_slices

16 years agoadded get method that returns dict with of pl_info and geni_info
Tony Mack [Wed, 11 Feb 2009 22:13:08 +0000 (22:13 +0000)]
added get method that returns dict with of pl_info and geni_info

16 years agoremoved hrn param from list_slices()
Tony Mack [Wed, 11 Feb 2009 22:11:55 +0000 (22:11 +0000)]
removed hrn param from list_slices()

16 years agono need to to specify an output format for slices
Tony Mack [Wed, 11 Feb 2009 22:04:40 +0000 (22:04 +0000)]
no need to to specify an output format for slices

16 years agoget_slice_resources should be list_resources
Tony Mack [Wed, 11 Feb 2009 21:30:09 +0000 (21:30 +0000)]
get_slice_resources should be list_resources

16 years agoremove debug statement
Tony Mack [Wed, 11 Feb 2009 19:57:42 +0000 (19:57 +0000)]
remove debug statement

16 years agofix package names
Tony Mack [Wed, 11 Feb 2009 19:32:02 +0000 (19:32 +0000)]
fix package names

16 years agoinitial checkin of aggregate demo/test script
Tony Mack [Wed, 11 Feb 2009 19:26:30 +0000 (19:26 +0000)]
initial checkin of aggregate demo/test script

16 years agoadded get_ticket
Tony Mack [Wed, 11 Feb 2009 19:10:53 +0000 (19:10 +0000)]
added get_ticket

16 years agorenamed list_components to list_nodes. also renamed some variables
Tony Mack [Wed, 11 Feb 2009 18:57:15 +0000 (18:57 +0000)]
renamed list_components to list_nodes. also renamed some variables

16 years agorenamed list_componets to list_nodes. Fixed params
Tony Mack [Wed, 11 Feb 2009 18:54:38 +0000 (18:54 +0000)]
renamed list_componets to list_nodes. Fixed params

16 years agofix package imports
Tony Mack [Wed, 11 Feb 2009 17:57:59 +0000 (17:57 +0000)]
fix package imports

16 years agosa/ma credentials include the rights authority+sa or authority+ma, authorities includ...
Scott Baker [Wed, 11 Feb 2009 00:45:25 +0000 (00:45 +0000)]
sa/ma credentials include the rights authority+sa or authority+ma, authorities include the register right, make sure user/slice/node credentials have the right kind of parent

16 years agofix bug
Tony Mack [Tue, 10 Feb 2009 23:14:50 +0000 (23:14 +0000)]
fix bug

16 years agomake authority, sa, and ma rights explicit
Larry Peterson [Tue, 10 Feb 2009 19:07:12 +0000 (19:07 +0000)]
make authority, sa, and ma rights explicit

16 years agoif server private key exists, create certificate using it. If neither key or cert...
Tony Mack [Tue, 10 Feb 2009 01:40:05 +0000 (01:40 +0000)]
if server private key exists, create certificate using it. If neither key or cert exist, create both

16 years agofilter out nodes with a slice whitelist
Tony Mack [Tue, 10 Feb 2009 01:38:58 +0000 (01:38 +0000)]
filter out nodes with a slice whitelist

16 years agofix credential checks, added cred param to list_components
Tony Mack [Mon, 9 Feb 2009 21:54:28 +0000 (21:54 +0000)]
fix credential checks, added cred param to list_components

16 years agoadded cred param to list_components)
Tony Mack [Mon, 9 Feb 2009 21:54:00 +0000 (21:54 +0000)]
added cred param to list_components)

16 years agoadded getpolicy function to info section in privilege_table
Tony Mack [Mon, 9 Feb 2009 21:51:25 +0000 (21:51 +0000)]
added getpolicy function to info section in privilege_table

16 years agoscript used to test aggregate interface
Tony Mack [Fri, 6 Feb 2009 18:55:47 +0000 (18:55 +0000)]
script used to test aggregate interface

16 years agocomment out code that talks to registry until the credential issue is resolved
Tony Mack [Fri, 6 Feb 2009 18:54:11 +0000 (18:54 +0000)]
comment out code that talks to registry until the credential issue is resolved

16 years agofix bugs
Tony Mack [Fri, 6 Feb 2009 05:59:01 +0000 (05:59 +0000)]
fix bugs

16 years agomodified some aggregatge and slice interface calls
Tony Mack [Fri, 6 Feb 2009 05:58:41 +0000 (05:58 +0000)]
modified some aggregatge and slice interface calls

16 years agofix bug in getComponents, return nodes in the format the user requested
Tony Mack [Fri, 6 Feb 2009 04:12:04 +0000 (04:12 +0000)]
fix bug in getComponents, return nodes in the format the user requested

16 years agofixed bug in get_resources() and get_rspec()
Tony Mack [Fri, 6 Feb 2009 04:00:00 +0000 (04:00 +0000)]
fixed bug in get_resources() and get_rspec()

16 years agofix bugs
Tony Mack [Thu, 5 Feb 2009 19:15:54 +0000 (19:15 +0000)]
fix bugs

16 years agofix package import
Tony Mack [Thu, 5 Feb 2009 19:15:29 +0000 (19:15 +0000)]
fix package import

16 years agoremove dubugging output
Tony Mack [Thu, 5 Feb 2009 19:14:40 +0000 (19:14 +0000)]
remove dubugging output

16 years agoimport types
Tony Mack [Thu, 5 Feb 2009 19:13:41 +0000 (19:13 +0000)]
import types