sfa.git
11 years agoSetting tag sfa-2.1-22 sfa-2.1-22
Thierry Parmentelat [Sun, 16 Dec 2012 22:09:59 +0000 (23:09 +0100)]
Setting tag sfa-2.1-22
suited (and required) to run with plcapi-5.1-5 b/c of changes to AddPerson
tweaks in nitos importer
improvements to sfaadmin check-gid

11 years agoNitos reg importer update
Mohamed Larabi [Fri, 14 Dec 2012 11:28:03 +0000 (12:28 +0100)]
Nitos reg importer update

11 years agosfaadmin.py: cosmetic changes
Mohamed Larabi [Thu, 13 Dec 2012 13:55:48 +0000 (14:55 +0100)]
sfaadmin.py: cosmetic changes

11 years agoAddPerson is more picky
Thierry Parmentelat [Wed, 12 Dec 2012 08:59:42 +0000 (09:59 +0100)]
AddPerson is more picky

11 years agoSetting tag sfa-2.1-21 sfa-2.1-21
Thierry Parmentelat [Tue, 11 Dec 2012 10:50:51 +0000 (11:50 +0100)]
Setting tag sfa-2.1-21
PL importer: minor fixes for corner cases
PL importer: also handles last_updated more accurately
sfi update can be used to select a key among several in PL
sfi add/update usage message fixes (no more record)
new feature sfaadmin registry check_gid [-a]

11 years agosfaadmin.py: improve check_gid feature and enable check users feature
Mohamed Larabi [Mon, 10 Dec 2012 16:14:44 +0000 (17:14 +0100)]
sfaadmin.py: improve check_gid feature and enable check users feature

11 years agosfaadmin.py: new feature check_gid which checks the correspondence between the GID...
Mohamed Larabi [Mon, 10 Dec 2012 10:11:27 +0000 (11:11 +0100)]
sfaadmin.py: new feature check_gid which checks the correspondence between the GID and the PubKey for a given record

11 years agocosmetic: plimporter appends record.last_updated when user is updated
Mohamed Larabi [Fri, 7 Dec 2012 15:32:03 +0000 (16:32 +0100)]
cosmetic: plimporter appends record.last_updated when user is updated

11 years agocorrecting sfi add/update usage and help
Mohamed Larabi [Thu, 6 Dec 2012 16:37:47 +0000 (17:37 +0100)]
correcting sfi add/update usage and help

11 years agorecord update again
Mohamed Larabi [Thu, 6 Dec 2012 15:30:12 +0000 (16:30 +0100)]
record update again

11 years agoBux fix sfi update record in order to handle user pubkey and gid update
Mohamed Larabi [Thu, 6 Dec 2012 14:43:46 +0000 (15:43 +0100)]
Bux fix sfi update record in order to handle user pubkey and gid update

11 years agoplimporter update
Mohamed Larabi [Tue, 4 Dec 2012 16:38:51 +0000 (17:38 +0100)]
plimporter update

11 years agoplimporter bugfix: was not updating already imported users with no key
Mohamed Larabi [Tue, 4 Dec 2012 12:07:59 +0000 (13:07 +0100)]
plimporter bugfix: was not updating already imported users with no key

11 years agoSetting tag sfa-2.1-20 sfa-2.1-20
Thierry Parmentelat [Mon, 3 Dec 2012 19:17:51 +0000 (20:17 +0100)]
Setting tag sfa-2.1-20
fix 2 major bugs in PL importer
esp. wrt GID management against PLC key

11 years agooops, fix commit was wrong
Thierry Parmentelat [Mon, 3 Dec 2012 18:19:30 +0000 (19:19 +0100)]
oops, fix commit was wrong

11 years agodisplay starting time and duration of importer in the logs
Thierry Parmentelat [Mon, 3 Dec 2012 18:10:02 +0000 (19:10 +0100)]
display starting time and duration of importer in the logs

11 years agofix the logic for handling new PLC keys
Thierry Parmentelat [Mon, 3 Dec 2012 16:54:19 +0000 (17:54 +0100)]
fix the logic for handling new PLC keys

11 years agopretty-printed
Thierry Parmentelat [Mon, 3 Dec 2012 15:35:39 +0000 (16:35 +0100)]
pretty-printed

11 years agoturn off debug statements
Thierry Parmentelat [Mon, 3 Dec 2012 14:54:44 +0000 (15:54 +0100)]
turn off debug statements

11 years agocomment off useless warning
Thierry Parmentelat [Mon, 3 Dec 2012 14:54:12 +0000 (15:54 +0100)]
comment off useless warning

