osm/RO.git
3 years agofix bug 899. Provide shared=False vimconn.new_network 36/8236/2
tierno [Tue, 26 Nov 2019 11:11:34 +0000 (11:11 +0000)]
fix bug 899. Provide shared=False vimconn.new_network

Change-Id: If3d471b69cd07af13b27262bfd7bef0ca1e37b91
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoModified Docker-file include azure, corrected import azure plugin 34/8234/3
lloretgalleg [Mon, 25 Nov 2019 13:31:18 +0000 (14:31 +0100)]
Modified Docker-file include azure, corrected import azure plugin

Change-Id: Iaaf8e99de2bb669a30baab4f41cb0d2ec8030950
Signed-off-by: lloretgalleg <illoret@minsait.com>
3 years agoDockerfile: added apt-utils to allow apt-ftparchive to generate index for deb package... 35/8235/1
garciadeblas [Mon, 25 Nov 2019 16:17:48 +0000 (17:17 +0100)]
Dockerfile: added apt-utils to allow apt-ftparchive to generate index for deb packages for stage3

Change-Id: Ieb8614f62d98152d16b88263fa90a1cb48c00bb2
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoMerge branch 'py3' features 8029 8030 22/8222/4
tierno [Sat, 23 Nov 2019 15:11:15 +0000 (15:11 +0000)]
Merge branch 'py3' features 8029 8030

Change-Id: Ia670d01fc45d63f4051209ef73ca272054895873
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofeature8030 move WIM connector to plugins 66/8066/10 py3
tierno [Mon, 21 Oct 2019 15:31:27 +0000 (15:31 +0000)]
feature8030 move WIM connector to plugins

Change-Id: I2e08ce7aa04f3e61adcf866925bf235b53e15baf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoVCD feature 7193-provider_nerwork 59/8059/6
kbsub [Thu, 17 Oct 2019 16:30:32 +0000 (16:30 +0000)]
VCD feature 7193-provider_nerwork

Change-Id: I72c64fe451831e20eb60e2629f998aba0130bfdf
Signed-off-by: kbsub <subair.basheer@riftio.com>
3 years agoFeature 7432 Merge branch 'Azure' 07/8207/3
tierno [Thu, 21 Nov 2019 16:10:32 +0000 (16:10 +0000)]
Feature 7432 Merge branch 'Azure'
flake8 fix on vincomm_azure

Change-Id: Ife862080a0ad1824e22a04d7ae2511f25ed90372
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoRefresh includes public ip addresses, add empty additional disks if necessara 98/8198/1 Azure
lloretgalleg [Thu, 21 Nov 2019 08:31:16 +0000 (09:31 +0100)]
Refresh includes public ip addresses, add empty additional disks if necessara

Change-Id: Iaa23d711b83655358cbba40b123ba3877e24c5e7
Signed-off-by: lloretgalleg <illoret@minsait.com>
3 years agoMerge "fix in VIM openvim connector" into py3
tierno [Thu, 14 Nov 2019 15:13:30 +0000 (16:13 +0100)]
Merge "fix in VIM openvim connector" into py3

3 years agofix in VIM openvim connector 75/8175/1
tierno [Thu, 14 Nov 2019 14:06:31 +0000 (14:06 +0000)]
fix in VIM openvim connector

Change-Id: I3f504273444b31e06094feceea9ef413a53c6db9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoPreparing RO for k8s deployment without VDUs 24/8124/2
calvinosanch [Thu, 7 Nov 2019 10:46:38 +0000 (11:46 +0100)]
Preparing RO for k8s deployment without VDUs

Change-Id: I81282992d2944b0bf0f8ef903ca17ba43ea11098
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
3 years agoCreate vm with cloud-init keys, allow duplicate networks and vm, 09/8109/2
lloretgalleg [Tue, 29 Oct 2019 10:53:49 +0000 (11:53 +0100)]
Create vm with cloud-init keys, allow duplicate networks and vm,
add data disks, corrections to current azure connector

Change-Id: I8ae97c6b3e6561814d98eaab87fa54090711f8bc
Signed-off-by: lloretgalleg <illoret@minsait.com>
3 years ago(bug 880) fixing vmware VIM plugin python3 migration issues 28/8128/3
tierno [Thu, 7 Nov 2019 16:28:54 +0000 (16:28 +0000)]
(bug 880) fixing vmware VIM plugin python3 migration issues
fixing unit test and tox installation

Change-Id: Id4fdfa7e0bcd6b5f7ca581ac49ada1c0cdce72af
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix bug 878 29/8129/1
baldoni [Thu, 7 Nov 2019 11:50:11 +0000 (12:50 +0100)]
fix bug 878

