sfa.git
11 years agoanother simpler, cleaner angle
Thierry Parmentelat [Wed, 16 Jan 2013 19:38:51 +0000 (20:38 +0100)]
another simpler, cleaner angle

11 years agodebian ctd
Thierry Parmentelat [Wed, 16 Jan 2013 15:22:44 +0000 (16:22 +0100)]
debian ctd

11 years agovarious tweaks for debian
Thierry Parmentelat [Wed, 16 Jan 2013 14:43:17 +0000 (15:43 +0100)]
various tweaks for debian

11 years agocleanup
Thierry Parmentelat [Wed, 16 Jan 2013 10:55:17 +0000 (11:55 +0100)]
cleanup

11 years agopretty printing wsdl using xml.dom.minidom - avoid xml.dom.ext that is outdated
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

11 years agocleanup ugly globals.py
Thierry Parmentelat [Wed, 16 Jan 2013 10:36:49 +0000 (11:36 +0100)]
cleanup ugly globals.py

11 years agoprepare for setup sdist
Thierry Parmentelat [Wed, 16 Jan 2013 10:36:16 +0000 (11:36 +0100)]
prepare for setup sdist

11 years agofirst very rough cleanup
Thierry Parmentelat [Wed, 16 Jan 2013 09:17:46 +0000 (10:17 +0100)]
first very rough cleanup

11 years agoredirect make debian as make make -f Makefile.debian
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

11 years agofirst stab at merging initscript for fedora and debian
Thierry Parmentelat [Wed, 16 Jan 2013 09:16:37 +0000 (10:16 +0100)]
first stab at merging initscript for fedora and debian

11 years agothis was just a copy of the previous sfa initscript
Thierry Parmentelat [Mon, 14 Jan 2013 23:04:02 +0000 (00:04 +0100)]
this was just a copy of the previous sfa initscript

11 years agoMerge branch 'master' of git://git.onelab.eu/sfa into upmc
Jordan Augé [Fri, 11 Jan 2013 10:38:51 +0000 (11:38 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc

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

11 years agoadd mention of a copyright to INRIA in LICENSE.txt
Thierry Parmentelat [Fri, 11 Jan 2013 07:04:40 +0000 (08:04 +0100)]
add mention of a copyright to INRIA in LICENSE.txt

11 years agofix potential KeyError
Tony Mack [Thu, 10 Jan 2013 19:50:04 +0000 (14:50 -0500)]
fix potential KeyError

11 years agobe explicit on sfa-cm being not supported
Thierry Parmentelat [Mon, 17 Dec 2012 14:39:43 +0000 (15:39 +0100)]
be explicit on sfa-cm being not supported

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

11 years agofix initscript for sfa-cm that was irritatingly loading the wrong file
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

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 agoMerge branch 'master' of git://git.onelab.eu/sfa into upmc
Jordan Augé [Sun, 9 Dec 2012 23:00:30 +0000 (00:00 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc

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 agoMerge branch 'master' of git://git.onelab.eu/sfa into upmc
Jordan Augé [Tue, 27 Nov 2012 10:52:16 +0000 (11:52 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc

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

11 years agoMerge branch 'master' of git://git.onelab.eu/sfa into upmc
Jordan Augé [Tue, 6 Nov 2012 21:48:00 +0000 (22:48 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc

11 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

11 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

11 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

11 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

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

11 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

11 years agoMerge branch 'master' of git://git.onelab.eu/sfa into upmc
Jordan Augé [Sun, 7 Oct 2012 01:08:20 +0000 (03:08 +0200)]
Merge branch 'master' of git://git.onelab.eu/sfa into upmc

11 years agofixed issue with python2.6
Jordan Augé [Wed, 3 Oct 2012 07:18:06 +0000 (09:18 +0200)]
fixed issue with python2.6

11 years agoadded files to run smoothly on debian
Jordan Augé [Wed, 3 Oct 2012 05:51:37 +0000 (07:51 +0200)]
added files to run smoothly on debian

11 years agoadded Makefile to build debian packages
Jordan Augé [Wed, 3 Oct 2012 05:31:54 +0000 (07:31 +0200)]
added Makefile to build debian packages

11 years agoadded stdeb configuration file to make debian packages
Jordan Augé [Wed, 3 Oct 2012 05:31:24 +0000 (07:31 +0200)]
added stdeb configuration file to make debian packages

11 years agofixed sfi + added generic wrapper/importer
Jordan Augé [Wed, 3 Oct 2012 05:30:53 +0000 (07:30 +0200)]
fixed sfi + added generic wrapper/importer

11 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

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

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

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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

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

11 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

11 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

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

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

11 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

11 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

11 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

11 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

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