sfa.git
10 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 (17:24 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

10 years agoattempt to fix debian packaging
Mohamed Larabi [Mon, 13 Jan 2014 16:24:31 +0000 (17:24 +0100)]
attempt to fix debian packaging

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

10 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 (15:12 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

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

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

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

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

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

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

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

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

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

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

10 years agoCleaning and documenting Iotlab files.
Sandrine Avakian [Wed, 18 Dec 2013 14:04:00 +0000 (15:04 +0100)]
Cleaning and documenting Iotlab files.

10 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 (15:02 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

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

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

10 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 (18:44 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

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

10 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 (13:57 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

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

10 years agooups
Mohamed Larabi [Mon, 16 Dec 2013 09:58:06 +0000 (10:58 +0100)]
oups

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

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

10 years agoFunctional v3 version of Iotlab.
Sandrine Avakian [Fri, 13 Dec 2013 14:39:21 +0000 (15:39 +0100)]
Functional v3 version of Iotlab.

10 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Sandrine Avakian [Fri, 13 Dec 2013 14:35:44 +0000 (15:35 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

10 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Mohamed Larabi [Fri, 13 Dec 2013 10:25:09 +0000 (11:25 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

10 years agopl: wider mgt of new slice url and description
Mohamed Larabi [Fri, 13 Dec 2013 10:25:02 +0000 (11:25 +0100)]
pl: wider mgt of new slice url and description

10 years agofix for sfi version and sfi trusted, that were broken because of the -R option
Thierry Parmentelat [Thu, 12 Dec 2013 11:36:03 +0000 (12:36 +0100)]
fix for sfi version and sfi trusted, that were broken because of the -R option

10 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Sandrine Avakian [Tue, 10 Dec 2013 13:05:53 +0000 (14:05 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

10 years agoAllocate, Describe, Provision now working for iotlab.
Sandrine Avakian [Tue, 10 Dec 2013 12:42:55 +0000 (13:42 +0100)]
Allocate, Describe, Provision now working for iotlab.

10 years agoSetting tag sfa-3.1-1 sfa-3.1-1
Thierry Parmentelat [Tue, 10 Dec 2013 07:57:12 +0000 (08:57 +0100)]
Setting tag sfa-3.1-1
-- core
clean up rspecs.
GENIv3 rspecs enhirits everything from pgv2.
fix dbsession mgt by attributing each incoming API call has its own dbsession.
update all drivers and v2_to_v3_adapter according to dbsession fix.
fix DB migration.
-- client
fix sfi.py myslice.
sfi.py new option "my_pkcs12".
sfi.py defaulr rspec version is GENIv3
sfi.py trusted target either Registry interface or Slice interface.
-- PlanetLab
rebase all pl driver operations around the objects HRNs.
ignore objects (Site/Slice/Person/Node) coming from MyPLC peering.
importer ignores sites with tag sfa_created='True'.
-- IoTLab
In progress writing of native AM API v3 compliant driver.

10 years agobump version number to 3.1
Thierry Parmentelat [Tue, 10 Dec 2013 07:55:06 +0000 (08:55 +0100)]
bump version number to 3.1

10 years agopl: set new person HRN after adding it to the site
Mohamed Larabi [Thu, 5 Dec 2013 10:54:22 +0000 (11:54 +0100)]
pl: set new person HRN after adding it to the site

10 years agoplslices.verify_person: get the site and slice of a person using their HRNs
Mohamed Larabi [Thu, 5 Dec 2013 10:15:44 +0000 (11:15 +0100)]
plslices.verify_person: get the site and slice of a person using their HRNs

10 years agodon't import sites with tag 'sfa_created'==True
Mohamed Larabi [Wed, 4 Dec 2013 14:52:55 +0000 (15:52 +0100)]
don't import sites with tag 'sfa_created'==True

10 years agoroll back the option --interface and use --registry-interface (-R) for both version...
Mohamed Larabi [Tue, 3 Dec 2013 10:00:21 +0000 (11:00 +0100)]
roll back the option --interface and use --registry-interface (-R) for both version and trusted calls

10 years agopgv2services fix
Mohamed Larabi [Mon, 2 Dec 2013 19:22:08 +0000 (20:22 +0100)]
pgv2services fix

10 years agosfi.py: fix storing adv rspec in a file
Mohamed Larabi [Mon, 2 Dec 2013 19:19:27 +0000 (20:19 +0100)]
sfi.py: fix storing adv rspec in a file

10 years agosfi.py: use option "interface" to select the SFA interface to talk to (sm or registry...
Mohamed Larabi [Mon, 2 Dec 2013 17:39:31 +0000 (18:39 +0100)]
sfi.py: use option "interface" to select the SFA interface to talk to (sm or registry), and update "version" and "trusted" accordingly

10 years agoRemove IotLab flavour from V2ToV3Adapter supported flavours
Mohamed Larabi [Mon, 2 Dec 2013 13:30:29 +0000 (14:30 +0100)]
Remove IotLab flavour from V2ToV3Adapter supported flavours

10 years agoremove rspec/elements/v3 from setup.py packages
Mohamed Larabi [Mon, 2 Dec 2013 12:35:46 +0000 (13:35 +0100)]
remove rspec/elements/v3 from setup.py packages

10 years agorspecs pgv3 enhirits everything from pgv2
Mohamed Larabi [Thu, 28 Nov 2013 14:36:37 +0000 (15:36 +0100)]
rspecs pgv3 enhirits everything from pgv2

10 years agoDescribe(): look for the slice based on its HRN
Mohamed Larabi [Wed, 27 Nov 2013 17:23:41 +0000 (18:23 +0100)]
Describe(): look for the slice based on its HRN

10 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Mohamed Larabi [Tue, 26 Nov 2013 15:49:11 +0000 (16:49 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

10 years agofix get_services for rspecs pgv2 and geniv3
Mohamed Larabi [Tue, 26 Nov 2013 15:49:01 +0000 (16:49 +0100)]
fix get_services for rspecs pgv2 and geniv3

10 years agoBug fix : IotlabShell does not take an api object as a paremater
Sandrine Avakian [Tue, 26 Nov 2013 15:10:07 +0000 (16:10 +0100)]
Bug fix : IotlabShell does not take an api object as a paremater
but a config object.

10 years agoAdding iotlabxrn.py
Sandrine Avakian [Tue, 26 Nov 2013 14:48:43 +0000 (15:48 +0100)]
Adding iotlabxrn.py

10 years agominor: fix save_rspec_to_file in sfi.py
Mohamed Larabi [Tue, 26 Nov 2013 14:46:58 +0000 (15:46 +0100)]
minor: fix save_rspec_to_file in sfi.py

10 years agoMerge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3
Sandrine Avakian [Tue, 26 Nov 2013 14:46:36 +0000 (15:46 +0100)]
Merge branch 'geni-v3' of ssh://git.onelab.eu/git/sfa into geni-v3

10 years agoIotlab moving to geni-v3 : First commit
Sandrine Avakian [Tue, 26 Nov 2013 14:45:08 +0000 (15:45 +0100)]
Iotlab moving to geni-v3 : First commit
Changing iotlabimporter to use IotlabShell instead of the IotlabDriver
(config replaced by api).
Adding Describe and list_resources in iotlabaggregate.py.

10 years agosfi: default rspec version is GENIv3
Mohamed Larabi [Tue, 26 Nov 2013 14:35:31 +0000 (15:35 +0100)]
sfi: default rspec version is GENIv3

10 years agopl cleanup: remove myplc peering residues
Mohamed Larabi [Tue, 26 Nov 2013 14:19:10 +0000 (15:19 +0100)]
pl cleanup: remove myplc peering residues

10 years agoenable the person's account after being registered
Mohamed Larabi [Tue, 26 Nov 2013 10:58:27 +0000 (11:58 +0100)]
enable the person's account after being registered

10 years agoDB Migration: fix 003_sliver_allocations.py
Mohamed Larabi [Mon, 25 Nov 2013 16:53:23 +0000 (17:53 +0100)]
DB Migration: fix 003_sliver_allocations.py

10 years agopldriver.Register(): add person to site anyway
Mohamed Larabi [Thu, 21 Nov 2013 15:27:52 +0000 (16:27 +0100)]
pldriver.Register(): add person to site anyway

10 years agoignore Persons/Slices/Sites/Nodes that comes from plc peering
Mohamed Larabi [Thu, 21 Nov 2013 14:44:23 +0000 (15:44 +0100)]
ignore Persons/Slices/Sites/Nodes that comes from plc peering

10 years agofix dbsession retrieval in plaggregate
Mohamed Larabi [Thu, 21 Nov 2013 13:37:40 +0000 (14:37 +0100)]
fix dbsession retrieval in plaggregate

10 years agocheck/set slice url and description when creating a new slice
Mohamed Larabi [Thu, 21 Nov 2013 13:32:25 +0000 (14:32 +0100)]
check/set slice url and description when creating a new slice

10 years agoupdate_cert_records() uses global_dbsession
Mohamed Larabi [Thu, 21 Nov 2013 11:37:09 +0000 (12:37 +0100)]
update_cert_records() uses global_dbsession

10 years agoextend AM version with sfa field
Mohamed Larabi [Thu, 21 Nov 2013 11:32:17 +0000 (12:32 +0100)]
extend AM version with sfa field

10 years agoapply dbsession changes on v2_to_v3_adapter
Mohamed Larabi [Mon, 18 Nov 2013 09:44:50 +0000 (10:44 +0100)]
apply dbsession changes on v2_to_v3_adapter

10 years agoupdate v2_to_v3_adapter constructor
Mohamed Larabi [Fri, 15 Nov 2013 15:23:48 +0000 (16:23 +0100)]
update v2_to_v3_adapter constructor

10 years agothis should end the move to api-related dbsession for the iotlab driver
Thierry Parmentelat [Fri, 15 Nov 2013 14:13:10 +0000 (15:13 +0100)]
this should end the move to api-related dbsession for the iotlab driver

10 years agoChanging get_user_record into a normal object method.
Sandrine Avakian [Fri, 15 Nov 2013 14:01:16 +0000 (15:01 +0100)]
Changing get_user_record into a normal object method.

10 years agoTesting cortexlab objects - few fixes.
Sandrine Avakian [Fri, 15 Nov 2013 14:00:46 +0000 (15:00 +0100)]
Testing cortexlab objects - few fixes.

10 years agoAdding file to be completed by cortexlab testbed calls to get the nodes,
Sandrine Avakian [Fri, 15 Nov 2013 13:59:33 +0000 (14:59 +0100)]
Adding file to be completed by cortexlab testbed calls to get the nodes,
leases and slices.

10 years agoone remaining staticmethod in iotlabdriver needs dbsession
Thierry Parmentelat [Fri, 15 Nov 2013 13:48:13 +0000 (14:48 +0100)]
one remaining staticmethod in iotlabdriver needs dbsession
updated this one, + comments on how to do this properly

10 years agoiotlabshell won’t use global dbsession anymore
Thierry Parmentelat [Fri, 15 Nov 2013 13:47:03 +0000 (14:47 +0100)]
iotlabshell won’t use global dbsession anymore

10 years agobuild drivers from an api instance, not a config anymore
Thierry Parmentelat [Fri, 15 Nov 2013 13:44:30 +0000 (14:44 +0100)]
build drivers from an api instance, not a config anymore

10 years agoRenaming variable holding a reference to the iotlab database.
Sandrine Avakian [Thu, 14 Nov 2013 15:26:12 +0000 (16:26 +0100)]
Renaming variable holding a reference to the iotlab database.

10 years agoFollowing methods are no longer static in iotlabshell / cortexlabshell:
Sandrine Avakian [Thu, 14 Nov 2013 14:12:14 +0000 (15:12 +0100)]
Following methods are no longer static in iotlabshell / cortexlabshell:
- GetKeys
- _sql_get_slice_info
- _sql_get_slice_info_from_user
- GetPeers
- AddSlice
-__add_person_to_db

10 years agobug fix in iotlabdriver. cleaning in iotlabshell.
Sandrine Avakian [Thu, 14 Nov 2013 13:42:56 +0000 (14:42 +0100)]
bug fix in iotlabdriver. cleaning in iotlabshell.

10 years agoBug fix in test scipt.
Sandrine Avakian [Thu, 14 Nov 2013 13:35:20 +0000 (14:35 +0100)]
Bug fix in test scipt.

10 years agoCortexlab driver modifications - propagating cortexlabshell
Sandrine Avakian [Thu, 14 Nov 2013 12:44:43 +0000 (13:44 +0100)]
Cortexlab driver modifications - propagating cortexlabshell

10 years agoChanging iotlabapi to iotlabshell - propagating the changes
Sandrine Avakian [Thu, 14 Nov 2013 10:27:40 +0000 (11:27 +0100)]
Changing iotlabapi to iotlabshell - propagating the changes

10 years agoCleaner version of cortexlab.
Sandrine Avakian [Wed, 13 Nov 2013 14:24:55 +0000 (15:24 +0100)]
Cleaner version of cortexlab.

10 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
Git User [Thu, 14 Nov 2013 07:34:43 +0000 (02:34 -0500)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

10 years agoMerge branch 'geni-v3' into dbsession
Thierry Parmentelat [Thu, 14 Nov 2013 07:31:26 +0000 (08:31 +0100)]
Merge branch 'geni-v3' into dbsession
dbsession at this point is almost in sync with geni-v3, let's integrate tehe rest of the deltas

10 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
Git User [Wed, 13 Nov 2013 17:34:53 +0000 (12:34 -0500)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

10 years agoplshell: explicitly cast to string PL Username and AuthString
Mohamed Larabi [Wed, 13 Nov 2013 17:27:36 +0000 (18:27 +0100)]
plshell: explicitly cast to string PL Username and AuthString

10 years agofix indentation error
Mohamed Larabi [Wed, 13 Nov 2013 08:43:41 +0000 (09:43 +0100)]
fix indentation error

10 years agoMerge remote-tracking branch 'origin/geni-v3' into geni-v3
Git User [Tue, 12 Nov 2013 22:32:20 +0000 (17:32 -0500)]
Merge remote-tracking branch 'origin/geni-v3' into geni-v3

10 years agopldriver: set Site/Slice/Person HRN in Register() and Update()
Mohamed Larabi [Tue, 12 Nov 2013 22:30:16 +0000 (23:30 +0100)]
pldriver: set Site/Slice/Person HRN in Register() and Update()

10 years agoupdated dbsession.readme
Thierry Parmentelat [Tue, 12 Nov 2013 13:35:25 +0000 (14:35 +0100)]
updated dbsession.readme

10 years agoUpdate federica driver constructor
Mohamed Larabi [Tue, 12 Nov 2013 10:40:15 +0000 (11:40 +0100)]
Update federica driver constructor

10 years agofix dbsession retrieval in plslices
Mohamed Larabi [Tue, 12 Nov 2013 10:34:52 +0000 (11:34 +0100)]
fix dbsession retrieval in plslices

10 years agoApply dbsession changes on openstack driver
Mohamed Larabi [Tue, 12 Nov 2013 10:29:52 +0000 (11:29 +0100)]
Apply dbsession changes on openstack driver

10 years agoApply dbsession changes on Nitos driver
Mohamed Larabi [Tue, 12 Nov 2013 10:18:48 +0000 (11:18 +0100)]
Apply dbsession changes on Nitos driver

10 years agoApply dbsession changes on dummy driver
Mohamed Larabi [Tue, 12 Nov 2013 10:13:23 +0000 (11:13 +0100)]
Apply dbsession changes on dummy driver

10 years agoMerge remote-tracking branch 'local_master/geni-v3' into geni-v3
Git User [Sun, 10 Nov 2013 22:59:07 +0000 (17:59 -0500)]
Merge remote-tracking branch 'local_master/geni-v3' into geni-v3

10 years agostart a readme on this move
Thierry Parmentelat [Sat, 9 Nov 2013 09:25:45 +0000 (10:25 +0100)]
start a readme on this move

10 years agooops, aggregate manager needs to access driver through api too
Thierry Parmentelat [Sat, 9 Nov 2013 09:13:05 +0000 (10:13 +0100)]
oops, aggregate manager needs to access driver through api too

10 years agocomment / clarification
Thierry Parmentelat [Sat, 9 Nov 2013 09:12:36 +0000 (10:12 +0100)]
comment / clarification

10 years agoattempt to make api-creation code more robust and leak-proof
Thierry Parmentelat [Sat, 9 Nov 2013 08:34:28 +0000 (09:34 +0100)]
attempt to make api-creation code more robust and leak-proof

10 years agobugfix - the way update_driver_relation(s) gets to access its driver
Thierry Parmentelat [Sat, 9 Nov 2013 08:33:17 +0000 (09:33 +0100)]
bugfix - the way update_driver_relation(s) gets to access its driver

10 years agothe generic architecture had a serious flaw
Thierry Parmentelat [Fri, 8 Nov 2013 15:53:00 +0000 (16:53 +0100)]
the generic architecture had a serious flaw
we used to have api -> manager -> driver
BUT in actuality api and driver are multiple (essentially one per request) while manager is unique in the process…
this was causing the bug that Jordan reported with simultaneous api calls

From now on we only have
api->manager
api->driver

10 years agominor
Mohamed Larabi [Fri, 8 Nov 2013 11:38:46 +0000 (12:38 +0100)]
minor

10 years agofix identation error
Mohamed Larabi [Fri, 8 Nov 2013 09:25:09 +0000 (10:25 +0100)]
fix identation error