osm/RO.git
2 years agoRevert "Revert "Removing OpenNebula code"" 74/11474/1 v9.0 v9.1.5
almagia [Wed, 1 Dec 2021 08:53:22 +0000 (09:53 +0100)]
Revert "Revert "Removing OpenNebula code""

This reverts commit f1f09296f3f991681894629c74cbaae6013528bb.

Requested by TSC

Change-Id: I487dfdde3420b2ef9d3646f8182fc0b97f805fab

2 years agoRevert "Removing OpenNebula code" 70/11470/1
sousaedu [Tue, 30 Nov 2021 21:05:12 +0000 (21:05 +0000)]
Revert "Removing OpenNebula code"

This reverts commit 62a4e89f4f744e9d8395835e2899476df33e740e.

Change-Id: Idc0710b4c45cbe18c1c3c30babcb5d7daf0d0979
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoRemoving OpenNebula code 65/11465/1
sousaedu [Tue, 30 Nov 2021 16:26:13 +0000 (16:26 +0000)]
Removing OpenNebula code

Change-Id: I2d11efd2a2b3303271db9372aafee1338945b0a0
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1811 - Disabling RO OpenNebula plugin 54/11454/3
sousaedu [Mon, 29 Nov 2021 09:28:15 +0000 (09:28 +0000)]
Fix bug 1811 - Disabling RO OpenNebula plugin

Change-Id: I52a7947450d83b91fac92170348f7d474a878d97
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1806 - adding swap disks 91/11391/1
sousaedu [Mon, 22 Nov 2021 14:09:15 +0000 (14:09 +0000)]
Fix bug 1806 - adding swap disks

Change-Id: I447a1da59d1efdd9209950a185b819e32c696012
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1803 - adding ephemeral disks 89/11389/1
sousaedu [Mon, 22 Nov 2021 14:02:17 +0000 (14:02 +0000)]
Fix bug 1803 - adding ephemeral disks

Change-Id: Ie29e598271b1aa5ab78d65826f513c31d0b580be
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1511 - adding support for persistent volumes 50/11350/1
sousaedu [Thu, 11 Nov 2021 22:00:27 +0000 (22:00 +0000)]
Fix bug 1511 - adding support for persistent volumes

Change-Id: I5691f7d7b1cc5b72e676c4181c94c9aee620cbd4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoRemoving networking-l2gw as a dependency 38/11138/2 v9.1.4
sousaedu [Wed, 1 Sep 2021 00:11:46 +0000 (01:11 +0100)]
Removing networking-l2gw as a dependency

Change-Id: Icc17edef09c256c2a25d3e8bdd1dde823ba97090
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1427 - tweaking timings in the locks 64/11064/1
sousaedu [Thu, 15 Jul 2021 09:48:14 +0000 (11:48 +0200)]
Fix bug 1427 - tweaking timings in the locks

Tweaking the locking timings to see if it decreases starvation locks.

Change-Id: If62aa28d5652dc707a1eebee22a25353bcb76ae9
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1572 - Reading availability-zone-hint for neutron from config 24/11024/2 v9.1.2 v9.1.3
sousaedu [Thu, 17 Jun 2021 14:39:29 +0000 (15:39 +0100)]
Fix bug 1572 - Reading availability-zone-hint for neutron from config

Fixes bug 1572 by reading the neutron-availability-zone-hint from VIM
plugin configuration, which is then applied at network-creation time.

Note: this patch also fixes some formatting issues that black showed.

Change-Id: Iaf152657ae31748ea6b4a123e8b0a0d9513cb692
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1544 to read properly size capabilities in Azure 75/10975/1
garciadeblas [Thu, 27 May 2021 10:00:30 +0000 (12:00 +0200)]
Fix bug 1544 to read properly size capabilities in Azure

Change-Id: Iff772db93b2d862848361ad40276dc8185379d63
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFeature 10591: Azure connector 73/10973/2
lloretgalleg [Wed, 31 Mar 2021 07:12:06 +0000 (07:12 +0000)]
Feature 10591: Azure connector

Change-Id: Ie3651177f5c228e408887af8baa647222fd51927
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoPip standardization and tox replacement 55/10855/5
sousaedu [Thu, 18 Feb 2021 13:57:01 +0000 (14:57 +0100)]
Pip standardization and tox replacement

