sfa.git
12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 6 Dec 2011 08:13:45 +0000 (09:13 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agomove config var sfa_aggregate_api_version in the sfa_aggregate category
Thierry Parmentelat [Tue, 6 Dec 2011 08:13:27 +0000 (09:13 +0100)]
move config var sfa_aggregate_api_version in the sfa_aggregate category

12 years agoclientsync
Thierry Parmentelat [Mon, 5 Dec 2011 17:51:08 +0000 (18:51 +0100)]
clientsync

12 years agocosmetic
Thierry Parmentelat [Mon, 5 Dec 2011 17:48:18 +0000 (18:48 +0100)]
cosmetic

12 years agoexample of an alternative flavour
Thierry Parmentelat [Mon, 5 Dec 2011 17:43:07 +0000 (18:43 +0100)]
example of an alternative flavour

12 years agoadd warning
Thierry Parmentelat [Mon, 5 Dec 2011 17:39:22 +0000 (18:39 +0100)]
add warning

12 years agoexample of how to use sfaclientlib
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

12 years agodropped dependencies with gid and credential & minor improvements
Thierry Parmentelat [Mon, 5 Dec 2011 17:36:23 +0000 (18:36 +0100)]
dropped dependencies with gid and credential & minor improvements

12 years agovery first draft of an sfa client library for bootstrapping user gid
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

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 5 Dec 2011 14:58:52 +0000 (15:58 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agobugfix
Thierry Parmentelat [Mon, 5 Dec 2011 14:18:01 +0000 (15:18 +0100)]
bugfix

12 years agoregistry's GetVersion has an incoming options
Thierry Parmentelat [Mon, 5 Dec 2011 14:17:39 +0000 (15:17 +0100)]
registry's GetVersion has an incoming options

12 years agoit's no use to provide a default for options in ListResources since
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

12 years agofix bugs when adding and removing sliver attributes
smbaker [Mon, 5 Dec 2011 06:45:23 +0000 (22:45 -0800)]
fix bugs when adding and removing sliver attributes

12 years agofix typeerror when calling xml.parse_dict
smbaker [Mon, 5 Dec 2011 05:00:56 +0000 (21:00 -0800)]
fix typeerror when calling xml.parse_dict

12 years agodont delegate slice cred to slicemanager for now
Tony Mack [Mon, 5 Dec 2011 21:25:12 +0000 (16:25 -0500)]
dont delegate slice cred to slicemanager for now

12 years agoset the 'name' attribute in the sliver_type element
Tony Mack [Mon, 5 Dec 2011 20:31:50 +0000 (15:31 -0500)]
set the 'name' attribute in the sliver_type element

12 years agoThe node element's component_manger_id should be a urn
Tony Mack [Sat, 3 Dec 2011 02:10:47 +0000 (21:10 -0500)]
The node element's component_manger_id should be a urn

12 years agocosmetic
Thierry Parmentelat [Fri, 2 Dec 2011 15:25:32 +0000 (16:25 +0100)]
cosmetic

12 years agodecouple from sfa.util
Thierry Parmentelat [Fri, 2 Dec 2011 15:25:17 +0000 (16:25 +0100)]
decouple from sfa.util

12 years agorename xmlrpcprotocol into sfaprotocol
Thierry Parmentelat [Fri, 2 Dec 2011 15:23:29 +0000 (16:23 +0100)]
rename xmlrpcprotocol into sfaprotocol

12 years agocleanup old code from aggregate_manager but preserve it in the max
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

12 years agorename
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

12 years agoolder clients sill use the rspec_version option so lets support that as well for now
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

12 years agofix bug that causes 'Email address already in use' error
Tony Mack [Fri, 2 Dec 2011 02:25:12 +0000 (21:25 -0500)]
fix bug that causes 'Email address already in use' error

12 years agouse PlXrn.pl_slicename() to get slice's name
Tony Mack [Thu, 1 Dec 2011 21:46:12 +0000 (16:46 -0500)]
use PlXrn.pl_slicename() to get slice's name

12 years agopl_slicename() strips sliver_id
Tony Mack [Thu, 1 Dec 2011 21:45:30 +0000 (16:45 -0500)]
pl_slicename() strips sliver_id

12 years agofix bug in verify_persons
Tony Mack [Thu, 1 Dec 2011 21:22:37 +0000 (16:22 -0500)]
fix bug in verify_persons

12 years agofix NameError
Tony Mack [Thu, 1 Dec 2011 20:28:11 +0000 (15:28 -0500)]
fix NameError

12 years agoraise InvalidRSpec exception if request rspec has no slivers
Tony Mack [Thu, 1 Dec 2011 20:27:44 +0000 (15:27 -0500)]
raise InvalidRSpec exception if request rspec has no slivers

12 years ago'type' attribute should be named 'name'}
Tony Mack [Thu, 1 Dec 2011 18:25:54 +0000 (13:25 -0500)]
'type' attribute should be named 'name'}

