sfa.git
11 years agoformatting
Tony Mack [Thu, 17 Jan 2013 21:16:56 +0000 (16:16 -0500)]
formatting

11 years agocheck xrns arg at beginning of method
Tony Mack [Thu, 17 Jan 2013 19:58:35 +0000 (14:58 -0500)]
check xrns arg at beginning of method

11 years agoindent error
Tony Mack [Thu, 17 Jan 2013 19:45:18 +0000 (14:45 -0500)]
indent error

11 years agoedit error message
Tony Mack [Thu, 17 Jan 2013 19:41:05 +0000 (14:41 -0500)]
edit error message

11 years agoedit error message
Tony Mack [Thu, 17 Jan 2013 19:12:45 +0000 (14:12 -0500)]
edit error message

11 years agooops, this one has gone
Thierry Parmentelat [Thu, 17 Jan 2013 18:41:14 +0000 (19:41 +0100)]
oops, this one has gone

11 years agomerges master (so, no sfa-cm anymore)
Thierry Parmentelat [Thu, 17 Jan 2013 18:36:21 +0000 (19:36 +0100)]
merges master (so, no sfa-cm anymore)

11 years agooops, was pending
Thierry Parmentelat [Thu, 17 Jan 2013 18:27:26 +0000 (19:27 +0100)]
oops, was pending

11 years agooops, the cm cleanup was not complete
Thierry Parmentelat [Thu, 17 Jan 2013 17:20:24 +0000 (18:20 +0100)]
oops, the cm cleanup was not complete

11 years agofix paths and start to fill in dependencies
Thierry Parmentelat [Thu, 17 Jan 2013 15:55:54 +0000 (16:55 +0100)]
fix paths and start to fill in dependencies

11 years ago1st attempt at multiple deb packages
Thierry Parmentelat [Thu, 17 Jan 2013 15:27:13 +0000 (16:27 +0100)]
1st attempt at multiple deb packages

11 years agorename functions into functions.sfa, always ship it, and use it
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

11 years agodeprecate the cm package altogether
Thierry Parmentelat [Thu, 17 Jan 2013 14:54:49 +0000 (15:54 +0100)]
deprecate the cm package altogether

11 years agofixed RegistryManager.Update()
Mohamed Larabi [Thu, 17 Jan 2013 13:03:08 +0000 (14:03 +0100)]
fixed RegistryManager.Update()

11 years agothis produces a non-empty packagea at last
Thierry Parmentelat [Thu, 17 Jan 2013 11:53:51 +0000 (12:53 +0100)]
this produces a non-empty packagea at last

11 years agooops
Thierry Parmentelat [Wed, 16 Jan 2013 19:55:17 +0000 (20:55 +0100)]
oops

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 agoDummy driver bug fix
Mohamed Larabi [Wed, 16 Jan 2013 18:56:12 +0000 (19:56 +0100)]
Dummy driver bug fix

11 years agoDummy driver bug fixing again
Mohamed Larabi [Wed, 16 Jan 2013 18:30:40 +0000 (19:30 +0100)]
Dummy driver bug fixing again

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

11 years agoDummy driver bug fixing
Mohamed Larabi [Wed, 16 Jan 2013 15:01:39 +0000 (16:01 +0100)]
Dummy driver bug fixing

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 agoproduce more human readable error message when we've received an invalid sliver urn
Tony Mack [Tue, 15 Jan 2013 18:38:54 +0000 (13:38 -0500)]
produce more human readable error message when we've received an invalid sliver urn

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 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2
Thierry Parmentelat [Mon, 14 Jan 2013 22:56:18 +0000 (23:56 +0100)]
Merge branch 'geni-v2' of ssh://git.onelab.eu/git/sfa into geni-v2

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 agopldriver: fix register node
Mohamed Larabi [Mon, 14 Jan 2013 11:01:00 +0000 (12:01 +0100)]
pldriver: fix register node

11 years agoFix typo
Tony Mack [Fri, 11 Jan 2013 15:27:30 +0000 (10:27 -0500)]
Fix typo

11 years agoDescribe: geni_urn should never be null
Tony Mack [Fri, 11 Jan 2013 14:52:17 +0000 (09:52 -0500)]
Describe: geni_urn should never be null

11 years agofix bug in renew
Tony Mack [Fri, 11 Jan 2013 14:46:58 +0000 (09:46 -0500)]
fix bug in renew

11 years agoPropagating the users' senslab login in GetSlices, get_rspec and GetLeases
Sandrine Avakian [Fri, 11 Jan 2013 14:45:10 +0000 (15:45 +0100)]
Propagating the users' senslab login in GetSlices, get_rspec and GetLeases
from cerate_sliver.

