6 years agosimplify normalize_input_researcher
Thierry Parmentelat [Sun, 4 May 2014 20:26:07 +0000]
simplify normalize_input_researcher
nobody ever complained aobut this 'researchers' thing os let's keep things simple here

6 years agoreview the comment about normalizing input records in register/update
Thierry Parmentelat [Sun, 4 May 2014 20:24:44 +0000]
review the comment about normalizing input records in register/update

6 years agocleaning up
Thierry Parmentelat [Sun, 4 May 2014 06:32:31 +0000]
cleaning up

6 years agoit is dangerous to set defaults to mutable objects like [] or {}
Thierry Parmentelat [Wed, 30 Apr 2014 10:43:49 +0000]
it is dangerous to set defaults to mutable objects like [] or {}
plus, we don't actually use this

6 years agodescription was not passed to register
Thierry Parmentelat [Wed, 30 Apr 2014 10:38:34 +0000]
description was not passed to register
email was not passed to update
use consistent ordering

6 years agothrow 1 as an exit retcod when things go wrong
Thierry Parmentelat [Wed, 30 Apr 2014 10:02:25 +0000]
throw 1 as an exit retcod when things go wrong

6 years agosfaadmin to use reg-researchers as well
Thierry Parmentelat [Wed, 30 Apr 2014 09:56:27 +0000]
sfaadmin to use reg-researchers as well

6 years agouse more consistent names @args -> @add_options - internal 'options'->'add_options...
Thierry Parmentelat [Wed, 30 Apr 2014 09:47:25 +0000]
use more consistent names @args -> @add_options - internal 'options'->'add_options' as well

6 years agoreordered imports
Thierry Parmentelat [Wed, 30 Apr 2014 09:41:21 +0000]
reordered imports

6 years agofix sfi aliases - sfi add would not work
Thierry Parmentelat [Wed, 30 Apr 2014 09:12:11 +0000]
fix sfi aliases - sfi add would not work

6 years agosfi exit code non-0 if unknown command
Thierry Parmentelat [Wed, 30 Apr 2014 09:11:00 +0000]
sfi exit code non-0 if unknown command

6 years agodealing with reg-researchers vs researcher
Thierry Parmentelat [Tue, 29 Apr 2014 16:28:26 +0000]
dealing with reg-researchers vs researcher
register and update now expect 'reg-researchers' to be set
for legacy if instead we find 'researcher' (sic: singular) then we pretend it was 'reg-researchers'
not terribly nice but should work for that one relation, others to follow

6 years agono change, reviews comments
Thierry Parmentelat [Tue, 29 Apr 2014 14:27:07 +0000]
no change, reviews comments

6 years agoadd_option based on command canonical name, so sfi add can recognize e.g. -t user
Thierry Parmentelat [Tue, 29 Apr 2014 10:47:13 +0000]
add_option based on command canonical name, so sfi add can recognize e.g. -t user

6 years agomore room for args
Thierry Parmentelat [Tue, 29 Apr 2014 10:46:04 +0000]
more room for args

6 years agosupport for --researchers none so one can clean the set of users in a slice - mostly...
Thierry Parmentelat [Mon, 28 Apr 2014 16:17:47 +0000]
support for --researchers none so one can clean the set of users in a slice - mostly a convenience for tests

6 years agorename register_command into declare_command that is less confusing now that we have...
Thierry Parmentelat [Mon, 28 Apr 2014 16:16:38 +0000]
rename register_command into declare_command that is less confusing now that we have a register command

6 years agoadd a -n/--no-details option to sfi show;
Thierry Parmentelat [Mon, 28 Apr 2014 15:45:16 +0000]
add a -n/--no-details option to sfi show;
when provided Resolve is called with details=False, so we really get only the registry's view

6 years agocreate the ability to defein aliases within afi commands
Thierry Parmentelat [Mon, 28 Apr 2014 15:44:25 +0000]
create the ability to defein aliases within afi commands
so fomw now on 'register' is the official name for calling registry's Register
sfi add can still be used as an alias

6 years agofix make sync in test infra based on lxc containers
Thierry Parmentelat [Mon, 28 Apr 2014 15:22:23 +0000]
fix make sync in test infra based on lxc containers