11 years agofix logic on persons, esp. wrt disabled users that
Thierry Parmentelat [Mon, 3 Dec 2012 14:53:58 +0000 (15:53 +0100)]
fix logic on persons, esp. wrt disabled users that
were somtimes causing the same person to be handled twice

11 years agoadded debug statements
Thierry Parmentelat [Mon, 3 Dec 2012 13:47:08 +0000 (14:47 +0100)]
added debug statements

11 years agocosmetic
Thierry Parmentelat [Mon, 3 Dec 2012 13:34:01 +0000 (14:34 +0100)]
cosmetic

11 years agoMerge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2
Thierry Parmentelat [Fri, 30 Nov 2012 08:24:53 +0000 (09:24 +0100)]
Merge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2

11 years agofix for make ple
Thierry Parmentelat [Fri, 30 Nov 2012 08:24:33 +0000 (09:24 +0100)]
fix for make ple

11 years agoSetting tag sfa-2.1-19 sfa-2.1-19
Thierry Parmentelat [Wed, 28 Nov 2012 15:36:23 +0000 (16:36 +0100)]
Setting tag sfa-2.1-19
nicer sfi delegate, can handle multiple delegations and for authorities(pi) as well

11 years agoMerge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2
Thierry Parmentelat [Wed, 28 Nov 2012 15:23:50 +0000 (16:23 +0100)]
Merge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2

11 years agosfi delegate can now prodce several delegated creds in one shot and
Thierry Parmentelat [Wed, 28 Nov 2012 15:23:27 +0000 (16:23 +0100)]
sfi delegate can now prodce several delegated creds in one shot and
can handle authority credentials as well

11 years agoSetting tag sfa-2.1-18 sfa-2.1-18
Thierry Parmentelat [Wed, 28 Nov 2012 10:18:55 +0000 (11:18 +0100)]
Setting tag sfa-2.1-18
support fordelegation in sfaclientlib
sfi delegate fixed
other delegation-related sfi option trashed
new config (based on ini format)
new dummy driver and related package
pl importer has more explicit error messages
credential dump shows expiration

11 years agoadd expiration date to credential dump
Thierry Parmentelat [Wed, 28 Nov 2012 09:31:05 +0000 (10:31 +0100)]
add expiration date to credential dump

11 years agocleaned up -d/--delegate altogether
Thierry Parmentelat [Tue, 27 Nov 2012 15:50:42 +0000 (16:50 +0100)]
cleaned up -d/--delegate altogether

11 years agolast (cleaned up) version with the -d/--delegate option that was
Thierry Parmentelat [Tue, 27 Nov 2012 15:48:20 +0000 (16:48 +0100)]
last (cleaned up) version with the -d/--delegate option that was
broken and very unclear about its purpose

11 years agomove delegate_credential from sfi.py to sfaclientlib.py
Thierry Parmentelat [Tue, 27 Nov 2012 15:47:20 +0000 (16:47 +0100)]
move delegate_credential from sfi.py to sfaclientlib.py

11 years agocosmetic
Thierry Parmentelat [Tue, 27 Nov 2012 12:10:43 +0000 (13:10 +0100)]
cosmetic

11 years agosfi resources with delegation turned on was broken
Thierry Parmentelat [Tue, 27 Nov 2012 10:29:24 +0000 (11:29 +0100)]
sfi resources with delegation turned on was broken

11 years agobugfix - sfi delegate was broken
Thierry Parmentelat [Tue, 27 Nov 2012 10:27:22 +0000 (11:27 +0100)]
bugfix - sfi delegate was broken

11 years agocosmetic
Thierry Parmentelat [Tue, 27 Nov 2012 10:27:03 +0000 (11:27 +0100)]
cosmetic

11 years agodescribe failing hrns if any in the pl importer
Thierry Parmentelat [Tue, 20 Nov 2012 11:57:47 +0000 (12:57 +0100)]
describe failing hrns if any in the pl importer

11 years agoadded variables() method
Tony Mack [Mon, 19 Nov 2012 22:41:27 +0000 (17:41 -0500)]
added variables() method

12 years agoput package description for the Dummy Driver
Mohamed Larabi [Sun, 21 Oct 2012 19:31:14 +0000 (21:31 +0200)]
put package description for the Dummy Driver

12 years agoDummy Testbed Driver update and bug fix
Mohamed Larabi [Fri, 19 Oct 2012 14:37:51 +0000 (16:37 +0200)]
Dummy Testbed Driver update and bug fix