Change-Id: I4b03caf38b2fff796f861628d271214ea4ad0010
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1537 to send dummy message to all kafka topics during startup 48/10948/1
garciadeblas [Thu, 20 May 2021 11:08:05 +0000 (13:08 +0200)]
Fix bug 1537 to send dummy message to all kafka topics during startup

Change-Id: I1ceeae4236f45fad1c971276412c71b6eb67c9de
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
(cherry picked from commit dc5ab15614e902e96466357c93731d7ee11945bf)

3 years agoFix 1475 - Incorrect description in instantiating error 86/10786/1
sousaedu [Tue, 11 May 2021 11:22:37 +0000 (13:22 +0200)]
Fix 1475 - Incorrect description in instantiating error

Change-Id: I099c07f8a66400fa4d3130d6234dd17867ad387f
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFixed bug 1452: Deploy KNF on dummy VIM 06/10706/1
lloretgalleg [Fri, 23 Apr 2021 11:25:09 +0000 (11:25 +0000)]
Fixed bug 1452: Deploy KNF on dummy VIM

Change-Id: I21160233b99a1cfe27ec2bbc3ab3005a81160d84
Signed-off-by: lloretgalleg <illoret@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix osm-common and RO-plugin dependencies to use v9.0 05/10605/1 bug1511 branch-bug1511-start v9.1.1 v9.1.1rc1
garciadeblas [Thu, 8 Apr 2021 20:22:16 +0000 (22:22 +0200)]
Fix osm-common and RO-plugin dependencies to use v9.0

The dependencies in requirements.txt were pointing to master
instead of pointing to v9.0. With the recent changes in the
repos, osm-common and RO-plugin do not have dependencies,
so errors might appear if this change is not applied.

The file setup.py was also updated because it was enough to specify
the requirements there as 'RO-plugin' and 'osm-common'.

Change-Id: I56a922364899fdd73eeb2bf6210f89d9f9ed14d0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoFix bug 1407 23/10423/1 v9.1.0
sousaedu [Mon, 1 Mar 2021 23:15:52 +0000 (00:15 +0100)]
Fix bug 1407

Change-Id: I694f47c2403983c87850447f027f370a6f375eb2
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1408 19/10419/1
sousaedu [Tue, 2 Mar 2021 00:42:51 +0000 (01:42 +0100)]
Fix bug 1408

Change-Id: I6ab12eb0aa9532676642cbf59db8ccc2f33c420b
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFix bug 1446: NS ends in state BUILDING 96/10396/5
lloretgalleg [Fri, 19 Feb 2021 12:06:52 +0000 (12:06 +0000)]
Fix bug 1446: NS ends in state BUILDING

Change-Id: Ideb6f0ac72637aca78d1b8906581409e153c4c7d
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agoFix bug 1445: Error service with SRIOV interfaces 95/10395/3
lloretgalleg [Fri, 19 Feb 2021 10:57:50 +0000 (10:57 +0000)]
Fix bug 1445: Error service with SRIOV interfaces

Change-Id: I838bbe41188b17f023569e2fdbd34173070b457c
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agoReformatting RO 04/10404/1
sousaedu [Wed, 17 Feb 2021 14:05:18 +0000 (15:05 +0100)]
Reformatting RO

Change-Id: I86e6a102b5bf2e0221b29096bbb132ca656844c5
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoFixing bug 1437 98/10398/2
sousaedu [Tue, 9 Feb 2021 14:30:01 +0000 (15:30 +0100)]
Fixing bug 1437

This patchset fixes bug 1437. There will need to be done extra
changes to make logging better.

Change-Id: I2b0e477093eba798c6cd4ce7bcc105ee78b610ed
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agoPartial fix for Bug 1408 97/10397/1
sousaedu [Wed, 3 Feb 2021 14:03:44 +0000 (15:03 +0100)]
Partial fix for Bug 1408

This fixes the access to a non-exisiting key.
There is another bug that is causing this in LCM (bug 1431).

Change-Id: Ied80beb56657ead95eefa9ed967eca84e623f9c3
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
3 years agofix 1386: enhance on lock procedure 48/10148/1
tierno [Wed, 9 Dec 2020 15:06:01 +0000 (15:06 +0000)]
fix 1386: enhance on lock procedure

locking of ro_tasks for HA enhancements:
- lock time is configurable by ro.cfg or ENV
(OSMRO_SERVER_TASK_LOCKED_TIME)
- lock time is reduced to 10min by default
- lock is renewed when needed by a new asyncio task at vim_admin

