sfa.git
12 years agoSetting tag sfa-2.0-9 sfa-2.0-9
Tony Mack [Sat, 7 Jan 2012 16:53:54 +0000 (11:53 -0500)]
Setting tag sfa-2.0-9

12 years agofix type error
Tony Mack [Sat, 7 Jan 2012 15:42:31 +0000 (10:42 -0500)]
fix type error

12 years agouse PlXrn to parse the login base (authority) out of a urn
Tony Mack [Sat, 7 Jan 2012 01:17:12 +0000 (20:17 -0500)]
use PlXrn to parse the login base (authority) out of a urn

12 years ago<login> element should have it's 'username' attribute set to the sliver's plc slice...
Tony Mack [Sat, 7 Jan 2012 01:16:11 +0000 (20:16 -0500)]
<login> element should have it's 'username' attribute set to the sliver's plc slice name

12 years agofix bug that prevented planetlab initscripts from showing up in the sliver_type eleme...
Tony Mack [Sat, 7 Jan 2012 00:40:39 +0000 (19:40 -0500)]
fix bug that prevented planetlab initscripts from showing up in the sliver_type element for PGv2 and GENIv3 rspecs

12 years agofix bug in verify_slice
Tony Mack [Fri, 6 Jan 2012 21:52:30 +0000 (16:52 -0500)]
fix bug in verify_slice

12 years agoextra whitespace in the 'schemaLocation' field shouldn't prevent us from identifying...
Tony Mack [Fri, 6 Jan 2012 21:20:12 +0000 (16:20 -0500)]
extra whitespace in the 'schemaLocation' field shouldn't prevent us from identifying the schema

12 years agomake sure datetime_to_epoch() returns ints
Tony Mack [Fri, 6 Jan 2012 19:10:21 +0000 (14:10 -0500)]
make sure datetime_to_epoch() returns ints

12 years agofix name error
Tony Mack [Fri, 6 Jan 2012 19:05:37 +0000 (14:05 -0500)]
fix name error

12 years agotry casting strings to ints before parsing
Tony Mack [Fri, 6 Jan 2012 18:31:57 +0000 (13:31 -0500)]
try casting strings to ints before parsing

12 years agoSFA_SM_{PORT,HOST} should be SFA_AGGREGATE_{PORT,HOST}
Tony Mack [Fri, 6 Jan 2012 17:03:05 +0000 (12:03 -0500)]
SFA_SM_{PORT,HOST} should be SFA_AGGREGATE_{PORT,HOST}

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 6 Jan 2012 16:57:26 +0000 (11:57 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years ago'geni_api' should be in the top level struct, not the code struct
Tony Mack [Fri, 6 Jan 2012 16:50:14 +0000 (11:50 -0500)]
'geni_api' should be in the top level struct, not the code struct

12 years agobugfix
Thierry Parmentelat [Fri, 6 Jan 2012 10:13:43 +0000 (11:13 +0100)]
bugfix

12 years agohopefully clearer message when client can't bootstrap
Thierry Parmentelat [Thu, 5 Jan 2012 11:36:35 +0000 (12:36 +0100)]
hopefully clearer message when client can't bootstrap

12 years agotypo
Thierry Parmentelat [Thu, 5 Jan 2012 11:34:23 +0000 (12:34 +0100)]
typo

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 5 Jan 2012 07:46:58 +0000 (08:46 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agoSetting tag sfa-2.0-8 sfa-2.0-8
Tony Mack [Wed, 4 Jan 2012 21:22:29 +0000 (16:22 -0500)]
Setting tag sfa-2.0-8

12 years agosfaImport no longer has verbose option
Tony Mack [Wed, 4 Jan 2012 19:54:50 +0000 (14:54 -0500)]
sfaImport no longer has verbose option

12 years agoset the 'authority' field when importing sites
Tony Mack [Wed, 4 Jan 2012 19:20:27 +0000 (14:20 -0500)]
set the 'authority' field when importing sites

12 years agofix bug in summary_string()
Tony Mack [Wed, 4 Jan 2012 19:19:02 +0000 (14:19 -0500)]
fix bug in summary_string()

12 years agohandle failed imports gracefully.
Tony Mack [Wed, 4 Jan 2012 18:46:08 +0000 (13:46 -0500)]
handle failed imports gracefully.

12 years agoconvert_public_key() should raise an exception instead for returning None
Tony Mack [Wed, 4 Jan 2012 18:16:08 +0000 (13:16 -0500)]
convert_public_key() should raise an exception instead for returning None

12 years agofix import logging
Tony Mack [Wed, 4 Jan 2012 18:15:30 +0000 (13:15 -0500)]
fix import logging

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 agocosmetic
Thierry Parmentelat [Tue, 3 Jan 2012 11:29:21 +0000 (12:29 +0100)]
cosmetic

12 years agofix sfascan wrt recent changes
Thierry Parmentelat [Tue, 3 Jan 2012 11:11:29 +0000 (12:11 +0100)]
fix sfascan wrt recent changes

12 years agosync targets more robust
Thierry Parmentelat [Tue, 3 Jan 2012 11:11:13 +0000 (12:11 +0100)]
sync targets more robust

12 years agoMakefile is for sfascan
Thierry Parmentelat [Tue, 3 Jan 2012 11:10:45 +0000 (12:10 +0100)]
Makefile is for sfascan

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