sfa.git
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

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

11 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

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

11 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

11 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

11 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

11 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

11 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

11 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

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

11 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

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

11 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

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

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

11 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

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 agofix syntax error
Tony Mack [Mon, 3 Dec 2012 16:24:54 +0000 (11:24 -0500)]
fix syntax error

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 agofix AttributeError
Tony Mack [Mon, 3 Dec 2012 14:50:16 +0000 (09:50 -0500)]
fix AttributeError

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

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

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

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

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

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

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

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

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

11 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

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

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

11 years agocomment out code that overwrites site specific sfa_db values with myplc db values
Tony Mack [Fri, 30 Nov 2012 02:10:59 +0000 (21:10 -0500)]
comment out code that overwrites site specific sfa_db values with myplc db values

11 years agoSliverAllocation
Tony Mack [Fri, 30 Nov 2012 01:24:32 +0000 (20:24 -0500)]
SliverAllocation

11 years agoadded sliver_allocation table
Tony Mack [Thu, 29 Nov 2012 21:40:51 +0000 (16:40 -0500)]
added sliver_allocation table

11 years agoInstantiating Credential objects with string param is not safe when arg is unknown...
Tony Mack [Thu, 29 Nov 2012 20:57:07 +0000 (15:57 -0500)]
Instantiating Credential objects with string param is not safe when arg is unknown. Use cred param instead

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 agofix sliver urn and expires timestamp in delete result
Tony Mack [Wed, 28 Nov 2012 15:16:30 +0000 (10:16 -0500)]
fix sliver urn and expires timestamp in delete result

11 years agoModifying AddPerson.
Sandrine Avakian [Wed, 28 Nov 2012 13:43:54 +0000 (14:43 +0100)]
Modifying AddPerson.