Change-Id: Icae02803e57713aca2f028884142fa152ee3d032
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix 1385: enhance unload vim from ns_thread when not needed 47/10147/1
tierno [Sun, 6 Dec 2020 18:27:16 +0000 (18:27 +0000)]
fix 1385: enhance unload vim from ns_thread when not needed

control of threads in in idle status (without vims to process)
and reuse it when needed

Change-Id: Ib7c5023eec18229fb86a1632b63aca5aef8d2a14
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoremove osm-im dependency from generated debian package 46/10146/1
tierno [Thu, 17 Dec 2020 22:55:31 +0000 (22:55 +0000)]
remove osm-im dependency from generated debian package

Change-Id: I6f7248a4c0b7204f1f37dab9aab0c4db6a96fa99
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoremove osm-im instalation at debug Dockerfile.local 90/10090/1 release-v9.0-start v9.0.0 v9.0.0rc1
tierno [Wed, 9 Dec 2020 18:19:34 +0000 (18:19 +0000)]
remove osm-im instalation at debug Dockerfile.local

Change-Id: I41b3514a502016cf3b23914b1f92a8ca494f6034
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoremoved im dependency for NG-RO 88/10088/1
lloretgalleg [Wed, 9 Dec 2020 11:59:17 +0000 (11:59 +0000)]
removed im dependency for NG-RO

Change-Id: I5902969bc65d697543bea2bc26acadf57ace3055
Signed-off-by: lloretgalleg <illoret@indra.es>
3 years agofix error on task_depends not defined 87/10087/2
tierno [Tue, 8 Dec 2020 23:11:53 +0000 (23:11 +0000)]
fix error on task_depends not defined

Change-Id: If65158e44cf43558c8eada9c78c11971e6be4af0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoRemove IM dependency at Dockerfile-local 43/10043/2
tierno [Thu, 26 Nov 2020 15:55:20 +0000 (15:55 +0000)]
Remove IM dependency at Dockerfile-local

minor fix at flavor data parse for cpus

Change-Id: Idd706d75303e9b9b8c1c36e52c9a183e226e0c44
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFeature 7184 New Generation RO enhancemnt 07/10007/7 sol006
tierno [Mon, 19 Oct 2020 16:38:00 +0000 (16:38 +0000)]
Feature 7184 New Generation RO enhancemnt

New module vim_admin:
- check and load unattending ro_tasks
- check for vim updates and deletion in order to re-load it
- check vim_connectivity at creation edition
- Injection of ssh keys, retry if fails
- allow non load filesystem, because it is used only for cloud-init, but
it can be provided as text by LCM
- load sdn and wim targets
- sdn connectivity
- set network type 'data' when there are SRIOV or PT interfaces

Change-Id: I67147d1d500d60f0b2be1de214c97b1905168c8e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFix SDN ODL openflow connetor issue 20/10020/1
tierno [Mon, 23 Nov 2020 17:58:04 +0000 (17:58 +0000)]
Fix SDN ODL openflow connetor issue

Change-Id: I6d468471b2857c006782b1fe06e705f9669361da
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 1248 fixed 09/9909/2
davide.borsatti@unibo.it [Wed, 21 Oct 2020 22:52:02 +0000 (00:52 +0200)]
Bug 1248 fixed

Change-Id: I4c872d365980625b0beeb6d879435c163a82863a
Signed-off-by: davide.borsatti@unibo.it <davide.borsatti@unibo.it>
4 years agofeat(port security): adds port security strategy 90/9890/15
bravof [Tue, 20 Oct 2020 13:27:42 +0000 (10:27 -0300)]
feat(port security): adds port security strategy

Change-Id: I31b067a787f3f9b90b1e8f9cb7ba042e723c270b
Signed-off-by: bravof <fbravo@whitestack.com>
4 years agofix 1238. Fix other error at commit 9405d17 48/9848/1
tierno [Thu, 8 Oct 2020 08:11:44 +0000 (08:11 +0000)]
fix 1238. Fix other error at commit 9405d17

Change-Id: I9fcd19ff7e5e8654de9b3d692d07a4bef58bf2fd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1238. Fix error introduced at commit 9405d17 47/9847/1
tierno [Wed, 7 Oct 2020 16:47:44 +0000 (16:47 +0000)]
fix 1238. Fix error introduced at commit 9405d17

