sfa.git
12 years agoSetting tag sfa-2.0-7 sfa-2.0-7
Tony Mack [Tue, 3 Jan 2012 19:12:30 +0000 (14:12 -0500)]
Setting tag sfa-2.0-7

12 years agoPlShell reference belongs in sfa-import-plc
Tony Mack [Tue, 3 Jan 2012 06:22:45 +0000 (01:22 -0500)]
PlShell reference belongs in sfa-import-plc

12 years agoinitial checkin of openstack import script
Tony Mack [Tue, 3 Jan 2012 06:18:40 +0000 (01:18 -0500)]
initial checkin of openstack import script

12 years agofix AttributeError in sync()
Tony Mack [Tue, 3 Jan 2012 06:14:12 +0000 (01:14 -0500)]
fix AttributeError in sync()

12 years agofix hostname, add conversion of hardware_types
smbaker [Tue, 3 Jan 2012 00:54:37 +0000 (16:54 -0800)]
fix hostname, add conversion of hardware_types

12 years agoadd support for hardware_type element to sfa rspec
smbaker [Tue, 3 Jan 2012 00:53:58 +0000 (16:53 -0800)]
add support for hardware_type element to sfa rspec

12 years agofix types in hardware_type
smbaker [Tue, 3 Jan 2012 00:53:07 +0000 (16:53 -0800)]
fix types in hardware_type

12 years agomoved plc specific code out of sfa.importer.sfaImporter. Refactored sfa.importer...
Tony Mack [Sun, 1 Jan 2012 21:05:42 +0000 (16:05 -0500)]
moved plc specific code out of sfa.importer.sfaImporter. Refactored sfa.importer.sfa-import.plc and sfa.importer.sfaImporter

12 years agofix name error
Tony Mack [Sun, 1 Jan 2012 17:43:24 +0000 (12:43 -0500)]
fix name error

12 years agofix name error
Tony Mack [Sun, 1 Jan 2012 17:24:07 +0000 (12:24 -0500)]
fix name error

12 years agomove generic code from sfa.importer.sfa-import-plc sfa.importer.sfaImport
Tony Mack [Fri, 30 Dec 2011 21:00:20 +0000 (16:00 -0500)]
move generic code from sfa.importer.sfa-import-plc sfa.importer.sfaImport

12 years agofix protogeni rspec converter
smbaker [Fri, 30 Dec 2011 03:38:34 +0000 (19:38 -0800)]
fix protogeni rspec converter

12 years agofix error in get_networks
smbaker [Fri, 30 Dec 2011 03:37:22 +0000 (19:37 -0800)]
fix error in get_networks

12 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Thu, 29 Dec 2011 03:40:06 +0000 (19:40 -0800)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

12 years agouse utcparse and datetime_to_epoch to handle slice 'expires' field
Tony Mack [Mon, 26 Dec 2011 04:53:34 +0000 (23:53 -0500)]
use utcparse and datetime_to_epoch to handle slice 'expires' field

12 years agoutcparse now supports longs
Tony Mack [Mon, 26 Dec 2011 04:42:51 +0000 (23:42 -0500)]
utcparse now supports longs

12 years agoraise exception if there are no slivers
Tony Mack [Mon, 26 Dec 2011 04:42:17 +0000 (23:42 -0500)]
raise exception if there are no slivers

12 years agono need to call timetuple() here
Tony Mack [Thu, 22 Dec 2011 21:14:20 +0000 (16:14 -0500)]
no need to call timetuple() here

12 years agoreplaced epochparse with datetime_to_epoch()
Tony Mack [Thu, 22 Dec 2011 21:05:47 +0000 (16:05 -0500)]
replaced epochparse with datetime_to_epoch()

12 years agoconvert slice record 'expires' field from utc to human readable format
Tony Mack [Thu, 22 Dec 2011 19:33:45 +0000 (14:33 -0500)]
convert slice record 'expires' field from utc to human readable format