6 years agosomehow we happen to have persons and slices without an hrn
Thierry Parmentelat [Thu, 17 Apr 2014 10:00:30 +0000]
somehow we happen to have persons and slices without an hrn
until we get this more properly fixed these currently get skipped so the process can get through

6 years agocosmetic change for more readable logs
Thierry Parmentelat [Thu, 17 Apr 2014 09:59:38 +0000]
cosmetic change for more readable logs

6 years agofix so that sfadump can be used to inspect gids and creds
Thierry Parmentelat [Tue, 15 Apr 2014 16:05:56 +0000]
fix so that sfadump can be used to inspect gids and creds

6 years agoQuick patch as the registry on PLE was returning
Thierry Parmentelat [Wed, 9 Apr 2014 15:57:19 +0000]
Quick patch as the registry on PLE was returning
'urn': 'urn:publicid:IDN++ple'
which broke manifold down the road
With this patch in place we now get
'urn': 'urn:publicid:IDN+ple+authority+sa’
instead which is already better

6 years agoSetting tag sfa-3.1-3 sfa-3.1-3
Thierry Parmentelat [Thu, 3 Apr 2014 14:41:54 +0000]
Setting tag sfa-3.1-3
fix for user hrn's that have a dash in their leaf
fix for names of GENI federates
fix for SFA_MAX_SLICE_RENEW

6 years agomagic for debugging in make
Thierry Parmentelat [Wed, 2 Apr 2014 17:35:35 +0000]
magic for debugging in make

6 years agowhen GetCredential is called with an explicit type, do not 'guess' that we might...
Thierry Parmentelat [Tue, 1 Apr 2014 08:19:32 +0000]
when GetCredential is called with an explicit type, do not 'guess' that we might be dealing with a sliver based on hrn leaf

6 years agocosmetic, access dbsession object only when needed
Thierry Parmentelat [Tue, 1 Apr 2014 08:18:27 +0000]
cosmetic, access dbsession object only when needed

6 years agotest boxes don't have the /rootfs/ path anymore
Thierry Parmentelat [Mon, 31 Mar 2014 13:26:11 +0000]
test boxes don't have the /rootfs/ path anymore

6 years agopl: we need to distinguish between local pl sites/slices and foreign ones coming...
Mohamed Larabi [Fri, 28 Mar 2014 15:47:56 +0000]
pl: we need to distinguish between local pl sites/slices and foreign ones coming from the federation

6 years agoDescribe(): no need to send None value in api_options
Mohamed Larabi [Fri, 28 Mar 2014 13:30:32 +0000]
Describe(): no need to send None value in api_options

6 years agov2_to_v3_adapter : record.sync() takes dbsession as an arg
Mohamed Larabi [Wed, 19 Mar 2014 11:11:19 +0000]
v2_to_v3_adapter : record.sync() takes dbsession as an arg

6 years agodummyaggregate: fix get_slivers()
Mohamed Larabi [Fri, 7 Mar 2014 14:50:53 +0000]
dummyaggregate: fix get_slivers()

6 years agodummy driver: typo fix
Mohamed Larabi [Fri, 7 Mar 2014 12:50:26 +0000]
dummy driver: typo fix

6 years agodont truncate login base
Tony Mack [Fri, 28 Feb 2014 19:44:24 +0000]
dont truncate login base

6 years agofix NameError
Tony Mack [Thu, 27 Feb 2014 14:13:18 +0000]
fix NameError

6 years agouse SFA_MAX_SLICE_RENEW instead of hardcoded value to determine the maximum days...
Tony Mack [Wed, 26 Feb 2014 00:20:51 +0000]
use SFA_MAX_SLICE_RENEW instead of hardcoded value to determine the maximum days a slice can be renewed

6 years agouse plxrn to process xrns
Tony Mack [Tue, 25 Feb 2014 15:17:10 +0000]
use plxrn to process xrns

6 years agofix regex in pl_login_base()
Tony Mack [Tue, 25 Feb 2014 15:13:31 +0000]
fix regex in pl_login_base()