12 years agoFirst draft of the dummy-testbed driver
Mohamed Larabi [Fri, 7 Sep 2012 07:46:20 +0000 (09:46 +0200)]
First draft of the dummy-testbed driver

12 years agoSetting tag sfa-2.1-17 sfa-2.1-17
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

12 years agoNitos: fix addUserKey call in verify_users()
Mohamed Larabi [Thu, 11 Oct 2012 14:58:22 +0000 (16:58 +0200)]
Nitos: fix addUserKey call in verify_users()

12 years agoon behalf of Jordan Auge - thanks Jordan
Thierry Parmentelat [Thu, 11 Oct 2012 08:20:43 +0000 (10:20 +0200)]
on behalf of Jordan Auge - thanks Jordan

12 years agoSetting tag sfa-2.1-16 sfa-2.1-16
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

12 years agoNitos: bug fix verify_users
Mohamed Larabi [Mon, 1 Oct 2012 15:14:27 +0000 (17:14 +0200)]
Nitos: bug fix verify_users

12 years agoNitos: clean up
Mohamed Larabi [Mon, 1 Oct 2012 14:56:34 +0000 (16:56 +0200)]
Nitos: clean up

12 years agoNitos: update verify_users
Mohamed Larabi [Mon, 1 Oct 2012 14:48:05 +0000 (16:48 +0200)]
Nitos: update verify_users

12 years agoPL leases: take in account only the leases in the aggregate network
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

12 years agoPL Leases: check slice_xrn and slice args in get_leases
Mohamed Larabi [Mon, 1 Oct 2012 07:31:51 +0000 (09:31 +0200)]
PL Leases: check slice_xrn and slice args in get_leases

12 years agoPL: for the manifest, use slice_xrn for the lease slice_id
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

12 years agoNitos: 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

12 years agoNitos: 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

12 years agoNitos: fot 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

12 years agoNitos: fix addSlice call with right arg slice_name
Mohamed Larabi [Thu, 27 Sep 2012 15:14:51 +0000 (17:14 +0200)]
Nitos: fix addSlice call with right arg slice_name

12 years agoNitos: rspec's format is NITOS 1
Mohamed Larabi [Thu, 27 Sep 2012 13:31:09 +0000 (15:31 +0200)]
Nitos: rspec's format is NITOS 1

12 years agoNitos: Enfore network name in case of a no resoucres manifest
Mohamed Larabi [Thu, 27 Sep 2012 13:25:26 +0000 (15:25 +0200)]
Nitos: Enfore network name in case of a no resoucres manifest

12 years agoNitos: Enforce slice check within get_leases_and_channels
Mohamed Larabi [Wed, 26 Sep 2012 15:57:10 +0000 (17:57 +0200)]
Nitos: Enforce slice check within get_leases_and_channels

12 years agoAdd exclusive tag in order to distinguish between reservable \n and shared nodes...
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

12 years agobug fix: check returned filtred list of nitos nodes
Mohamed Larabi [Wed, 26 Sep 2012 13:52:37 +0000 (15:52 +0200)]
bug fix: check returned filtred list of nitos nodes

12 years agoMerge branch 'master' of git.onelab.eu:/git/sfa
Mohamed Larabi [Wed, 26 Sep 2012 13:43:47 +0000 (15:43 +0200)]
Merge branch 'master' of git.onelab.eu:/git/sfa

12 years agoUpdate PlanetLab reservation oriented Rspecs: the leases were expressed an atomic...
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)

12 years agoSetting tag sfa-2.1-15 sfa-2.1-15
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..)

12 years agobefore we expose a sqlalchemy object to the xmlrpc wire, we need to
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

12 years agosfi calls Resolve (details=False) before issuing CreateSliver
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

12 years agocosmetic
Thierry Parmentelat [Mon, 24 Sep 2012 09:20:16 +0000 (11:20 +0200)]
cosmetic

12 years agofix syntax error
Thierry Parmentelat [Mon, 24 Sep 2012 09:19:59 +0000 (11:19 +0200)]
fix syntax error

12 years agocosmetic changes for sfi list - accepts a -v option and can display keys
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

12 years agoMerge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2
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

12 years agosfi is more flexible when putting together the 'users' arg for CreateSliver
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

12 years agoexpose reg-keys as part of Resolve
Thierry Parmentelat [Fri, 21 Sep 2012 16:47:17 +0000 (18:47 +0200)]
expose reg-keys as part of Resolve

12 years agocleanup
Tony Mack [Fri, 21 Sep 2012 15:25:38 +0000 (11:25 -0400)]
cleanup

