sfa.git
12 years agoremove unneeded import
Thierry Parmentelat [Fri, 9 Dec 2011 09:19:03 +0000 (10:19 +0100)]
remove unneeded import

12 years agoruntime traces from info to debug
Thierry Parmentelat [Fri, 9 Dec 2011 08:15:12 +0000 (09:15 +0100)]
runtime traces from info to debug

12 years agoruntime traces from info to debug
Thierry Parmentelat [Fri, 9 Dec 2011 08:14:46 +0000 (09:14 +0100)]
runtime traces from info to debug

12 years agofix verify_slice_links()
Tony Mack [Thu, 8 Dec 2011 19:42:03 +0000 (14:42 -0500)]
fix verify_slice_links()

12 years agoexample
Thierry Parmentelat [Thu, 8 Dec 2011 15:45:31 +0000 (16:45 +0100)]
example

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 8 Dec 2011 15:37:39 +0000 (16:37 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agosfaclientlib improved
Thierry Parmentelat [Thu, 8 Dec 2011 15:37:27 +0000 (16:37 +0100)]
sfaclientlib improved
can get credentials and gids for other hrns and types
make clientlibsync can extract the minimal client env for tests

12 years agocall_id was broken since 2.0 - use GetVersion dedicated keys call_id_support' and...
Thierry Parmentelat [Thu, 8 Dec 2011 15:35:14 +0000 (16:35 +0100)]
call_id was broken since 2.0 - use GetVersion dedicated keys call_id_support' and 'options_support'
instead of tying to guess from code_tag

12 years agoupdated planetlab.rnc and regenrated planetlab.xsd
Tony Mack [Wed, 7 Dec 2011 21:18:54 +0000 (16:18 -0500)]
updated planetlab.rnc and regenrated planetlab.xsd

12 years agoadded 'atttribute' element to planetlab extension
Tony Mack [Wed, 7 Dec 2011 20:28:37 +0000 (15:28 -0500)]
added 'atttribute' element to planetlab extension

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 7 Dec 2011 19:51:17 +0000 (20:51 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agopackage sfa.cron in the examples area
Thierry Parmentelat [Wed, 7 Dec 2011 19:50:26 +0000 (20:50 +0100)]
package sfa.cron in the examples area

12 years agomodifying path to support versions
Tony Mack [Wed, 7 Dec 2011 19:33:11 +0000 (14:33 -0500)]
modifying path to support versions

12 years agopoint to a more permanent deployment
Thierry Parmentelat [Wed, 7 Dec 2011 14:20:52 +0000 (15:20 +0100)]
point to a more permanent deployment

12 years agoharden fragile code
Thierry Parmentelat [Wed, 7 Dec 2011 14:16:10 +0000 (15:16 +0100)]
harden fragile code

12 years agominor improvement to packaging
Thierry Parmentelat [Wed, 7 Dec 2011 11:55:41 +0000 (12:55 +0100)]
minor improvement to packaging
xmlbuilder comes in a separate package
stuff goes in /usr/share/sfa/examples

12 years agofix packaging
Thierry Parmentelat [Wed, 7 Dec 2011 10:36:17 +0000 (11:36 +0100)]
fix packaging

12 years agominor
Thierry Parmentelat [Wed, 7 Dec 2011 10:33:38 +0000 (11:33 +0100)]
minor

12 years agoadding missing files
Thierry Parmentelat [Wed, 7 Dec 2011 10:32:10 +0000 (11:32 +0100)]
adding missing files

12 years agobug fix in sql schema - was plain broken
Thierry Parmentelat [Wed, 7 Dec 2011 10:13:14 +0000 (11:13 +0100)]
bug fix in sql schema - was plain broken

12 years agosfaprotocol is renamed into sfaserverproxy, with class SfaServerProxy
Thierry Parmentelat [Wed, 7 Dec 2011 10:12:47 +0000 (11:12 +0100)]
sfaprotocol is renamed into sfaserverproxy, with class SfaServerProxy
that behaves like an xmlrpclib.ServerProxy

12 years agoextract/separate binary clients in sfa/clientbin
Thierry Parmentelat [Wed, 7 Dec 2011 09:48:49 +0000 (10:48 +0100)]
extract/separate binary clients in sfa/clientbin

12 years agosilent
Thierry Parmentelat [Wed, 7 Dec 2011 09:10:51 +0000 (10:10 +0100)]
silent

12 years agoconvenience
Thierry Parmentelat [Wed, 7 Dec 2011 09:10:35 +0000 (10:10 +0100)]
convenience

12 years agomove 'append' from users struct to options struct
Tony Mack [Tue, 6 Dec 2011 21:49:08 +0000 (16:49 -0500)]
move 'append' from users struct to options struct

12 years agosfi -? -v lists all commands and options
Thierry Parmentelat [Tue, 6 Dec 2011 17:42:35 +0000 (18:42 +0100)]
sfi -? -v lists all commands and options

12 years agosfi --commands (or sfi -?) gives a summary of commands
Thierry Parmentelat [Tue, 6 Dec 2011 16:15:12 +0000 (17:15 +0100)]
sfi --commands (or sfi -?) gives a summary of commands

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 6 Dec 2011 14:21:19 +0000 (15:21 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoadd symlinks sfi and sfascan in packaging
Thierry Parmentelat [Tue, 6 Dec 2011 14:10:28 +0000 (15:10 +0100)]
add symlinks sfi and sfascan in packaging

12 years agominor cleanup
Thierry Parmentelat [Tue, 6 Dec 2011 14:08:04 +0000 (15:08 +0100)]
minor cleanup

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 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()