Change-Id: I7c7b6b86b02588d2aaee0464d422c0b9e7328ad6
Signed-off-by: baldoni <gabriele.baldoni@adlinktech.com>
3 years agofeature 8029 change RO to python3. Using vim plugins 20/8020/10
tierno [Fri, 4 Oct 2019 12:56:31 +0000 (12:56 +0000)]
feature 8029 change RO to python3. Using vim plugins

Change-Id: I1e7bf61db9c39c66e0233c81bd8b4caa6650d389
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoinject_user_key routine fixes 46/8046/1 feature5837 feature7928
calvinosanch [Sun, 13 Oct 2019 13:52:33 +0000 (15:52 +0200)]
inject_user_key routine fixes

Change-Id: I33da18782131a14c4e195995272295db7718bb92
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
3 years agoMerge branch 'master' into Azure 23/8023/1
tierno [Mon, 7 Oct 2019 16:38:23 +0000 (16:38 +0000)]
Merge branch 'master' into Azure

Change-Id: Ia9726dfe53813157c1e3002a44f041861722d424
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoAzure Connector Improvemets 82/7982/3
jamartinezv [Thu, 1 Aug 2019 09:45:15 +0000 (11:45 +0200)]
Azure Connector Improvemets

Change-Id: I4b84ff5a801adf33595bd4ef44012dfc663f6f0c
Signed-off-by: jamartinezv <jamartinezv@minsait.com>
3 years agoRO docker container based on ubuntu 18.04 00/7800/4
calvinosanch [Wed, 24 Jul 2019 10:45:04 +0000 (10:45 +0000)]
RO docker container based on ubuntu 18.04

Change-Id: I2a8514f4673caa1c08ee4eaefd56475e3966a17e
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
3 years agobug 847. Fix KeyError vim_status when copying values between related tasks 47/7947/1 feature7148
tierno [Fri, 13 Sep 2019 08:36:24 +0000 (08:36 +0000)]
bug 847. Fix KeyError vim_status when copying values between related tasks

Change-Id: I41ab184c553f8737d1d8e4cd58533b4531f3f5fe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agobug 828 inject RO key only when there is mgmt-keys instantiation parameter over vdu 40/7940/2
tierno [Tue, 10 Sep 2019 16:16:13 +0000 (16:16 +0000)]
bug 828 inject RO key only when there is mgmt-keys instantiation parameter over vdu

Change-Id: I5f7f3b3ad36ae7e56658c22c027548292ffddafc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFeature 7318 check vim-create connectivity and credentials 68/7868/2 v6.0 v6.0.2 v6.0.2rc1 v6.0.3 v6.0.4 v6.0.4rc1
tierno [Thu, 4 Jul 2019 16:23:20 +0000 (16:23 +0000)]
Feature 7318 check vim-create connectivity and credentials
change version to be aligned with OSM

Change-Id: Id5a95c51397a4b8722bd8042cabf0f2f0c67d684
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoL2SM Plugin - Restconf Compliant 70/7870/2 GCP
pajaresmarti [Thu, 29 Aug 2019 08:55:31 +0000 (10:55 +0200)]
L2SM Plugin - Restconf Compliant

Change-Id: Iefa27d3c2aa6939b17bedb1c92cd351ede42ca4b
Signed-off-by: pajaresmarti <guillermo.pajaresmartin@telefonica.com>
3 years agotest_RO: Removing deprecated tests and updating some examples 47/7847/1
calvinosanch [Fri, 16 Aug 2019 10:59:12 +0000 (10:59 +0000)]
test_RO: Removing deprecated tests and updating some examples

Change-Id: I620a5b5263a8656ab23e4c152da15d67230633be
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
3 years agoBug782 fix: use_existing_flavors flag was not working 34/7834/2
calvinosanch [Mon, 5 Aug 2019 11:03:46 +0000 (11:03 +0000)]
Bug782 fix: use_existing_flavors flag was not working

Change-Id: Icca64e75d68ef6eb4bda2f446851d3ac4c02d231
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
3 years agobug 668. Fix existing flavor as not created 04/7804/1
tierno [Wed, 24 Jul 2019 15:47:16 +0000 (15:47 +0000)]
bug 668. Fix existing flavor as not created

Change-Id: Ifab6f72590f813dbe24be0e78c5aadb14e58c9b4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix external port creation/deletion for WIM and sdn-assist 02/7802/1
tierno [Wed, 24 Jul 2019 14:35:42 +0000 (14:35 +0000)]
fix external port creation/deletion for WIM and sdn-assist

Change-Id: I8eac12688d1566b0cc3a48153afae8991a356859
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoUpdate Dynpac WIM connector 61/7761/3
sasiain [Mon, 8 Jul 2019 08:15:31 +0000 (10:15 +0200)]
Update Dynpac WIM connector

Change-Id: I20d6c8e42abc6f88d5b5c81ed057ce2559c72a77
Signed-off-by: sasiain <jorge.sasiain@ehu.es>
3 years agoBearer Added 48/7748/3
pajaresmarti [Thu, 4 Jul 2019 07:14:40 +0000 (09:14 +0200)]
Bearer Added

Change-Id: I40de3e356ec161968d23a3f98cb04d203d9962f5
Signed-off-by: pajaresmarti <guillermo.pajaresmartin@telefonica.com>
3 years agoFix vCD attach failure 75/7775/2
beierl [Mon, 15 Jul 2019 13:40:24 +0000 (09:40 -0400)]
Fix vCD attach failure

On session timeout, the vCD connector needs to reauthenticate
to get a new token.  This authentication must also use a
modern version number, or it will fail.

BUG 718

Change-Id: I9ca1258bdb824ed9acb2f6ca712babc2fc91d8c0
Signed-off-by: beierl <mbeierl@vmware.com>
3 years agoADD support for multivdu ns 62/7762/1
albertoflorez [Mon, 8 Jul 2019 11:16:21 +0000 (13:16 +0200)]
ADD support for multivdu ns

Change-Id: I2b97581850cf854fcdbbef9a71daa340105dbbaf
Signed-off-by: albertoflorez <alberto.florezpages@telefonica.com>
3 years agovimconn flake8 52/7752/1
tierno [Thu, 4 Jul 2019 16:23:00 +0000 (16:23 +0000)]
vimconn flake8

Change-Id: Ia297b9a2dd1ffe7403ac786498108b1a2261c9fe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agobug 793: fix detection of database not completely inited 50/7750/1
tierno [Thu, 4 Jul 2019 13:50:22 +0000 (13:50 +0000)]
bug 793: fix detection of database not completely inited

Change-Id: I79c099efb87f36e6251aa30d9eff1b1a223a73a9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix error of database downgrade from 38 to 37 39/7739/1
tierno [Tue, 2 Jul 2019 14:13:47 +0000 (14:13 +0000)]
fix error of database downgrade from 38 to 37

Change-Id: I8e13f5caac4187ecba2e47127a02b2a88ca6005a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoRemoving hardcode of database name in version 23 26/7726/1 v6.0.1
Eduardo Sousa [Thu, 27 Jun 2019 11:07:42 +0000 (12:07 +0100)]
Removing hardcode of database name in version 23

Change-Id: I7b0f87b0e1580bdb7fb1e272a012311320b54618
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
3 years agoFix bug 772. vim_thread tasks key params 85/7685/2
tierno [Wed, 19 Jun 2019 14:55:58 +0000 (14:55 +0000)]
Fix bug 772. vim_thread tasks key params

Change-Id: I533859eb38a02ff3c084b6d53a735660f4ec46b1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoMerge "Bug 778 Wait on the upload iso task"
tierno [Tue, 25 Jun 2019 14:38:44 +0000 (16:38 +0200)]
Merge "Bug 778 Wait on the upload iso task"

3 years agoBug 780 fixed - port_mapping reading error 87/7687/2
pajaresmarti [Thu, 20 Jun 2019 10:45:21 +0000 (12:45 +0200)]
Bug 780 fixed - port_mapping reading error

Change-Id: Ifc0d0c0e63864efbd66b9c250ef6bc3ddfa624bb
Signed-off-by: pajaresmarti <guillermo.pajaresmartin@telefonica.com>
3 years agoBug 778 Wait on the upload iso task 75/7675/1
Ananda Baitharu [Tue, 18 Jun 2019 13:53:37 +0000 (13:53 +0000)]
Bug 778 Wait on the upload iso task

Change-Id: I8a4cead515fbab1a8bd267649b8e6c46b942a1ec
Signed-off-by: Ananda Baitharu <ananda.baitharu@riftio.com>
3 years agoMigrate to Pyone and refactor 62/7662/2
jomacarpe [Wed, 12 Jun 2019 21:20:51 +0000 (21:20 +0000)]
Migrate to Pyone and refactor

Change-Id: I46c92897c394784632b153c7b92cca743f78a67d
Signed-off-by: jomacarpe <josemaria.carmonaperez@telefonica.com>
3 years agoMinor fix regarding "related" in WIM 99/7599/2 v6.0.0
Anderson Bravalheri [Mon, 3 Jun 2019 14:14:12 +0000 (15:14 +0100)]
Minor fix regarding "related" in WIM

Change-Id: I99c60a905009aa12513ab64dde5f64d164cca855
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
3 years agofix issue updating a vim network in a multisite deployment 11/7611/2
tierno [Wed, 5 Jun 2019 08:28:04 +0000 (08:28 +0000)]
fix issue updating a vim network in a  multisite deployment

Change-Id: I27bb7e49b3f97af0d2efdf0b839b3df2fad10f05
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoBug 714 vcd vimconnector: Make the vCloud API version compatible across different... 35/7635/1
Ananda Baitharu [Mon, 10 Jun 2019 09:00:27 +0000 (09:00 +0000)]
Bug 714 vcd vimconnector: Make the vCloud API version compatible across different version of VCDs

Change-Id: I966480aee583c819adcdb07d581c01284af8cb77
Signed-off-by: Ananda Baitharu <ananda.baitharu@riftio.com>
3 years agoBug 741 fixed - Added href to parent network data 14/7614/1
Ravi Chamarty [Wed, 5 Jun 2019 17:06:39 +0000 (17:06 +0000)]
Bug 741 fixed - Added href to parent network data

Change-Id: I0224c2d53f53977e5929d47522c71db759c0cb85
Signed-off-by: Ravi Chamarty <ravi.chamarty@riftio.com>
3 years agoAdd "additionalProperties" support to remove_extra_items in utils 97/7597/1
Anderson Bravalheri [Thu, 30 May 2019 14:55:55 +0000 (15:55 +0100)]
Add "additionalProperties" support to remove_extra_items in utils

Change-Id: Ia3d48796f0d6b9b5dfd7d5838df0863846778944
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
3 years agofixing new_network without providing ip address 94/7594/2
tierno [Mon, 3 Jun 2019 14:05:08 +0000 (14:05 +0000)]
fixing new_network without providing ip address

Change-Id: I73955e6d902bd09a4b2ea3f438228abf0f1176d0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFix deployment of EPA VMs to use single virtual socket instead of 1 socket per core 03/7403/4
garciadeblas [Thu, 11 Apr 2019 17:15:49 +0000 (19:15 +0200)]
Fix deployment of EPA VMs to use single virtual socket instead of 1 socket per core

Change-Id: I21afb45210e9006d06d79f6501e4cec5f805451f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agofixing refresh vm and net status 68/7568/1
tierno [Wed, 29 May 2019 09:29:01 +0000 (09:29 +0000)]
fixing refresh vm and net status

Change-Id: I6715a23ba15f690860fc469f97fec4f53f8358c2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoMissing method implementation 66/7566/3
seryio [Wed, 29 May 2019 07:16:24 +0000 (09:16 +0200)]
Missing method implementation

Change-Id: If585eedc95e293ab127b7b41efd2e59a82b5f6f0
Signed-off-by: seryio <siyito.lpgc@gmail.com>
3 years agofirst implementation of get_image_list 50/7550/1
tierno [Mon, 27 May 2019 10:24:50 +0000 (10:24 +0000)]
first implementation of get_image_list

Change-Id: I9ede7a2be15a669476762785e40e9ec69bade35b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix some issues at azure plugin 49/7549/1
tierno [Mon, 27 May 2019 08:14:01 +0000 (08:14 +0000)]
fix some issues at azure plugin

Change-Id: Ife4ff5e1b291c5c2519cd25c3c3831ea966899b7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoInserting Azure plugin 40/7440/3
seryio [Thu, 23 May 2019 12:50:49 +0000 (14:50 +0200)]
Inserting Azure plugin

Change-Id: I21254a385791747c3138255c1f1e2476d5147823
Signed-off-by: seryio <siyito.lpgc@gmail.com>
3 years agochange database to allow VIM ids length of 300 99/7499/1
tierno [Thu, 23 May 2019 10:16:07 +0000 (10:16 +0000)]
change database to allow VIM ids length of 300

Change-Id: I4d746533b10e81a54e4846af8360f903bfcf01d9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoInstall needed packages for Azure 38/7438/2
tierno [Tue, 30 Apr 2019 12:20:38 +0000 (12:20 +0000)]
Install needed packages for Azure

Change-Id: If163eefe22ac0c08da649edf10aa8ab4b5e7b650
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofixing wim types 97/7497/1
tierno [Thu, 23 May 2019 08:07:12 +0000 (08:07 +0000)]
fixing wim types

Change-Id: I64cd6b28381a7641e0af664fd2fd24c6e3856f62
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agobug 687 fixing related when scaling 90/7490/1
tierno [Wed, 22 May 2019 16:45:09 +0000 (16:45 +0000)]
bug 687 fixing related when scaling

Change-Id: I73d7fb77a55aa56691bf1507d9d99b32679adc4f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoadding wim fake connector 86/7486/2
tierno [Wed, 22 May 2019 09:56:05 +0000 (09:56 +0000)]
adding wim fake connector

Change-Id: I03fa422d5fe57f4bb5f82aa3f059ab049f466de9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoMerge branch 'fog' 60/7460/2
tierno [Tue, 14 May 2019 11:22:45 +0000 (11:22 +0000)]
Merge branch 'fog'

Change-Id: I22026c17fd94e7a1bb22c0fb87035c4f9bff12ff
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix bug 686: getting interfaces at new_sfi 35/7435/4
tierno [Mon, 29 Apr 2019 16:02:23 +0000 (16:02 +0000)]
fix bug 686: getting interfaces at new_sfi

Change-Id: Ia0b4e35139688c97b5f12e494ec80e191bbd80f6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoMerge branch 'feature7106' 57/7457/1
tierno [Mon, 13 May 2019 10:18:28 +0000 (10:18 +0000)]
Merge branch 'feature7106'

Change-Id: I1670f7013c63c7a5e5c6855fe3ea168423f86834
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoinitial implementation of vimconn_fos for Eclipse fog05 VIM 68/7368/7 fog
baldoni [Wed, 27 Mar 2019 09:46:08 +0000 (10:46 +0100)]
initial implementation of vimconn_fos for Eclipse fog05 VIM

Change-Id: I68485c1502002246012d13d7ab176bfb8908b283
Signed-off-by: baldoni <gabriele.baldoni@adlinktech.com>
3 years agoBug 692 vmware vcd vimconnnector: Fix parsing vAppTemplate response 54/7454/1
Ananda Baitharu [Fri, 10 May 2019 15:43:18 +0000 (15:43 +0000)]
Bug 692 vmware vcd vimconnnector: Fix parsing vAppTemplate response

Change-Id: I1d69e984dc1c8ef05d8cff29059c6b2893edeb0e
Signed-off-by: Ananda Baitharu <ananda.baitharu@riftio.com>
3 years agoDisable port security at network creation (openstack) 45/7445/2
anwars [Mon, 6 May 2019 05:53:07 +0000 (11:23 +0530)]
Disable port security at network creation (openstack)

Feature : https://osm.etsi.org/gerrit/#/c/7326

Introducing a new VIM config parameter for openstack VIM,
disable_network_port_security

This will allow to disable the port security while creating networks in openstack

To be used for VIM which has port security extension but do not support port security
(Network creation fails with error that Port security is not supported)

Change-Id: I3822f0d76450cceec50fc757ad273ab11f414d13
Signed-off-by: anwars <anwars@vmware.com>
3 years agoFeature 7106 : Handle additional EPA parameters for openstack VIM connector 19/7419/7 feature7106
anwars [Mon, 22 Apr 2019 05:05:27 +0000 (10:35 +0530)]
Feature 7106 : Handle additional EPA parameters for openstack VIM connector

Gerrit feature request : https://osm.etsi.org/gerrit/#/c/7106/

Changes:

NFVO engine to read and parse the quota descriptor and store as flavor extended properties.

Openstack VIM Connector to process the new extended properties and suitably pass them as extra specs when creating flavor.

Change-Id: Icdd8730f6f6de6d420027de962f0f5def0376375
Signed-off-by: anwars <anwars@vmware.com>
3 years agoCleans, formats and does small restructures to openmanod to be compliant with pylint... 50/7450/1
Benjamin Diaz [Thu, 9 May 2019 00:24:46 +0000 (21:24 -0300)]
Cleans, formats and does small restructures to openmanod to be compliant with pylint and flake8

Change-Id: I4a54261c9c46365877773b08a073a0f7d0b2ded6
Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
3 years agofix bug 685. Getting unique log name for vim_accounts 47/7447/2
tierno [Mon, 6 May 2019 13:24:12 +0000 (13:24 +0000)]
fix bug 685. Getting unique log name for vim_accounts

Change-Id: I3d5c039243d5cad7137beaf4a1b62e467243712d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoAdding flake8 tests over some files 81/7381/5
tierno [Tue, 2 Apr 2019 11:49:31 +0000 (11:49 +0000)]
Adding flake8 tests over some files

Change-Id: Ic00ddca13ac3dfa21b1279030026891239989e28
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoMerge branch WIM: Connector using IETF L2VPN Service model 34/7434/1
tierno [Mon, 29 Apr 2019 14:42:32 +0000 (14:42 +0000)]
Merge branch WIM: Connector using IETF L2VPN Service model
fix flake8 errors

Change-Id: I6c24777b75c0197364cc6138f444e32ba3be2018
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFirst implementation of a WIM Connector using IETF L2VPN Service model 11/7111/5 WIM
gonzalezdedi [Fri, 18 Jan 2019 13:52:43 +0000 (14:52 +0100)]
First implementation of a WIM Connector using IETF L2VPN Service model
(RFC 8466)

Change-Id: I7602e204c4e9caedcf87421db3ac4a6a1990ea3b
Signed-off-by: gonzalezdedi <oscar.gonzalezdedios@telefonica.com>
3 years agobug 684: database order of interfaces are lost 26/7426/1
tierno [Fri, 26 Apr 2019 12:26:01 +0000 (12:26 +0000)]
bug 684: database order of interfaces are lost

Change-Id: Iad5d027ef77d7be5d48045150b81c6560694e602
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoVCD VIMconnector: add config drive support; Adding genisoimage package installation... 82/7282/3
Ananda Baitharu [Tue, 5 Mar 2019 17:34:31 +0000 (17:34 +0000)]
VCD VIMconnector: add config drive support; Adding genisoimage package installation to scripts/install-openmano.sh

Change-Id: I2fdf100a8ecc04207d0e977e81eabc46862a8b6d
Signed-off-by: Ananda Baitharu <ananda.baitharu@riftio.com>
3 years agoAdd related vim_wim_tasks (tasks that deals with same vim/wim element 77/7277/9
tierno [Mon, 4 Mar 2019 17:32:01 +0000 (17:32 +0000)]
Add related vim_wim_tasks (tasks that deals with same vim/wim element
Remove state of vim_threads, working with database instead of memory
Allow several vim_threads over the same vim tasks

Change-Id: I5825b69309b8d3e6146798747b002108a34fa2aa
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoAdded apt-utils to Dockerfile for stage-archive.sh 52/7352/2
garciadeblas [Thu, 21 Mar 2019 15:33:57 +0000 (16:33 +0100)]
Added apt-utils to Dockerfile for stage-archive.sh

Change-Id: I0880b8e71ac24fd222068f130081e4535906ab14
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoskip unknown parameters at VNFD,NSD pyangbind validation 97/7397/1
tierno [Tue, 9 Apr 2019 14:19:40 +0000 (14:19 +0000)]
skip unknown parameters at VNFD,NSD pyangbind validation

Change-Id: Ib5c9536354aed78aea6cded7def9479287006cbe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofixing bug 665 parsing unicode openstack error messages 89/7389/2
tierno [Fri, 5 Apr 2019 12:46:42 +0000 (12:46 +0000)]
fixing bug 665 parsing unicode openstack error messages

Change-Id: I563f65d6ed4dacf482cde5983020d36ecc040c02
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agofix bug 654. First vdu's placement-groups does not work 69/7369/1
tierno [Fri, 29 Mar 2019 08:50:12 +0000 (08:50 +0000)]
fix bug 654. First  vdu's placement-groups does not work

Change-Id: Idc935fa13ab6b8e138472de4ebc932810a5e9c5b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agocapturing wim exceptions properly 64/7364/1
tierno [Mon, 25 Mar 2019 15:00:02 +0000 (15:00 +0000)]
capturing wim exceptions properly

Change-Id: I8bb1dde991e416c30acf841d99fdaea3c788eb97
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoRemoved double assignments of variables 53/7353/2
schillinge [Thu, 21 Mar 2019 21:27:04 +0000 (22:27 +0100)]
Removed double assignments of variables

These arrays are already assigned earlier, reassigning them to []
deletes previously added entries, disallowing VNFFGs consisting of
multiple RSPs, Classifiers, ...

Change-Id: Ifda49f7d8528e0e888569745261aa97772c075b8
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
3 years agofix error introduced at bu 650 code 54/7354/2
tierno [Thu, 21 Mar 2019 22:12:14 +0000 (22:12 +0000)]
fix error introduced at bu 650 code

Change-Id: Ic9ac1c90e9df70fb3d5ac1e048a75d0d0cfe9431
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoImplemented VIM get_vminstance_console method 36/7336/2
kasar [Wed, 20 Mar 2019 08:40:05 +0000 (01:40 -0700)]
Implemented VIM get_vminstance_console method

Change-Id: Ie54a095f9102c98606bb985bc79314017942e124
Signed-off-by: kasar <pkasar@vmware.com>
3 years agobug 650 adding WIM account instantiation parameter. 41/7341/3
tierno [Wed, 20 Mar 2019 17:23:45 +0000 (17:23 +0000)]
bug 650 adding WIM account instantiation parameter.
Allow manual selection of wim or deployment without Wim

Change-Id: If4928ff33ebc671b6870faf20f3b4253c9f59372
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFixed some typos 45/7345/1
garciadeblas [Thu, 21 Mar 2019 08:55:44 +0000 (09:55 +0100)]
Fixed some typos

Change-Id: I6e98001c2fc94d4efd5d2b3be0b401a3c7a862fb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoBug 642 - Need to update VCD VIMconnector for VCD 9.5 95/7295/2
kasar [Wed, 13 Mar 2019 09:21:06 +0000 (02:21 -0700)]
Bug 642 - Need to update VCD VIMconnector for VCD 9.5

Change-Id: I1e5d750302d9b4b81aba025e2629ad1a5e79fb51
Signed-off-by: kasar <pkasar@vmware.com>
3 years agoFix support of multi-segment networks in Openstack; added created_items in all vimconns 16/7216/4
garciadeblas [Thu, 31 Jan 2019 16:01:31 +0000 (16:01 +0000)]
Fix support of multi-segment networks in Openstack; added created_items in all vimconns

Change-Id: I641a337e58138d693970616360dfb9aab021fd2a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 years agoset security groups to neutron port at vimconn openstack 59/7159/8
tierno [Fri, 1 Feb 2019 12:30:27 +0000 (12:30 +0000)]
set security groups to neutron port at vimconn openstack

Change-Id: Id6c2dc28a80ab6d62f33eeb0480a7232e112cf48
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFix logic in adding prefix to ip-a in classifier 76/7276/3
Venkata Harshavardhan Reddy Allu [Fri, 1 Mar 2019 20:39:56 +0000 (02:09 +0530)]
Fix logic in adding prefix to ip-a in classifier

This commit has following changes:

- When 'source-ip-address' or 'destination-ip-address' are not provided
  under "nsd:nsd-catalog:nsd:vnffgd:classifier:match-attributes" this
  would avoid adding the '/32' prefix in the classifier definition.

- add details to classifier definition only if provided.

This patch helps us in creating classifier with minimum details and
avoid errors when 'source-ip-address' or  'destination-ip-address'
 were not provided in nsd.

Change-Id: I5b572552bd670b56faa0aba5833209d198e10450
Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven@srmuniv.edu.in>
3 years agoaddedd region_name to keystone, nova, neutron and cinder to support distributed cloud... 35/7235/1
fatollahy [Tue, 19 Feb 2019 12:53:40 +0000 (12:53 +0000)]
addedd region_name to keystone, nova, neutron and cinder to support distributed cloud for Wind River Titanium cloud and StarlingX

Change-Id: Ic04f35f668f485674760af3805f0a70e4d180477
Signed-off-by: fatollahy <masoud.fatollahy@windriver.com>
3 years agoAdded support for region_name for Distributed cloud implementation of WindRiver Titan... 75/7175/2
fatollahy [Fri, 1 Feb 2019 20:50:46 +0000 (20:50 +0000)]
Added support for region_name for Distributed cloud implementation of WindRiver Titanium Cloud and StarlingX

Change-Id: I639ae150aff154ccc01499b42d6ed659d0eca7ff
Signed-off-by: fatollahy <masoud.fatollahy@windriver.com>
3 years agoImprove race conditions/MySQL reconnection 20/7220/3
Anderson Bravalheri [Fri, 8 Feb 2019 01:44:14 +0000 (01:44 +0000)]
Improve race conditions/MySQL reconnection

This commit aims to provide a better synchronization between all the
different threads in RO, specially regarding DB usage and internal state
consistency.

The following improvements were done:

1. Centralize database retry logic into a single function

  This way we can change the procedure and the rules for retrying in a
  single place and this reflects in several functions simultaneously
  avoiding the need for manual copy and paste (and the potential risk of
  forgetting to change somewhere)

2. Minor fixes/improvements related to database connection loss.

  Previously `db_base` was already able to identify when the connection
  to MySQL was lost, but apparently in a few edge cases the automatic
  reconnection was not done.

3. Implement a transaction method

  This method replaces the old context manager API for the connection
  object that was removed from MySQLdb in version 1.4

  In additional it is possible to use a decorator for transactions
  (not only the context manager), which is handy sometimes.

4. Add lock mechanism directly to db_base

  This helps to improve synchronization between threads.
  Some extra synchronization was introduced to functions, as it seemed
  to be the case.
  Moreover, previously, the cursor object was part of the internal state
  of the db_base object, and it was being changed/used without thread
  synchronization (error-prone). Having the locking mechanism around the
  changes in the cursor property of the class, avoids problems.

5. Add option to fork connection

  Useful when independent threading is needed (as long as different
  threads don't access the same database table, having separated
  connections and locks should work fine).

Change-Id: I3ab34df5e8c2857d96ed14a70e7f65bd0b5189a0
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
3 years agoRe-adding the enum elements for SFC that were missing 09/7209/3
Eduardo Sousa [Thu, 7 Feb 2019 10:53:10 +0000 (10:53 +0000)]
Re-adding the enum elements for SFC that were missing

Change-Id: Ie198147ae914dc35445158489ad85f1156857782
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
3 years agofix ip-profile ignored at openstack 94/7194/1
tierno [Sun, 3 Feb 2019 22:41:19 +0000 (22:41 +0000)]
fix ip-profile ignored at openstack

Change-Id: I7ba41acd9eea907f0ae29976a4063a25b780c11d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoREMOVE some comments and unnecessary lines 64/7164/2
albertoflorez [Fri, 1 Feb 2019 11:22:47 +0000 (12:22 +0100)]
REMOVE some comments and unnecessary lines

Change-Id: I487b5cf482ce3ae9d3d4940eec6fbbdf75b26174
Signed-off-by: albertoflorez <alberto.florezpages@telefonica.com>
3 years agoFix wrong usage of `isinstance` 63/7163/1
Anderson Bravalheri [Fri, 1 Feb 2019 10:56:55 +0000 (10:56 +0000)]
Fix wrong usage of `isinstance`

Second parameter should be a class, not string

Change-Id: I6401429d7cc314502a364b7fc81e73d30175b193
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
3 years agomake new-net task wim parameter backward compatible 44/7144/1 v5.0.3 v5.0.4
tierno [Wed, 30 Jan 2019 13:35:37 +0000 (13:35 +0000)]
make new-net task wim parameter backward compatible

Change-Id: I90e0b0affa4c5350b9ace0000441e7ba022ea7f2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agogetting bug fixes from master 39/7139/1
tierno [Wed, 30 Jan 2019 09:41:30 +0000 (10:41 +0100)]
getting bug fixes from master

Change-Id: Id86af2c276ab34c76c231d36c1c9c1a4c7ecc93a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoMerge "Fixed accidential override of `sfc_encap`"
tierno [Mon, 28 Jan 2019 16:39:48 +0000 (17:39 +0100)]
Merge "Fixed accidential override of `sfc_encap`"

3 years agoadding external port to SDN-Assist when connected to WIM 21/7121/2
tierno [Wed, 23 Jan 2019 10:19:23 +0000 (10:19 +0000)]
adding external port to SDN-Assist when connected to WIM

Change-Id: Ic6902950915a8fde50d162cf425c1851e5bc001c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoFixed accidential override of `sfc_encap` 24/7124/1
schillinge [Thu, 24 Jan 2019 08:25:11 +0000 (09:25 +0100)]
Fixed accidential override of `sfc_encap`

The old code basically hardcoded the use of NSH (which is still broken
in OpenStack's SFC implementation).

Change-Id: I0de4682bca69c7a349d678ae3a8179d78b37c605
Signed-off-by: schillinge <ablu@mail.uni-paderborn.de>
3 years agoMerge branch 'WIM' 13/7113/2
tierno [Mon, 21 Jan 2019 09:55:46 +0000 (09:55 +0000)]
Merge branch 'WIM'

Change-Id: Id314390ba524d22d4e1f74cfe8ef7c808bb8ac0e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
3 years agoInject "wim_port_mappings" from "wim.config" 63/7063/4
Anderson Bravalheri [Sun, 16 Dec 2018 20:44:08 +0000 (20:44 +0000)]
Inject "wim_port_mappings" from "wim.config"

Automatically create/update port mappings during WIM creation/update,
as discussed in the WIM implementation meeting (12/Dec/2018).

Additionally fix small related errors and ensure wan_port_mappings
are returned by the HTTP server using the same keys forming the schema.

Change-Id: Icc27ad85c1de826ed96cb42b377055ea1b0c2cab
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>