osm/RO.git
23 months 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>
23 months 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>
23 months 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 years agoArista SDN. Skip configuring repeated cps 68/8668/3
tierno [Mon, 9 Mar 2020 13:14:27 +0000 (13:14 +0000)]
Arista SDN. Skip configuring repeated cps

Change-Id: Ic4662828b44f872a66c3a75f33ef22820e9ed200
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoPrevent URL trailing char errors in VIM/WIM 77/8677/2
Anderson Bravalheri [Thu, 12 Mar 2020 12:41:32 +0000 (12:41 +0000)]
Prevent URL trailing char errors in VIM/WIM

It is very common for users to copy/paste the URL in the web GUI form
when registering new VIMs/WIMs.
This can be error prone, since it might introduce trailing characters
that might pass unnoticed (e.g. when copying from "OpenStack Rocky >
Project > API Access" a trailing space will be introduced).

This change tries to prevent that from happening.

Change-Id: I8ef83afe39ef854696ca43072273437ffd396c33
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
2 years agoBug 1019. Fix ovim.get_ports needed for wim 71/8671/3
tierno [Tue, 10 Mar 2020 16:31:03 +0000 (16:31 +0000)]
Bug 1019. Fix ovim.get_ports needed for wim

Change-Id: I3696fad4c49ce43844c6c97ffaf90ba9ebad95a5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agofix 1031 install networking-l2gw before python3-osm-rovim-openstack 74/8674/3
tierno [Wed, 11 Mar 2020 14:49:37 +0000 (14:49 +0000)]
fix 1031 install networking-l2gw before python3-osm-rovim-openstack

Change-Id: Ia70a6d81453f03cf3fd0bc2a9da4586e36fd91d1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoadding SDN opendaylight openflow plugin 60/8660/3
tierno [Wed, 4 Mar 2020 20:09:42 +0000 (20:09 +0000)]
adding SDN opendaylight openflow plugin

Change-Id: I457a63cf2bdd13cfa49f95ff344fa912157b5115
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agosdn arista: fix reconnecting issue. Enhance logging 50/8650/6
tierno [Thu, 5 Mar 2020 16:57:09 +0000 (16:57 +0000)]
sdn arista: fix reconnecting issue. Enhance logging

Change-Id: I25851d747c263c827d3d910b2e0209080d2de664
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agofix underlay VNFD-VLD networks. 63/8663/2
tierno [Thu, 5 Mar 2020 16:55:43 +0000 (16:55 +0000)]
fix underlay VNFD-VLD networks.
Fix scaling out VDUs connected to underlay networks

Change-Id: I97e1c72b98cea51b639dc51ae34c461e67a102c2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agofix SDN: port mapping, switch_id, sdnconn logging 62/8662/2
tierno [Thu, 5 Mar 2020 16:45:48 +0000 (16:45 +0000)]
fix SDN: port mapping, switch_id, sdnconn logging

Change-Id: I3160b7705e9acea83d3cf2a22beebafc32d4ef4a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoBug fixed Arista SDN plugin 92/8492/11
perales [Fri, 17 Jan 2020 14:55:13 +0000 (15:55 +0100)]
Bug fixed Arista SDN plugin

Change-Id: I35098d3dc9e6f6f8eea0cb749e1b7a314a8aa863
Signed-off-by: perales <oscarluis.peral@atos.net>
2 years agoRenamed FakeWimconnector to DummyWimconnector 80/7780/2
garciadeblas [Fri, 21 Feb 2020 11:02:11 +0000 (12:02 +0100)]
Renamed FakeWimconnector to DummyWimconnector

Change-Id: I0e32bfd988a89d85cae56e85136773f1afd5cc32
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoNew Openstack VIM config option: dataplane_network_type 15/8615/2
garciadeblas [Tue, 18 Feb 2020 15:01:13 +0000 (16:01 +0100)]
New Openstack VIM config option: dataplane_network_type

Change-Id: Icce42c5afaf7cdcdd6343c48f09e3e720ebfd009
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFixed minor typo in LICENSE file 14/8514/2
garciadeblas [Wed, 15 Jan 2020 10:41:49 +0000 (11:41 +0100)]
Fixed minor typo in LICENSE file

Change-Id: I14c486f66863e59b683f39e210fe1c2de54408dd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agofix dependencies at setup.py 33/8533/1
tierno [Tue, 28 Jan 2020 16:31:10 +0000 (16:31 +0000)]
fix dependencies at setup.py

Change-Id: I338003728206b3934c07835e2f7a01a76ed1eda5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoFix bug 1001: RO can't find datacenter on HA 25/8525/4 v7.0.1rc3
David Garcia [Mon, 27 Jan 2020 09:10:30 +0000 (10:10 +0100)]
Fix bug 1001: RO can't find datacenter on HA

- Fix get_vim_thread() function to check if the thread exists. If not, create it.
- Add worker_id global parameter
- Add get_process_id() function
- Simplify get_non_used_vim_name() function

Change-Id: I10b3426af79df89688ae4b75caf395a6c238fba0
Signed-off-by: David Garcia <david.garcia@canonical.com>
2 years agominor changes to log sdn, minor changes onos openflow setup 08/8508/2
lloretgalleg [Tue, 21 Jan 2020 13:28:49 +0000 (14:28 +0100)]
minor changes to log sdn, minor changes onos openflow setup

Change-Id: Ic492752a9cfd1095d9bdbfd0e0f9da7b862a2702
Signed-off-by: lloretgalleg <illoret@indra.es>
2 years agoCorrected bug appears when a sdn controller that needs a plugin is created first... 86/8486/1 v7.0.1rc2
lloretgalleg [Thu, 16 Jan 2020 13:12:39 +0000 (14:12 +0100)]
Corrected bug appears when a sdn controller that needs a plugin is created first time

Change-Id: Ib5f414935f6a7799326c4055bef754b827d3dd6a
Signed-off-by: lloretgalleg <illoret@indra.es>
2 years agoRemove unneeded openvim call from Dockerfile-local 79/8479/1 v7.0.1rc1
tierno [Tue, 14 Jan 2020 22:30:20 +0000 (22:30 +0000)]
Remove unneeded openvim call from Dockerfile-local

Change-Id: I243f6ad7b348afe1c270da1cd41adbe9eaf6c770
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agofix 988. Use provider-network:physical-network at openstack network creation 69/8469/1
tierno [Thu, 9 Jan 2020 17:37:34 +0000 (17:37 +0000)]
fix 988. Use provider-network:physical-network at openstack network creation

Change-Id: I736f0ca3cf8c2bde5780153d83aacc908fba0fd9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoFix 795 Assertion related_task. Capture internal vim_thread exception 31/8431/3
tierno [Fri, 13 Dec 2019 13:54:01 +0000 (13:54 +0000)]
Fix 795 Assertion related_task. Capture internal vim_thread exception

Change-Id: I826a98e025d5ad301a5486ab7eebeba56cf1fc9b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoImplemented edit method, some corrections to add and delete 63/8463/1
lloretgalleg [Thu, 9 Jan 2020 09:50:46 +0000 (10:50 +0100)]
Implemented edit method, some corrections to add and delete

Change-Id: Iadaef162cb131324ab9f756dec78c70667c8bb63
Signed-off-by: lloretgalleg <illoret@indra.es>
2 years agoBug 795 fixed 24/8424/2
borsatti [Wed, 18 Dec 2019 15:08:57 +0000 (15:08 +0000)]
Bug 795 fixed

Change-Id: I3597c504a18eb46e4fbc07c4a74676d9521c782d
Signed-off-by: borsatti <davide.borsatti@unibo.it>
2 years agoImproved error management, rollback behaviour 13/8413/3
lloretgalleg [Tue, 17 Dec 2019 11:28:39 +0000 (12:28 +0100)]
Improved error management, rollback behaviour

Change-Id: I69fd31c6fc2b9dada1fb8bc0d53ea400cad6e9d7
Signed-off-by: lloretgalleg <illoret@minsait.com>
2 years agoChanging log level of Openstack libraries to WARNING 20/8420/2
garciadeblas [Wed, 18 Dec 2019 08:32:09 +0000 (09:32 +0100)]
Changing log level of Openstack libraries to WARNING

Change-Id: I82f0659611ca84e7a7a16f258e83fb0feb690326
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix roclient postinstall script 86/8386/4
garciadeblas [Thu, 12 Dec 2019 11:21:14 +0000 (12:21 +0100)]
Fix roclient postinstall script

Change-Id: Ib0990d0ad3fb1d11c0337a7837488dd8f5bef3f3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix 975 SDN-net error when plugin cannot be loaded 97/8397/3
tierno [Wed, 11 Dec 2019 15:30:44 +0000 (15:30 +0000)]
Fix 975 SDN-net error when plugin cannot be loaded
Do not validate SDN type
Adding SDN floodlight openflow plugin

Change-Id: I3b997ed16cc67c18f0deee57e38a4e355a7eab4d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoFix bug 974. Issue with intra VNFD VLDs 02/8402/2
tierno [Fri, 13 Dec 2019 13:53:31 +0000 (13:53 +0000)]
Fix bug 974. Issue with intra VNFD VLDs

Change-Id: I3a6788b3b78f603064e4c455c0164f85af853c59
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoFixed Bug 945 82/8382/4
dborsatti [Wed, 11 Dec 2019 15:00:02 +0000 (15:00 +0000)]
Fixed Bug 945

Change-Id: Ic45531b6684abacd5da4a88f4fd0a6894c1a7dd4
Signed-off-by: dborsatti <davide.borsatti@unibo.it>
2 years agoPEP-8 Compliance 98/8398/1
beierl [Thu, 12 Dec 2019 17:09:51 +0000 (12:09 -0500)]
PEP-8 Compliance

Purely whitespace changes to clean up PEP-8 compliance
for this file.

Change-Id: I210e833b688e8b5a9d74a8ce27aef74edad3bb66
Signed-off-by: beierl <mbeierl@vmware.com>
2 years agoAdds onos_vpls to install in Dockerfile-local 61/8361/4
Benjamin Diaz [Mon, 9 Dec 2019 23:12:42 +0000 (20:12 -0300)]
Adds onos_vpls to install in Dockerfile-local

Change-Id: Iee9869ecd53cf3daef76cd3c693e92cb7a60c5d2
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
2 years agoAdded InstantiateVAppTemplateParams.xml to deb package 84/8384/1 v7.0.0
garciadeblas [Wed, 11 Dec 2019 15:39:29 +0000 (16:39 +0100)]
Added InstantiateVAppTemplateParams.xml to deb package

Change-Id: I8a108a9516024898667bab1f4dcea2c1258facc1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoGet version from installed package if available instead of code 74/8374/2
tierno [Tue, 10 Dec 2019 23:04:57 +0000 (00:04 +0100)]
Get version from installed package if available instead of code

Change-Id: Ie033fd55971e7712b2400ebbb4902e9a7de1e1ba
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agofix 961 change ssh-keys from bytes to str 68/8368/2
tierno [Tue, 10 Dec 2019 13:01:55 +0000 (13:01 +0000)]
fix 961 change ssh-keys from bytes to str

Change-Id: I3a15417a84f0e0821dddd5d7b0617aa62ac531ac
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
2 years agoAdds Manifest 73/8373/2
beierl [Tue, 10 Dec 2019 17:46:23 +0000 (12:46 -0500)]
Adds Manifest

Adding manifest file to ensure additional files
are included in the package

Change-Id: I000f3ddf4426419a8d5e9c2d81c91ee04ac6c2c8
Signed-off-by: beierl <mbeierl@vmware.com>
2 years agoFixes content conversion after python3 60/8360/2 v7.0.0rc1
beierl [Mon, 9 Dec 2019 22:06:20 +0000 (17:06 -0500)]
Fixes content conversion after python3

lxmlElementTree.fromstring() requires byte array, not utf-8 encoded string.

Bug 958

Change-Id: Ib3dfbeb775c6c31d0869d348577179d376644408
Signed-off-by: beierl <mbeierl@vmware.com>
2 years agoONOS VPLS SDN plugin: migrated string operator to format to be py3 compliant 59/8359/2
garciadeblas [Mon, 9 Dec 2019 21:31:41 +0000 (22:31 +0100)]
ONOS VPLS SDN plugin: migrated string operator to format to be py3 compliant

Change-Id: I46af69b340aa32681e76cb0e2d885189df073cbb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoMerge "Adds initial implementation of ONOS VPLS SDN plugin"
tierno [Mon, 9 Dec 2019 21:54:50 +0000 (22:54 +0100)]
Merge "Adds initial implementation of ONOS VPLS SDN plugin"

2 years agoAdds initial implementation of ONOS VPLS SDN plugin 58/8258/6
Benjamin Diaz [Fri, 29 Nov 2019 11:26:30 +0000 (08:26 -0300)]
Adds initial implementation of ONOS VPLS SDN plugin

Change-Id: Ia1dffbebbe47ffaea1cd1511fbf8718344b7ed21
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
2 years agoPython3 and cloud-init fix 44/8344/2
beierl [Fri, 6 Dec 2019 22:06:40 +0000 (17:06 -0500)]
Python3 and cloud-init fix

Updates rest respose from .content to .text to avoid having to encode to UTF-8
as part of python3

Adds a serial port to the VM so that cloud-based images can run without
modification

Bug 920

Change-Id: Ie2741af544d103e44fd110917b87f650a623859d
Signed-off-by: beierl <mbeierl@vmware.com>
2 years agoBug 920 fixing test_RO.py after python3 conversion 33/8333/1
kbsub [Thu, 5 Dec 2019 17:20:18 +0000 (17:20 +0000)]
Bug 920 fixing test_RO.py after python3 conversion

Change-Id: I3487f2cf8142711b49d72e1ee7a9afc822a53494
Signed-off-by: kbsub <subair.basheer@riftio.com>
2 years agoFix 929: Fix imports at test_RO 25/8325/1
tierno [Wed, 4 Dec 2019 22:01:17 +0000 (22:01 +0000)]
Fix 929: Fix imports at test_RO

Change-Id: Ie52d25a3f062b4d79b5e4fb85b5b8473ba623cd8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>