Thierry Parmentelat [Thu, 17 Jan 2013 15:00:14 +0000 (16:00 +0100)]
rename functions into functions.sfa, always ship it, and use it
conditionnally on debian only
Thierry Parmentelat [Thu, 17 Jan 2013 11:53:51 +0000 (12:53 +0100)]
this produces a non-empty packagea at last
Thierry Parmentelat [Wed, 16 Jan 2013 19:55:17 +0000 (20:55 +0100)]
oops
Thierry Parmentelat [Wed, 16 Jan 2013 19:38:51 +0000 (20:38 +0100)]
another simpler, cleaner angle
Thierry Parmentelat [Wed, 16 Jan 2013 15:22:44 +0000 (16:22 +0100)]
debian ctd
Thierry Parmentelat [Wed, 16 Jan 2013 14:43:17 +0000 (15:43 +0100)]
various tweaks for debian
Thierry Parmentelat [Wed, 16 Jan 2013 10:55:17 +0000 (11:55 +0100)]
cleanup
Thierry Parmentelat [Wed, 16 Jan 2013 10:42:33 +0000 (11:42 +0100)]
pretty printing wsdl using xml.dom.minidom - avoid xml.dom.ext that is outdated
Thierry Parmentelat [Wed, 16 Jan 2013 10:36:49 +0000 (11:36 +0100)]
cleanup ugly globals.py
Thierry Parmentelat [Wed, 16 Jan 2013 10:36:16 +0000 (11:36 +0100)]
prepare for setup sdist
Thierry Parmentelat [Wed, 16 Jan 2013 09:17:46 +0000 (10:17 +0100)]
first very rough cleanup
Thierry Parmentelat [Wed, 16 Jan 2013 09:17:22 +0000 (10:17 +0100)]
redirect make debian as make make -f Makefile.debian
will make sense to merge both eventually
Thierry Parmentelat [Wed, 16 Jan 2013 09:16:37 +0000 (10:16 +0100)]
first stab at merging initscript for fedora and debian
Thierry Parmentelat [Mon, 14 Jan 2013 23:04:02 +0000 (00:04 +0100)]
this was just a copy of the previous sfa initscript
Jordan Augé [Fri, 11 Jan 2013 10:38:51 +0000 (11:38 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc
Thierry Parmentelat [Fri, 11 Jan 2013 07:05:17 +0000 (08:05 +0100)]
Merge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2
Thierry Parmentelat [Fri, 11 Jan 2013 07:04:40 +0000 (08:04 +0100)]
add mention of a copyright to INRIA in LICENSE.txt
Tony Mack [Thu, 10 Jan 2013 19:50:04 +0000 (14:50 -0500)]
fix potential KeyError
Thierry Parmentelat [Mon, 17 Dec 2012 14:39:43 +0000 (15:39 +0100)]
be explicit on sfa-cm being not supported
Thierry Parmentelat [Mon, 17 Dec 2012 10:17:48 +0000 (11:17 +0100)]
Merge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2
Thierry Parmentelat [Mon, 17 Dec 2012 10:17:31 +0000 (11:17 +0100)]
fix initscript for sfa-cm that was irritatingly loading the wrong file
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
Mohamed Larabi [Fri, 14 Dec 2012 11:28:03 +0000 (12:28 +0100)]
Nitos reg importer update
Mohamed Larabi [Thu, 13 Dec 2012 13:55:48 +0000 (14:55 +0100)]
sfaadmin.py: cosmetic changes
Thierry Parmentelat [Wed, 12 Dec 2012 08:59:42 +0000 (09:59 +0100)]
AddPerson is more picky
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]
Mohamed Larabi [Mon, 10 Dec 2012 16:14:44 +0000 (17:14 +0100)]
sfaadmin.py: improve check_gid feature and enable check users feature
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
Jordan Augé [Sun, 9 Dec 2012 23:00:30 +0000 (00:00 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc
Mohamed Larabi [Fri, 7 Dec 2012 15:32:03 +0000 (16:32 +0100)]
cosmetic: plimporter appends record.last_updated when user is updated
Mohamed Larabi [Thu, 6 Dec 2012 16:37:47 +0000 (17:37 +0100)]
correcting sfi add/update usage and help
Mohamed Larabi [Thu, 6 Dec 2012 15:30:12 +0000 (16:30 +0100)]
record update again
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
Mohamed Larabi [Tue, 4 Dec 2012 16:38:51 +0000 (17:38 +0100)]
plimporter update
Mohamed Larabi [Tue, 4 Dec 2012 12:07:59 +0000 (13:07 +0100)]
plimporter bugfix: was not updating already imported users with no key
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
Thierry Parmentelat [Mon, 3 Dec 2012 18:19:30 +0000 (19:19 +0100)]
oops, fix commit was wrong
Thierry Parmentelat [Mon, 3 Dec 2012 18:10:02 +0000 (19:10 +0100)]
display starting time and duration of importer in the logs
Thierry Parmentelat [Mon, 3 Dec 2012 16:54:19 +0000 (17:54 +0100)]
fix the logic for handling new PLC keys
Thierry Parmentelat [Mon, 3 Dec 2012 15:35:39 +0000 (16:35 +0100)]
pretty-printed
Thierry Parmentelat [Mon, 3 Dec 2012 14:54:44 +0000 (15:54 +0100)]
turn off debug statements
Thierry Parmentelat [Mon, 3 Dec 2012 14:54:12 +0000 (15:54 +0100)]
comment off useless warning
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
Thierry Parmentelat [Mon, 3 Dec 2012 13:47:08 +0000 (14:47 +0100)]
added debug statements
Thierry Parmentelat [Mon, 3 Dec 2012 13:34:01 +0000 (14:34 +0100)]
cosmetic
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
Thierry Parmentelat [Fri, 30 Nov 2012 08:24:33 +0000 (09:24 +0100)]
fix for make ple
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
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
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
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
Thierry Parmentelat [Wed, 28 Nov 2012 09:31:05 +0000 (10:31 +0100)]
add expiration date to credential dump
Thierry Parmentelat [Tue, 27 Nov 2012 15:50:42 +0000 (16:50 +0100)]
cleaned up -d/--delegate altogether
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
Thierry Parmentelat [Tue, 27 Nov 2012 15:47:20 +0000 (16:47 +0100)]
move delegate_credential from sfi.py to sfaclientlib.py
Thierry Parmentelat [Tue, 27 Nov 2012 12:10:43 +0000 (13:10 +0100)]
cosmetic
Jordan Augé [Tue, 27 Nov 2012 10:52:16 +0000 (11:52 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc
Thierry Parmentelat [Tue, 27 Nov 2012 10:29:24 +0000 (11:29 +0100)]
sfi resources with delegation turned on was broken
Thierry Parmentelat [Tue, 27 Nov 2012 10:27:22 +0000 (11:27 +0100)]
bugfix - sfi delegate was broken
Thierry Parmentelat [Tue, 27 Nov 2012 10:27:03 +0000 (11:27 +0100)]
cosmetic
Thierry Parmentelat [Tue, 20 Nov 2012 11:57:47 +0000 (12:57 +0100)]
describe failing hrns if any in the pl importer
Tony Mack [Mon, 19 Nov 2012 22:41:27 +0000 (17:41 -0500)]
added variables() method
Jordan Augé [Tue, 6 Nov 2012 21:48:00 +0000 (22:48 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc
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
Mohamed Larabi [Fri, 7 Sep 2012 07:46:20 +0000 (09:46 +0200)]
First draft of the dummy-testbed driver
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()
Thierry Parmentelat [Thu, 11 Oct 2012 08:20:43 +0000 (10:20 +0200)]
on behalf of Jordan Auge - thanks Jordan
Jordan Augé [Sun, 7 Oct 2012 01:08:20 +0000 (03:08 +0200)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc
Jordan Augé [Wed, 3 Oct 2012 07:18:06 +0000 (09:18 +0200)]
fixed issue with python2.6
Jordan Augé [Wed, 3 Oct 2012 05:51:37 +0000 (07:51 +0200)]
added files to run smoothly on debian
Jordan Augé [Wed, 3 Oct 2012 05:31:54 +0000 (07:31 +0200)]
added Makefile to build debian packages
Jordan Augé [Wed, 3 Oct 2012 05:31:24 +0000 (07:31 +0200)]
added stdeb configuration file to make debian packages
Jordan Augé [Wed, 3 Oct 2012 05:30:53 +0000 (07:30 +0200)]
fixed sfi + added generic wrapper/importer
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