6 years agoSetting tag sfa-3.1-2 sfa-3.1-2
Mohamed Larabi [Thu, 20 Feb 2014 13:17:54 +0000]
Setting tag sfa-3.1-2
-- Core
added support for geni_extend_alap (as long as possible) in RenewSliver.
adding support for geni_speaking_for option,
-- RSpecs
Add support for Ofelia OpenFlow RSpecs
-- PlanetLab
Set Admins as PI's of the top authority while importing.
-- IoTLab
Iotlab and cortexlab ported to geni-v3.
Moving methods using the SFA db and api object from Shell to Driver.
Propagating the changes in iotlabimporter, iotlabaggregate and iotlabslices.
Iotlab now using sfa database for the special table lease_table.
Using alchemy.py classes to create a session to the DB.
Cleaning and documenting.
Fix Allocate() API call
-- client
handle single slivers.
fix sfi.py version and trusted.
-- PlanetLab
handle single slivers by Provision(), Delete() and PerformOperationalAction().
fix foreign slices mgt in sliver_to_slice_xrn() and check_sliver_credentials().
wider mgt of new slice url and description.
-- Packaging
rename senslab package into iotlab.
don't package xml-builder anymore.
fix debian/ubuntu packaging.

6 years agoplimporter: use Site/Slice/Person HRN tags instead of calculating the HRN
Mohamed Larabi [Wed, 19 Feb 2014 15:26:27 +0000]
plimporter: use Site/Slice/Person HRN tags instead of calculating the HRN

6 years agohandle escape chars in hrn
Tony Mack [Mon, 17 Feb 2014 16:36:46 +0000]
handle escape chars in hrn

6 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Loic Baron [Fri, 14 Feb 2014 16:30:49 +0000]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

6 years agoOfelia OpenFlow RSpec parsing support
Loic Baron [Fri, 14 Feb 2014 16:30:32 +0000]
Ofelia OpenFlow RSpec parsing support

6 years agoOfelia OpenFlow RSpec parsing support
Jordan Augé [Fri, 14 Feb 2014 16:27:33 +0000]
Ofelia OpenFlow RSpec parsing support

6 years agomissing import in Allocate.py
Mohamed Larabi [Fri, 31 Jan 2014 09:33:11 +0000]
missing import in Allocate.py

6 years agoPlImporter: Set PL Admins as PI's of the top authority
Mohamed Larabi [Wed, 29 Jan 2014 11:08:56 +0000]
PlImporter: Set PL Admins as PI's of the top authority

6 years agofix indentation error in auth.py
Mohamed Larabi [Tue, 28 Jan 2014 09:11:35 +0000]
fix indentation error in auth.py

6 years agoadding support for geni_speaking_for option
Tony Mack [Wed, 22 Jan 2014 03:03:23 +0000]
adding support for geni_speaking_for option

6 years agoadded support for geni_extend_alap (as long as possible) in RenewSliver
Tony Mack [Wed, 22 Jan 2014 02:20:29 +0000]
added support for geni_extend_alap (as long as possible) in RenewSliver

6 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Saint-Marcel Frederic [Fri, 17 Jan 2014 15:14:22 +0000]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

6 years agobugfix Iot-LAB driver geni-v3 allocate with FireXP
Saint-Marcel Frederic [Fri, 17 Jan 2014 15:14:17 +0000]
bugfix Iot-LAB driver geni-v3 allocate with FireXP

6 years agorename package senslab into iotlab
Mohamed Larabi [Thu, 16 Jan 2014 17:14:45 +0000]
rename package senslab into iotlab

6 years agopackage cortexlab
Mohamed Larabi [Thu, 16 Jan 2014 16:55:06 +0000]
package cortexlab

6 years agoturn off cortexlab for now
Mohamed Larabi [Thu, 16 Jan 2014 16:15:54 +0000]
turn off cortexlab for now

6 years agorpm pkg: don't package xml-builder anymore
Mohamed Larabi [Wed, 15 Jan 2014 13:25:03 +0000]
rpm pkg: don't package xml-builder anymore

6 years agodeb pkg: pkg sfa depends on sfa-common pkg
Mohamed Larabi [Tue, 14 Jan 2014 14:18:37 +0000]
deb pkg: pkg sfa depends on sfa-common pkg

