sfa.git
10 years agoRspecs: remove testbed dependencies
Mohamed Larabi [Tue, 1 Oct 2013 09:54:45 +0000 (11:54 +0200)]
Rspecs: remove testbed dependencies

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Sandrine Avakian [Wed, 25 Sep 2013 08:50:48 +0000 (10:50 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoFixing bug in get_rspec.
Sandrine Avakian [Tue, 24 Sep 2013 14:27:14 +0000 (16:27 +0200)]
Fixing bug in get_rspec.

10 years agorspecs/iotlab: fixed missing position element during RSpec parsing
Jordan Augé [Tue, 24 Sep 2013 13:47:39 +0000 (15:47 +0200)]
rspecs/iotlab: fixed missing position element during RSpec parsing

10 years agoFixing small mistake.
Sandrine Avakian [Tue, 24 Sep 2013 09:57:01 +0000 (11:57 +0200)]
Fixing small mistake.

10 years agoAdding missing import.
Sandrine Avakian [Tue, 24 Sep 2013 09:20:05 +0000 (11:20 +0200)]
Adding missing import.

10 years agoModifications to reflect the changes in the test rspec directory.
Sandrine Avakian [Mon, 23 Sep 2013 13:37:34 +0000 (15:37 +0200)]
Modifications to reflect the changes in the test rspec directory.
Now the client test script includes an option: the
test_rspec directory has to be supplied.

10 years agoSsmall mistake in leases filtering in iotlabapi.
Sandrine Avakian [Fri, 20 Sep 2013 13:34:09 +0000 (15:34 +0200)]
Ssmall mistake in leases filtering in iotlabapi.

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Sandrine Avakian [Fri, 20 Sep 2013 12:19:53 +0000 (14:19 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoAdding Rspec test files under /testbeds/iotlab/tests/tests_rspecs.
Sandrine Avakian [Fri, 20 Sep 2013 12:16:59 +0000 (14:16 +0200)]
Adding Rspec test files under /testbeds/iotlab/tests/tests_rspecs.
Fixing problem in import nodes.
Adding the filtering lease feature in iotlabapi.
In the future, if filtering the leases depending on their start time is needed,
that is only printing the leases scheduled in the next couple of
hours/days/weeks and so on is needed, this is already implemented in
the iotlab api(see GetLeases).

10 years agomore casting for SFAv1 rspecs
Mohamed Larabi [Fri, 20 Sep 2013 08:43:30 +0000 (10:43 +0200)]
more casting for SFAv1 rspecs

10 years agoExplicitly cast to dict complex parsed object in PGv2 and Geniv3 rspecs
Mohamed Larabi [Fri, 20 Sep 2013 08:17:06 +0000 (10:17 +0200)]
Explicitly cast to dict complex parsed object in PGv2 and Geniv3 rspecs

10 years agoOups
Mohamed Larabi [Thu, 19 Sep 2013 13:58:14 +0000 (15:58 +0200)]
Oups

10 years agoGet initscripts from pgv2 and geniv3 rspecs
Mohamed Larabi [Thu, 19 Sep 2013 13:54:33 +0000 (15:54 +0200)]
Get initscripts from pgv2 and geniv3 rspecs

10 years agofix how to get node boot_state in pgv2 and geniv3 rspecs
Mohamed Larabi [Thu, 19 Sep 2013 13:13:48 +0000 (15:13 +0200)]
fix how to get node boot_state in pgv2 and geniv3 rspecs

10 years agoput attribute tag (that carries PL node tag) into planetlab namespace
Mohamed Larabi [Wed, 18 Sep 2013 18:08:05 +0000 (20:08 +0200)]
put attribute tag (that carries PL node tag) into planetlab namespace

10 years agoexpose PL node tags using attribute in PGv2 and GENIv3 rspecs
Mohamed Larabi [Wed, 18 Sep 2013 17:14:23 +0000 (19:14 +0200)]
expose PL node tags using attribute in PGv2 and GENIv3 rspecs

10 years agoRenaming the testing files.
Sandrine Avakian [Tue, 17 Sep 2013 13:50:48 +0000 (15:50 +0200)]
Renaming the testing files.

10 years agoAdding LDAP check on testsuite.py .
Sandrine Avakian [Tue, 17 Sep 2013 13:49:44 +0000 (15:49 +0200)]
Adding LDAP check on testsuite.py .

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Mohamed Larabi [Tue, 17 Sep 2013 09:46:21 +0000 (11:46 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoadd node tags to PGv2 and GENIv3 RSpecs
Mohamed Larabi [Tue, 17 Sep 2013 09:46:09 +0000 (11:46 +0200)]
add node tags to PGv2 and GENIv3 RSpecs

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Sandrine Avakian [Mon, 16 Sep 2013 14:01:28 +0000 (16:01 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoRenaming testsuite as it is now a python file.
Sandrine Avakian [Mon, 16 Sep 2013 14:01:02 +0000 (16:01 +0200)]
Renaming testsuite as it is now a python file.

10 years agoAdding more tests to testsuite.
Sandrine Avakian [Mon, 16 Sep 2013 14:00:21 +0000 (16:00 +0200)]
Adding more tests to testsuite.

10 years agoNitos: channels now have component_id (urn), which is used to address them into Lease...
Mohamed Larabi [Mon, 16 Sep 2013 13:42:41 +0000 (15:42 +0200)]
Nitos: channels now have component_id (urn), which is used to address them into Leases (same as nodes)

10 years agoLast changes to fix the returned Rspec with leases that should not
Sandrine Avakian [Wed, 11 Sep 2013 14:27:47 +0000 (16:27 +0200)]
Last changes to fix the returned Rspec with leases that should not
be there problem.

10 years agoFixing granularity, now set to 60 seconds.
Sandrine Avakian [Wed, 11 Sep 2013 09:16:50 +0000 (11:16 +0200)]
Fixing granularity, now set to 60 seconds.
Changing minimal experiment time, set to 10 units of granularity
(still 10 minutes).
Fixing Rspec returns all leases when a slice xrn is specified
and options leases and all are used in the request.

10 years agoChanging granularity to 60s.
Sandrine Avakian [Mon, 9 Sep 2013 14:54:21 +0000 (16:54 +0200)]
Changing granularity to 60s.

10 years agoa few fixes in the comments for Sphinx.
Sandrine Avakian [Wed, 4 Sep 2013 13:09:18 +0000 (15:09 +0200)]
a few fixes in the comments for Sphinx.

10 years agoCleaning and comenting.
Sandrine Avakian [Thu, 8 Aug 2013 15:27:05 +0000 (17:27 +0200)]
Cleaning and comenting.

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Sandrine Avakian [Wed, 7 Aug 2013 15:03:38 +0000 (17:03 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoFixing bug deleting 2nd job created on OAR in the iotlab_sfa db.
Sandrine Avakian [Wed, 7 Aug 2013 15:02:15 +0000 (17:02 +0200)]
Fixing bug deleting 2nd job created on OAR in the iotlab_sfa db.
(Removing 'login' in GetReservedNodes in GetLEases to have all the
leases in OAR instead of filtereing the results.)

10 years agooups
Mohamed Larabi [Thu, 1 Aug 2013 12:35:28 +0000 (14:35 +0200)]
oups

10 years agoMerge branch 'geni-v2' of ssh://larabi@git.onelab.eu/git/sfa.git into geni-v2
Mohamed Larabi [Thu, 1 Aug 2013 12:32:31 +0000 (14:32 +0200)]
Merge branch 'geni-v2' of ssh://larabi@git.onelab.eu/git/sfa.git into geni-v2

10 years agoFix default slivers mgt in sfav1 rspecs
Mohamed Larabi [Thu, 1 Aug 2013 12:31:52 +0000 (14:31 +0200)]
Fix default slivers mgt in sfav1 rspecs

10 years agoRemoving the remaining "SLAB" logging comments.
Sandrine Avakian [Wed, 31 Jul 2013 12:22:17 +0000 (14:22 +0200)]
Removing the remaining "SLAB" logging comments.
Fixing a bug in iotlabaggregate for manifold.

10 years agoChanging mobility attribute in iotlab rspec type.
Sandrine Avakian [Wed, 31 Jul 2013 09:28:23 +0000 (11:28 +0200)]
Changing mobility attribute in iotlab rspec type.

10 years agoFix IoTlab rspec
Mohamed Larabi [Tue, 30 Jul 2013 08:38:37 +0000 (10:38 +0200)]
Fix IoTlab rspec

10 years agoAdding a new field in 'mobile' in Iotlab Rspec type.
Sandrine Avakian [Mon, 29 Jul 2013 15:27:00 +0000 (17:27 +0200)]
Adding a new field in 'mobile' in Iotlab Rspec type.

10 years agoFixing test script.
Sandrine Avakian [Fri, 26 Jul 2013 14:58:12 +0000 (16:58 +0200)]
Fixing test script.
Fixing yet another problem with GetSlices (slice returned is empty
if of all the current leases none belong tto the slice we are looking
for).

10 years agoModifying the test script (is now a python script)
Sandrine Avakian [Fri, 26 Jul 2013 13:53:12 +0000 (15:53 +0200)]
Modifying the test script (is now a python script)
Fixing LdapSearch, as it appears that not all the entries in LDAP have
 first_name and last_name assigned, which failed (user is not
found but no error raised whatsoever) when using a
(cn=first_name last_name) when looking for a specific user.

10 years agoCorrecting fill_record_info to add information on
Sandrine Avakian [Fri, 26 Jul 2013 12:12:00 +0000 (14:12 +0200)]
Correcting fill_record_info to add information on
nodes.

10 years agofixing getslices (sfi show node_ids was empty when done on a slice)
Sandrine Avakian [Fri, 26 Jul 2013 10:12:56 +0000 (12:12 +0200)]
fixing getslices (sfi show node_ids was empty when done on a slice)
and fixing create lease broken return Rspec.

10 years agoMore cleaning and documenting.
Sandrine Avakian [Wed, 24 Jul 2013 15:13:04 +0000 (17:13 +0200)]
More cleaning and documenting.

10 years agoFixing bug in DeleteLeases.
Sandrine Avakian [Thu, 18 Jul 2013 15:20:44 +0000 (17:20 +0200)]
Fixing bug in DeleteLeases.
Documenting, cleaning.

10 years agoCleaning and commenting mostly.
Sandrine Avakian [Tue, 16 Jul 2013 14:37:11 +0000 (16:37 +0200)]
Cleaning and commenting mostly.
Adding a new class in OARrestapi.py to put together all the parsing functions
used for a GET_resources_full.

10 years agoRemoving now useless attribute db in iotlabdriver.
Sandrine Avakian [Thu, 11 Jul 2013 15:09:31 +0000 (17:09 +0200)]
Removing now useless attribute db in iotlabdriver.
Changing name of create_engine in iotlabpostgres to create_iotlab_engine.
Adding forgotten import in importer.

10 years ago Moving update_jobs_in_iotlabdb in iotlabpostgres.py
Sandrine Avakian [Thu, 11 Jul 2013 13:59:21 +0000 (15:59 +0200)]
 Moving update_jobs_in_iotlabdb in iotlabpostgres.py

10 years agofurther fixes
Sandrine Avakian [Thu, 11 Jul 2013 13:17:35 +0000 (15:17 +0200)]
further fixes

10 years agoRemoving useless prints and correcting attribute in api.
Sandrine Avakian [Thu, 11 Jul 2013 12:48:38 +0000 (14:48 +0200)]
Removing useless prints and correcting attribute in api.

10 years agoChanging iotlabpostgres to remove global variable iotlab_dbsession
Sandrine Avakian [Thu, 11 Jul 2013 12:25:04 +0000 (14:25 +0200)]
Changing iotlabpostgres to remove global variable iotlab_dbsession
and to put a singleton instead.

10 years agoCorrecting missing bracket
Sandrine Avakian [Wed, 10 Jul 2013 08:22:00 +0000 (10:22 +0200)]
Correcting missing bracket

10 years agomaking log info more explicit - hopefully helpful for jordan's problem with default...
Thierry Parmentelat [Tue, 9 Jul 2013 12:42:48 +0000 (14:42 +0200)]
making log info more explicit - hopefully helpful for jordan's problem with default slice tags

10 years agoPatching sliver_status
Sandrine Avakian [Mon, 8 Jul 2013 13:24:29 +0000 (15:24 +0200)]
Patching sliver_status

10 years agoCleaning files and replacing slab stuff by iotlab.
Sandrine Avakian [Mon, 8 Jul 2013 09:29:13 +0000 (11:29 +0200)]
Cleaning files and replacing slab stuff by iotlab.

10 years agoRenaming folder senslab under /testbeds into iotlab. Changing
Sandrine Avakian [Fri, 5 Jul 2013 09:18:02 +0000 (11:18 +0200)]
Renaming folder senslab under /testbeds into iotlab. Changing
bash_testsuite according to new naming convention.

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Sandrine Avakian [Wed, 3 Jul 2013 15:28:19 +0000 (17:28 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoAdding and formatting documentation for Sphinx.
Sandrine Avakian [Wed, 3 Jul 2013 15:27:50 +0000 (17:27 +0200)]
Adding and formatting documentation for Sphinx.

10 years agoOups... typo
Mohamed Larabi [Wed, 3 Jul 2013 13:28:00 +0000 (15:28 +0200)]
Oups... typo

10 years agofix SM urn format in GetVersion
Mohamed Larabi [Wed, 3 Jul 2013 13:03:24 +0000 (15:03 +0200)]
fix SM urn format in GetVersion

10 years agofix AM urn format in GetVersion
Mohamed Larabi [Wed, 3 Jul 2013 13:01:05 +0000 (15:01 +0200)]
fix AM urn format in GetVersion

10 years agoignore empty values in api_versions.xml
Mohamed Larabi [Wed, 3 Jul 2013 12:59:16 +0000 (14:59 +0200)]
ignore empty values in api_versions.xml

10 years agoreflect senslab -> iotlab in rpm packaging
Thierry Parmentelat [Wed, 3 Jul 2013 05:04:50 +0000 (07:04 +0200)]
reflect senslab -> iotlab in rpm packaging

10 years agoreflect senslab -> iotlab in the debien packaging
Thierry Parmentelat [Wed, 3 Jul 2013 05:00:45 +0000 (07:00 +0200)]
reflect senslab -> iotlab in the debien packaging

10 years agoAdding iotlab as a package in setup.py.
Sandrine Avakian [Tue, 2 Jul 2013 16:15:49 +0000 (18:15 +0200)]
Adding iotlab as a package in setup.py.

10 years agoRenaming Senslab into Iotlab.
Sandrine Avakian [Mon, 1 Jul 2013 15:39:46 +0000 (17:39 +0200)]
Renaming Senslab into Iotlab.
Renaming files, renaming senslab folder into iotlab.
Renaming also in rspec/versions and rspecs/elements.
Renaming variables in files.
Might break packages contruction.

10 years agoFixing stupid bug in Ldap
Sandrine Avakian [Mon, 24 Jun 2013 13:20:53 +0000 (15:20 +0200)]
Fixing stupid bug in Ldap

10 years agoSA
Sandrine Avakian [Mon, 24 Jun 2013 12:58:34 +0000 (14:58 +0200)]
SA
bug hunt

10 years agosfaadmin.py now handles extra testbed-dependent info for 'register' and 'update'
Mohamed Larabi [Wed, 19 Jun 2013 09:17:58 +0000 (11:17 +0200)]
sfaadmin.py now handles extra testbed-dependent info for 'register' and 'update'

10 years agoSetting tag sfa-2.1-26 sfa-2.1-26
Thierry Parmentelat [Tue, 18 Jun 2013 20:14:56 +0000 (22:14 +0200)]
Setting tag sfa-2.1-26
-- core
do start flash policy server when configured
fix PLCInvalidArgument
fix sfaadmin.py list
fix version number of GENIv3 RSpec in sfi.py
Add support of leases in PGv2 and GENIv3 RSpecs
pldriver.delete_sliver removes leases as well
-- senslab
handling user creation in the senslab LDAP when a user from a federated testbed creates a lease using senslab resources
changed lease granularity to 1 minute.
add check to ensure the required expirement is of 10 min duration minimum
fix sliver_status
fix leases management
fixed GetSlices, delete_sliver and DeleteJobs
cleanup and code documention - removed unused functions and methods
changed some return values to be easier to handle for the most part
refactored slabimport module
added a Jenkins configuration file to test automated deployment, which is not working yet

10 years agodo start flash policy server when configured
Thierry Parmentelat [Fri, 14 Jun 2013 07:21:49 +0000 (09:21 +0200)]
do start flash policy server when configured

10 years agofix PLCInvalidArgument
Tony Mack [Thu, 13 Jun 2013 20:54:11 +0000 (16:54 -0400)]
fix PLCInvalidArgument

10 years agofurther changes in sliver_status
Sandrine Avakian [Thu, 6 Jun 2013 12:50:15 +0000 (14:50 +0200)]
further changes in sliver_status

10 years agoFix duration in seconds and sliver_status.
Sandrine Avakian [Wed, 5 Jun 2013 13:07:23 +0000 (15:07 +0200)]
Fix duration in seconds and sliver_status.

10 years agoFixing mistake.
Sandrine Avakian [Wed, 5 Jun 2013 07:55:55 +0000 (09:55 +0200)]
Fixing mistake.
Putting back GetSites in slabapi.py.

10 years agoFixing the delete slice and lease feature.
Sandrine Avakian [Tue, 4 Jun 2013 13:32:39 +0000 (15:32 +0200)]
Fixing the delete slice and lease feature.

10 years agoBug fixe when creating leases.
Sandrine Avakian [Tue, 4 Jun 2013 12:52:13 +0000 (14:52 +0200)]
Bug fixe when creating leases.

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Mohamed Larabi [Tue, 4 Jun 2013 07:57:01 +0000 (09:57 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoBug fix and testing.
Sandrine Avakian [Mon, 3 Jun 2013 11:38:03 +0000 (13:38 +0200)]
Bug fix and testing.

10 years agoAdding check to ensure the required expirement is of 10 min
Sandrine Avakian [Mon, 3 Jun 2013 07:20:13 +0000 (09:20 +0200)]
Adding check to ensure the required expirement is of 10 min
dureation minimun.
Changed the lease granularity to 1 minute.
--testing
More cleaning and documenting.

10 years agoMore doc in LDAP
Sandrine Avakian [Mon, 3 Jun 2013 07:06:44 +0000 (09:06 +0200)]
More doc in LDAP

10 years agoMove back to express lease start_time to in epoch
Mohamed Larabi [Fri, 31 May 2013 13:17:59 +0000 (15:17 +0200)]
Move back to express lease start_time to in epoch

10 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Sandrine Avakian [Mon, 27 May 2013 13:28:54 +0000 (15:28 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

10 years agoMainly cleaning and commenting.
Sandrine Avakian [Mon, 27 May 2013 13:28:18 +0000 (15:28 +0200)]
Mainly cleaning and commenting.

10 years agosfi myslice: user might want specify which authority/slice creds to delegate to mysli...
Mohamed Larabi [Fri, 24 May 2013 13:58:33 +0000 (15:58 +0200)]
sfi myslice: user might want specify which authority/slice creds to delegate to myslice (options -a and -s)

10 years agoExpress Lease start_time in RFC3339 date format not in epoch
Mohamed Larabi [Fri, 24 May 2013 08:00:16 +0000 (10:00 +0200)]
Express Lease start_time in RFC3339 date format not in epoch

10 years agoturns out for now, one instance of xmlrpclib.ServerProxy won't happily run several...
Thierry Parmentelat [Thu, 23 May 2013 12:47:57 +0000 (14:47 +0200)]
turns out for now, one instance of xmlrpclib.ServerProxy won't happily run several API calls

10 years agomore compact output with -v - reliable return code for 'sfi myslice'
Thierry Parmentelat [Thu, 23 May 2013 12:33:24 +0000 (14:33 +0200)]
more compact output with -v - reliable return code for 'sfi myslice'

10 years agofirst draft of 'sfi myslice' actually tested against a manifold v2 api server
Thierry Parmentelat [Thu, 23 May 2013 12:16:54 +0000 (14:16 +0200)]
first draft of 'sfi myslice' actually tested against a manifold v2 api server

10 years agonicer/more instructive messages when running sfi myslice
Thierry Parmentelat [Thu, 23 May 2013 11:55:21 +0000 (13:55 +0200)]
nicer/more instructive messages when running sfi myslice

10 years agooops a previous commit went by incomplete
Thierry Parmentelat [Thu, 23 May 2013 10:04:18 +0000 (12:04 +0200)]
oops a previous commit went by incomplete

10 years agoremove help mentions hrn, not name
Thierry Parmentelat [Thu, 23 May 2013 10:03:52 +0000 (12:03 +0200)]
remove help mentions hrn, not name

10 years agonicer sfi config
Thierry Parmentelat [Thu, 23 May 2013 10:03:22 +0000 (12:03 +0200)]
nicer sfi config

10 years agoreorder parser create funcs
Thierry Parmentelat [Thu, 23 May 2013 09:34:29 +0000 (11:34 +0200)]
reorder parser create funcs

10 years agofix broken sfi config
Thierry Parmentelat [Thu, 23 May 2013 08:43:13 +0000 (10:43 +0200)]
fix broken sfi config

10 years agoforce make version to redo no matter what
Thierry Parmentelat [Thu, 23 May 2013 08:42:59 +0000 (10:42 +0200)]
force make version to redo no matter what

10 years agofirst rough version of a complete sfi myslice
Thierry Parmentelat [Wed, 22 May 2013 18:35:30 +0000 (20:35 +0200)]
first rough version of a complete sfi myslice
not thoroughly tested yet, as none of my v2 APIs seem to respond for now

10 years agouses utcnow() instead of now() when testing for credential validity
Thierry Parmentelat [Wed, 22 May 2013 15:27:30 +0000 (17:27 +0200)]
uses utcnow() instead of now() when testing for credential validity

10 years agonicer layout
Thierry Parmentelat [Wed, 22 May 2013 15:23:24 +0000 (17:23 +0200)]
nicer layout

10 years agoshuffle/unexpose commands so that myslice comes last
Thierry Parmentelat [Wed, 22 May 2013 14:43:47 +0000 (16:43 +0200)]
shuffle/unexpose commands so that myslice comes last