Change-Id: I123a16cee0d867c048d9bc0e52242ce12d7f150f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1238: Allow individual cloud-init user-data at each VM 46/9846/1
tierno [Tue, 6 Oct 2020 08:19:21 +0000 (08:19 +0000)]
fix 1238: Allow individual cloud-init user-data at each VM

both for instantiation and scaling. In that way every VM will have
individual jinja2 parsing with its own variables that includes
among other the count_index

Change-Id: I0cfdc9da2f71816273dbf37a03e418aa985d523c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1223. Increment ip address on scaling vdus 45/9845/1
tierno [Thu, 24 Sep 2020 12:31:36 +0000 (12:31 +0000)]
fix 1223. Increment ip address on scaling vdus

Change-Id: I18f11bbf6d20b78b3811e5e39daa1ad10af57e3d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix IP address auto-assignment for VDU at instantiation and scaling 44/9844/1
garciadeblas [Wed, 23 Sep 2020 14:33:14 +0000 (14:33 +0000)]
Fix IP address auto-assignment for VDU at instantiation and scaling

Change-Id: I601e92b7b2becdfcf4357c9c39773f0e2c9b5a9b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofix validation error oneOf 43/9843/1
tierno [Fri, 18 Sep 2020 14:20:38 +0000 (14:20 +0000)]
fix validation error oneOf

Change-Id: I14735cc9a4326070feedeebef7113e8b9e62cca7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 1169 Interface ID of a created VM is not supplied 42/9842/1
lloretgalleg [Fri, 24 Jul 2020 07:11:00 +0000 (07:11 +0000)]
Bug 1169 Interface ID of a created VM is not supplied

Change-Id: I8bc8a687b037cc31be70dc5e5581f2f8daf19498
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agofix 1164 Retry assigning floating ip, it can conflict among RO workers 41/9841/1
tierno [Wed, 22 Jul 2020 10:42:58 +0000 (10:42 +0000)]
fix 1164 Retry assigning floating ip, it can conflict among RO workers

fix 1104 Remove floating IP from openstack project when it was assigned by RO

Change-Id: I63f9634af2aa0b1796ec40dd67d8da15015c30ac
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1190 enhanced reported error text 73/9573/1
tierno [Tue, 11 Aug 2020 11:19:44 +0000 (11:19 +0000)]
fix 1190 enhanced reported error text

Change-Id: I0c65daa0b934694c3b741952bee95d7c4b976365
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoadding capability to set log level at vimconnectors 72/9572/1
tierno [Fri, 7 Aug 2020 10:10:15 +0000 (10:10 +0000)]
adding capability to set log level at vimconnectors

at INFO level print http input content
change date format

Change-Id: I4a94ca6e41cad7b09e5630d7d98c7160a257173b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1168 ensure VIM plugin is loaded at vim_account_create 71/9571/1
tierno [Tue, 4 Aug 2020 06:57:50 +0000 (06:57 +0000)]
fix 1168 ensure VIM plugin is loaded at vim_account_create

Change-Id: I5ce60eb1933e2f314fc70c8a65a5eb615f9ce32e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug 1149 1150: improve exceptions msg, correct api response processin 25/9425/9
S237035 [Thu, 16 Jul 2020 08:04:17 +0000 (10:04 +0200)]
Bug 1149 1150: improve exceptions msg, correct api response processin

Change-Id: I58836d980bfdb1d6611bc7325f8559830e12ebc8
Signed-off-by: S237035 <oscarluis.peral@atos.net>
Signed-off-by: OscarP <oscarluis.peral@atos.net>
4 years agofix 1168 ensure VIM plugin is loaded at instanatiate/delete 07/9507/2
tierno [Wed, 22 Jul 2020 11:41:05 +0000 (11:41 +0000)]
fix 1168 ensure VIM plugin is loaded at instanatiate/delete

Change-Id: Id4c8978466211f7d9f0365a285a8dc52b51ad2bc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1150 limit error length of a failing SDN connector 87/9487/3
tierno [Mon, 20 Jul 2020 15:39:45 +0000 (15:39 +0000)]
fix 1150 limit error length of a failing SDN connector

It is not updating database entry vim_wim_actions when error lenght is longer than 1024

Change-Id: I2cb529e7a82784bd7a2274e617ad58ab275feefc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix clean on RO package creation 44/9544/1
tierno [Mon, 3 Aug 2020 13:39:44 +0000 (13:39 +0000)]
fix clean on RO package creation