12 years agoadded 'geni_api' to the return value struct
Tony Mack [Thu, 22 Dec 2011 19:16:56 +0000 (14:16 -0500)]
added 'geni_api' to the return value struct

12 years agomake sure verify_persons() passes user keys to verify_keys()
Tony Mack [Thu, 22 Dec 2011 19:16:33 +0000 (14:16 -0500)]
make sure verify_persons() passes user keys to verify_keys()

12 years agoremove interface element from request rspec
Tony Mack [Thu, 22 Dec 2011 18:04:45 +0000 (13:04 -0500)]
remove interface element from request rspec

12 years agosliver_type element must contain the 'name' attribute
Tony Mack [Thu, 22 Dec 2011 17:43:27 +0000 (12:43 -0500)]
sliver_type element must contain the 'name' attribute

12 years ago<available> element not allowed in manifest rspec
Tony Mack [Thu, 22 Dec 2011 17:35:37 +0000 (12:35 -0500)]
<available> element not allowed in manifest rspec

12 years agomdofied url in geni_api_versions field
Tony Mack [Thu, 22 Dec 2011 01:18:52 +0000 (20:18 -0500)]
mdofied url in geni_api_versions field

12 years agofix format string in epochparse()
Tony Mack [Thu, 22 Dec 2011 01:08:03 +0000 (20:08 -0500)]
fix format string in epochparse()

12 years ago<available> element not allowed in manifest rspecs
Tony Mack [Thu, 22 Dec 2011 00:48:36 +0000 (19:48 -0500)]
<available> element not allowed in manifest rspecs

12 years ago'country' attribute is required in the location element
Tony Mack [Thu, 22 Dec 2011 00:41:19 +0000 (19:41 -0500)]
'country' attribute is required in the location element

12 years agoipv4 attribute not allowd in pgv2/geniv3 node element
Tony Mack [Thu, 22 Dec 2011 00:36:44 +0000 (19:36 -0500)]
ipv4 attribute not allowd in pgv2/geniv3 node element

12 years agoadd 'geni_api_versions' field to GetVersion output
Tony Mack [Wed, 21 Dec 2011 21:11:17 +0000 (16:11 -0500)]
add 'geni_api_versions' field to GetVersion output

12 years agoThe 'extensions' field in the rspec version struct should be a list, not a dict
Tony Mack [Wed, 21 Dec 2011 21:01:24 +0000 (16:01 -0500)]
The 'extensions' field in the rspec version struct should be a list, not a dict

12 years agopl_expires and pl_last_contact should be timezoned
Tony Mack [Wed, 21 Dec 2011 20:55:51 +0000 (15:55 -0500)]
pl_expires and pl_last_contact should be timezoned

12 years agoGENI v3 manifest rspec scheamLocation attribute now reports the correct scheam
Tony Mack [Wed, 21 Dec 2011 20:39:33 +0000 (15:39 -0500)]
GENI v3 manifest rspec scheamLocation attribute now reports the correct scheam

12 years ago-s --sliceapi option no longer requires users to prefix url with 'http://'
Tony Mack [Wed, 21 Dec 2011 20:31:07 +0000 (15:31 -0500)]
-s --sliceapi option no longer requires users to prefix url with ''

12 years ago'True' should be 'true' and 'False' should be 'false'
Tony Mack [Wed, 21 Dec 2011 20:15:31 +0000 (15:15 -0500)]
'True' should be 'true' and 'False' should be 'false'

12 years agoremove duplicate rspec versions in GetVersion() output
Tony Mack [Wed, 21 Dec 2011 20:09:24 +0000 (15:09 -0500)]
remove duplicate rspec versions in GetVersion() output

12 years agofix problem setting attributes, fix blank return rspecs causing rspec.merge to fail
smbaker [Mon, 19 Dec 2011 02:40:18 +0000 (18:40 -0800)]
fix problem setting attributes, fix blank return rspecs causing rspec.merge to fail

