sfa.git
12 years agoRemoved hard coded login in GET requests (OARrestapi).
Sandrine Avakian [Wed, 29 Feb 2012 09:07:08 +0000 (10:07 +0100)]
Removed hard coded login in GET requests (OARrestapi).
Only GetJobIds needs a username. Modified SendRequest and
GetREquestFromOARapi to take this into account.

12 years agoAdded sliver_status in slabdriver.
Sandrine Avakian [Tue, 28 Feb 2012 15:11:36 +0000 (16:11 +0100)]
Added sliver_status in slabdriver.
Added username as a parameter in POST (OARrestapi).

12 years agoAdded DeleteJobs in SlabDriver.
Sandrine Avakian [Thu, 23 Feb 2012 16:06:30 +0000 (17:06 +0100)]
Added DeleteJobs in SlabDriver.
Fixed the OAR/EH/Hibernate/java lib  problem by using dirty
hardcoded username in the code.(original senslab account savakian
behaves really weird and cannot be deleted entirely
from the rpod senslab platform. Using new account avakian
but sfa BD is not synchronized with senslab prod LDAP:
avakian not existing in sfa.Using savakian slice and avakian for
oar etc...)

12 years agoTrying to fix the "platform crash" pbm.
Sandrine Avakian [Wed, 22 Feb 2012 11:47:02 +0000 (12:47 +0100)]
Trying to fix the "platform crash" pbm.
Scheduling an experiment to take place in 3 min on OAR instead
of being immediate.
------------------
Since it seems I don't have admin rights on OAR from sfa-vm2,
I can't test the code. I am pushing these things hoping I can test
it on sfa-vm, NT's VM.
......Seriously -_-....
SA.

12 years agobugfix and adding the deploy type for oar jobs. NT
Nicolas Turro [Fri, 10 Feb 2012 17:47:26 +0000 (18:47 +0100)]
bugfix and adding the deploy type for oar jobs. NT

12 years agoLink to the senslab wrapper in AddSliceToNodes, dummy prototype function for sliver_s...
Nicolas Turro [Fri, 10 Feb 2012 16:46:47 +0000 (17:46 +0100)]
Link to the senslab wrapper in AddSliceToNodes, dummy prototype function for sliver_status (used by sface), error jobs.NT

12 years agoget_nodes_and_links should return nothing on en empty slice.NT.
Nicolas Turro [Fri, 10 Feb 2012 16:44:52 +0000 (17:44 +0100)]
get_nodes_and_links should return nothing on en empty slice.NT.

12 years agoBugfix, asking ressources without filter was bugged. NT.
Nicolas Turro [Wed, 8 Feb 2012 14:32:11 +0000 (15:32 +0100)]
Bugfix, asking ressources without filter was bugged. NT.

12 years agoMoved computation of hrn on the OARrestapi level.
Sandrine Avakian [Thu, 26 Jan 2012 16:09:59 +0000 (17:09 +0100)]
Moved computation of hrn on the OARrestapi level.
Querying slice resources ok but considers that the nodes in the slice
are local nodes ( not from a federated senslab platform).
This is due to missing information in node hostnames in OAR.
TODO  : fix parse_filter in case of dict filter.

12 years agoCleaned GetJobs.
Sandrine Avakian [Wed, 25 Jan 2012 14:42:17 +0000 (15:42 +0100)]
Cleaned GetJobs.

12 years agoModification of get_slice_and_slivers to have the full hrn of the node.
Sandrine Avakian [Wed, 25 Jan 2012 14:33:21 +0000 (15:33 +0100)]
Modification of get_slice_and_slivers to have the full hrn of the node.

12 years agoClean up of Getslices.
Sandrine Avakian [Wed, 25 Jan 2012 10:27:40 +0000 (11:27 +0100)]
Clean up of Getslices.