12 years agorename table 'sfa' into 'records' and add constraints on types
Thierry Parmentelat [Thu, 1 Dec 2011 17:45:35 +0000 (18:45 +0100)]
rename table 'sfa' into 'records' and add constraints on types

12 years agominor tweaks
Thierry Parmentelat [Thu, 1 Dec 2011 17:45:07 +0000 (18:45 +0100)]
minor tweaks

12 years agobuild (plc.)Aggregate from a driver and not from an api
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

12 years agotopology.py moved in sfa/plc/
Thierry Parmentelat [Thu, 1 Dec 2011 12:01:08 +0000 (13:01 +0100)]
topology.py moved in sfa/plc/

12 years agocleanup the table creation code; sfa-nuke to clear the table, not drop it
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

12 years agoincoming version is tagged geni_rspec_version, not rspec_version
Thierry Parmentelat [Thu, 1 Dec 2011 09:30:28 +0000 (10:30 +0100)]
incoming version is tagged geni_rspec_version, not rspec_version

12 years agotypo
Thierry Parmentelat [Thu, 1 Dec 2011 08:38:42 +0000 (09:38 +0100)]
typo

12 years agoreturn the correct error codes
Tony Mack [Wed, 30 Nov 2011 20:13:39 +0000 (15:13 -0500)]
return the correct error codes

12 years agolog error
Tony Mack [Wed, 30 Nov 2011 18:36:37 +0000 (13:36 -0500)]
log error

12 years ago fix error message
Tony Mack [Wed, 30 Nov 2011 18:36:23 +0000 (13:36 -0500)]
 fix error message

12 years agodefault to sfa rpsec if not schema is present
Tony Mack [Wed, 30 Nov 2011 18:36:00 +0000 (13:36 -0500)]
default to sfa rpsec if not schema is present

12 years agoensure 'rspec_version' option is specified
Tony Mack [Wed, 30 Nov 2011 18:35:19 +0000 (13:35 -0500)]
ensure 'rspec_version' option is specified

12 years agorspec_version.to_string() is no loger necessary
Tony Mack [Wed, 30 Nov 2011 18:34:49 +0000 (13:34 -0500)]
rspec_version.to_string() is no loger necessary

12 years agoSetting tag sfa-2.0-1 sfa-2.0-1
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

12 years agosomehow sfa.util.record resurfaced
Thierry Parmentelat [Wed, 30 Nov 2011 09:00:40 +0000 (10:00 +0100)]
somehow sfa.util.record resurfaced

12 years agoremove debug code
smbaker [Tue, 29 Nov 2011 02:35:28 +0000 (18:35 -0800)]
remove debug code

12 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Tue, 29 Nov 2011 02:35:05 +0000 (18:35 -0800)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

12 years agocast version_num to string before comparing
Tony Mack [Tue, 29 Nov 2011 21:13:11 +0000 (16:13 -0500)]
cast version_num to string before comparing

12 years agoremove debugging code
Tony Mack [Tue, 29 Nov 2011 20:44:05 +0000 (15:44 -0500)]
remove debugging code