6 years agodeb pkg: clean up
Mohamed Larabi [Tue, 14 Jan 2014 14:14:33 +0000]
deb pkg: clean up

6 years agodeb pkg: override rules with make version
Mohamed Larabi [Tue, 14 Jan 2014 14:07:01 +0000]
deb pkg: override rules with make version

6 years agodeb pkg: fix sfa-tests pkg
Mohamed Larabi [Tue, 14 Jan 2014 13:40:28 +0000]
deb pkg: fix sfa-tests pkg

6 years agodeb pkg: don't package xmlbuilder anymore
Mohamed Larabi [Tue, 14 Jan 2014 13:28:14 +0000]
deb pkg: don't package xmlbuilder anymore

6 years agodeb pkg: handle wsdl files
Mohamed Larabi [Tue, 14 Jan 2014 13:18:47 +0000]
deb pkg: handle wsdl files

6 years agooverride dh_prep in debian/rules
Mohamed Larabi [Tue, 14 Jan 2014 11:43:29 +0000]
override dh_prep in debian/rules

6 years agoattempt to override debian/rules
Mohamed Larabi [Tue, 14 Jan 2014 11:33:08 +0000]
attempt to override debian/rules

6 years agodeb pkg: remove symlinked binaries from *.install files
Mohamed Larabi [Tue, 14 Jan 2014 10:06:50 +0000]
deb pkg: remove symlinked binaries from *.install files

6 years agoanother attempt to fix debian/ubuntu packaging
Mohamed Larabi [Tue, 14 Jan 2014 09:36:23 +0000]
another attempt to fix debian/ubuntu packaging

6 years agorevert the latest changes on debian/ubuntu packaging
Mohamed Larabi [Mon, 13 Jan 2014 18:15:46 +0000]
revert the latest changes on debian/ubuntu packaging

6 years agoRevert "fix sfa-client pkg"
Mohamed Larabi [Mon, 13 Jan 2014 18:10:06 +0000]
Revert "fix sfa-client pkg"

This reverts commit 0a98153060ac6a323f24720f7418010508a6f2b3.

6 years agoRevert "fix sfa-client pkg"
Mohamed Larabi [Mon, 13 Jan 2014 18:09:29 +0000]
Revert "fix sfa-client pkg"

This reverts commit 000636812d39b36d343b3660417c3052b8555572.

6 years agofix sfa-client pkg
Mohamed Larabi [Mon, 13 Jan 2014 17:59:48 +0000]
fix sfa-client pkg

6 years agofix sfa-client pkg
Mohamed Larabi [Mon, 13 Jan 2014 17:56:36 +0000]
fix sfa-client pkg

6 years agodebian pkg: temporarely turn off *.wsdl packaging
Mohamed Larabi [Mon, 13 Jan 2014 17:52:23 +0000]
debian pkg: temporarely turn off *.wsdl packaging

6 years agoyet another attempt
Mohamed Larabi [Mon, 13 Jan 2014 17:37:31 +0000]
yet another attempt

6 years agodebian pgk: attempt to fix *.wsdl handling
Mohamed Larabi [Mon, 13 Jan 2014 17:00:51 +0000]
debian pgk: attempt to fix *.wsdl handling

6 years agodebian packaging fix
Mohamed Larabi [Mon, 13 Jan 2014 16:32:51 +0000]
debian packaging fix

6 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Mohamed Larabi [Mon, 13 Jan 2014 16:24:38 +0000]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

6 years agoattempt to fix debian packaging
Mohamed Larabi [Mon, 13 Jan 2014 16:24:31 +0000]
attempt to fix debian packaging

6 years agoAdding sfa/cortexlab in setup.py.
Sandrine Avakian [Mon, 13 Jan 2014 14:14:18 +0000]
Adding sfa/cortexlab in setup.py.

6 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Sandrine Avakian [Mon, 13 Jan 2014 14:12:23 +0000]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

6 years agoFixing small mistakes in code / commentary.
Sandrine Avakian [Mon, 13 Jan 2014 14:12:04 +0000]
Fixing small mistakes in code / commentary.

