sfa.git
11 years agoSetting tag sfa-3.0-2 sfa-3.0-2
Thierry Parmentelat [Thu, 10 Oct 2013 15:49:47 +0000 (17:49 +0200)]
Setting tag sfa-3.0-2
-- core
Extend all versions of rspecs in order to support "links" and "channels" management methods
several fixes aroung Rspecs in order to make the code usable by 3rd-party tools
expose PL node tags in PGv2 and GENIv3 rspecs
fix default slivers mgt in sfav1 rspecs
fix SM and AM urn format in GetVersion
fix sfaadmin.py to handle extra testbed-dependent info
-- PlanetLab
Better management of external Slices/Persons/Sites
Importer ignores external Slices/Persons/Sites
-- Nitos
uniformize Leases management
address channels with urn
-- IotLab
Renaming slab folders, files and variables to iotlab, the new name of the platform.
New class ParsingResourcesFull in Oarrestapi file. Contain all the parsing nodes functions.
Adding a mobile field to iotlab rspec and a mobility type attribute .
Granularity changed to 60 sec.
Fixing returned rspec in GetSlices and GetLeases.
Corrections in import (importing nodes)
More testis in script files under testbeds/iotlab/tests . Creation of Rspecs request models under r testbeds/iotlab/tests /tests_rspec
Lease filtering by date added in GetLeases.
Commenting and cleaning

11 years agoadd options to sfi myslice for overriding delegate or backend from config file
Thierry Parmentelat [Wed, 9 Oct 2013 22:06:11 +0000 (00:06 +0200)]
add options to sfi myslice for overriding delegate or backend from config file
not intended for average users but can come in handy in devel mode

11 years agoback to epoch date format in leases
Mohamed Larabi [Wed, 9 Oct 2013 13:20:15 +0000 (15:20 +0200)]
back to epoch date format in leases

11 years agoFixing small mistake in GetLeases.
Sandrine Avakian [Wed, 9 Oct 2013 09:46:56 +0000 (11:46 +0200)]
Fixing small mistake in GetLeases.
Changing diration so as to be in units of granularity when
querying to list leases.

11 years agooops
Mohamed Larabi [Tue, 8 Oct 2013 17:48:16 +0000 (19:48 +0200)]
oops

11 years agoMake unirom the return of get_leases in Nitos rspecs
Mohamed Larabi [Tue, 8 Oct 2013 17:45:48 +0000 (19:45 +0200)]
Make unirom the return of get_leases in Nitos rspecs

11 years agomake uniform Lease management methods in nitos
Mohamed Larabi [Tue, 8 Oct 2013 17:06:33 +0000 (19:06 +0200)]
make uniform Lease management methods in nitos

11 years agoAll versions of rspecs need to support "links" and "channels" management methods
Mohamed Larabi [Tue, 8 Oct 2013 17:03:46 +0000 (19:03 +0200)]
All versions of rspecs need to support "links" and "channels" management methods

11 years agocosmetic
Mohamed Larabi [Tue, 8 Oct 2013 12:58:14 +0000 (14:58 +0200)]
cosmetic

11 years agochanging mobility-type to mobility_type
Sandrine Avakian [Tue, 8 Oct 2013 11:48:59 +0000 (13:48 +0200)]
changing mobility-type to mobility_type

Conflicts:

sfa/iotlab/OARrestapi.py
sfa/rspecs/elements/versions/iotlabv1Node.py

11 years agoRe-activate and fix command "trusted" in sfi.py
Mohamed Larabi [Tue, 8 Oct 2013 12:37:41 +0000 (14:37 +0200)]
Re-activate and fix command "trusted" in sfi.py

11 years agoBetter mgt of external slices/users/sites + fixes
Mohamed Larabi [Mon, 7 Oct 2013 10:39:16 +0000 (12:39 +0200)]
Better mgt of external slices/users/sites + fixes

11 years agovarious fixes
Mohamed Larabi [Fri, 4 Oct 2013 16:49:25 +0000 (18:49 +0200)]
various fixes

11 years agoPL driver: Fix verification of site, person and slice triggered by CreateSliver
Mohamed Larabi [Fri, 4 Oct 2013 15:48:07 +0000 (17:48 +0200)]
PL driver: Fix verification of site, person and slice triggered by CreateSliver
PL driver: Get/Set the attribute HRN for Person, Node and Slice in MyPLC
PL driver: External PL site name starts with "sfa."
PL driver: Lease's slice_urn is built from HRN attribute of the slice in MyPLC

11 years agoPL importer: do not import external sites, persons and slices into the registry
Mohamed Larabi [Fri, 4 Oct 2013 15:47:13 +0000 (17:47 +0200)]
PL importer: do not import external sites, persons and slices into the registry

11 years agofurther version number fix
Mohamed Larabi [Thu, 3 Oct 2013 13:52:58 +0000 (15:52 +0200)]
further version number fix

11 years agofix version number for both creds and rspec
Mohamed Larabi [Thu, 3 Oct 2013 13:45:35 +0000 (15:45 +0200)]
fix version number for both creds and rspec

