Thierry Parmentelat [Sat, 9 Nov 2013 09:25:45 +0000 (10:25 +0100)]
start a readme on this move
Thierry Parmentelat [Sat, 9 Nov 2013 09:13:05 +0000 (10:13 +0100)]
oops, aggregate manager needs to access driver through api too
Thierry Parmentelat [Sat, 9 Nov 2013 09:12:36 +0000 (10:12 +0100)]
comment / clarification
Thierry Parmentelat [Sat, 9 Nov 2013 08:34:28 +0000 (09:34 +0100)]
attempt to make api-creation code more robust and leak-proof
Thierry Parmentelat [Sat, 9 Nov 2013 08:33:17 +0000 (09:33 +0100)]
bugfix - the way update_driver_relation(s) gets to access its driver
Thierry Parmentelat [Fri, 8 Nov 2013 15:53:00 +0000 (16:53 +0100)]
the generic architecture had a serious flaw
we used to have api -> manager -> driver
BUT in actuality api and driver are multiple (essentially one per request) while manager is unique in the process…
this was causing the bug that Jordan reported with simultaneous api calls
From now on we only have
api->manager
api->driver
Mohamed Larabi [Fri, 8 Nov 2013 11:38:46 +0000 (12:38 +0100)]
minor
Mohamed Larabi [Fri, 8 Nov 2013 09:25:09 +0000 (10:25 +0100)]
fix identation error
Thierry Parmentelat [Fri, 8 Nov 2013 08:11:33 +0000 (09:11 +0100)]
(hopefully last) glitches with dbsession
still only targeting PL
Tony Mack [Thu, 7 Nov 2013 22:39:46 +0000 (17:39 -0500)]
fix for potential ValueError
Tony Mack [Thu, 7 Nov 2013 22:37:51 +0000 (17:37 -0500)]
Merge branch 'geni-v3' of ssh://git.planet-lab.org/git/sfa into geni-v3
Tony Mack [Thu, 7 Nov 2013 22:37:19 +0000 (17:37 -0500)]
fix for potential ValueError
Thierry Parmentelat [Thu, 7 Nov 2013 21:00:58 +0000 (22:00 +0100)]
first stab at a design where each incoming API call has its own dbsession
very incomplete (focusing on PL for now) also needs work for the v2/v3 adapter
probably impovable on many respects
seems to pass the PL tests though
Thierry Parmentelat [Thu, 7 Nov 2013 20:43:10 +0000 (21:43 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Mohamed Larabi [Thu, 7 Nov 2013 18:20:59 +0000 (19:20 +0100)]
PL Driver: 1st shot rebase of PL operations around the HRN tags of Slice/Person/Site
Thierry Parmentelat [Thu, 7 Nov 2013 14:58:43 +0000 (15:58 +0100)]
slightly smarter make tags
Thierry Parmentelat [Thu, 7 Nov 2013 14:50:13 +0000 (15:50 +0100)]
typo
Thierry Parmentelat [Thu, 7 Nov 2013 13:44:44 +0000 (14:44 +0100)]
VMs on an lxc box are now located in /vservers/ (and have been so for a while aamof)
Thierry Parmentelat [Thu, 7 Nov 2013 13:43:50 +0000 (14:43 +0100)]
rename server.threadmanager into client.multiclient
Thierry Parmentelat [Thu, 7 Nov 2013 11:33:03 +0000 (12:33 +0100)]
cosmetic
Thierry Parmentelat [Wed, 6 Nov 2013 11:39:14 +0000 (12:39 +0100)]
sfi myslice uses annotation for authentication when uploadong onto manifold
Thierry Parmentelat [Tue, 5 Nov 2013 11:49:41 +0000 (12:49 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Thierry Parmentelat [Tue, 5 Nov 2013 11:49:31 +0000 (12:49 +0100)]
display backend url as logger.info
Thierry Parmentelat [Tue, 5 Nov 2013 11:33:57 +0000 (12:33 +0100)]
cosmetic
Thierry Parmentelat [Tue, 5 Nov 2013 11:29:07 +0000 (12:29 +0100)]
fix options to sfi myslice for selecting a custom backend
Sandrine Avakian [Tue, 29 Oct 2013 14:19:24 +0000 (15:19 +0100)]
OOps.
Sandrine Avakian [Tue, 29 Oct 2013 14:03:06 +0000 (15:03 +0100)]
Finished version after cleaning and refactoring functions
to match CorteXLab requirements.
Warning:Needs testing.
Sandrine Avakian [Tue, 29 Oct 2013 14:00:56 +0000 (15:00 +0100)]
Modifications in get_rspec.
Creating a dedicated function to get the ldap uid
from the slice record instead of piece of code
here and there doing the stuff.
Sandrine Avakian [Thu, 24 Oct 2013 13:58:30 +0000 (15:58 +0200)]
Quick fix in AddLEases.
Thierry Parmentelat [Fri, 25 Oct 2013 16:29:02 +0000 (18:29 +0200)]
sfa client bootstrap library has a new 'my_pkcs12' feature, and this is now invoked when running sfi myslice
Mohamed Larabi [Wed, 23 Oct 2013 13:01:57 +0000 (15:01 +0200)]
fix nitos rspecs : nitosv1Sliver
Sandrine Avakian [Tue, 22 Oct 2013 09:43:34 +0000 (11:43 +0200)]
Amelioration in GetReservedNodes.
Propagating column change in db into GetLeases.
Mohamed Larabi [Fri, 18 Oct 2013 23:09:05 +0000 (01:09 +0200)]
handle other sliver_type in geniv3 rspecs
Mohamed Larabi [Fri, 18 Oct 2013 23:07:49 +0000 (01:07 +0200)]
remove pl dependencies fron nitos rspecs
Sandrine Avakian [Thu, 17 Oct 2013 13:53:28 +0000 (15:53 +0200)]
Chaning node names in show.
Sandrine Avakian [Thu, 17 Oct 2013 13:40:08 +0000 (15:40 +0200)]
Propagating clast changes.
Sandrine Avakian [Thu, 17 Oct 2013 13:34:35 +0000 (15:34 +0200)]
Fixing mistake in db name.
Sandrine Avakian [Thu, 17 Oct 2013 12:57:09 +0000 (14:57 +0200)]
Adding more error check in OARrestapi.
Changing iotlabpostgres classes name (Db, tables, and table fields)
so that it can be reused in an other testbed.
Propagating the changes in iotlabaggregate and iotlabapi.
Conflicts:
sfa/iotlab/iotlabpostgres.py
Sandrine Avakian [Tue, 15 Oct 2013 14:02:58 +0000 (16:02 +0200)]
Create new cortexlab forlder, for the Cortex-lab testbed,
based on the iotlab driver.
So far, all the files in the cortexlab are copies of
iotlab's, with a very few modifications. First draft.
Sandrine Avakian [Tue, 15 Oct 2013 14:02:30 +0000 (16:02 +0200)]
More Rspec modification (test_rspecs)
Sandrine Avakian [Tue, 15 Oct 2013 11:42:15 +0000 (13:42 +0200)]
Fix in GetLEases.
Sandrine Avakian [Tue, 15 Oct 2013 10:04:55 +0000 (12:04 +0200)]
Correction node names.
Tony Mack [Sat, 12 Oct 2013 14:29:19 +0000 (10:29 -0400)]
enable jordan's hotfix
Tony Mack [Sat, 12 Oct 2013 14:28:04 +0000 (10:28 -0400)]
call method
Sandrine Avakian [Mon, 14 Oct 2013 12:28:36 +0000 (14:28 +0200)]
Quick fix in rspecs.
Sandrine Avakian [Mon, 14 Oct 2013 11:41:31 +0000 (13:41 +0200)]
Modifying iotlab node hostname sin rspec files.
Mohamed Larabi [Sun, 13 Oct 2013 09:57:51 +0000 (11:57 +0200)]
remove pl dependency from rspec
Mohamed Larabi [Fri, 11 Oct 2013 12:56:49 +0000 (14:56 +0200)]
fix nitos add_nodes
Thierry Parmentelat [Thu, 10 Oct 2013 20:16:04 +0000 (22:16 +0200)]
optparse -> argparse
Thierry Parmentelat [Thu, 10 Oct 2013 20:11:07 +0000 (22:11 +0200)]
new option sfadump -c to run verify[_chain] on related object against user-provided trusted roots
Thierry Parmentelat [Thu, 10 Oct 2013 20:09:08 +0000 (22:09 +0200)]
reformatted
Thierry Parmentelat [Thu, 10 Oct 2013 17:33:03 +0000 (19:33 +0200)]
sfi myslice : store delegated creds like sfi delegate does, and turn on INFO log level by default
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
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
Mohamed Larabi [Wed, 9 Oct 2013 13:20:15 +0000 (15:20 +0200)]
back to epoch date format in leases
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.
Mohamed Larabi [Tue, 8 Oct 2013 17:48:16 +0000 (19:48 +0200)]
oops
Mohamed Larabi [Tue, 8 Oct 2013 17:45:48 +0000 (19:45 +0200)]
Make unirom the return of get_leases in Nitos rspecs
Mohamed Larabi [Tue, 8 Oct 2013 17:06:33 +0000 (19:06 +0200)]
make uniform Lease management methods in nitos
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
Mohamed Larabi [Tue, 8 Oct 2013 12:58:14 +0000 (14:58 +0200)]
cosmetic
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
Mohamed Larabi [Tue, 8 Oct 2013 12:37:41 +0000 (14:37 +0200)]
Re-activate and fix command "trusted" in sfi.py
Mohamed Larabi [Mon, 7 Oct 2013 10:39:16 +0000 (12:39 +0200)]
Better mgt of external slices/users/sites + fixes
Mohamed Larabi [Fri, 4 Oct 2013 16:49:25 +0000 (18:49 +0200)]
various fixes
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
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
Mohamed Larabi [Thu, 3 Oct 2013 13:52:58 +0000 (15:52 +0200)]
further version number fix
Mohamed Larabi [Thu, 3 Oct 2013 13:45:35 +0000 (15:45 +0200)]
fix version number for both creds and rspec
Mohamed Larabi [Thu, 3 Oct 2013 09:27:50 +0000 (11:27 +0200)]
fix merging error in iotlabv1Node.py
Mohamed Larabi [Wed, 2 Oct 2013 12:19:19 +0000 (14:19 +0200)]
PGv2 and GENIv3 Rspec: handle PL initscript and attribute exceptions
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
Mohamed Larabi [Tue, 1 Oct 2013 16:06:00 +0000 (18:06 +0200)]
fix component_name in rspecs
Mohamed Larabi [Tue, 1 Oct 2013 09:54:45 +0000 (11:54 +0200)]
Rspecs: remove testbed dependencies
Jordan Augé [Tue, 24 Sep 2013 13:47:39 +0000 (15:47 +0200)]
rspecs/iotlab: fixed missing position element during RSpec parsing
Sandrine Avakian [Tue, 24 Sep 2013 09:57:01 +0000 (11:57 +0200)]
Fixing small mistake.
Sandrine Avakian [Tue, 24 Sep 2013 09:20:05 +0000 (11:20 +0200)]
Adding missing import.
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.
Sandrine Avakian [Fri, 20 Sep 2013 13:34:09 +0000 (15:34 +0200)]
Ssmall mistake in leases filtering in iotlabapi.
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).
Mohamed Larabi [Fri, 20 Sep 2013 08:43:30 +0000 (10:43 +0200)]
more casting for SFAv1 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
Mohamed Larabi [Thu, 19 Sep 2013 13:58:14 +0000 (15:58 +0200)]
Oups
Mohamed Larabi [Thu, 19 Sep 2013 13:54:33 +0000 (15:54 +0200)]
Get initscripts from 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
Mohamed Larabi [Wed, 18 Sep 2013 18:08:05 +0000 (20:08 +0200)]
put attribute tag (that carries PL node tag) into planetlab namespace
Mohamed Larabi [Wed, 18 Sep 2013 17:14:23 +0000 (19:14 +0200)]
expose PL node tags using attribute in 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
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.
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.
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.
Sandrine Avakian [Mon, 9 Sep 2013 14:54:21 +0000 (16:54 +0200)]
Changing granularity to 60s.
Sandrine Avakian [Wed, 4 Sep 2013 13:09:18 +0000 (15:09 +0200)]
a few fixes in the comments for Sphinx.
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)
Mohamed Larabi [Mon, 2 Sep 2013 08:41:11 +0000 (10:41 +0200)]
Remove ListSlices call from sfi.py
Sandrine Avakian [Thu, 8 Aug 2013 15:27:05 +0000 (17:27 +0200)]
Cleaning and comenting.
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.)
Mohamed Larabi [Wed, 31 Jul 2013 09:47:03 +0000 (11:47 +0200)]
IoTlab Rspecs: the rspec element node is NodeElement
Mohamed Larabi [Tue, 30 Jul 2013 08:43:06 +0000 (10:43 +0200)]
fix Node element in Iotlab Rspec
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).