6 years agoDebian/Ubuntu packaging: replace site-packages by dist-packages
Mohamed Larabi [Mon, 13 Jan 2014 13:08:35 +0000]
Debian/Ubuntu packaging: replace site-packages by dist-packages

6 years agoFurther modificatons for cortexlabv3.
Sandrine Avakian [Fri, 10 Jan 2014 10:13:56 +0000]
Further modificatons for cortexlabv3.
Cosmetic change in iotlabaggregate.

6 years agoSmall fixes in the documentation, test script and iotlabdriver.
Sandrine Avakian [Thu, 9 Jan 2014 16:21:03 +0000]
Small fixes in the documentation, test script and iotlabdriver.

6 years agoPorting cortexlab to geni-v3.
Sandrine Avakian [Thu, 9 Jan 2014 16:20:06 +0000]
Porting cortexlab to geni-v3.
May try to factor the code in the future, as Iotlab and Cortexlab drivers are similar.

6 years agocosmetic - Should use the same file as iotlab (iotlabslices) in
Sandrine Avakian [Tue, 7 Jan 2014 15:26:46 +0000]
cosmetic - Should use the same file as iotlab (iotlabslices) in
cortexlabdriver.

6 years agoCorrecting the doc in cortexlab.
Sandrine Avakian [Tue, 7 Jan 2014 15:25:05 +0000]
Correcting the doc in cortexlab.
Fixing bug in sfi_client_tests.py.

6 years agoAdding docs in cortexlab.
Sandrine Avakian [Tue, 7 Jan 2014 10:55:34 +0000]
Adding docs in cortexlab.

6 years agoWorkaround export certificate in sfaadmin
Loic Baron [Fri, 27 Dec 2013 09:54:31 +0000]
Workaround export certificate in sfaadmin

6 years agoDocumenting and cleaning test scripts in /testbeds/iotlab/tests.
Sandrine Avakian [Thu, 19 Dec 2013 14:41:48 +0000]
Documenting and cleaning test scripts in /testbeds/iotlab/tests.
Adding documentation in sphinx file index.rst.

6 years agoCleaning and documenting Iotlab files.
Sandrine Avakian [Wed, 18 Dec 2013 14:04:00 +0000]
Cleaning and documenting Iotlab files.

6 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Sandrine Avakian [Wed, 18 Dec 2013 14:02:22 +0000]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

6 years agoAdding sphinx doc configuration files in iotlab.
Sandrine Avakian [Wed, 18 Dec 2013 13:54:48 +0000]
Adding sphinx doc configuration files in iotlab.
Creating a new "docs" folder in sfa/iotlab.

6 years agosfi: Renew() handles single slivers + cosmetic
Mohamed Larabi [Tue, 17 Dec 2013 14:12:09 +0000]
sfi: Renew() handles single slivers + cosmetic

6 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Mohamed Larabi [Mon, 16 Dec 2013 17:44:40 +0000]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

6 years agoProvision(), Delete() and PerformOperationalAction() handle single slivers
Mohamed Larabi [Mon, 16 Dec 2013 17:44:32 +0000]
Provision(), Delete() and PerformOperationalAction() handle single slivers

6 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Sandrine Avakian [Mon, 16 Dec 2013 12:57:14 +0000]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

6 years agoIotlab now using sfa database for the special table lease_table.
Sandrine Avakian [Mon, 16 Dec 2013 12:56:23 +0000]
Iotlab now using sfa database for the special table lease_table.
Using alchemy.py classes to create a session to the DB.

6 years agooups
Mohamed Larabi [Mon, 16 Dec 2013 09:58:06 +0000]
oups

6 years agopldriver: sliver_to_slice_xrn() and check_sliver_credentials() mgt foreign slices
Mohamed Larabi [Mon, 16 Dec 2013 09:42:38 +0000]
pldriver: sliver_to_slice_xrn() and check_sliver_credentials() mgt foreign slices

6 years agoMoving methods using the SFA db and api object from IotlabShell to IotlabDriver.
Sandrine Avakian [Fri, 13 Dec 2013 16:00:35 +0000]
Moving methods using the SFA db and api object from IotlabShell to IotlabDriver.
Propagating the changes in iotlabimporter, iotlabaggregate and iotlabslices.