11 years agofix merging error in iotlabv1Node.py
Mohamed Larabi [Thu, 3 Oct 2013 09:27:50 +0000 (11:27 +0200)]
fix merging error in iotlabv1Node.py

11 years agoPGv2 and GENIv3 Rspec: handle PL initscript and attribute exceptions
Mohamed Larabi [Wed, 2 Oct 2013 12:19:19 +0000 (14:19 +0200)]
PGv2 and GENIv3 Rspec: handle PL initscript and attribute exceptions

11 years agorspec.version.add_nodes take an extra arg to handle Request RSpec
Mohamed Larabi [Wed, 2 Oct 2013 10:18:56 +0000 (12:18 +0200)]
rspec.version.add_nodes take an extra arg to handle Request RSpec

Conflicts:

sfa/rspecs/elements/versions/iotlabv1Node.py

11 years agofix component_name in rspecs
Mohamed Larabi [Tue, 1 Oct 2013 16:06:00 +0000 (18:06 +0200)]
fix component_name in rspecs

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

11 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

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

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

11 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.

11 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.

11 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).

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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 years agoSandrine commits:
Mohamed Larabi [Tue, 17 Sep 2013 14:07:31 +0000 (16:07 +0200)]
Sandrine commits:
Renaming the testing files.
Adding LDAP check on testsuite.py .
Renaming testsuite as it is now a python file.
Adding more tests to testsuite.

11 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.

11 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.

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

11 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.

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

11 years agoRemove ListSlices call from sfi.py
Mohamed Larabi [Mon, 2 Sep 2013 08:41:11 +0000 (10:41 +0200)]
Remove ListSlices call from sfi.py

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

11 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.)

11 years agoIoTlab Rspecs: the rspec element node is NodeElement
Mohamed Larabi [Wed, 31 Jul 2013 09:47:03 +0000 (11:47 +0200)]
IoTlab Rspecs: the rspec element node is NodeElement

11 years agofix Node element in Iotlab Rspec
Mohamed Larabi [Tue, 30 Jul 2013 08:43:06 +0000 (10:43 +0200)]
fix Node element in Iotlab Rspec

11 years agoAdding and formatting documentation for Sphinx.
Mohamed Larabi [Sun, 28 Jul 2013 22:02:18 +0000 (00:02 +0200)]
Adding and formatting documentation for Sphinx.
Renaming folder senslab under /testbeds into iotlab. Changing bash_testsuite according to new naming convention.
Cleaning files and replacing slab stuff by iotlab.
Patching sliver_status
Correcting missing bracket.
Changing iotlabpostgres to remove global variable iotlab_dbsession and to put a singleton instead.
Removing useless prints and correcting attribute in api.
further fixes.
Moving update_jobs_in_iotlabdb in iotlabpostgres.py.
Removing now useless attribute db in iotlabdriver.
Changing name of create_engine in iotlabpostgres to create_iotlab_engine.
Adding forgotten import in importer.
Cleaning and commenting mostly.
Adding a new class in OARrestapi.py to put together all the parsing functions used for a GET_resources_full.
Fixing bug in DeleteLeases.
Documenting, cleaning.
More cleaning and documenting.
fixing getslices (sfi show node_ids was empty when done on a slice) and fixing create lease broken return Rspec.
Correcting fill_record_info to add information on nodes.
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.
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).

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

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

11 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

11 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

11 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.

11 years ago Renaming Senslab into Iotlab.
Sandrine Avakian [Mon, 1 Jul 2013 15:39:46 +0000 (17:39 +0200)]
Renaming Senslab into Iotlab.

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

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

11 years agofix AM and SM urn format in GetVersion
Mohamed Larabi [Wed, 3 Jul 2013 13:09:45 +0000 (15:09 +0200)]
fix AM and SM urn format in GetVersion

11 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

11 years agoSetting tag sfa-3.0-1 sfa-3.0-1
Thierry Parmentelat [Wed, 19 Jun 2013 10:11:12 +0000 (12:11 +0200)]
Setting tag sfa-3.0-1
AM API v3-based first implementation.
planetlab native V3 driver
dummy native V3 driver
introduction of v2_to_v3_adapter
lease times in RFC3339 date format, not epoch
mostly in line with geni-v2 for non-v3 issues like packaging and all

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

11 years agouse api_option sfa_users for v2-based drivers
Mohamed Larabi [Tue, 18 Jun 2013 13:31:45 +0000 (15:31 +0200)]
use api_option sfa_users for v2-based drivers

11 years agosfi.py: put user and slice info in Allocate options
Mohamed Larabi [Tue, 18 Jun 2013 13:29:14 +0000 (15:29 +0200)]
sfi.py: put user and slice info in Allocate options

11 years agoclient_helper: fix pg_users_args
Mohamed Larabi [Tue, 18 Jun 2013 13:27:51 +0000 (15:27 +0200)]
client_helper: fix pg_users_args

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

11 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.

11 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

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

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

11 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.

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

11 years agoslab: resolve merge conflict
Mohamed Larabi [Tue, 4 Jun 2013 15:54:41 +0000 (17:54 +0200)]
slab: resolve merge conflict

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

11 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.

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

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