Change-Id: I85982a0aed17d13ec09b88c4aa8640af34cbeb95
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1148 allow name repetition at wim,wim_accounts 42/9442/1
tierno [Wed, 15 Jul 2020 22:46:34 +0000 (22:46 +0000)]
fix 1148 allow name repetition at wim,wim_accounts

Change-Id: I6a6a84e94c8ab1844be799eff1b3208ca8f42474
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1138 forcing cryptography version 2.5 or higher 95/9395/3
tierno [Fri, 10 Jul 2020 10:52:56 +0000 (10:52 +0000)]
fix 1138 forcing cryptography version 2.5 or higher

Some fixing in devops-stages/stage-build
Use US18.04 for Dockerfile used for devops-stages

Change-Id: Ia2cb09e21efe11a22013de48b2404f5ead949a71
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix 1137: SDN-assist issue connecting only one port 98/9398/1
tierno [Fri, 10 Jul 2020 13:54:58 +0000 (13:54 +0000)]
fix 1137: SDN-assist issue connecting only one port

Change-Id: Id09e833ad425c5d1621b5a1e370a9ee389b4b5e7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix at vim_dummy delete network 97/9397/1
tierno [Thu, 2 Jul 2020 09:58:51 +0000 (09:58 +0000)]
fix at vim_dummy delete network

Change-Id: I4816a74dcf88ab308680c1c4fda3c0c107397f83
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agominor changes at setup.py 65/9265/1
tierno [Thu, 2 Jul 2020 06:10:39 +0000 (06:10 +0000)]
minor changes at setup.py

Change-Id: Ifbd669c82f6a616ea84dc9d8cc6d0bb9af14e224
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFeature 7184 New Generation RO 14/9214/2
tierno [Fri, 24 Apr 2020 14:02:51 +0000 (14:02 +0000)]
Feature 7184 New Generation RO

Generates the package python3-osm-ng-ro for a new RO server
One or other server is controlled by env OSMRO_NG

Change-Id: I1b563006eeb008d05b37d5116f9741dc4f12a9ba
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agojuniper_contrail, sdn_api.py: fix vmi creation to use valid chars in local_link_infor... 37/9137/3
garciadeblas [Mon, 22 Jun 2020 08:18:35 +0000 (08:18 +0000)]
juniper_contrail, sdn_api.py: fix vmi creation to use valid chars in local_link_information

Change-Id: I5e2b4a6f190df6016e2cc50c470e0803ac4444e6
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofixing flake8 tests 96/9096/5 release-v8.0-start v8.0.0rc1
tierno [Tue, 16 Jun 2020 15:29:47 +0000 (15:29 +0000)]
fixing flake8 tests

Change-Id: Id3db9e940d07fb67a81e727f310900a9eb92e18d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agojuniper_contrail:sdn_api.py fix to use valid chars in vpg and vmi names 22/9122/1
garciadeblas [Fri, 19 Jun 2020 07:00:20 +0000 (07:00 +0000)]
juniper_contrail:sdn_api.py fix to use valid chars in vpg and vmi names

Change-Id: I16b78d564ba36976f2bffdbe93758ad325ac4405
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoFix for bug 1009 04/9104/3
bse [Wed, 17 Jun 2020 14:06:58 +0000 (19:36 +0530)]
Fix for bug 1009

Refactored at all other places and files

Change-Id: I57781b317f60580acd1f79a33fadc7f7216aa556
Signed-off-by: bse <senthil.b@tataelxsi.co.in>
4 years agoopenstack: get vlan from port binding:vif_details 09/9109/2
tierno [Thu, 18 Jun 2020 08:50:10 +0000 (08:50 +0000)]
openstack: get vlan from port binding:vif_details

Change-Id: I828cfa02a32e95a9a161ce0db288a11a4e9a591c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agocreate base package 'osm_ro_plugin' for plugin 48/8848/7
tierno [Mon, 4 May 2020 11:44:15 +0000 (11:44 +0000)]
create base package 'osm_ro_plugin' for plugin

contains base packabe, dummy and failing connectors

All plugins will require this package instead of osm_ro
In that way plugin development is more independent
from main project, and it can be re-used in other projects.
For example openvim can use these SDN plugins without importing osm_ro

Change-Id: I9b598fdca269f04391e731cd07bb244f3918635d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agochange SDN types from tapi to ietfl2vpn, from arista to arista_cloudvision 32/8432/8
tierno [Fri, 20 Dec 2019 12:16:46 +0000 (12:16 +0000)]
change SDN types from tapi to ietfl2vpn, from arista to arista_cloudvision

