sfa.git
12 years agocan run in test mode if pygraphviz can't be imported
Thierry Parmentelat [Tue, 6 Dec 2011 13:59:53 +0000 (14:59 +0100)]
can run in test mode if pygraphviz can't be imported

12 years agopackage sfascan
Thierry Parmentelat [Tue, 6 Dec 2011 13:57:24 +0000 (14:57 +0100)]
package sfascan

12 years agoSetting tag sfa-2.0-2 sfa-2.0-2
Thierry Parmentelat [Tue, 6 Dec 2011 09:41:50 +0000 (10:41 +0100)]
Setting tag sfa-2.0-2
various fixes in rspecs for sfav1&slice tags
uses 'geni_rspec_version' and not just 'rspec_version'
example flavour for the max testbed
embryo for an sfa client library
topology.py moved into plc
sql: table is named records; record_types are enforced
sql: table creation cleaned up

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 agoFixed incompatibilities from merge in aggregate_manager_slab.py.
Sandrine Avakian [Thu, 1 Dec 2011 16:04:09 +0000 (17:04 +0100)]
Fixed incompatibilities from merge in aggregate_manager_slab.py.
Removed decrecated code in OARrspec.py.

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Thu, 1 Dec 2011 14:52:32 +0000 (15:52 +0100)]
Merge branch 'master' into senslab2

12 years agoAdded prints for debugging purposes.
Sandrine Avakian [Thu, 1 Dec 2011 14:32:19 +0000 (15:32 +0100)]
Added prints for debugging purposes.

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 agoMerge branch 'upstreammaster'
Thierry Parmentelat [Thu, 1 Dec 2011 10:59:52 +0000 (11:59 +0100)]
Merge branch 'upstreammaster'

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 agoAdded slice table support in slabpostgres.sql.
Sandrine Avakian [Thu, 1 Dec 2011 10:25:54 +0000 (11:25 +0100)]
Added slice table support in slabpostgres.sql.
Added missing PI and researcher fields for slices by searching through slice table
in fill_record_info.
Corrected nodes hrn in slab-import.
=> To be changed with new version of OAR coming.
Fixed show command (sfi.py show).

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Thu, 1 Dec 2011 09:34:42 +0000 (10:34 +0100)]
Merge branch 'upstreammaster'

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 agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 30 Nov 2011 20:34:02 +0000 (21:34 +0100)]
Merge branch 'upstreammaster'

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 agoClean-up of slabpostgres.py
Sandrine Avakian [Tue, 29 Nov 2011 16:40:27 +0000 (17:40 +0100)]
Clean-up of slabpostgres.py

12 years agoAdded support for new slice table for Senslab.
Sandrine Avakian [Tue, 29 Nov 2011 14:50:41 +0000 (15:50 +0100)]
Added support for new slice table for Senslab.

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 agoMerge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2
Sandrine Avakian [Mon, 28 Nov 2011 13:13:09 +0000 (14:13 +0100)]
Merge branch 'senslab2' of ssh://git.f-lab.fr/git/sfa into senslab2

12 years agoFixing merge form master compatibility problems.
Sandrine Avakian [Mon, 28 Nov 2011 13:03:49 +0000 (14:03 +0100)]
Fixing merge form master compatibility problems.

12 years agoWe use the standard AM for now. NT.
Nicolas Turro [Mon, 28 Nov 2011 12:01:59 +0000 (13:01 +0100)]
We use the standard AM for now. NT.

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