12 years agoGetSlices fix 1.
Sandrine Avakian [Wed, 25 Jan 2012 10:24:50 +0000 (11:24 +0100)]
GetSlices fix 1.

12 years agoRemoved unused functions in OARapi( Get*FromOARParse).
Sandrine Avakian [Tue, 24 Jan 2012 14:30:19 +0000 (15:30 +0100)]
Removed unused functions in OARapi( Get*FromOARParse).
Fixed update_senslab_slice in slabpostgres, updated GetJobs
to update the job id in the slice table upon queries on terminated jobs.

12 years agoCleaned OARapi file. Removed class OARapi.
Sandrine Avakian [Tue, 24 Jan 2012 13:11:45 +0000 (14:11 +0100)]
Cleaned OARapi file. Removed class OARapi.
Added GetJobId

12 years agoThrash commit between cleaning OARrestapi and adding job features...
Sandrine Avakian [Tue, 24 Jan 2012 09:33:40 +0000 (10:33 +0100)]
Thrash commit between cleaning OARrestapi and  adding job features...

12 years agoTony fix to the sfa- start bug when aggregates.xml holds peer information .
Sandrine Avakian [Wed, 18 Jan 2012 13:41:47 +0000 (14:41 +0100)]
Tony fix to the sfa- start bug when aggregates.xml holds peer information .

12 years agoAdded return email and firstname/lastname in LDAP when calling ldapfind.
Sandrine Avakian [Tue, 17 Jan 2012 15:02:40 +0000 (16:02 +0100)]
Added return email and firstname/lastname in LDAP when calling ldapfind.
Added DEPLOY option when creating a job on OAR (missing firmware=>error).
Fixed show option bug with sfi.py.

12 years agoCorrected sfa-start from master.
Sandrine Avakian [Tue, 17 Jan 2012 10:13:12 +0000 (11:13 +0100)]
Corrected sfa-start from master.

12 years agoFixed problem from merge from master.
Sandrine Avakian [Mon, 16 Jan 2012 16:07:29 +0000 (17:07 +0100)]
Fixed problem from merge from master.
Added list slice functionnality from sfi.py.
Todo : Fix hrn problem when listing slice.

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Mon, 16 Jan 2012 14:17:48 +0000 (15:17 +0100)]
Merge branch 'master' into senslab2

Conflicts:
sfa/managers/registry_manager.py

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Mon, 16 Jan 2012 14:21:17 +0000 (15:21 +0100)]
Merge branch 'upstreammaster'

12 years agoAdded GetPeers and get_peer functions.
Sandrine Avakian [Mon, 16 Jan 2012 14:10:40 +0000 (15:10 +0100)]
Added GetPeers and get_peer functions.

12 years agoREmoved modifications in auth.py and sfa-start.py.
Sandrine Avakian [Fri, 13 Jan 2012 12:06:31 +0000 (13:06 +0100)]
REmoved modifications in auth.py and sfa-start.py.

12 years ago Debugging federation functions on senslab/senslab2.
Sandrine Avakian [Fri, 13 Jan 2012 09:51:57 +0000 (10:51 +0100)]
 Debugging federation functions on senslab/senslab2.

12 years agoreinstate 'sfa' and 'geni_api' keys in GetVersion for the registry before-alchemy sfa-2.1-0
Thierry Parmentelat [Thu, 12 Jan 2012 17:14:11 +0000 (18:14 +0100)]
reinstate 'sfa' and 'geni_api' keys in GetVersion for the registry

12 years agointerpret return values
Thierry Parmentelat [Thu, 12 Jan 2012 16:34:50 +0000 (17:34 +0100)]
interpret return values
better messages with unexisting hostnames
better performance with unexisting hostnames