11 years agoAllocate updates the slice's expiration to the credential's expiration
Tony Mack [Fri, 11 Jan 2013 14:43:58 +0000 (09:43 -0500)]
Allocate updates the slice's expiration to the credential's expiration

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 agoFurther bug fixes for federated user adding.
Sandrine Avakian [Thu, 10 Jan 2013 15:12:53 +0000 (16:12 +0100)]
Further bug fixes for federated user adding.

11 years agoNow adding federated user who doesn't have senslab account directly in SFA db
Sandrine Avakian [Thu, 10 Jan 2013 13:52:50 +0000 (14:52 +0100)]
Now adding federated user who doesn't  have senslab account directly in SFA db
(on top of creating an account for him).
Prevents duplicates created upon importing the user from LDAP to
SFA (same email).

11 years agoFurther changes to handle federated user .
Sandrine Avakian [Thu, 10 Jan 2013 08:03:59 +0000 (09:03 +0100)]
Further changes to handle federated user .

11 years agocomments
Tony Mack [Thu, 10 Jan 2013 03:42:09 +0000 (22:42 -0500)]
comments

11 years agosupport checking credentials agains sliver_ids
Tony Mack [Thu, 10 Jan 2013 03:42:00 +0000 (22:42 -0500)]
support checking credentials agains sliver_ids

11 years agostore slice_urn in sliver_allocation table
Tony Mack [Thu, 10 Jan 2013 01:53:55 +0000 (20:53 -0500)]
store slice_urn in sliver_allocation table

11 years agodon't try to guess an hrn's type
Tony Mack [Wed, 9 Jan 2013 20:46:43 +0000 (15:46 -0500)]
don't try to guess an hrn's type

11 years agosupport sliver ids
Tony Mack [Wed, 9 Jan 2013 14:29:14 +0000 (09:29 -0500)]
support sliver ids

11 years agoFixing bug when using a slice from another federated site
Sandrine Avakian [Wed, 9 Jan 2013 11:45:20 +0000 (12:45 +0100)]
Fixing bug when using a slice from another federated site
without a valid LDAP Senslab account exisiting.
Modifying LdapFindUser to avoid returning misleading hrn.
Fixed peer_authority bug in same funcion.
Changed verify_persons to create user dict based on
their emails.

11 years agofix import
Tony Mack [Wed, 9 Jan 2013 03:04:00 +0000 (22:04 -0500)]
fix import

11 years agomake sure node_ids and slice_ids are ints when calling plcapi
Tony Mack [Wed, 9 Jan 2013 03:03:43 +0000 (22:03 -0500)]
make sure node_ids and slice_ids are ints when calling plcapi

11 years agouse set instead of list to avoid potential duplicate entries
Tony Mack [Wed, 9 Jan 2013 02:12:01 +0000 (21:12 -0500)]
use set instead of list to avoid potential duplicate entries

11 years agoFix cast slice_ids to int before calling GetSlices() at plcapi
Tony Mack [Tue, 8 Jan 2013 20:10:58 +0000 (15:10 -0500)]
Fix cast slice_ids to int before calling GetSlices() at plcapi

11 years agoworking toward full support for sliver urns in the aggregate and registry
Tony Mack [Tue, 8 Jan 2013 18:35:20 +0000 (13:35 -0500)]
working toward full support for sliver urns in the aggregate and registry

11 years agoadded CREDENTIAL MISMATCH code
Tony Mack [Tue, 8 Jan 2013 00:39:05 +0000 (19:39 -0500)]
added CREDENTIAL MISMATCH code

11 years agoadded Forbidden exception
Tony Mack [Tue, 8 Jan 2013 00:38:39 +0000 (19:38 -0500)]
added Forbidden exception

11 years agofix typo
Tony Mack [Tue, 8 Jan 2013 00:38:25 +0000 (19:38 -0500)]
fix typo

11 years agoCorrecting typo in aggregates.xml
Sandrine Avakian [Mon, 7 Jan 2013 13:57:15 +0000 (14:57 +0100)]
Correcting typo in aggregates.xml
Fixing trusted roots auto import in bash nukem.
Fixing Getslices and GetLeases in slabdriver.py

11 years agon TestSuite.py# Please enter the commit message for your changes. Lines starting
Sandrine Avakian [Wed, 2 Jan 2013 13:43:40 +0000 (14:43 +0100)]
n TestSuite.py# Please enter the commit message for your changes. Lines starting

11 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Wed, 2 Jan 2013 13:03:08 +0000 (14:03 +0100)]
Merge branch 'master' into senslab2

11 years agoMerge branch 'upstreammaster'
Sandrine Avakian [Wed, 2 Jan 2013 12:36:52 +0000 (13:36 +0100)]
Merge branch 'upstreammaster'

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 agoFixing bug in querying OAR.
Sandrine Avakian [Wed, 19 Dec 2012 15:31:02 +0000 (16:31 +0100)]
Fixing bug in querying OAR.
Page limit is 500, so query OAR until all the pages are loaded
to get all the nodes (grenoble, rennes and eurtaech).

