Tony Mack [Fri, 27 Mar 2009 01:36:21 +0000 (01:36 +0000)]
fix more bugs
Tony Mack [Thu, 26 Mar 2009 23:49:24 +0000 (23:49 +0000)]
fix bug in connectRegistries:
Tony Mack [Thu, 26 Mar 2009 17:43:35 +0000 (17:43 +0000)]
fix more bugs
Tony Mack [Thu, 26 Mar 2009 17:12:35 +0000 (17:12 +0000)]
fix bug create_slice, now checks for the correct rights
Tony Mack [Thu, 26 Mar 2009 17:10:36 +0000 (17:10 +0000)]
fix more bugs
Tony Mack [Thu, 26 Mar 2009 16:46:43 +0000 (16:46 +0000)]
fix bug in create slice
Tony Mack [Wed, 25 Mar 2009 20:38:28 +0000 (20:38 +0000)]
changed where RecordNotFound is raised in createSlice()
Tony Mack [Wed, 25 Mar 2009 20:37:20 +0000 (20:37 +0000)]
refactored createSlice()
Tony Mack [Tue, 24 Mar 2009 16:03:13 +0000 (16:03 +0000)]
list nodes now collapsed into list resources
Tony Mack [Tue, 24 Mar 2009 16:02:44 +0000 (16:02 +0000)]
list nodes now collapsed into list resources
Tony Mack [Tue, 24 Mar 2009 16:02:30 +0000 (16:02 +0000)]
list nodes now collapsed into list resources
Tony Mack [Tue, 24 Mar 2009 14:04:13 +0000 (14:04 +0000)]
remove the format param from list_nodes call
Tony Mack [Tue, 24 Mar 2009 14:00:42 +0000 (14:00 +0000)]
skip registries with incomplete connection info
Tony Mack [Tue, 24 Mar 2009 13:59:50 +0000 (13:59 +0000)]
skip aggregates with incomplete connection info
Tony Mack [Mon, 23 Mar 2009 20:15:52 +0000 (20:15 +0000)]
the record returned when resolving a user now inculdes the users public keys as strings
Tony Mack [Mon, 23 Mar 2009 20:13:45 +0000 (20:13 +0000)]
add add foreign users public keys when needed in createSlice
Tony Mack [Mon, 23 Mar 2009 18:42:38 +0000 (18:42 +0000)]
added comments
Tony Mack [Mon, 23 Mar 2009 18:40:27 +0000 (18:40 +0000)]
too many problems having the registry get its own credential from itself. Registry will use the aggregates credential for now
Tony Mack [Mon, 23 Mar 2009 18:39:15 +0000 (18:39 +0000)]
after starting the registry call registry.loadCredential()
Tony Mack [Mon, 23 Mar 2009 13:32:00 +0000 (13:32 +0000)]
bug in loadCredential(), commented out for now
Tony Mack [Fri, 20 Mar 2009 01:29:00 +0000 (01:29 +0000)]
define default connection dict
Tony Mack [Fri, 20 Mar 2009 01:27:55 +0000 (01:27 +0000)]
support connecting to other peer registries registries
Tony Mack [Fri, 20 Mar 2009 01:27:18 +0000 (01:27 +0000)]
fix bugs, added comments
Tony Mack [Thu, 19 Mar 2009 02:24:23 +0000 (02:24 +0000)]
added to createSlice
Tony Mack [Thu, 19 Mar 2009 01:20:53 +0000 (01:20 +0000)]
fix bug in get_gid
Faiyaz Ahmed [Wed, 18 Mar 2009 15:34:36 +0000 (15:34 +0000)]
old and deprecated.
Faiyaz Ahmed [Tue, 17 Mar 2009 19:13:03 +0000 (19:13 +0000)]
Can background and run plc.
Faiyaz Ahmed [Tue, 17 Mar 2009 18:46:41 +0000 (18:46 +0000)]
make executable
Tony Mack [Mon, 16 Mar 2009 23:52:29 +0000 (23:52 +0000)]
updated
Tony Mack [Mon, 16 Mar 2009 23:40:32 +0000 (23:40 +0000)]
use XmlStorage for aggregate info
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