Thierry Parmentelat [Mon, 5 Dec 2011 17:39:22 +0000 (18:39 +0100)]
add warning
Thierry Parmentelat [Mon, 5 Dec 2011 17:37:17 +0000 (18:37 +0100)]
example of how to use sfaclientlib
will move some place else soon
Thierry Parmentelat [Mon, 5 Dec 2011 17:36:23 +0000 (18:36 +0100)]
dropped dependencies with gid and credential & minor improvements
Thierry Parmentelat [Mon, 5 Dec 2011 17:35:44 +0000 (18:35 +0100)]
very first draft of an sfa client library for bootstrapping user gid
as pubilshed by mail
Thierry Parmentelat [Mon, 5 Dec 2011 14:58:52 +0000 (15:58 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 5 Dec 2011 14:18:01 +0000 (15:18 +0100)]
bugfix
Thierry Parmentelat [Mon, 5 Dec 2011 14:17:39 +0000 (15:17 +0100)]
registry's GetVersion has an incoming options
Thierry Parmentelat [Mon, 5 Dec 2011 14:17:09 +0000 (15:17 +0100)]
it's no use to provide a default for options in ListResources since
the version is mandatory
smbaker [Mon, 5 Dec 2011 06:45:23 +0000 (22:45 -0800)]
fix bugs when adding and removing sliver attributes
smbaker [Mon, 5 Dec 2011 05:00:56 +0000 (21:00 -0800)]
fix typeerror when calling xml.parse_dict
Tony Mack [Mon, 5 Dec 2011 21:25:12 +0000 (16:25 -0500)]
dont delegate slice cred to slicemanager for now
Tony Mack [Mon, 5 Dec 2011 20:31:50 +0000 (15:31 -0500)]
set the 'name' attribute in the sliver_type element
Tony Mack [Sat, 3 Dec 2011 02:10:47 +0000 (21:10 -0500)]
The node element's component_manger_id should be a urn
Thierry Parmentelat [Fri, 2 Dec 2011 15:25:32 +0000 (16:25 +0100)]
cosmetic
Thierry Parmentelat [Fri, 2 Dec 2011 15:25:17 +0000 (16:25 +0100)]
decouple from sfa.util
Thierry Parmentelat [Fri, 2 Dec 2011 15:23:29 +0000 (16:23 +0100)]
rename xmlrpcprotocol into sfaprotocol
Thierry Parmentelat [Fri, 2 Dec 2011 11:53:31 +0000 (12:53 +0100)]
cleanup old code from aggregate_manager but preserve it in the max
version where it is still used
Thierry Parmentelat [Fri, 2 Dec 2011 11:49:35 +0000 (12:49 +0100)]
rename
sfa.plc.aggregate.Aggregate into sfa.plc.plaggregate.PlAggregate
sfa.plc.slices.Slices into sfa.plc.plslices.PlSlices
Tony Mack [Fri, 2 Dec 2011 02:46:52 +0000 (21:46 -0500)]
older clients sill use the rspec_version option so lets support that as well for now
Tony Mack [Fri, 2 Dec 2011 02:25:12 +0000 (21:25 -0500)]
fix bug that causes 'Email address already in use' error
Tony Mack [Thu, 1 Dec 2011 21:46:12 +0000 (16:46 -0500)]
use PlXrn.pl_slicename() to get slice's name
Tony Mack [Thu, 1 Dec 2011 21:45:30 +0000 (16:45 -0500)]
pl_slicename() strips sliver_id
Tony Mack [Thu, 1 Dec 2011 21:22:37 +0000 (16:22 -0500)]
fix bug in verify_persons
Tony Mack [Thu, 1 Dec 2011 20:28:11 +0000 (15:28 -0500)]
fix NameError
Tony Mack [Thu, 1 Dec 2011 20:27:44 +0000 (15:27 -0500)]
raise InvalidRSpec exception if request rspec has no slivers
Tony Mack [Thu, 1 Dec 2011 18:25:54 +0000 (13:25 -0500)]
'type' attribute should be named 'name'}
Thierry Parmentelat [Thu, 1 Dec 2011 17:45:35 +0000 (18:45 +0100)]
rename table 'sfa' into 'records' and add constraints on types
Thierry Parmentelat [Thu, 1 Dec 2011 17:45:07 +0000 (18:45 +0100)]
minor tweaks
Thierry Parmentelat [Thu, 1 Dec 2011 13:16:14 +0000 (14:16 +0100)]
build (plc.)Aggregate from a driver and not from an api
drop self.policy in plc.Slices that is unused
Thierry Parmentelat [Thu, 1 Dec 2011 12:01:08 +0000 (13:01 +0100)]
topology.py moved in sfa/plc/
Thierry Parmentelat [Thu, 1 Dec 2011 10:59:19 +0000 (11:59 +0100)]
cleanup the table creation code; sfa-nuke to clear the table, not drop it
Thierry Parmentelat [Thu, 1 Dec 2011 09:30:28 +0000 (10:30 +0100)]
incoming version is tagged geni_rspec_version, not rspec_version
Thierry Parmentelat [Thu, 1 Dec 2011 08:38:42 +0000 (09:38 +0100)]
typo
Tony Mack [Wed, 30 Nov 2011 20:13:39 +0000 (15:13 -0500)]
return the correct error codes
Tony Mack [Wed, 30 Nov 2011 18:36:37 +0000 (13:36 -0500)]
log error
Tony Mack [Wed, 30 Nov 2011 18:36:23 +0000 (13:36 -0500)]
fix error message
Tony Mack [Wed, 30 Nov 2011 18:36:00 +0000 (13:36 -0500)]
default to sfa rpsec if not schema is present
Tony Mack [Wed, 30 Nov 2011 18:35:19 +0000 (13:35 -0500)]
ensure 'rspec_version' option is specified
Tony Mack [Wed, 30 Nov 2011 18:34:49 +0000 (13:34 -0500)]
rspec_version.to_string() is no loger necessary
Thierry Parmentelat [Wed, 30 Nov 2011 17:12:40 +0000 (18:12 +0100)]
Setting tag sfa-2.0-1
cleaned up all references to SFA_*_TYPE in config
enable cache at the aggregate by default
registry now uses the driver in a sensible way (see managers/driver.py)
slice manager supports sfav1/pgv2 neighbours
get_key renamed into get_key_from_incoming_ip
new sfa.storage module for record/table and all db-related stuff
db schema in sfa.storage.sfa.sql
init.d and cron.d move one step up
cleaned up rspec/ directory
add deps to pyopenssl and myplc-config
start support for new API (return value)
plc.remoteshell removed, use plshell instead
plshell uses a 'capability' auth method whenever possible
various tweaks in rspec elements
made dependency on sfatables softer
Thierry Parmentelat [Wed, 30 Nov 2011 09:00:40 +0000 (10:00 +0100)]
somehow sfa.util.record resurfaced
smbaker [Tue, 29 Nov 2011 02:35:28 +0000 (18:35 -0800)]
remove debug code
smbaker [Tue, 29 Nov 2011 02:35:05 +0000 (18:35 -0800)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
Tony Mack [Tue, 29 Nov 2011 21:13:11 +0000 (16:13 -0500)]
cast version_num to string before comparing
Tony Mack [Tue, 29 Nov 2011 20:44:05 +0000 (15:44 -0500)]
remove debugging code
Tony Mack [Tue, 29 Nov 2011 20:41:52 +0000 (15:41 -0500)]
added InvalidRSpecVersion fault
Thierry Parmentelat [Tue, 29 Nov 2011 15:08:50 +0000 (16:08 +0100)]
attempt to fix startup sequence
Thierry Parmentelat [Tue, 29 Nov 2011 14:51:16 +0000 (15:51 +0100)]
oops
Thierry Parmentelat [Tue, 29 Nov 2011 14:29:58 +0000 (15:29 +0100)]
ship database schema in a separate file
Thierry Parmentelat [Tue, 29 Nov 2011 11:49:53 +0000 (12:49 +0100)]
added __init__.py
Thierry Parmentelat [Tue, 29 Nov 2011 11:01:06 +0000 (12:01 +0100)]
group db-related stuff in sfa/storage
Thierry Parmentelat [Tue, 29 Nov 2011 10:17:46 +0000 (11:17 +0100)]
move init.d and cron.d one step up in the source tree
Thierry Parmentelat [Tue, 29 Nov 2011 09:34:40 +0000 (10:34 +0100)]
finished to clean up SFA_*_TYPE and the like
Thierry Parmentelat [Tue, 29 Nov 2011 09:20:21 +0000 (10:20 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 29 Nov 2011 09:20:06 +0000 (10:20 +0100)]
bugfix - had to undo an attempt to optimize the calls to
augment_records_with_testbed_info - this makes the current
implementation very slow but until we manage or cache relationships
in the sfa db we're stuck
Tony Mack [Mon, 28 Nov 2011 20:42:36 +0000 (15:42 -0500)]
whitespace
Tony Mack [Mon, 28 Nov 2011 20:42:12 +0000 (15:42 -0500)]
bump sfa api version in GetVersion
Tony Mack [Mon, 28 Nov 2011 20:39:43 +0000 (15:39 -0500)]
aggregate api version is an int
Tony Mack [Mon, 28 Nov 2011 20:14:04 +0000 (15:14 -0500)]
enable caching at the aggregate
Thierry Parmentelat [Mon, 28 Nov 2011 19:44:57 +0000 (20:44 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Conflicts:
sfa/util/config.py
Tony Mack [Mon, 28 Nov 2011 19:24:16 +0000 (14:24 -0500)]
slicemgr also supports GENI AM API v2
Tony Mack [Mon, 28 Nov 2011 19:22:21 +0000 (14:22 -0500)]
fix merge()
Tony Mack [Mon, 28 Nov 2011 19:22:02 +0000 (14:22 -0500)]
import sfa.rspecs.element.services.Services
Tony Mack [Mon, 28 Nov 2011 19:21:30 +0000 (14:21 -0500)]
fix various bugs
Tony Mack [Mon, 28 Nov 2011 19:20:59 +0000 (14:20 -0500)]
fix typo
Thierry Parmentelat [Mon, 28 Nov 2011 19:01:28 +0000 (20:01 +0100)]
bugfixes
Thierry Parmentelat [Mon, 28 Nov 2011 18:06:59 +0000 (19:06 +0100)]
review update_relation (formerly update_membership) between manager
and driver
Tony Mack [Mon, 28 Nov 2011 18:00:40 +0000 (13:00 -0500)]
check if key exists in dict
Thierry Parmentelat [Mon, 28 Nov 2011 17:51:58 +0000 (18:51 +0100)]
reordered imports
Thierry Parmentelat [Mon, 28 Nov 2011 15:38:03 +0000 (16:38 +0100)]
cosmetic
Thierry Parmentelat [Mon, 28 Nov 2011 11:20:27 +0000 (12:20 +0100)]
driver.update
get aggregates out of the driver equation
fix management of pub_key for a planetlab user
smbaker [Mon, 28 Nov 2011 11:14:22 +0000 (03:14 -0800)]
fix get_networks not working right in pgv2 rspec
smbaker [Mon, 28 Nov 2011 11:13:34 +0000 (03:13 -0800)]
fix remove_nodes; get rid of network_name tag; look up component_name for legacy compatibility with old sfa
Thierry Parmentelat [Mon, 28 Nov 2011 09:08:53 +0000 (10:08 +0100)]
driver.remove
Thierry Parmentelat [Mon, 28 Nov 2011 09:08:05 +0000 (10:08 +0100)]
insert the driver attribute to the real manager, not the wrapper
Thierry Parmentelat [Mon, 28 Nov 2011 08:22:43 +0000 (09:22 +0100)]
minor cleanup
Tony Mack [Mon, 28 Nov 2011 03:26:44 +0000 (22:26 -0500)]
initial checkin
smbaker [Mon, 28 Nov 2011 03:06:16 +0000 (19:06 -0800)]
fix merge problem
Tony Mack [Mon, 28 Nov 2011 01:25:17 +0000 (20:25 -0500)]
use sfa.client.return_value.ReturnValue to parse aggregate return values
Thierry Parmentelat [Sat, 26 Nov 2011 21:13:01 +0000 (22:13 +0100)]
bump major number to 2.0
Thierry Parmentelat [Sat, 26 Nov 2011 20:19:34 +0000 (21:19 +0100)]
remove obsolete material
Thierry Parmentelat [Sat, 26 Nov 2011 10:58:46 +0000 (11:58 +0100)]
oops this was intended to be in previous commit as well
Thierry Parmentelat [Sat, 26 Nov 2011 10:53:44 +0000 (11:53 +0100)]
plshell to use 'capability' access method rather than xmlrpc when possible
Thierry Parmentelat [Sat, 26 Nov 2011 10:28:59 +0000 (11:28 +0100)]
trashed remoteshell and use plshell instead
for now this always uses xmlrpc
Thierry Parmentelat [Sat, 26 Nov 2011 10:23:42 +0000 (11:23 +0100)]
bugfix
Thierry Parmentelat [Fri, 25 Nov 2011 17:26:07 +0000 (18:26 +0100)]
start to define an abstract interface for the driver
Thierry Parmentelat [Fri, 25 Nov 2011 11:54:46 +0000 (12:54 +0100)]
cosmetic
Thierry Parmentelat [Fri, 25 Nov 2011 10:37:00 +0000 (11:37 +0100)]
cleanup
Thierry Parmentelat [Fri, 25 Nov 2011 10:36:40 +0000 (11:36 +0100)]
initscript silent
Thierry Parmentelat [Fri, 25 Nov 2011 08:56:20 +0000 (09:56 +0100)]
renamed plc-specific api call get_key into key_key_from_incoming_ip
and move code in manager
Thierry Parmentelat [Thu, 24 Nov 2011 19:32:15 +0000 (20:32 +0100)]
oops
Thierry Parmentelat [Thu, 24 Nov 2011 17:42:52 +0000 (18:42 +0100)]
make sfa really not depending on sfatables
Thierry Parmentelat [Thu, 24 Nov 2011 17:25:53 +0000 (18:25 +0100)]
trash egg-info stuff as f8 won't produce it
Thierry Parmentelat [Thu, 24 Nov 2011 15:14:09 +0000 (16:14 +0100)]
moved requires: clauses from sfa-plc to sfa
Thierry Parmentelat [Thu, 24 Nov 2011 15:01:05 +0000 (16:01 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 24 Nov 2011 15:00:53 +0000 (16:00 +0100)]
reviwed packaging
Thierry Parmentelat [Thu, 24 Nov 2011 12:19:43 +0000 (13:19 +0100)]
Setting tag sfa-1.1-5
sfa should now be started *before* the initial import
sfa to use its own database (default sfa) - can run without myplc
server calls support optional 'options'
client sends options in argument when needed
fix infinite getattr recursion in elements/element.py
error codes in line with geni
Thierry Parmentelat [Thu, 24 Nov 2011 11:51:31 +0000 (12:51 +0100)]
not needed in most cases
Thierry Parmentelat [Thu, 24 Nov 2011 11:49:44 +0000 (12:49 +0100)]
sounds safer to use another (pgsql) username to manage the local database
Thierry Parmentelat [Thu, 24 Nov 2011 08:41:41 +0000 (09:41 +0100)]
more fixes