Change-Id: I01d61cf64521707c92f58c668f0372b5daa010c5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoUpdated vimconn_fos fix bug 1089 79/9079/3
baldoni [Fri, 12 Jun 2020 13:24:24 +0000 (15:24 +0200)]
Updated  vimconn_fos fix bug 1089

Change-Id: Icee25123b37769cb81d72a48990e0145bbf5aa71
Signed-off-by: baldoni <gabriele.baldoni@adlinktech.com>
4 years agoadd vim dummy plugin 02/8802/9
tierno [Mon, 20 Apr 2020 08:54:21 +0000 (08:54 +0000)]
add vim dummy plugin

Change-Id: I218ff0684a6b2e7fbdb1a9976b493814b141e776
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoadded support for different topologies 45/9045/3
S237035 [Mon, 8 Jun 2020 12:00:13 +0000 (14:00 +0200)]
added support for different topologies
redo lost changes

Change-Id: Id64fce4f4513c4339e4d81d6b2fe43dba129f8ba
Signed-off-by: S237035 <oscarluis.peral@atos.net>
4 years agofix flake8 for SDN-juniper_contrail 77/9077/2
tierno [Fri, 12 Jun 2020 08:59:29 +0000 (08:59 +0000)]
fix flake8 for SDN-juniper_contrail

Change-Id: Ifc06fa889fa0625c0ac32738f05dc9fca26ee42a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoBug solved, if the provided vlan is None, simply ignore the connection point and... 39/9039/2
lloretgalleg [Thu, 4 Jun 2020 11:34:21 +0000 (13:34 +0200)]
Bug solved, if the provided vlan is None, simply ignore the connection point and continue with the rest. RO will send an edit with the connection point once the vlan is provided

Change-Id: I2d3c3e32aa814d0a5ae5f889c974d8929fdfd800
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agoCorrected bug: If vlan provided is None raise an error 18/9018/2
lloretgalleg [Tue, 2 Jun 2020 05:17:17 +0000 (07:17 +0200)]
Corrected bug: If vlan provided is None raise an error

Change-Id: Ide943ed5a2ae5e03028b90c266144a8051e616c7
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agoChange requirements reference to osm-im. Minor flake8 70/9070/2
tierno [Wed, 10 Jun 2020 14:57:11 +0000 (14:57 +0000)]
Change requirements reference to osm-im. Minor flake8

Change-Id: Id0e6c41c302d50b9a9e430155f678e7f38699b2e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFeature 8016: Added DataPlane Broker wimconn plugin 21/9021/3
fantom [Fri, 29 Nov 2019 14:18:50 +0000 (14:18 +0000)]
Feature 8016: Added DataPlane Broker wimconn plugin

Change-Id: I590f8b79bea012054e261100666892a4e0b7c6f5
Signed-off-by: fantom <w.fantom@lancaster.ac.uk>
4 years agoFix for bug 1054 68/9068/2
bse [Wed, 10 Jun 2020 13:01:28 +0000 (18:31 +0530)]
Fix for bug 1054

Issue 1 and 2 is resolved and issue 3 need to be addressed by community.

Change-Id: Ib420fc687ebc4d4e7de235aae3ce1b24b3156cdb
Signed-off-by: bse <senthil.b@tataelxsi.co.in>
4 years agoBug 1082 fixed, error variable name in edit and conn_info must be dict not list 14/9014/1
lloretgalleg [Fri, 29 May 2020 15:57:56 +0000 (17:57 +0200)]
Bug 1082 fixed, error variable name in edit and conn_info must be dict not list

Change-Id: I61395b14421dedb4b28a058b635f1ff073819a9e
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agoWIP: Added VIO support for PCI-PT interfaces 13/9013/1
garciadeblas [Wed, 27 May 2020 09:48:48 +0000 (09:48 +0000)]
WIP: Added VIO support for PCI-PT interfaces

Change-Id: I9707515fbd15567ac6c51764f1c0b34ccd935a84
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agobug 1079 capture SDN plugin unhandled exceptions 12/9012/1
tierno [Wed, 27 May 2020 18:19:19 +0000 (18:19 +0000)]
bug 1079 capture SDN plugin unhandled exceptions

get network vlan for PT ports at openstack

