osm/RO.git
4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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"

4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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>
5 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`"

5 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>
5 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>
5 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>
5 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>
5 years agoAdd new fields to instance_net.vim_info 62/7062/4
Anderson Bravalheri [Sun, 16 Dec 2018 19:28:37 +0000 (19:28 +0000)]
Add new fields to instance_net.vim_info

VIM Connectors should provide the fields "encapsulation_type" and
"encapsulation_id", as discussed in the WIM implementation meeting
(21/Nov/2018).

Change-Id: I654d8fa93bef7c37c7ce575c0335154e99fd7347
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
5 years agoChange WAN Actions to use VIM config rules 61/7061/4
Anderson Bravalheri [Fri, 7 Dec 2018 12:51:45 +0000 (12:51 +0000)]
Change WAN Actions to use VIM config rules

Extract switch ID and port by default from
vim.config.external_connections, as discussed in the WIM implementation
meeting (21/Nov/2018).

Change-Id: I95cc5fb0d6ad2822ef4bd1b80e7652bfabf34120
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
5 years agoFind WIM before creating local networks 09/7009/7
Anderson Bravalheri [Fri, 30 Nov 2018 09:55:29 +0000 (09:55 +0000)]
Find WIM before creating local networks

The usage of the wim_account information for create networks inside the
VIMs/datacenters should be developed in future commits

Change-Id: I545455f23cbde9071b2bdc91ae032b7a76e0eefe
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
5 years agoBug 620 VCD VIMconnector: new_network api is going to create "Isolated" type network 99/7099/1
Ananda Baitharu [Mon, 14 Jan 2019 13:05:58 +0000 (13:05 +0000)]
Bug 620 VCD VIMconnector: new_network api is going to create "Isolated" type network

Change-Id: I06f5c877859c488d309baa0d595cb6e6c23f9961
Signed-off-by: Ananda Baitharu <ananda.baitharu@riftio.com>
5 years agoWIM dynpac: Add credentials 94/7094/1
David García [Thu, 10 Jan 2019 22:31:03 +0000 (23:31 +0100)]
WIM dynpac: Add credentials

Change-Id: Iae69fda14d9ffab43af47084b596ba4a5bc8c7a7
Signed-off-by: David García <david.garciaco@ehu.eus>
5 years agofixing database sql errors 88/7088/1
tierno [Tue, 8 Jan 2019 16:22:40 +0000 (16:22 +0000)]
fixing database sql errors

Change-Id: Ic73bf8a47378f4c55ece64014a279264f5bf0855
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 608 Database migration recovering with docker relaunch 50/7050/2
tierno [Fri, 21 Dec 2018 10:19:38 +0000 (10:19 +0000)]
bug 608 Database migration recovering with docker relaunch

Change-Id: I4005e048b71284c154495a90d8b1256a09e6ff98
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoallow pdu without image 75/7075/2
tierno [Wed, 19 Dec 2018 16:00:25 +0000 (16:00 +0000)]
allow pdu without image

Change-Id: Icb02d22d2c1497c1af5cfeff2702d2757bcdcda1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoUpdating VNFFG example to comply with new IM version 54/7054/2
Eduardo Sousa [Wed, 12 Dec 2018 12:09:58 +0000 (12:09 +0000)]
Updating VNFFG example to comply with new IM version

Change-Id: Ie62134ce91cd2686547bb487892474b0d3279e61
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agofix issue creating instance of only networks without scenario 69/7069/1
tierno [Tue, 18 Dec 2018 15:19:27 +0000 (15:19 +0000)]
fix issue creating instance of only networks without scenario

Change-Id: Ibeb3a9f6176c7bc5b9178661d88f37bf204d11e0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding vim-network-id parameter to instantiation 66/7066/2
gcalvino [Mon, 17 Dec 2018 15:19:33 +0000 (16:19 +0100)]
Adding vim-network-id parameter to instantiation

Change-Id: I3be6b0b5b0de1ea0f1379a48546f27b45f946b5e
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
5 years agoAdding support to different ingress and egress ports (SFC) 12/7012/16
Eduardo Sousa [Fri, 30 Nov 2018 15:33:35 +0000 (15:33 +0000)]
Adding support to different ingress and egress ports (SFC)

TODO: update VNFFG example.

Change-Id: I26cf6cc8760516203f8a4fa147bdcd2e00887d89
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoFixing error in Flow Classifier creation (SFC) 01/7001/3
Eduardo Sousa [Thu, 29 Nov 2018 14:55:01 +0000 (14:55 +0000)]
Fixing error in Flow Classifier creation (SFC)

Fetching interfaces from the wrong place.

Change-Id: Ibce20543135272ef6b6ff1bca9d1e151972ec985
Signed-off-by: Eduardo Sousa <esousa@whitestack.com>
5 years agoBug 611 Fix unicode parsing at database 44/7044/2
tierno [Wed, 5 Dec 2018 16:23:38 +0000 (16:23 +0000)]
Bug 611 Fix unicode parsing at database

Change-Id: I08ea1f463cabf776343d58d48fdff9066c483a89
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdd Dynpac WIM Connector 46/7046/1
David García [Mon, 10 Dec 2018 08:43:50 +0000 (09:43 +0100)]
Add Dynpac WIM Connector

A file osm_ro.wim.wimconn_dynpac added, which defines a the DynpacConnector class

Change-Id: I72fbd5387cdf3c09bc69cdde10713e224b7876ed
Signed-off-by: David García <david.garciaco@ehu.eus>
5 years agoinstance_actions: renamed vim_actions to vim_wim_actions 42/7042/1 v5.0.2
garciadeblas [Wed, 5 Dec 2018 11:42:35 +0000 (12:42 +0100)]
instance_actions: renamed vim_actions to vim_wim_actions

Change-Id: I61d4f61c08a9571785937118be96942ce8b88c94
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>