Tony Mack [Mon, 16 Mar 2009 23:32:11 +0000 (23:32 +0000)]
update createSlice to create slice information if necessary
Tony Mack [Mon, 16 Mar 2009 23:27:41 +0000 (23:27 +0000)]
changed how aggregate information is managed, now use XmlStorage
Faiyaz Ahmed [Mon, 16 Mar 2009 23:23:10 +0000 (23:23 +0000)]
oops.
Faiyaz Ahmed [Mon, 16 Mar 2009 23:21:21 +0000 (23:21 +0000)]
oops
Faiyaz Ahmed [Mon, 16 Mar 2009 22:20:30 +0000 (22:20 +0000)]
added support for slinkspecs
Faiyaz Ahmed [Mon, 16 Mar 2009 22:08:08 +0000 (22:08 +0000)]
Support GetLinkSpecs
Faiyaz Ahmed [Mon, 16 Mar 2009 18:11:31 +0000 (18:11 +0000)]
Update instructions
Tony Mack [Sat, 14 Mar 2009 21:09:03 +0000 (21:09 +0000)]
contains the location of aggregates the slice manager should connect to
Tony Mack [Sat, 14 Mar 2009 20:58:49 +0000 (20:58 +0000)]
added XmlStorage class
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
Tony Mack [Sat, 14 Mar 2009 20:10:48 +0000 (20:10 +0000)]
fix bug, cannot be an empty string
Tony Mack [Sat, 14 Mar 2009 18:18:44 +0000 (18:18 +0000)]
no longer hard code the 'record' tag in RecordSpec
Tony Mack [Fri, 13 Mar 2009 23:52:13 +0000 (23:52 +0000)]
added getCredentialFromReistry() method
Tony Mack [Fri, 13 Mar 2009 23:51:47 +0000 (23:51 +0000)]
added getCredentialFromReistry() method
Faiyaz Ahmed [Fri, 13 Mar 2009 19:17:14 +0000 (19:17 +0000)]
Adds linkspecs to netspec.
Scott Baker [Fri, 13 Mar 2009 00:28:27 +0000 (00:28 +0000)]
update demo script of slice register
Scott Baker [Fri, 13 Mar 2009 00:27:51 +0000 (00:27 +0000)]
add --extractgid option
Tony Mack [Thu, 12 Mar 2009 15:14:39 +0000 (15:14 +0000)]
fix bug in refresh_components
Tony Mack [Thu, 12 Mar 2009 14:46:52 +0000 (14:46 +0000)]
updated createSlice
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
Tony Mack [Wed, 11 Mar 2009 16:22:33 +0000 (16:22 +0000)]
fix syntax error
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
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
Tony Mack [Wed, 11 Mar 2009 14:48:18 +0000 (14:48 +0000)]
arrays of primitive types get treated as minidom text nodes
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
Tony Mack [Wed, 11 Mar 2009 03:59:54 +0000 (03:59 +0000)]
whitespace
Tony Mack [Wed, 11 Mar 2009 01:20:42 +0000 (01:20 +0000)]
use values defined in config for root_auth and level1_auth
Tony Mack [Wed, 11 Mar 2009 01:19:50 +0000 (01:19 +0000)]
fix bug when comparing timestamps
Tony Mack [Wed, 11 Mar 2009 01:19:31 +0000 (01:19 +0000)]
do not connect to registry for now
Tony Mack [Wed, 11 Mar 2009 01:18:03 +0000 (01:18 +0000)]
added root_auth and level1_auth registry variables to config
Tony Mack [Wed, 11 Mar 2009 01:17:19 +0000 (01:17 +0000)]
change list_resources to get_resources
Tony Mack [Tue, 10 Mar 2009 15:01:49 +0000 (15:01 +0000)]
minor updates
Tony Mack [Tue, 10 Mar 2009 14:27:31 +0000 (14:27 +0000)]
fix bugs in refresh_components, getResources
Tony Mack [Tue, 10 Mar 2009 14:26:11 +0000 (14:26 +0000)]
no longer generate node hrn list
Tony Mack [Tue, 10 Mar 2009 14:25:20 +0000 (14:25 +0000)]
added RecordSpec class
Tony Mack [Tue, 10 Mar 2009 14:24:47 +0000 (14:24 +0000)]
in save_to_string() dump cleaner xml
Tony Mack [Tue, 10 Mar 2009 14:23:49 +0000 (14:23 +0000)]
rename list_resorces to get_resources
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
Scott Baker [Tue, 10 Mar 2009 03:03:19 +0000 (03:03 +0000)]
fix bug when removing researchers
Scott Baker [Tue, 10 Mar 2009 03:02:14 +0000 (03:02 +0000)]
automatically switch between slice and auth credentials in update
Scott Baker [Tue, 10 Mar 2009 00:11:07 +0000 (00:11 +0000)]
removed --gidhrn and rename --gidkeyfile to --pubkeyfile
Faiyaz Ahmed [Mon, 9 Mar 2009 21:12:22 +0000 (21:12 +0000)]
formatting.
Scott Baker [Thu, 5 Mar 2009 20:25:18 +0000 (20:25 +0000)]
eliminate calls to createGid
Faiyaz Ahmed [Thu, 5 Mar 2009 17:32:32 +0000 (17:32 +0000)]
Import ecore (EMF) model for rspecs.
Faiyaz Ahmed [Thu, 5 Mar 2009 17:19:18 +0000 (17:19 +0000)]
old code. all consolidated into the rspec class. removing.
Scott Baker [Thu, 5 Mar 2009 01:25:33 +0000 (01:25 +0000)]
use existing private keys when creating authorities if they are present
Scott Baker [Thu, 5 Mar 2009 01:23:49 +0000 (01:23 +0000)]
use only leftmost part of dns name when creating node hrns
Tony Mack [Wed, 4 Mar 2009 21:02:00 +0000 (21:02 +0000)]
added comments
Faiyaz Ahmed [Wed, 4 Mar 2009 19:25:51 +0000 (19:25 +0000)]
Added comments.
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
Tony Mack [Wed, 4 Mar 2009 17:43:38 +0000 (17:43 +0000)]
check for the correct rights. fixed many other bugs
Tony Mack [Wed, 4 Mar 2009 17:42:20 +0000 (17:42 +0000)]
import config, instantiate shell globally
Tony Mack [Wed, 4 Mar 2009 17:28:41 +0000 (17:28 +0000)]
no longer pass return format when calling list_nodes
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
Tony Mack [Wed, 4 Mar 2009 17:16:45 +0000 (17:16 +0000)]
remove the 'format' param from 'list_nodes' calls
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.
Larry Peterson [Tue, 3 Mar 2009 16:39:06 +0000 (16:39 +0000)]
eliminated 'name' argument from add/update
Faiyaz Ahmed [Sat, 28 Feb 2009 05:42:12 +0000 (05:42 +0000)]
type mapping.
Tony Mack [Sat, 28 Feb 2009 00:31:48 +0000 (00:31 +0000)]
updated variables
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
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
Scott Baker [Thu, 26 Feb 2009 04:07:58 +0000 (04:07 +0000)]
check in lost code for updating researchers in records
Faiyaz Ahmed [Wed, 25 Feb 2009 21:26:11 +0000 (21:26 +0000)]
Added schema parsing w/ Namespace URI.
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
Larry Peterson [Thu, 19 Feb 2009 00:33:32 +0000 (00:33 +0000)]
alt agg
Tony Mack [Fri, 13 Feb 2009 15:15:02 +0000 (15:15 +0000)]
fixed bug in create, delete
Tony Mack [Fri, 13 Feb 2009 13:17:30 +0000 (13:17 +0000)]
fix bugs
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
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
Tony Mack [Thu, 12 Feb 2009 19:12:38 +0000 (19:12 +0000)]
make imports more fault tolerant
Tony Mack [Thu, 12 Feb 2009 19:11:42 +0000 (19:11 +0000)]
renamed get to getdict, added some return info in getdict
Tony Mack [Wed, 11 Feb 2009 22:17:12 +0000 (22:17 +0000)]
added more calls
Tony Mack [Wed, 11 Feb 2009 22:15:23 +0000 (22:15 +0000)]
added get_ticket, removed hrn param from list_slices
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
Tony Mack [Wed, 11 Feb 2009 22:11:55 +0000 (22:11 +0000)]
removed hrn param from list_slices()
Tony Mack [Wed, 11 Feb 2009 22:04:40 +0000 (22:04 +0000)]
no need to to specify an output format for slices
Tony Mack [Wed, 11 Feb 2009 21:30:09 +0000 (21:30 +0000)]
get_slice_resources should be list_resources
Tony Mack [Wed, 11 Feb 2009 19:57:42 +0000 (19:57 +0000)]
remove debug statement
Tony Mack [Wed, 11 Feb 2009 19:32:02 +0000 (19:32 +0000)]
fix package names
Tony Mack [Wed, 11 Feb 2009 19:26:30 +0000 (19:26 +0000)]
initial checkin of aggregate demo/test script
Tony Mack [Wed, 11 Feb 2009 19:10:53 +0000 (19:10 +0000)]
added get_ticket
Tony Mack [Wed, 11 Feb 2009 18:57:15 +0000 (18:57 +0000)]
renamed list_components to list_nodes. also renamed some variables
Tony Mack [Wed, 11 Feb 2009 18:54:38 +0000 (18:54 +0000)]
renamed list_componets to list_nodes. Fixed params
Tony Mack [Wed, 11 Feb 2009 17:57:59 +0000 (17:57 +0000)]
fix package imports
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
Tony Mack [Tue, 10 Feb 2009 23:14:50 +0000 (23:14 +0000)]
fix bug
Larry Peterson [Tue, 10 Feb 2009 19:07:12 +0000 (19:07 +0000)]
make authority, sa, and ma rights explicit
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
Tony Mack [Tue, 10 Feb 2009 01:38:58 +0000 (01:38 +0000)]
filter out nodes with a slice whitelist
Tony Mack [Mon, 9 Feb 2009 21:54:28 +0000 (21:54 +0000)]
fix credential checks, added cred param to list_components
Tony Mack [Mon, 9 Feb 2009 21:54:00 +0000 (21:54 +0000)]
added cred param to list_components)
Tony Mack [Mon, 9 Feb 2009 21:51:25 +0000 (21:51 +0000)]
added getpolicy function to info section in privilege_table
Tony Mack [Fri, 6 Feb 2009 18:55:47 +0000 (18:55 +0000)]
script used to test aggregate interface
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
Tony Mack [Fri, 6 Feb 2009 05:59:01 +0000 (05:59 +0000)]
fix bugs
Tony Mack [Fri, 6 Feb 2009 05:58:41 +0000 (05:58 +0000)]
modified some aggregatge and slice interface calls
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
Tony Mack [Fri, 6 Feb 2009 04:00:00 +0000 (04:00 +0000)]
fixed bug in get_resources() and get_rspec()
Tony Mack [Thu, 5 Feb 2009 19:15:54 +0000 (19:15 +0000)]
fix bugs
Tony Mack [Thu, 5 Feb 2009 19:15:29 +0000 (19:15 +0000)]
fix package import