Change-Id: I63dc5f5b3b57c1c7f1086690cfd8073f9356b233
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix bug 1067: vimconn_openstack, increased timeout for VM with ports with disabled... 11/9011/1
garciadeblas [Thu, 21 May 2020 08:07:25 +0000 (08:07 +0000)]
fix bug 1067: vimconn_openstack, increased timeout for VM with ports with disabled security

Change-Id: I13be9a679de317ef1d3b8b11291815e553e12197
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoMerge branch 'contrail' into master 10/9010/1
tierno [Mon, 1 Jun 2020 06:23:06 +0000 (06:23 +0000)]
Merge branch 'contrail' into master

Change-Id: I49a77de6c1d9ade3a932a315f00e59d628367cbe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoCleaned main, randomized vni generation 97/8997/1 contrail
lloretgalleg [Thu, 28 May 2020 15:37:08 +0000 (17:37 +0200)]
Cleaned main, randomized vni generation

Change-Id: Ia8bbf21fb996d0ccce00112a79624e4bd9c95e11
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agofix wim persistence issue 92/8892/4
tierno [Fri, 8 May 2020 12:02:08 +0000 (12:02 +0000)]
fix wim persistence issue

Change-Id: I2dc89c740445e2a487b068949369670f19a4122b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix wim usage needed base on involved vims 20/8820/6
tierno [Fri, 24 Apr 2020 06:25:42 +0000 (06:25 +0000)]
fix wim usage needed base on involved vims

Change-Id: Ie6f2149ec0ae442ce16285d90550ec57faaca8b1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoCorrected bugs found during unit and integration testing 62/8962/2
lloretgalleg [Fri, 22 May 2020 14:34:16 +0000 (16:34 +0200)]
Corrected bugs found during unit and integration testing

Change-Id: Ied98adbc364f7bdd16c38e019abfee05c18afdef
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agoJuniper Contrail: removed pycurl dependency, added requests 53/8953/1
garciadeblas [Thu, 21 May 2020 14:38:25 +0000 (14:38 +0000)]
Juniper Contrail: removed pycurl dependency, added requests

Change-Id: I37acf96887acb64ed33e999e6cc95d081fe6ecf3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoDeveloping juniper contrail plugin, implenting CRUD operations and first version... 86/8886/4
lloretgalleg [Thu, 7 May 2020 15:02:25 +0000 (17:02 +0200)]
Developing juniper contrail plugin, implenting CRUD operations and first version of create, edit and delete connectivity service

Change-Id: I05435d4e5c4fab87184b057472ac12610c1071c9
Signed-off-by: lloretgalleg <illoret@indra.es>
4 years agoremoved direct switch jsonRPC calls 90/8890/2
S237035 [Fri, 8 May 2020 06:43:38 +0000 (08:43 +0200)]
removed direct switch jsonRPC calls
check arguments in delete_keys_from_dict

Change-Id: Iff0793b8ce864d2ae5e59cd14ef83518d68be6ed
Signed-off-by: S237035 <oscarluis.peral@atos.net>
4 years agoJuniper SDN contrail: used VNI stored in a set in the class 32/8832/1
garciadeblas [Wed, 29 Apr 2020 07:29:08 +0000 (07:29 +0000)]
Juniper SDN contrail: used VNI stored in a set in the class

Change-Id: I562d297614055965bef066697566161dc97e8a8e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agoExecute all CVP tasks one by one 09/8809/2
S237035 [Tue, 21 Apr 2020 14:56:07 +0000 (16:56 +0200)]
Execute all CVP tasks one by one

Change-Id: Ib9fd24eadf4f6342c75cf4bb9b8df0ff24aa6962
Signed-off-by: S237035 <oscarluis.peral@atos.net>
4 years agoJuniper Contrail SDN plugin 00/8800/3
garciadeblas [Fri, 17 Apr 2020 05:55:46 +0000 (05:55 +0000)]
Juniper Contrail SDN plugin

Change-Id: I14987a321218b5cda98e6c4be68ae4a86596a2de
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 years agofix sdn-plugin package instalation 19/8819/1 feature7184
tierno [Fri, 24 Apr 2020 08:55:39 +0000 (08:55 +0000)]
fix sdn-plugin package instalation

Remove non-existing python3-cvprac package dependency
Install cvprac with post installation

Change-Id: I610fa54a580c8ca2a829e2cc0803740644125c12
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoExecute CVP remove tasks 1 by 1 96/8796/3
S237035 [Fri, 17 Apr 2020 15:03:01 +0000 (17:03 +0200)]
Execute CVP remove tasks 1 by 1
Prevent password from printing
Correct execute tasks timeout initialization