12 years agoRemoving GetSites , GetSitesFRomOARParse, verify_site
Sandrine Avakian [Thu, 12 Jan 2012 09:06:47 +0000 (10:06 +0100)]
Removing  GetSites , GetSitesFRomOARParse, verify_site
as Senslab only has one main entry point and is considered
as one and unique site : therfore, does not need to handle
multiple sites. May be subject to changes in the future.
Removed the peer checkings in:
verify_slice_nodes, verify_slice, for the same reason.
Removed verify_slice_links and verify_slice_attributes
(no links and no special attibutes in senslab slices).

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Thu, 12 Jan 2012 00:03:03 +0000 (01:03 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

12 years agobump DEFAULT_CREDENTIAL_LIFETIME to 31 days, to make renew work
smbaker [Wed, 11 Jan 2012 00:05:41 +0000 (16:05 -0800)]
bump DEFAULT_CREDENTIAL_LIFETIME to 31 days, to make renew work

12 years agoadd optional minimum expiration to getCredential, better handling of returns in slice...
smbaker [Tue, 10 Jan 2012 23:52:56 +0000 (15:52 -0800)]
add optional minimum expiration to getCredential, better handling of returns in slicemanager renew

12 years agoRegistry supports the OpenStack backend
Tony Mack [Tue, 10 Jan 2012 19:04:46 +0000 (14:04 -0500)]
Registry supports the OpenStack backend

12 years agosupport openstack database access to pg_hba.conf
Tony Mack [Tue, 10 Jan 2012 18:10:08 +0000 (13:10 -0500)]
support openstack database access to pg_hba.conf

12 years agofix bugs
Tony Mack [Tue, 10 Jan 2012 17:56:53 +0000 (12:56 -0500)]
fix bugs

12 years agofix bug in delete
Tony Mack [Tue, 10 Jan 2012 17:39:33 +0000 (12:39 -0500)]
fix bug in delete

12 years agoAdded GetJobs.
Sandrine Avakian [Tue, 10 Jan 2012 13:44:33 +0000 (14:44 +0100)]
Added GetJobs.

12 years agoforce geni_rspec_version for protogeni aggregate
smbaker [Tue, 10 Jan 2012 03:20:34 +0000 (19:20 -0800)]
force geni_rspec_version for protogeni aggregate

12 years agouse sfa.openstack.openstack_shell to interact with openstack back end
Tony Mack [Tue, 10 Jan 2012 00:53:42 +0000 (19:53 -0500)]
use sfa.openstack.openstack_shell to interact with openstack back end

12 years agoadded sfa/openstack directory
Tony Mack [Tue, 10 Jan 2012 00:51:18 +0000 (19:51 -0500)]
added sfa/openstack directory

12 years agodont forget __init__.py
Tony Mack [Tue, 10 Jan 2012 00:37:32 +0000 (19:37 -0500)]
dont forget __init__.py

12 years agoInitial checkin of openstack shell
Tony Mack [Tue, 10 Jan 2012 00:35:47 +0000 (19:35 -0500)]
Initial checkin of openstack shell

12 years agominor cleanup
Thierry Parmentelat [Mon, 9 Jan 2012 17:59:28 +0000 (18:59 +0100)]
minor cleanup

12 years agocan now import and use sfa.server.sfaapi withough having to worry about registry...
Tony Mack [Mon, 9 Jan 2012 17:22:53 +0000 (12:22 -0500)]
can now import and use sfa.server.sfaapi withough having to worry about registry dependencies

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Mon, 9 Jan 2012 08:35:12 +0000 (09:35 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

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 agominor cleanup
Thierry Parmentelat [Fri, 6 Jan 2012 12:03:55 +0000 (13:03 +0100)]
minor cleanup

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

12 years agoAdded job requests to OAR.
Sandrine Avakian [Thu, 5 Jan 2012 16:39:23 +0000 (17:39 +0100)]
Added job requests to OAR.
Using hardcoded authentication ...

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 agoUsing generic registry manager.
Sandrine Avakian [Mon, 2 Jan 2012 09:07:49 +0000 (10:07 +0100)]
Using generic registry manager.

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