12 years agofix NameError
Tony Mack [Fri, 21 Sep 2012 15:24:55 +0000 (11:24 -0400)]
fix NameError

12 years agoWhen sfi calls CreateSliver, it uses Resolve beforehand to make up the
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

12 years agocomment
Thierry Parmentelat [Fri, 21 Sep 2012 13:48:35 +0000 (15:48 +0200)]
comment

12 years agoadd an optional 'options' dict to Resolve (checked that old clients
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

12 years agoadd to List the same builtin relations as for Resolve
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

12 years agosfi create takes advantage of the reg-researchers (builtin hrns of
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'

12 years agoexpose hrns of builtin related entities as a result of Resolve; this
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

12 years agoAdvertise the Nitos access gateway
Mohamed Larabi [Thu, 20 Sep 2012 09:35:32 +0000 (11:35 +0200)]
Advertise the Nitos access gateway

12 years agoAdd the exclusive tag to nitos nodes in order to show that they are reservables and...
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

12 years agothe Resolve method takes an optional argument that tells if we need
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...

12 years agoclearer warnings for when things go wrong
Thierry Parmentelat [Wed, 19 Sep 2012 10:11:32 +0000 (12:11 +0200)]
clearer warnings for when things go wrong

12 years agosfadump -x to show a full xml dump of credentials
Thierry Parmentelat [Wed, 19 Sep 2012 10:09:07 +0000 (12:09 +0200)]
sfadump -x to show a full xml dump of credentials

12 years agoprint out explicit warning when xmlsec1 cannot be found in PATH
Thierry Parmentelat [Wed, 19 Sep 2012 10:08:13 +0000 (12:08 +0200)]
print out explicit warning when xmlsec1 cannot be found in PATH

12 years agofix to sfadump that is sometimes helpful
Thierry Parmentelat [Wed, 19 Sep 2012 06:39:11 +0000 (08:39 +0200)]
fix to sfadump that is sometimes helpful

12 years agoUpdate reserveNodes/Channels and releaseNodes/Channels calls arguments
Mohamed Larabi [Tue, 18 Sep 2012 17:40:52 +0000 (19:40 +0200)]
Update reserveNodes/Channels and releaseNodes/Channels calls arguments

12 years agoclean up nitosslices.py
Mohamed Larabi [Tue, 18 Sep 2012 17:34:12 +0000 (19:34 +0200)]
clean up nitosslices.py

12 years agoMake Nitos Rspecs version independante from the Nitos driver
Mohamed Larabi [Tue, 18 Sep 2012 17:32:16 +0000 (19:32 +0200)]
Make Nitos Rspecs version independante from the Nitos driver

12 years agoAdd Nitos package
Mohamed Larabi [Mon, 17 Sep 2012 15:25:31 +0000 (17:25 +0200)]
Add Nitos package

12 years agoUpdate delete_sliver for nitos driver
Mohamed Larabi [Mon, 17 Sep 2012 13:29:46 +0000 (15:29 +0200)]
Update delete_sliver for nitos driver

12 years agoNitos slice's users in slice['user_ids']
Mohamed Larabi [Mon, 17 Sep 2012 13:16:00 +0000 (15:16 +0200)]
Nitos slice's users in slice['user_ids']

12 years agobugs fix
Mohamed Larabi [Mon, 17 Sep 2012 12:09:09 +0000 (14:09 +0200)]
bugs fix

12 years agocraete or parse RSpec according to the requested RSpec Version
Mohamed Larabi [Mon, 17 Sep 2012 12:07:43 +0000 (14:07 +0200)]
craete or parse RSpec according to the requested RSpec Version

12 years agohandle Nitos users also
Mohamed Larabi [Mon, 17 Sep 2012 12:04:52 +0000 (14:04 +0200)]
handle Nitos users also

12 years agobugs fixing
Mohamed Larabi [Mon, 10 Sep 2012 13:13:01 +0000 (15:13 +0200)]
bugs fixing

12 years agoEnforce RSpec Version check
Mohamed Larabi [Mon, 10 Sep 2012 13:11:44 +0000 (15:11 +0200)]
Enforce RSpec Version check

12 years agoAdd nitos module to setup.py
Mohamed Larabi [Mon, 10 Sep 2012 09:37:40 +0000 (11:37 +0200)]
Add nitos module to setup.py

12 years agoFlavour oriented configuration
Mohamed Larabi [Fri, 31 Aug 2012 14:10:58 +0000 (16:10 +0200)]
Flavour oriented configuration