Change-Id: I25ca5cb23d87899dd53a6047a35debd968604742
Signed-off-by: S237035 <oscarluis.peral@atos.net>
4 years agoBug 1051 addressed to identify if multiple VIM accounts passed to ns-create belong... 84/8784/3
papageorgio1 [Thu, 9 Apr 2020 10:17:24 +0000 (12:17 +0200)]
Bug 1051 addressed to identify if multiple VIM accounts passed to ns-create belong to the same VIM

Change-Id: I6c8ca7c66b918aa95a61fd97e2a1f26227f63836
Signed-off-by: papageorgio1 <apostolos.papageorgiou@i2cat.net>
4 years agofixing dockerfile-local azure 4.0.0 version 92/8792/1
tierno [Thu, 16 Apr 2020 14:33:25 +0000 (14:33 +0000)]
fixing dockerfile-local azure 4.0.0 version

Change-Id: I83a3cefa02d8a52f3d37abf345586d18ae1301a4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix error at vim-update with config 90/8790/1
tierno [Thu, 16 Apr 2020 11:22:24 +0000 (11:22 +0000)]
Fix error at vim-update with config

Change-Id: I3083d88ae5999a53362933eae20c680b932aa218
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofix error updating sdnc 88/8788/2
tierno [Wed, 15 Apr 2020 17:00:31 +0000 (17:00 +0000)]
fix error updating sdnc

Change-Id: I2721ad846748c1260a71463d421a637e9e979833
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoadded switch retrieval improvements 87/8787/4
perales [Wed, 15 Apr 2020 09:06:52 +0000 (11:06 +0200)]
added switch retrieval improvements
added dot1q tunnel in the switch mode for passthrouth configLet
apply code review comments
reapply overwritten changes

Change-Id: I94b508c2345e1a26c523d4c385f1bbd3df0391db
Signed-off-by: perales <oscarluis.peral@atos.net>
4 years agofix ip address on vm scale 52/8752/4
tierno [Thu, 2 Apr 2020 14:09:25 +0000 (14:09 +0000)]
fix ip address on vm scale

Change-Id: I596fd86120af668c7c9de5c551ea03de1c477def
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agofixing azure 4.0.0 version 79/8779/1
tierno [Mon, 13 Apr 2020 06:52:11 +0000 (06:52 +0000)]
fixing azure 4.0.0 version

Change-Id: I77bc9140ed3269a5e9661852a3af23168e32a38c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoEnhance Dockerfile-local cache 49/8749/3
tierno [Wed, 1 Apr 2020 17:08:43 +0000 (17:08 +0000)]
Enhance Dockerfile-local cache

Change-Id: Ifc703060ce6eda9dcb27869c67a6ecb72bd7f146
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix bug 1030 forcing to wait taskIds 32/8732/3
Francisco Garcia Alvarez [Fri, 27 Mar 2020 07:42:44 +0000 (08:42 +0100)]
Fix bug 1030 forcing to wait taskIds

Changelog:
- Fix bug 1030 by Oscar
- Changed comments in configLets according to Itsaso suggestions
- Fix bug in rollback call (modified time to wait in tasks and rollback)

Change-Id: Ib5eadfb44f9d6ff8cd9dbeacc640c925d65d3ea3
Signed-off-by: Francisco Garcia Alvarez <francisco.galvarez@atos.net>
4 years agoFix update SDN net on scale 70/8670/3
tierno [Mon, 9 Mar 2020 08:40:59 +0000 (08:40 +0000)]
Fix update SDN net on scale
allow external port for SDN net

Change-Id: Ie4665397f8cbe9dfa5a2b026c36016e5fafaa722
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
4 years agoFix Bug 1030 checking that task and note exists 85/8685/3
Francisco Garcia Alvarez [Wed, 18 Mar 2020 09:50:48 +0000 (10:50 +0100)]
Fix Bug 1030 checking that task and note exists

Changelog:
- Fix Bug 1030 checking that task and note exists
- Treat only osm_managed configlets
- Modified connection method without parameters. Used in the execution
  directly from an external script.
- Change code, according to comments.

Change-Id: Ic3045315db2e84bc2bc1c6b9b665ed6d4518017c
Signed-off-by: Francisco Garcia Alvarez <francisco.galvarez@atos.net>