11 years agofix potential KeyError
Tony Mack [Tue, 18 Dec 2012 16:26:29 +0000 (11:26 -0500)]
fix potential KeyError

11 years agoget_subject() returns an empty string if credential has no gid object
Tony Mack [Tue, 18 Dec 2012 16:09:39 +0000 (11:09 -0500)]
get_subject() returns an empty string if credential has no gid object

11 years agofix content_type in fedrica rspec versions. Remove redundant rspec versions
Tony Mack [Tue, 18 Dec 2012 15:46:35 +0000 (10:46 -0500)]
fix content_type in fedrica rspec versions. Remove redundant rspec versions

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 agogeni_error cannot be None
Tony Mack [Thu, 13 Dec 2012 21:36:35 +0000 (16:36 -0500)]
geni_error cannot be None

11 years agostore component_id in sliver_allocation table
Tony Mack [Thu, 13 Dec 2012 16:53:45 +0000 (11:53 -0500)]
store component_id in sliver_allocation table

11 years agoFixing bug in DeleteJobs.
Sandrine Avakian [Thu, 13 Dec 2012 15:39:33 +0000 (16:39 +0100)]
Fixing bug in DeleteJobs.

11 years agoFixed ple hrn in aggregates.xml and registries.xml
Sandrine Avakian [Thu, 13 Dec 2012 14:47:00 +0000 (15:47 +0100)]
Fixed ple hrn in aggregates.xml and registries.xml

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 agoTake into account case where there is no information on
Sandrine Avakian [Thu, 13 Dec 2012 13:26:35 +0000 (14:26 +0100)]
Take into account case where there is no information on
the running experiment in slab db when asking for list
of leases.

11 years agoFix in bash_nukem
Sandrine Avakian [Thu, 13 Dec 2012 12:54:07 +0000 (13:54 +0100)]
Fix in bash_nukem

11 years agoModification on slabimporter to avoid creating an account when importing
Sandrine Avakian [Thu, 13 Dec 2012 12:34:57 +0000 (13:34 +0100)]
Modification on slabimporter to avoid creating an account when importing
new LDAP user to a federated user already registered in SFA db.
Introducing new federation option in bash_nukem.

11 years agoAdding config files for federation.
Sandrine Avakian [Wed, 12 Dec 2012 15:31:53 +0000 (16:31 +0100)]
Adding config files for federation.

11 years agoCorrecting SlabImporter according previous changes.
Sandrine Avakian [Wed, 12 Dec 2012 13:35:35 +0000 (14:35 +0100)]
Correcting SlabImporter according previous changes.

11 years agoSmall fix in GetSlices.
Sandrine Avakian [Wed, 12 Dec 2012 11:25:03 +0000 (12:25 +0100)]
Small fix in GetSlices.

11 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Wed, 12 Dec 2012 09:26:14 +0000 (10:26 +0100)]
Merge branch 'master' into senslab2

11 years agoMerge branch 'upstreammaster'
Sandrine Avakian [Wed, 12 Dec 2012 09:14:22 +0000 (10:14 +0100)]
Merge branch 'upstreammaster'

11 years agoFixing GetSlices and sfi.py show.
Sandrine Avakian [Wed, 12 Dec 2012 09:12:27 +0000 (10:12 +0100)]
Fixing GetSlices and sfi.py show.
Needs cleaning.

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 agoremove debugging statement
Tony Mack [Wed, 12 Dec 2012 01:44:52 +0000 (20:44 -0500)]
remove debugging statement

11 years agofix component_id
Tony Mack [Wed, 12 Dec 2012 01:44:42 +0000 (20:44 -0500)]
fix component_id

11 years agoStore client_id in sliver_allocation table
Tony Mack [Tue, 11 Dec 2012 18:39:40 +0000 (13:39 -0500)]
Store client_id in sliver_allocation table

11 years agoremove rspec conversion code
Tony Mack [Tue, 11 Dec 2012 18:38:12 +0000 (13:38 -0500)]
remove rspec conversion code

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 agoModification in GetLeases to fetch the slice name with
Sandrine Avakian [Mon, 10 Dec 2012 13:24:10 +0000 (14:24 +0100)]
Modification in GetLeases to fetch the slice name with
which the reservation has been made from the slab db.

11 years agoDeleted slice_senslab table (redundancy with reg-researchers relationship
Sandrine Avakian [Mon, 10 Dec 2012 12:52:36 +0000 (13:52 +0100)]
Deleted slice_senslab table (redundancy with reg-researchers relationship
in SFA).
Created slab_xp giving information about which slice has been used
for whcih experiment.
Modified GetSlices, GetLeases, AddLeases as well as slabimporter accordingly.

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