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

12 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

12 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

12 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

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

12 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.

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

12 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

12 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

12 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

12 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

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

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

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

12 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

12 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

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

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

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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 years agogeni_error cannot be None
Tony Mack [Thu, 13 Dec 2012 21:36:35 +0000 (16:36 -0500)]
geni_error cannot be None

12 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

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

12 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

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

12 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.

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

12 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.

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

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

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

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

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

12 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.

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

12 years agoremove debugging statement
Tony Mack [Wed, 12 Dec 2012 01:44:52 +0000 (20:44 -0500)]
remove debugging statement

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

12 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

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

12 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]

12 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

12 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.

12 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.

12 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

12 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

12 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

12 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

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

12 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

12 years agoProvision requires the geni_rspec_version option
Tony Mack [Wed, 5 Dec 2012 19:24:48 +0000 (14:24 -0500)]
Provision requires the geni_rspec_version option

12 years agoProvision requires the geni_rspec_version option
Tony Mack [Wed, 5 Dec 2012 19:01:58 +0000 (14:01 -0500)]
Provision requires the geni_rspec_version option

12 years agofix IndexError
Tony Mack [Wed, 5 Dec 2012 18:47:51 +0000 (13:47 -0500)]
fix IndexError

12 years agoraise exception if we don't support credential type
Tony Mack [Wed, 5 Dec 2012 18:39:57 +0000 (13:39 -0500)]
raise exception if we don't support credential type

12 years agodefault values for geni_type and geni_version
Tony Mack [Wed, 5 Dec 2012 18:36:35 +0000 (13:36 -0500)]
default values for geni_type and geni_version

12 years agoDelete should return a list of structs or an empty list of there are not slivers...
Tony Mack [Wed, 5 Dec 2012 18:33:15 +0000 (13:33 -0500)]
Delete should return a list of structs or an empty list of there are not slivers to delete

12 years agodescribe should return an empty rspec instead of an error if there are not allocated...
Tony Mack [Wed, 5 Dec 2012 18:22:50 +0000 (13:22 -0500)]
describe should return an empty rspec instead of an error if there are not allocated/provisioned slivers

12 years agorenew returns a list of structs
Tony Mack [Wed, 5 Dec 2012 18:11:08 +0000 (13:11 -0500)]
renew returns a list of structs

12 years agoPerformOperationalAction can only be called on fully allocated slivers
Tony Mack [Wed, 5 Dec 2012 18:08:02 +0000 (13:08 -0500)]
PerformOperationalAction can only be called on fully allocated slivers

12 years agoFix bug
Tony Mack [Wed, 5 Dec 2012 18:05:11 +0000 (13:05 -0500)]
Fix bug

12 years agoPerformOperationalAction can only be called on fully allocated slivers
Tony Mack [Wed, 5 Dec 2012 18:03:21 +0000 (13:03 -0500)]
PerformOperationalAction can only be called on fully allocated slivers

12 years agofix sliver operational status
Tony Mack [Wed, 5 Dec 2012 17:31:21 +0000 (12:31 -0500)]
fix sliver operational status

12 years agonode elements in the manifest rspec should not contain available element
Tony Mack [Wed, 5 Dec 2012 16:27:37 +0000 (11:27 -0500)]
node elements in the manifest rspec should not contain available element

12 years agofix Status() return value
Tony Mack [Wed, 5 Dec 2012 15:47:32 +0000 (10:47 -0500)]
fix Status() return value

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

12 years agofix AttributeError when loading credential of unknown format
Tony Mack [Tue, 4 Dec 2012 14:19:35 +0000 (09:19 -0500)]
fix AttributeError when loading credential of unknown format

12 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

12 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

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

12 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

12 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

12 years agofix syntax error
Tony Mack [Mon, 3 Dec 2012 16:24:54 +0000 (11:24 -0500)]
fix syntax error

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

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

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

12 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

12 years agofix AttributeError
Tony Mack [Mon, 3 Dec 2012 14:50:16 +0000 (09:50 -0500)]
fix AttributeError

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

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

12 years agoTest with a new table to manage external federated usrs.
Sandrine Avakian [Mon, 3 Dec 2012 08:58:22 +0000 (09:58 +0100)]
Test with a new table to manage external federated usrs.

12 years agofix bug in set_allocations
Tony Mack [Sat, 1 Dec 2012 03:42:37 +0000 (22:42 -0500)]
fix bug in set_allocations

12 years agofixed syntax error...adding change back.
Tony Mack [Sat, 1 Dec 2012 03:27:54 +0000 (22:27 -0500)]
fixed syntax error...adding change back.

12 years agorefactored
Tony Mack [Sat, 1 Dec 2012 03:01:06 +0000 (22:01 -0500)]
refactored

12 years agoadded set_allocations() and delete_allocations()
Tony Mack [Sat, 1 Dec 2012 02:16:42 +0000 (21:16 -0500)]
added set_allocations() and delete_allocations()

12 years agofix NameError
Tony Mack [Sat, 1 Dec 2012 01:26:53 +0000 (20:26 -0500)]
fix NameError

12 years agodescribe should return a rspec of type 'manifest'
Tony Mack [Sat, 1 Dec 2012 01:24:09 +0000 (20:24 -0500)]
describe should return a rspec of type 'manifest'

12 years agofix sliver_id in describe
Tony Mack [Sat, 1 Dec 2012 01:23:33 +0000 (20:23 -0500)]
fix sliver_id in describe

12 years agorevert last change
Tony Mack [Sat, 1 Dec 2012 00:42:52 +0000 (19:42 -0500)]
revert last change

12 years agoremove sliver allocation record when deleting slivers
Tony Mack [Sat, 1 Dec 2012 00:41:57 +0000 (19:41 -0500)]
remove sliver allocation record when deleting slivers

12 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

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

12 years agoverify_slice_nodes now returns the correct set of nodes
Tony Mack [Fri, 30 Nov 2012 02:11:58 +0000 (21:11 -0500)]
verify_slice_nodes now returns the correct set of nodes

12 years agofix sliver allocation states
Tony Mack [Fri, 30 Nov 2012 02:11:19 +0000 (21:11 -0500)]
fix sliver allocation states