11 years agoUnplug v2_to_v3 adapter from the dummy driver, since dummy driver is a native v3...
Mohamed Larabi [Tue, 4 Jun 2013 07:56:32 +0000 (09:56 +0200)]
Unplug v2_to_v3 adapter from the dummy driver, since dummy driver is a native v3 driver

11 years agoRefactor Dummy Driver and make it implements AM API v3 natively
Mohamed Larabi [Tue, 4 Jun 2013 07:52:31 +0000 (09:52 +0200)]
Refactor Dummy Driver and make it implements AM API v3 natively

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

11 years agofurther cleaning and commenting
Sandrine Avakian [Mon, 13 May 2013 13:25:34 +0000 (15:25 +0200)]
further cleaning and commenting

11 years agodocstring slabdriver. touch ups slabimporter.
Sandrine Avakian [Tue, 7 May 2013 13:17:28 +0000 (15:17 +0200)]
docstring slabdriver. touch ups slabimporter.

11 years agodocstring OK in slabimporter.py
Sandrine Avakian [Mon, 6 May 2013 13:10:09 +0000 (15:10 +0200)]
docstring OK in slabimporter.py

11 years agocleaning slabimporter
Sandrine Avakian [Mon, 6 May 2013 08:18:11 +0000 (10:18 +0200)]
cleaning slabimporter

11 years agoRefactoring import
Sandrine Avakian [Mon, 29 Apr 2013 12:24:14 +0000 (14:24 +0200)]
Refactoring import

11 years agocleaning slabimporter.py
Sandrine Avakian [Mon, 29 Apr 2013 08:23:54 +0000 (10:23 +0200)]
cleaning slabimporter.py

11 years agoAttemtpt at modifying requirements.
Sandrine Avakian [Thu, 25 Apr 2013 09:46:00 +0000 (11:46 +0200)]
Attemtpt at modifying requirements.

11 years agoremoving all theversion s in requirements for jenkins
Sandrine Avakian [Wed, 24 Apr 2013 13:09:35 +0000 (15:09 +0200)]
removing all theversion s in requirements for jenkins

11 years agoremoving reportbug off the requirements
Sandrine Avakian [Wed, 24 Apr 2013 12:54:00 +0000 (14:54 +0200)]
removing reportbug off the requirements

11 years agoremoving versions in requirements for debian packages.
Sandrine Avakian [Wed, 24 Apr 2013 12:35:40 +0000 (14:35 +0200)]
removing versions in requirements for debian packages.

11 years agoquick fix in requirements python-apt
Sandrine Avakian [Wed, 24 Apr 2013 12:25:41 +0000 (14:25 +0200)]
quick fix in requirements python-apt

11 years agomistake
Sandrine Avakian [Mon, 22 Apr 2013 13:44:50 +0000 (15:44 +0200)]
mistake

11 years agoCleaning in slabapi. Trying a small fix to the sfi.py show
Sandrine Avakian [Mon, 22 Apr 2013 13:43:19 +0000 (15:43 +0200)]
Cleaning in slabapi. Trying a small fix to the sfi.py show
in slabdriver.py.

11 years agoChange in chardet version in requirements for jenkins virtualenv.
Sandrine Avakian [Mon, 22 Apr 2013 13:18:24 +0000 (15:18 +0200)]
Change in chardet version in requirements for jenkins virtualenv.

11 years agoChange in ZSI version in requirements for jenkins virtualenv.
Sandrine Avakian [Mon, 22 Apr 2013 13:11:44 +0000 (15:11 +0200)]
Change in ZSI version in requirements for jenkins virtualenv.

11 years agoChange in SOAppy version in requirements for jenkins virtualenv.
Sandrine Avakian [Mon, 22 Apr 2013 12:57:31 +0000 (14:57 +0200)]
Change in SOAppy version in requirements for jenkins virtualenv.

11 years agoadding requirements file listing python libs needed
Sandrine Avakian [Mon, 22 Apr 2013 11:52:18 +0000 (13:52 +0200)]
adding requirements file listing python libs needed

11 years agosmall cleaning.
Sandrine Avakian [Fri, 19 Apr 2013 10:15:59 +0000 (12:15 +0200)]
small cleaning.

11 years agoPutting all the driver related calls into slab_api (Getslices,GetNodes...).
Sandrine Avakian [Tue, 2 Apr 2013 10:21:23 +0000 (12:21 +0200)]
Putting all the driver related calls into slab_api (Getslices,GetNodes...).
Cleaning commented code.

11 years agopl: node component_id takes also site login_base
Mohamed Larabi [Wed, 29 May 2013 14:45:01 +0000 (16:45 +0200)]
pl: node component_id takes also site login_base

11 years agopl: set exclusive property in RSpec according to node type
Mohamed Larabi [Wed, 29 May 2013 13:52:54 +0000 (15:52 +0200)]
pl: set exclusive property in RSpec according to node type

11 years agoSlice Manager: Merge returned Values of Delete
Mohamed Larabi [Tue, 28 May 2013 17:00:57 +0000 (19:00 +0200)]
Slice Manager: Merge returned Values of Delete