12 years agoadded the -c --current command line argument for ListResources which allows clients...
Tony Mack [Fri, 16 Dec 2011 18:49:10 +0000 (13:49 -0500)]
added the -c --current command line argument for ListResources which allows clients to bypass the SM/AM cache and request the current advertisement rspec

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Fri, 16 Dec 2011 16:39:32 +0000 (17:39 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Conflicts:
sfa/client/sfi.py

12 years agoconvenience to push the fd driver
Thierry Parmentelat [Fri, 16 Dec 2011 16:32:38 +0000 (17:32 +0100)]
convenience to push the fd driver

12 years agoupdated microtest
Thierry Parmentelat [Fri, 16 Dec 2011 16:32:14 +0000 (17:32 +0100)]
updated microtest

12 years agono need to check if server support the options arg when calling ListResources since...
Tony Mack [Fri, 16 Dec 2011 16:24:06 +0000 (11:24 -0500)]
no need to check if server support the options arg when calling ListResources since ListResources has reqired the options argument since v1 API

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

12 years agorequest cached advertisement that otherwise doesn't get served
Thierry Parmentelat [Fri, 16 Dec 2011 15:07:16 +0000 (16:07 +0100)]
request cached advertisement that otherwise doesn't get served

12 years agoconvenience to push the federica driver
Thierry Parmentelat [Fri, 16 Dec 2011 15:06:47 +0000 (16:06 +0100)]
convenience to push the federica driver

12 years agoSetting tag sfa-2.0-6 sfa-2.0-6
Thierry Parmentelat [Fri, 16 Dec 2011 08:25:11 +0000 (09:25 +0100)]
Setting tag sfa-2.0-6
bugfix: sfi was not sending call_id with ListResources to v2 servers
SFA_API_DEBUG replaced with SFA_API_LOGLEVEL
PlDriver / PlShell : PLCAPI methods now explicitly go to the shell

12 years agoshorter debug message
Thierry Parmentelat [Thu, 15 Dec 2011 16:52:45 +0000 (17:52 +0100)]
shorter debug message

12 years agoPlDriver no longer inherits PlShell and uses composition
Thierry Parmentelat [Thu, 15 Dec 2011 16:52:34 +0000 (17:52 +0100)]
PlDriver no longer inherits PlShell and uses composition
so PLCAPI calls go to driver.shell as advertised

12 years agoshorter debug log message
Thierry Parmentelat [Thu, 15 Dec 2011 16:50:30 +0000 (17:50 +0100)]
shorter debug log message

12 years agoreplace SFA_API_DEBUG (bool) with SFA_API_LOGLEVEL (int)
Thierry Parmentelat [Thu, 15 Dec 2011 16:50:07 +0000 (17:50 +0100)]
replace SFA_API_DEBUG (bool) with SFA_API_LOGLEVEL (int)

12 years agodeclared undefined InvalidRspec
Thierry Parmentelat [Thu, 15 Dec 2011 15:23:39 +0000 (16:23 +0100)]
declared undefined InvalidRspec

12 years agobugfix - missing call_id with ListResources towards a v2 server
Thierry Parmentelat [Thu, 15 Dec 2011 15:06:25 +0000 (16:06 +0100)]
bugfix - missing call_id with ListResources towards a v2 server

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 15 Dec 2011 08:50:54 +0000 (09:50 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoSetting tag sfa-2.0-5 sfa-2.0-5
Thierry Parmentelat [Wed, 14 Dec 2011 18:03:46 +0000 (19:03 +0100)]
Setting tag sfa-2.0-5
client: sfi -a / -p deprecated (use -s instead)
client: sfi cleaned up
client: sfi has backward support for APIv1 aggregates again
server: only APIv2 is supported and should be rather strict
server: settings for turning on/off caching in sm or am
server: plc-dependant code has moved from aggregate to pldriver
server: driver interface extended accordingly

12 years agoreview example cron file that was broken
Thierry Parmentelat [Wed, 14 Dec 2011 17:24:36 +0000 (18:24 +0100)]
review example cron file that was broken

12 years agoadd comment
Thierry Parmentelat [Wed, 14 Dec 2011 17:24:24 +0000 (18:24 +0100)]
add comment

12 years agolast plc-dependent code moved to PlDriver
Thierry Parmentelat [Wed, 14 Dec 2011 16:59:27 +0000 (17:59 +0100)]
last plc-dependent code moved to PlDriver
cache reviewed (more locally handled in slicemanager and pldriver)
2 new settings to activate caching at the AM or SM in config
manager classes constructor now takes config in arg

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 14 Dec 2011 16:53:22 +0000 (17:53 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agodeprecated not-implemented --protocol option
Thierry Parmentelat [Tue, 13 Dec 2011 22:50:32 +0000 (23:50 +0100)]
deprecated not-implemented --protocol option

12 years agov1+v2 support - more readable coding style for optional args and call_ids
Thierry Parmentelat [Tue, 13 Dec 2011 17:11:04 +0000 (18:11 +0100)]
v1+v2 support - more readable coding style for optional args and call_ids

12 years agodrop support for API v1, hard-wired v2
Thierry Parmentelat [Tue, 13 Dec 2011 16:16:32 +0000 (17:16 +0100)]
drop support for API v1, hard-wired v2
as per v2, GetVersion now accepts an optional option (which is ignored)

12 years agoupdated sfi_config template - no more SFI_GENI_AM
Thierry Parmentelat [Tue, 13 Dec 2011 16:14:28 +0000 (17:14 +0100)]
updated sfi_config template - no more SFI_GENI_AM

12 years agoscan xml files
Thierry Parmentelat [Tue, 13 Dec 2011 15:23:26 +0000 (16:23 +0100)]
scan xml files

12 years agocosmetic
Thierry Parmentelat [Tue, 13 Dec 2011 15:20:49 +0000 (16:20 +0100)]
cosmetic

12 years agoexpose 'sfa'='2' in slice manager version, for consistency
Thierry Parmentelat [Tue, 13 Dec 2011 15:20:23 +0000 (16:20 +0100)]
expose 'sfa'='2' in slice manager version, for consistency

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

12 years agohandle supporting options and call_id in v1 and v2 api
Tony Mack [Tue, 13 Dec 2011 04:20:22 +0000 (23:20 -0500)]
handle supporting options and call_id in v1 and v2 api

12 years agofix oids usage in CreateSlivers and SliverStatus
smbaker [Tue, 13 Dec 2011 03:01:36 +0000 (19:01 -0800)]
fix oids usage in CreateSlivers and SliverStatus

12 years agoa portion of the aggregate manager methods has moved to the driver
Thierry Parmentelat [Mon, 12 Dec 2011 17:12:19 +0000 (18:12 +0100)]
a portion of the aggregate manager methods has moved to the driver

12 years agoRSpec must be instantiated with a valid rspec string or version
Tony Mack [Mon, 12 Dec 2011 16:53:01 +0000 (11:53 -0500)]
RSpec must be instantiated with a valid rspec string or version

12 years agouse pprint to pretty print version
Thierry Parmentelat [Mon, 12 Dec 2011 15:34:12 +0000 (16:34 +0100)]
use pprint to pretty print version

12 years agoremove the calls to register_peer_object (after talking to Tony)
Thierry Parmentelat [Mon, 12 Dec 2011 13:05:16 +0000 (14:05 +0100)]
remove the calls to register_peer_object (after talking to Tony)
seems to fix my issue in a 3-sm mesh setup at least

12 years agono more -a / -p options -- another cleanup pass
Thierry Parmentelat [Mon, 12 Dec 2011 11:14:13 +0000 (12:14 +0100)]
no more -a / -p options -- another cleanup pass

12 years agomissing import
Thierry Parmentelat [Mon, 12 Dec 2011 11:12:12 +0000 (12:12 +0100)]
missing import

12 years agofrom now on the 'options' arg is mandatory as far as the server-side is concerned
Thierry Parmentelat [Mon, 12 Dec 2011 10:26:44 +0000 (11:26 +0100)]
from now on the 'options' arg is mandatory as far as the server-side is concerned

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Sat, 10 Dec 2011 12:29:35 +0000 (13:29 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agofirst step towards retro-adding support for v1 aggregates in client
Thierry Parmentelat [Sat, 10 Dec 2011 12:29:21 +0000 (13:29 +0100)]
first step towards retro-adding support for v1 aggregates in client

12 years agobugfix in exception handler
Thierry Parmentelat [Sat, 10 Dec 2011 12:15:52 +0000 (13:15 +0100)]
bugfix in exception handler

12 years agointerfaces elements in the manifest rspec must have a client_id
Tony Mack [Fri, 9 Dec 2011 20:31:05 +0000 (15:31 -0500)]
interfaces elements in the manifest rspec must have a client_id

12 years agoSetting tag sfa-2.0-4 sfa-2.0-4
Thierry Parmentelat [Fri, 9 Dec 2011 16:12:07 +0000 (17:12 +0100)]
Setting tag sfa-2.0-4
screwed up previous tag

12 years agoSetting tag sfa-2.0-3
Thierry Parmentelat [Fri, 9 Dec 2011 16:08:37 +0000 (17:08 +0100)]
Setting tag sfa-2.0-3
client side revisited with a bootstrap library
client side has a new source layout
various (nasty) bug fixes wrt options and call_id

12 years agoshould have gone with a former commit sfa-2.0-3
Thierry Parmentelat [Fri, 9 Dec 2011 15:37:07 +0000 (16:37 +0100)]
should have gone with a former commit

12 years agomanaging servers is a mess
Thierry Parmentelat [Fri, 9 Dec 2011 15:26:14 +0000 (16:26 +0100)]
managing servers is a mess
suggesting to drop -a -c -p options about selecting aggregate or
component
couldn't we just have people select their slice API url with -s no matter what else ?

12 years agomore consistent naming
Thierry Parmentelat [Fri, 9 Dec 2011 15:24:54 +0000 (16:24 +0100)]
more consistent naming

12 years agominor
Thierry Parmentelat [Fri, 9 Dec 2011 15:03:45 +0000 (16:03 +0100)]
minor

12 years agosfi cleanup - using sfacilentbootstrap for the first time
Thierry Parmentelat [Fri, 9 Dec 2011 15:02:03 +0000 (16:02 +0100)]
sfi cleanup - using sfacilentbootstrap for the first time

12 years agoremove debug statements
Thierry Parmentelat [Fri, 9 Dec 2011 13:08:14 +0000 (14:08 +0100)]
remove debug statements

12 years agoindentation
Thierry Parmentelat [Fri, 9 Dec 2011 13:08:00 +0000 (14:08 +0100)]
indentation

12 years agono more call_id_support
Thierry Parmentelat [Fri, 9 Dec 2011 12:59:30 +0000 (13:59 +0100)]
no more call_id_support

12 years agono more 'call_id_support'
Thierry Parmentelat [Fri, 9 Dec 2011 12:27:56 +0000 (13:27 +0100)]
no more 'call_id_support'

12 years agofix bug that had gone silent until we resurrect the use of call_id
Thierry Parmentelat [Fri, 9 Dec 2011 11:26:41 +0000 (12:26 +0100)]
fix bug that had gone silent until we resurrect the use of call_id
many methods were passing call_id instead of options

12 years agocosmetic
Thierry Parmentelat [Fri, 9 Dec 2011 11:24:55 +0000 (12:24 +0100)]
cosmetic

12 years agoremove unneeded import
Thierry Parmentelat [Fri, 9 Dec 2011 09:21:15 +0000 (10:21 +0100)]
remove unneeded import

12 years agotrying to hunt down verbose messages that started recently to appear
Thierry Parmentelat [Fri, 9 Dec 2011 09:20:58 +0000 (10:20 +0100)]
trying to hunt down verbose messages that started recently to appear
in sfa_access_log - or so it seems - but to no avail.

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