12 years agoadded InvalidRSpecVersion fault
Tony Mack [Tue, 29 Nov 2011 20:41:52 +0000 (15:41 -0500)]
added InvalidRSpecVersion fault

12 years agoattempt to fix startup sequence
Thierry Parmentelat [Tue, 29 Nov 2011 15:08:50 +0000 (16:08 +0100)]
attempt to fix startup sequence

12 years agooops
Thierry Parmentelat [Tue, 29 Nov 2011 14:51:16 +0000 (15:51 +0100)]
oops

12 years agoship database schema in a separate file
Thierry Parmentelat [Tue, 29 Nov 2011 14:29:58 +0000 (15:29 +0100)]
ship database schema in a separate file

12 years agoadded __init__.py
Thierry Parmentelat [Tue, 29 Nov 2011 11:49:53 +0000 (12:49 +0100)]
added __init__.py

12 years agogroup db-related stuff in sfa/storage
Thierry Parmentelat [Tue, 29 Nov 2011 11:01:06 +0000 (12:01 +0100)]
group db-related stuff in sfa/storage

12 years agomove init.d and cron.d one step up in the source tree
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

12 years agofinished to clean up SFA_*_TYPE and the like
Thierry Parmentelat [Tue, 29 Nov 2011 09:34:40 +0000 (10:34 +0100)]
finished to clean up SFA_*_TYPE and the like

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 29 Nov 2011 09:20:21 +0000 (10:20 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agobugfix - had to undo an attempt to optimize the calls to
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

12 years agowhitespace
Tony Mack [Mon, 28 Nov 2011 20:42:36 +0000 (15:42 -0500)]
whitespace

12 years agobump sfa api version in GetVersion
Tony Mack [Mon, 28 Nov 2011 20:42:12 +0000 (15:42 -0500)]
bump sfa api version in GetVersion

12 years agoaggregate api version is an int
Tony Mack [Mon, 28 Nov 2011 20:39:43 +0000 (15:39 -0500)]
aggregate api version is an int

12 years agoenable caching at the aggregate
Tony Mack [Mon, 28 Nov 2011 20:14:04 +0000 (15:14 -0500)]
enable caching at the aggregate

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
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

12 years agoslicemgr also supports GENI AM API v2
Tony Mack [Mon, 28 Nov 2011 19:24:16 +0000 (14:24 -0500)]
slicemgr also supports GENI AM API v2

12 years agofix merge()
Tony Mack [Mon, 28 Nov 2011 19:22:21 +0000 (14:22 -0500)]
fix merge()

12 years agoimport sfa.rspecs.element.services.Services
Tony Mack [Mon, 28 Nov 2011 19:22:02 +0000 (14:22 -0500)]
import sfa.rspecs.element.services.Services

12 years agofix various bugs
Tony Mack [Mon, 28 Nov 2011 19:21:30 +0000 (14:21 -0500)]
fix various bugs

12 years agofix typo
Tony Mack [Mon, 28 Nov 2011 19:20:59 +0000 (14:20 -0500)]
fix typo

12 years agobugfixes
Thierry Parmentelat [Mon, 28 Nov 2011 19:01:28 +0000 (20:01 +0100)]
bugfixes

12 years agoreview update_relation (formerly update_membership) between manager
Thierry Parmentelat [Mon, 28 Nov 2011 18:06:59 +0000 (19:06 +0100)]
review update_relation (formerly update_membership) between manager
and driver

12 years agocheck if key exists in dict
Tony Mack [Mon, 28 Nov 2011 18:00:40 +0000 (13:00 -0500)]
check if key exists in dict

12 years agoreordered imports
Thierry Parmentelat [Mon, 28 Nov 2011 17:51:58 +0000 (18:51 +0100)]
reordered imports

12 years agocosmetic
Thierry Parmentelat [Mon, 28 Nov 2011 15:38:03 +0000 (16:38 +0100)]
cosmetic

12 years agodriver.update
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

12 years agofix get_networks not working right in pgv2 rspec
smbaker [Mon, 28 Nov 2011 11:14:22 +0000 (03:14 -0800)]
fix get_networks not working right in pgv2 rspec

12 years agofix remove_nodes; get rid of network_name tag; look up component_name for legacy...
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

12 years agodriver.remove
Thierry Parmentelat [Mon, 28 Nov 2011 09:08:53 +0000 (10:08 +0100)]
driver.remove

12 years agoinsert the driver attribute to the real manager, not the wrapper
Thierry Parmentelat [Mon, 28 Nov 2011 09:08:05 +0000 (10:08 +0100)]
insert the driver attribute to the real manager, not the wrapper

12 years agominor cleanup
Thierry Parmentelat [Mon, 28 Nov 2011 08:22:43 +0000 (09:22 +0100)]
minor cleanup

12 years agoinitial checkin
Tony Mack [Mon, 28 Nov 2011 03:26:44 +0000 (22:26 -0500)]
initial checkin

12 years agofix merge problem
smbaker [Mon, 28 Nov 2011 03:06:16 +0000 (19:06 -0800)]
fix merge problem

12 years agouse sfa.client.return_value.ReturnValue to parse aggregate return values
Tony Mack [Mon, 28 Nov 2011 01:25:17 +0000 (20:25 -0500)]
use sfa.client.return_value.ReturnValue to parse aggregate return values

12 years agobump major number to 2.0
Thierry Parmentelat [Sat, 26 Nov 2011 21:13:01 +0000 (22:13 +0100)]
bump major number to 2.0

12 years agoremove obsolete material
Thierry Parmentelat [Sat, 26 Nov 2011 20:19:34 +0000 (21:19 +0100)]
remove obsolete material

12 years agooops this was intended to be in previous commit as well
Thierry Parmentelat [Sat, 26 Nov 2011 10:58:46 +0000 (11:58 +0100)]
oops this was intended to be in previous commit as well

12 years agoplshell to use 'capability' access method rather than xmlrpc when possible
Thierry Parmentelat [Sat, 26 Nov 2011 10:53:44 +0000 (11:53 +0100)]
plshell to use 'capability' access method rather than xmlrpc when possible

12 years agotrashed remoteshell and use plshell instead
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

12 years agobugfix
Thierry Parmentelat [Sat, 26 Nov 2011 10:23:42 +0000 (11:23 +0100)]
bugfix

12 years agostart to define an abstract interface for the driver
Thierry Parmentelat [Fri, 25 Nov 2011 17:26:07 +0000 (18:26 +0100)]
start to define an abstract interface for the driver

12 years agocosmetic
Thierry Parmentelat [Fri, 25 Nov 2011 11:54:46 +0000 (12:54 +0100)]
cosmetic

12 years agocleanup
Thierry Parmentelat [Fri, 25 Nov 2011 10:37:00 +0000 (11:37 +0100)]
cleanup

12 years agoinitscript silent
Thierry Parmentelat [Fri, 25 Nov 2011 10:36:40 +0000 (11:36 +0100)]
initscript silent

12 years agorenamed plc-specific api call get_key into key_key_from_incoming_ip
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

12 years agooops
Thierry Parmentelat [Thu, 24 Nov 2011 19:32:15 +0000 (20:32 +0100)]
oops

12 years agomake sfa really not depending on sfatables
Thierry Parmentelat [Thu, 24 Nov 2011 17:42:52 +0000 (18:42 +0100)]
make sfa really not depending on sfatables

12 years agotrash egg-info stuff as f8 won't produce it
Thierry Parmentelat [Thu, 24 Nov 2011 17:25:53 +0000 (18:25 +0100)]
trash egg-info stuff as f8 won't produce it

12 years agomoved requires: clauses from sfa-plc to sfa
Thierry Parmentelat [Thu, 24 Nov 2011 15:14:09 +0000 (16:14 +0100)]
moved requires: clauses from sfa-plc to sfa

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 24 Nov 2011 15:01:05 +0000 (16:01 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa