Sandrine Avakian [Tue, 13 Nov 2012 11:20:05 +0000 (12:20 +0100)]
Fixing sfi.py slices : must print all the slices in the testbedd.
Sandrine Avakian [Mon, 12 Nov 2012 14:24:42 +0000 (15:24 +0100)]
Modifications to remove errors in Jenkins.
Sandrine Avakian [Mon, 12 Nov 2012 12:05:53 +0000 (13:05 +0100)]
Fix sfi.py slices.
Sandrine Avakian [Mon, 5 Nov 2012 14:43:02 +0000 (15:43 +0100)]
Adding oar config file.
Sandrine Avakian [Mon, 5 Nov 2012 13:08:39 +0000 (14:08 +0100)]
Fixing bug in TestSuite (OAR).
Sandrine Avakian [Mon, 5 Nov 2012 09:55:20 +0000 (10:55 +0100)]
Adding new lease format support to special RSpec format slab.
Sandrine Avakian [Mon, 29 Oct 2012 09:29:19 +0000 (10:29 +0100)]
Adding tests in RunAll tests.
Sandrine Avakian [Mon, 29 Oct 2012 08:06:46 +0000 (09:06 +0100)]
Merge branch 'master' into senslab2
Sandrine Avakian [Mon, 29 Oct 2012 08:02:54 +0000 (09:02 +0100)]
Merge branch 'upstreammaster'
Sandrine Avakian [Mon, 29 Oct 2012 07:49:30 +0000 (08:49 +0100)]
Minor changes before merging master.
Sandrine Avakian [Tue, 23 Oct 2012 13:55:07 +0000 (15:55 +0200)]
Removing verify_slice_nodes from create_sliver
because it deletes modified leases, which is already
done in verify_slice_leases.
Sandrine Avakian [Tue, 23 Oct 2012 12:17:41 +0000 (14:17 +0200)]
Updated walltimeAdditionalDelay based on java files in
fit repository.
Reenabled OAR tests querying the job id.
Sandrine Avakian [Mon, 22 Oct 2012 14:28:01 +0000 (16:28 +0200)]
Cleaning slabslices.py
Sandrine Avakian [Mon, 22 Oct 2012 14:07:07 +0000 (16:07 +0200)]
Adding new test : delete slice in testsuite.py .
Fixing bug preventing the user from creating a lease
if another lease is not already running.
Mohamed Larabi [Sun, 21 Oct 2012 19:31:14 +0000 (21:31 +0200)]
put package description for the Dummy Driver
Mohamed Larabi [Fri, 19 Oct 2012 14:37:51 +0000 (16:37 +0200)]
Dummy Testbed Driver update and bug fix
Sandrine Avakian [Fri, 19 Oct 2012 13:20:22 +0000 (15:20 +0200)]
.
Sandrine Avakian [Fri, 19 Oct 2012 12:42:56 +0000 (14:42 +0200)]
Removing unused parameter in createtable.
Sandrine Avakian [Fri, 19 Oct 2012 12:41:09 +0000 (14:41 +0200)]
Removing get_slivers from slabslices.py.
Sandrine Avakian [Fri, 19 Oct 2012 12:10:27 +0000 (14:10 +0200)]
Merge branch 'senslab2' of ssh://138.96.116.40/git/sfa into senslab2
Conflicts:
sfa/senslab/slabslices.py
Sandrine Avakian [Fri, 19 Oct 2012 11:59:19 +0000 (13:59 +0200)]
Cleaning slabslices and slapostgres.
Sandrine Avakian [Fri, 19 Oct 2012 11:59:19 +0000 (13:59 +0200)]
Cleaning slabslices and slapostgres.
Sandrine Avakian [Fri, 19 Oct 2012 10:13:55 +0000 (12:13 +0200)]
Modifying test again.
Sandrine Avakian [Fri, 19 Oct 2012 08:58:33 +0000 (10:58 +0200)]
Changing the rspec for creating leases in TestSuites.py.
Sandrine Avakian [Thu, 18 Oct 2012 12:56:14 +0000 (14:56 +0200)]
Merge branch 'master' into senslab2
Sandrine Avakian [Thu, 18 Oct 2012 11:53:16 +0000 (13:53 +0200)]
Merge branch 'upstreammaster'
Mohamed Larabi [Fri, 7 Sep 2012 07:46:20 +0000 (09:46 +0200)]
First draft of the dummy-testbed driver
Sandrine Avakian [Wed, 17 Oct 2012 14:43:41 +0000 (16:43 +0200)]
Created special slab_get_authority to import slab nodes in sfa db.
Modified import script to prevent stalling on import.
Sandrine Avakian [Wed, 17 Oct 2012 13:53:47 +0000 (15:53 +0200)]
Evert sfa file.
Sandrine Avakian [Wed, 17 Oct 2012 13:46:32 +0000 (15:46 +0200)]
Better with the file concerned, slabslices.py
Sandrine Avakian [Wed, 17 Oct 2012 13:15:12 +0000 (15:15 +0200)]
Added lease modification feature when adding/removing
nodes from a slice/lease in Rspec.
WARNING: Not working if at least 2experminents scheduled in
OAR.
Sandrine Avakian [Tue, 16 Oct 2012 12:41:21 +0000 (14:41 +0200)]
Modified SFA Rspec format for requesting leases.
Propagating changes.
Thierry Parmentelat [Tue, 16 Oct 2012 08:41:45 +0000 (10:41 +0200)]
Setting tag sfa-2.1-17
bugfix in forwarding Resolve requests
various fixes in the nitos driver wrt keys and users
Mohamed Larabi [Thu, 11 Oct 2012 14:58:22 +0000 (16:58 +0200)]
Nitos: fix addUserKey call in verify_users()
Sandrine Avakian [Thu, 11 Oct 2012 08:29:56 +0000 (10:29 +0200)]
Modified test.
Thierry Parmentelat [Thu, 11 Oct 2012 08:20:43 +0000 (10:20 +0200)]
on behalf of Jordan Auge - thanks Jordan
Sandrine Avakian [Thu, 11 Oct 2012 07:53:01 +0000 (09:53 +0200)]
Removing ldap_config.py file due to errors.
Sandrine Avakian [Thu, 11 Oct 2012 07:42:17 +0000 (09:42 +0200)]
.
Sandrine Avakian [Wed, 10 Oct 2012 14:50:08 +0000 (16:50 +0200)]
Fixing bug in slabimporter.
Sandrine Avakian [Wed, 10 Oct 2012 13:25:22 +0000 (15:25 +0200)]
Modified slabimporter to import
only user who have a valid ssh key. Does not import slice
if user's key is invalid.
Sandrine Avakian [Wed, 10 Oct 2012 07:52:21 +0000 (09:52 +0200)]
Modified ip address (prod migration).
Sandrine Avakian [Tue, 9 Oct 2012 14:45:01 +0000 (16:45 +0200)]
Adding myslice and testuser pkey.
Sandrine Avakian [Tue, 9 Oct 2012 13:39:39 +0000 (15:39 +0200)]
Bug fixes for senslab site in config file.
Sandrine Avakian [Tue, 9 Oct 2012 13:23:41 +0000 (15:23 +0200)]
Adding new format config files config_site
for senslab and senslab2 (needed by bash_nukem).
Sandrine Avakian [Tue, 9 Oct 2012 12:59:57 +0000 (14:59 +0200)]
.
Sandrine Avakian [Tue, 9 Oct 2012 11:43:19 +0000 (13:43 +0200)]
Cleaning.
Sandrine Avakian [Tue, 9 Oct 2012 10:53:29 +0000 (12:53 +0200)]
Fixed bug for sfi.py show slice record.
Sandrine Avakian [Tue, 9 Oct 2012 10:41:57 +0000 (12:41 +0200)]
Same.
Sandrine Avakian [Tue, 9 Oct 2012 10:34:22 +0000 (12:34 +0200)]
Indent fix.
Sandrine Avakian [Tue, 9 Oct 2012 10:25:29 +0000 (12:25 +0200)]
Fixed bug in slabdriver preventing from get info
from sfi.py show on a user when no job is scheduled.
Sandrine Avakian [Tue, 9 Oct 2012 08:50:55 +0000 (10:50 +0200)]
Corrected bug in filename in TestSuite.py
Added configuration details in jenkins-config.
Sandrine Avakian [Mon, 8 Oct 2012 14:34:49 +0000 (16:34 +0200)]
Added comments to tests.
Sandrine Avakian [Mon, 8 Oct 2012 14:17:12 +0000 (16:17 +0200)]
Adding sfi tests in TestSuite.
Modified "true" value for exclusive item in slabaggregate to fit SFA new
Rspec.
Sandrine Avakian [Mon, 8 Oct 2012 11:28:08 +0000 (13:28 +0200)]
Merge branch 'master' into senslab2
Conflicts:
sfa/client/client_helper.py
sfa/managers/registry_manager.py
Sandrine Avakian [Mon, 8 Oct 2012 11:10:04 +0000 (13:10 +0200)]
Merge branch 'upstreammaster'
Thierry Parmentelat [Mon, 1 Oct 2012 15:27:24 +0000 (17:27 +0200)]
Setting tag sfa-2.1-16
various tweaks for the nitos driver
Mohamed Larabi [Mon, 1 Oct 2012 15:14:27 +0000 (17:14 +0200)]
Nitos: bug fix verify_users
Mohamed Larabi [Mon, 1 Oct 2012 14:56:34 +0000 (16:56 +0200)]
Nitos: clean up
Mohamed Larabi [Mon, 1 Oct 2012 14:48:05 +0000 (16:48 +0200)]
Nitos: update verify_users
Mohamed Larabi [Mon, 1 Oct 2012 07:36:47 +0000 (09:36 +0200)]
PL leases: take in account only the leases in the aggregate network
Mohamed Larabi [Mon, 1 Oct 2012 07:31:51 +0000 (09:31 +0200)]
PL Leases: check slice_xrn and slice args in get_leases
Mohamed Larabi [Mon, 1 Oct 2012 07:25:44 +0000 (09:25 +0200)]
PL: for the manifest, use slice_xrn for the lease slice_id
Mohamed Larabi [Mon, 1 Oct 2012 07:10:21 +0000 (09:10 +0200)]
Nitos: for the manifest, use slice_xrn for the lease slice_id
Mohamed Larabi [Mon, 1 Oct 2012 07:08:07 +0000 (09:08 +0200)]
Nitos: for the manifest, use slice_xrn for the lease slice_id
Mohamed Larabi [Mon, 1 Oct 2012 07:08:07 +0000 (09:08 +0200)]
Nitos: fot the manifest, use slice_xrn for the lease slice_id
Mohamed Larabi [Thu, 27 Sep 2012 15:14:51 +0000 (17:14 +0200)]
Nitos: fix addSlice call with right arg slice_name
Mohamed Larabi [Thu, 27 Sep 2012 13:31:09 +0000 (15:31 +0200)]
Nitos: rspec's format is NITOS 1
Mohamed Larabi [Thu, 27 Sep 2012 13:25:26 +0000 (15:25 +0200)]
Nitos: Enfore network name in case of a no resoucres manifest
Mohamed Larabi [Wed, 26 Sep 2012 15:57:10 +0000 (17:57 +0200)]
Nitos: Enforce slice check within get_leases_and_channels
Mohamed Larabi [Wed, 26 Sep 2012 14:25:30 +0000 (16:25 +0200)]
Add exclusive tag in order to distinguish between reservable \n and shared nodes and show the granularity of the reservation system in case of reservable nodes
Mohamed Larabi [Wed, 26 Sep 2012 13:52:37 +0000 (15:52 +0200)]
bug fix: check returned filtred list of nitos nodes
Mohamed Larabi [Wed, 26 Sep 2012 13:43:47 +0000 (15:43 +0200)]
Merge branch 'master' of git.onelab.eu:/git/sfa
Mohamed Larabi [Wed, 26 Sep 2012 13:43:02 +0000 (15:43 +0200)]
Update PlanetLab reservation oriented Rspecs: the leases were expressed an atomic way (ie. 1 Lease = 1 Slice = 1 TimeSlot = 1 node) but now they are grouped by slice and timeslot (ie. 1 Lease = 1 Slice = 1 TimeSlot = N node)
Thierry Parmentelat [Wed, 26 Sep 2012 09:48:23 +0000 (11:48 +0200)]
Setting tag sfa-2.1-15
first stab at a driver for the NITOS/OMF testbed (sep. pkg)
deeper cleanup of the data-dependencies between SFA and the testbed
in particular, sfi create issues Resolve(details=False)
for that purpose, Resolve exposes reg-* keys for SFA builtins
which in turn allows sfi list to show PIs, slice members and keys
NOTE: sfa-config-tty is known to be broken w/ less frequently used func's
Shows stacktrace when startup fails (DB conn, wrong flavour, etc..)
Thierry Parmentelat [Tue, 25 Sep 2012 14:24:18 +0000 (16:24 +0200)]
before we expose a sqlalchemy object to the xmlrpc wire, we need to
clean up related objects - xmlrpc would not allow it, we expose hrns
instead anyways
the way we did this before this change was to look for lists of
RegRecord or RegKey
however it turns out the lists are actually instances of
sqlalchemy.orm.collections.InstrumentedList
so if a list turns out empty, it did not get filter out but could not
get marshalled either
we simplify the code for filtering out (Record.todict) to exclude
objects only on the value type (not its sons when it's a list)
and the manager does not pass RegRecord or RegKey anymore, but just
InstrmentedList
Thierry Parmentelat [Mon, 24 Sep 2012 09:21:38 +0000 (11:21 +0200)]
sfi calls Resolve (details=False) before issuing CreateSliver
this seems to work now again, tested in dual-mode SFA/Plc
Thierry Parmentelat [Mon, 24 Sep 2012 09:20:16 +0000 (11:20 +0200)]
cosmetic
Thierry Parmentelat [Mon, 24 Sep 2012 09:19:59 +0000 (11:19 +0200)]
fix syntax error
Thierry Parmentelat [Mon, 24 Sep 2012 09:05:03 +0000 (11:05 +0200)]
cosmetic changes for sfi list - accepts a -v option and can display keys
Thierry Parmentelat [Fri, 21 Sep 2012 16:48:32 +0000 (18:48 +0200)]
Merge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2
Thierry Parmentelat [Fri, 21 Sep 2012 16:48:14 +0000 (18:48 +0200)]
sfi is more flexible when putting together the 'users' arg for CreateSliver
Thierry Parmentelat [Fri, 21 Sep 2012 16:47:17 +0000 (18:47 +0200)]
expose reg-keys as part of Resolve
Tony Mack [Fri, 21 Sep 2012 15:25:38 +0000 (11:25 -0400)]
cleanup
Tony Mack [Fri, 21 Sep 2012 15:24:55 +0000 (11:24 -0400)]
fix NameError
Thierry Parmentelat [Fri, 21 Sep 2012 14:36:20 +0000 (16:36 +0200)]
When sfi calls CreateSliver, it uses Resolve beforehand to make up the
'users' arg
This change reverts to using Resolve (details=True) so that
testbed-dependant data gets added to the result of Resolve
It seems like our implementation is not yet testbed-neutral enough, so
for now we need this setting
Thierry Parmentelat [Fri, 21 Sep 2012 13:48:35 +0000 (15:48 +0200)]
comment
Thierry Parmentelat [Thu, 20 Sep 2012 17:32:02 +0000 (19:32 +0200)]
add an optional 'options' dict to Resolve (checked that old clients
would not break)
go deeper yet in cleaning up the amount of extra fields in records
turns out CreateSliver actually needs to re-synthesize a whole lot of
data about users (for when account creation needs to take place)
in a truly federated environment this is not going to work, the
registry will never have enough data for account creation as this is
testbed-dependent
as far as I can tell this is a blatant flaw in the architecture
this code might work - accidentally - in a simple one-SFA-one-PLC
setup but this needs more work
Thierry Parmentelat [Thu, 20 Sep 2012 14:11:04 +0000 (16:11 +0200)]
add to List the same builtin relations as for Resolve
use that to have 'sfi list' display member ships and PI relationships
as well
Thierry Parmentelat [Thu, 20 Sep 2012 14:10:05 +0000 (16:10 +0200)]
sfi create takes advantage of the reg-researchers (builtin hrns of
attached users) instead of the unreliable and testbed-dependant
'researcher'
Thierry Parmentelat [Thu, 20 Sep 2012 14:08:39 +0000 (16:08 +0200)]
expose hrns of builtin related entities as a result of Resolve; this
is required now that the default value for 'details' is False, and
that we cannot rely on an underlying testbed
Mohamed Larabi [Thu, 20 Sep 2012 09:35:32 +0000 (11:35 +0200)]
Advertise the Nitos access gateway
Mohamed Larabi [Thu, 20 Sep 2012 09:30:10 +0000 (11:30 +0200)]
Add the exclusive tag to nitos nodes in order to show that they are reservables and not shared
Thierry Parmentelat [Wed, 19 Sep 2012 14:49:48 +0000 (16:49 +0200)]
the Resolve method takes an optional argument that tells if we need
details from the testbed (which was named 'full', which was dumb, I renamed
this as 'details')
in any case this change is about using details=False by default, as
SFA data should be self-sufficient, and examples of foreign drivers
have shown the problem...
Thierry Parmentelat [Wed, 19 Sep 2012 10:11:32 +0000 (12:11 +0200)]
clearer warnings for when things go wrong
Thierry Parmentelat [Wed, 19 Sep 2012 10:09:07 +0000 (12:09 +0200)]
sfadump -x to show a full xml dump of credentials
Thierry Parmentelat [Wed, 19 Sep 2012 10:08:13 +0000 (12:08 +0200)]
print out explicit warning when xmlsec1 cannot be found in PATH
Thierry Parmentelat [Wed, 19 Sep 2012 06:39:11 +0000 (08:39 +0200)]
fix to sfadump that is sometimes helpful
Mohamed Larabi [Tue, 18 Sep 2012 17:40:52 +0000 (19:40 +0200)]
Update reserveNodes/Channels and releaseNodes/Channels calls arguments
Mohamed Larabi [Tue, 18 Sep 2012 17:34:12 +0000 (19:34 +0200)]
clean up nitosslices.py
Mohamed Larabi [Tue, 18 Sep 2012 17:32:16 +0000 (19:32 +0200)]
Make Nitos Rspecs version independante from the Nitos driver