osm/RO.git
6 years agobug 425 fix SR-IOV PCI-PASSTHROUGH interfaces 76/5676/3
tierno [Fri, 10 Nov 2017 16:09:18 +0000 (17:09 +0100)]
bug 425 fix SR-IOV PCI-PASSTHROUGH interfaces

Change-Id: I29528c574c05cec06ae8a4537f8398f0ca713011
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAvoid database growth by cleaning old vim_actions 29/5629/5
tierno [Tue, 24 Oct 2017 05:48:24 +0000 (07:48 +0200)]
Avoid database growth by cleaning old vim_actions

Change-Id: Ib3ad233c1a85e72fe24229282b59a88bc536c692
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoNew test script to validate RO in a lxc container 28/5628/5
tierno [Tue, 24 Oct 2017 05:20:44 +0000 (07:20 +0200)]
New test script to validate RO in a lxc container

Change-Id: If2e987329a92dc4c5bc260990b56abce5e8438cd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoRemoved non-used metadata at openstack for vPCI injection 81/5581/9
tierno [Sat, 14 Oct 2017 12:25:20 +0000 (14:25 +0200)]
Removed non-used metadata at openstack for vPCI injection

Change-Id: I3652807cfaf48a6b86cda0464dac90e3dffe2369
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agobug 331 Ensure neutron port is deleted upon vm creation failed 80/5580/8
tierno [Sat, 14 Oct 2017 11:27:03 +0000 (13:27 +0200)]
bug 331 Ensure neutron port is deleted upon vm creation failed

Change-Id: I9fd63a5fd09495ba02b46c55337d2da68fcae7b5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoinstall RO from source: fix to properly install ovim lib 75/5675/1 v3.0.0rc17 v3.0.1
garciadeblas [Fri, 10 Nov 2017 09:23:29 +0000 (10:23 +0100)]
install RO from source: fix to properly install ovim lib

Change-Id: I5ee5546a4c3615ad8a8bcd4af342c5bb1349b991
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoinstall from source: option -b refspec. Get last TAG sorting by version 42/5642/3 v3.0.0rc15 v3.0.0rc16
tierno [Thu, 2 Nov 2017 10:41:19 +0000 (11:41 +0100)]
install from source: option -b refspec. Get last TAG sorting by version

Change-Id: I6fbed7b8f8d8cb9d4021b39cb647522f56bea62e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoset management interface by vnfd:mgmt-interface:cp 43/5643/2
tierno [Thu, 2 Nov 2017 16:01:10 +0000 (17:01 +0100)]
set management interface by vnfd:mgmt-interface:cp

Change-Id: I1a910aad5e8edba1d001b5b4a91e741ae7eb27e5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAdd more domain credentials for openstack APIv3 27/5627/2 v3.0.0rc14
tierno [Tue, 24 Oct 2017 16:13:19 +0000 (18:13 +0200)]
Add more domain credentials for openstack APIv3

Change-Id: I0592537beabad4080a296f11fe85402de007de0b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agobug 397 Preserve env running install-openmano.sh 16/5616/3
Igor D.C [Mon, 23 Oct 2017 13:36:03 +0000 (13:36 +0000)]
bug 397 Preserve env running install-openmano.sh

This is a partial bug fix for bug 397, by making sure that sudo
is not invoked inside the install-openmano.sh script (which would
discard the environment already set, at least on default Ubuntu 16.04).
It is safe to not invoke sudo because the script requires to be run as
root. Additionally, it is now recommended to use "sudo -E" when invoking
the script, instead of just "sudo", to make sure the environment is
preserved.
The "sudo -E" recommendation has also been added to
install-openmano-service.sh.

Change-Id: Ib8fc5807e26f7018d9e5331c8b0c045794346d5a
Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
6 years agoCreate task FIND-CREATE for network 95/5595/1
tierno [Tue, 17 Oct 2017 21:15:08 +0000 (23:15 +0200)]
Create task FIND-CREATE for network

Change-Id: I67c42fb0af92955117a0539e516dbb4f19b5b346
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agobug 393 fixed datacenter attach/detach upon vimconn exception 94/5594/1
tierno [Tue, 17 Oct 2017 22:06:26 +0000 (00:06 +0200)]
bug 393 fixed datacenter attach/detach upon vimconn exception

Change-Id: I060a252b0c816ba0c42dc7c4e5a1a6d969672423
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoRename crypto package in setup.py 72/5572/2
Igor D.C [Thu, 12 Oct 2017 10:54:21 +0000 (10:54 +0000)]
Rename crypto package in setup.py

Renaming from "python-crypto" to "pycrypto", since the latter is the
package from pip. Otherwise, tox would fail when attempting to
download "python-crypto".

Change-Id: I8b8948469e26d92887d259303dcb79eef333395e
Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
6 years agobug 373 get cp port_security_enable from descriptor instead of pyangbind 69/5569/3
tierno [Thu, 12 Oct 2017 08:22:45 +0000 (10:22 +0200)]
bug 373 get cp port_security_enable from descriptor instead of pyangbind

Change-Id: I86180c9801c6ce0f3aaf06a34fa1a2cb21b5b39a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agobug 364 NBI backward compatiblity get tenant with name instead of uuid 60/5560/1
tierno [Wed, 11 Oct 2017 08:30:18 +0000 (10:30 +0200)]
bug 364 NBI backward compatiblity get tenant with name instead of uuid

Change-Id: I7d331488f2e2a104b2fbc1720e8d04cb158c4e85
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix issue when vinconn raises exception at constructor 50/5550/3
tierno [Mon, 9 Oct 2017 14:23:55 +0000 (16:23 +0200)]
Fix issue when vinconn raises exception at constructor

Change-Id: If6d69cab26a894c8f5d00f9affc0e214161d65af
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAllow test_RO.py to consume OSM IM 04/5504/7
tierno [Tue, 3 Oct 2017 14:18:09 +0000 (16:18 +0200)]
Allow test_RO.py to consume OSM IM

Change-Id: Icd8749e0138809082f6d35fb367ef46ddd8fbd0f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix bug 350 - Sensitive information recorded in openmano.log 29/5529/6
gcalvino [Thu, 5 Oct 2017 16:21:25 +0000 (18:21 +0200)]
Fix bug 350 - Sensitive information recorded in openmano.log

Change-Id: I36c03de50d9f328beedde41d7f7c0698df053b72
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agofix port security false at new IM 40/5540/1
tierno [Fri, 6 Oct 2017 12:03:05 +0000 (14:03 +0200)]
fix port security false at new IM

Change-Id: I53808a401016c5b823b1db8a30c8fa805b224ce4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agosource installation adjust for getting a proper lib_openvim version 39/5539/1
tierno [Fri, 6 Oct 2017 07:51:26 +0000 (09:51 +0200)]
source installation adjust for getting a proper lib_openvim version

Change-Id: I067cf99d07e216e9ab98faf4dc0daa82068e6493
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix an issue with EPA parameters 30/5530/1 v3.0.0
tierno [Thu, 5 Oct 2017 16:48:06 +0000 (18:48 +0200)]
Fix an issue with EPA parameters

Change-Id: I0275bf3395b9a2406ed7123250fb9195ecf2c79f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoChanges in vimconn_vmware.py to provide vim interface id on VM creation 25/5525/2
bhangare [Thu, 5 Oct 2017 07:51:15 +0000 (00:51 -0700)]
Changes in vimconn_vmware.py to provide vim interface id on VM creation

Change-Id: I1c92df2436a40edec45f95feb18107705df5fd31
Signed-off-by: bhangare <sbhangare@vmware.com>
6 years ago(bug 351) fix getting datacenter uuid from name at instantiation. 26/5526/1
tierno [Thu, 5 Oct 2017 10:41:44 +0000 (12:41 +0200)]
(bug 351) fix getting datacenter uuid from name at instantiation.
Fix instance without scenario issues

Change-Id: I1f6e171405a31848f5d15df1cc94dddd782bb9a0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agofix a VIM issue at network find or create if not exist 15/5515/3
tierno [Wed, 4 Oct 2017 13:04:53 +0000 (15:04 +0200)]
fix a VIM issue at network find or create if not exist

Change-Id: Ic76c473f48ec702b0d4f68917cb288dfc17bdafe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoProvide vim interface id on VM creation at vmware 03/5503/1
tierno [Tue, 3 Oct 2017 08:46:46 +0000 (10:46 +0200)]
Provide vim interface id on VM creation at vmware

Change-Id: Ief97490e8d072db0b842bc360484cb71af6adff9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix cloud-init insertion with v3 IM 01/5501/4
gcalvino [Tue, 3 Oct 2017 09:31:31 +0000 (11:31 +0200)]
Fix cloud-init insertion with v3 IM

Change-Id: Ia7657f255ff0f10d2bd1cfa934e2d15b89ef187b
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agoMinor modifications to include vim_id of interfaces when creating a vm 92/5492/2
montesmoreno [Mon, 2 Oct 2017 16:19:05 +0000 (18:19 +0200)]
Minor modifications to include vim_id of interfaces when creating a vm

Change-Id: Ie44f998d2c37c26d78cec9b93d9fb634221ffcb5
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
6 years agoExtend multipart file to other vim connectors 81/5481/5
tierno [Sun, 1 Oct 2017 22:17:43 +0000 (00:17 +0200)]
Extend multipart file to other vim connectors

Change-Id: I6cfae7c08801266387a2d11ce9e97dd799efeb05
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix database downgrade problem 85/5485/1
tierno [Mon, 2 Oct 2017 09:50:14 +0000 (11:50 +0200)]
Fix database downgrade problem

Change-Id: I7cd989aec2ff4237657bd72f61496e84e26d8879
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFeature 1429 - secure key management feature 83/2283/17
gcalvino [Fri, 22 Sep 2017 12:09:51 +0000 (14:09 +0200)]
Feature 1429 - secure key management feature

Change-Id: Ic643fcde4b8e1456e8ab1d8c256a971adb7412a2
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agoFeature 1413 resiliency to single component failure 95/2295/4
tierno [Mon, 25 Sep 2017 22:11:05 +0000 (00:11 +0200)]
Feature 1413 resiliency to single component failure
Feature 645 concurrent access to VIMs
Feature 629 horizontal_scale_out_of_VDUs

Change-Id: I2a832708e2bf3e4669bbfa999aad869bb15e65b1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoMerge "Add osm-im to the source install script"
tierno [Thu, 28 Sep 2017 14:02:59 +0000 (16:02 +0200)]
Merge "Add osm-im to the source install script"

6 years agoAdd osm-im to the source install script 08/2308/2
tierno [Thu, 28 Sep 2017 10:17:05 +0000 (12:17 +0200)]
Add osm-im to the source install script

Change-Id: I9451a87fc9221fa35fdf9ef37d89c02d6e4e3b74
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoMerge branch 'vnffg' 04/2304/1
tierno [Wed, 27 Sep 2017 08:45:45 +0000 (10:45 +0200)]
Merge branch 'vnffg'

Change-Id: I9d5b9beb6ded99c03816f6a3976f546b16ca6042

6 years agoImplements SFC CRUD interface in OpenStack vimconn 69/2069/7 vnffg
Igor Duarte Cardoso [Mon, 14 Aug 2017 16:39:34 +0000 (16:39 +0000)]
Implements SFC CRUD interface in OpenStack vimconn

Change vimconn_openstack.py to implement the SFC functions
specified by the SFC interface in vimconn.py.

The OpenStack VIM connector calls the networking-sfc Neutron
extension methods, whose resources are mapped to the VIM
connector's SFC resources as follows:
- Classification (OSM) -> Flow Classifier (Neutron)
- Service Function Instance (OSM) -> Port Pair (Neutron)
- Service Function (OSM) -> Port Pair Group (Neutron)
- Service Function Path (OSM) -> Port Chain (Neutron)

Also adds unit tests.

This relates to feature 638.

Change-Id: I501837bfaed6638a7b5f345fda547b746e4e7d45
Signed-off-by: Igor Duarte Cardoso <igor.duarte.cardoso@intel.com>
6 years agovnffg branch in RO should use master branch in devops 98/2298/1
garciadeblas [Tue, 26 Sep 2017 11:51:04 +0000 (13:51 +0200)]
vnffg branch in RO should use master branch in devops

Change-Id: I0dc8abb384c602ee5d9d31164899c0641d78e099
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoChanges to adopt Release Three OSM IM 88/2288/2
tierno [Fri, 22 Sep 2017 11:31:35 +0000 (13:31 +0200)]
Changes to adopt Release Three OSM IM
Feature 1456 Explicit Port Ordering Support

Change-Id: If0916a15ab39cad29ed5a6be6a10856298e88f33
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoMerge branch 'master' into vnffg 81/2281/1
garciadeblas [Thu, 21 Sep 2017 16:12:58 +0000 (18:12 +0200)]
Merge branch 'master' into vnffg

Change-Id: I13e763560a923aa47a1626cdd6ff37c0c31a3aa9
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agonew API v3 that consumes OSM IM models 87/2187/5
tierno [Thu, 7 Sep 2017 10:23:19 +0000 (12:23 +0200)]
new API v3 that consumes OSM IM models

Change-Id: If73f79575903a9192f3cb9b043b41a894f5c053c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix bug 343 78/2278/3
Adam Israel [Thu, 21 Sep 2017 01:10:30 +0000 (21:10 -0400)]
Fix bug 343

This commit addresses the issue raised by bug 343 where datacenter's
of type 'aws' couldn't be detached.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
6 years agoIncluded python osm-im dependency, LICENSE added to RO package, pyang and pyangbind... 72/2272/2
garciadeblas [Wed, 20 Sep 2017 15:34:16 +0000 (17:34 +0200)]
Included python osm-im dependency, LICENSE added to RO package, pyang and pyangbind installed via pip in postinst

Change-Id: I2c46c7c48076fc299133a9bd5f147e009a3ae0c1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoMerge branch 'v2.0' 68/2268/1
garciadeblas [Tue, 19 Sep 2017 08:07:30 +0000 (10:07 +0200)]
Merge branch 'v2.0'

Change-Id: I2793984f7d0fe713fb61c39564c44e68c9494972

6 years agoChanges in vimconn_vmware.py 1.Modified code cloud_initfor ssh-key injection to defau... 64/2064/8 v2.0
kasar [Tue, 8 Aug 2017 09:11:22 +0000 (02:11 -0700)]
Changes in vimconn_vmware.py 1.Modified code cloud_initfor ssh-key injection to default user 2. Added code for new user creation in VM

Change-Id: I68cba509da8ea48c8da38e70bfb7472702eb220b
Signed-off-by: kasar <pkasar@vmware.com>
6 years agoOSM IM consumed, changes in devops-related files: Makefile, Dockerfile, setup, new... 69/2169/8
garciadeblas [Thu, 14 Sep 2017 14:17:39 +0000 (16:17 +0200)]
OSM IM consumed, changes in devops-related files: Makefile, Dockerfile, setup, new tox.ini

Change-Id: Iff96eaf1a718a205b1e53c84d3f555bef8818716
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoMerge "Build on jenkins nodes with label docker"
marchettim [Thu, 14 Sep 2017 15:18:09 +0000 (17:18 +0200)]
Merge "Build on jenkins nodes with label docker"

6 years agoMake artifactory server configurable in Jenkins build 48/2148/1
Wesley Hirsch [Fri, 8 Sep 2017 21:38:06 +0000 (17:38 -0400)]
Make artifactory server configurable in Jenkins build

Change-Id: Ibb00e5dbbbc15fcc3f73a045ccb99ab666cbccd6
Signed-off-by: Wesley Hirsch <wesley.hirsch@riftio.com>
6 years agoBuild on jenkins nodes with label docker 44/2144/1
Wesley Hirsch [Fri, 8 Sep 2017 21:34:14 +0000 (17:34 -0400)]
Build on jenkins nodes with label docker

Change-Id: I07e17d17c74a03314ccbdb5a2a1af08b2ddb5fb9
Signed-off-by: Wesley Hirsch <wesley.hirsch@riftio.com>
6 years agofeature1419 DB rollback if update fails 41/2141/2
tierno [Thu, 7 Sep 2017 10:58:23 +0000 (12:58 +0200)]
feature1419 DB rollback if update fails

Change-Id: Id1fefbf15dd39ae5b0ad3f0b5759e7f44f26fdff
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoMerge branch 'vio' into v2.0 25/2125/1
kate [Wed, 6 Sep 2017 06:26:28 +0000 (23:26 -0700)]
Merge branch 'vio' into v2.0

Change-Id: I380d554f9e9f03b0c4425fd998123fda300b81ff
Signed-off-by: kate <akate@vmware.com>
6 years ago1.Created new file for VIO connector as vimconn_vio.py that extends the existing... 65/1965/8 vio
kate [Sat, 24 Jun 2017 11:21:38 +0000 (04:21 -0700)]
1.Created new file for VIO connector as vimconn_vio.py that extends the existing openstack connector
2.Changes in vimconn_openstack.py: Modified __reload_connection() to incorporate Internal URL endpoint for VIO and added glancev1 as object attribute to avoid code duplication at VIO connector
3.Changes in vimconn_vio.py: Removed __reload_connection() , new_image() and unused imports
4.Addressed code review comments for patch set 3
5.Changes in vimconn_openstack.py: Added new helper method _create_net_dict() to create network dict
6.Changes in vimconn_vio.py: Removed implementation of SRIOV Nova workflow for VIO 3 and implemented SRIOV Neutron workflow for VIO 4.
7.Removed vimconn_vio.py file for VIO connector
8.Changes in vimconn_openstack.py: Merged VIO related changes in main openstack connector file
9.Changes in vimconn_openstack.py: Addressed code review comments for patch set 6 and modified EPA parameters in flavor for VIO
10.Changes in vimconn_openstack.py: Addressed code review comments for patch set 7

Change-Id: Iac4ea48acfd1fccd5fa81651e12058a3a0965c1c
Signed-off-by: kate <akate@vmware.com>
6 years agoAllow combining user-data and ssh-keys with cloud-init 67/2067/2
tierno [Wed, 9 Aug 2017 07:12:04 +0000 (09:12 +0200)]
Allow combining user-data and ssh-keys with cloud-init

Change-Id: I33199e9a1877c12c09e69d1667bb2cb211ce16d1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years ago(bug 329) fix RO VDU count. Enhance nfvo.py:create_instance 66/2066/9
tierno [Thu, 10 Aug 2017 13:58:50 +0000 (15:58 +0200)]
(bug 329) fix RO VDU count. Enhance nfvo.py:create_instance

Change-Id: I588268281fd6fd85d963db3fdcc5b39e809bc5f0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agobug 333: install stable version of lib_osm_openvim 83/2083/5
tierno [Wed, 23 Aug 2017 14:27:10 +0000 (16:27 +0200)]
bug 333: install stable version of lib_osm_openvim

Change-Id: I2b15ef402c5dc8c9d93170088e0f7ff2d63dcb4e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoSome fixes at Affinity/antiaffinity 03/2103/4
tierno [Tue, 29 Aug 2017 09:43:46 +0000 (11:43 +0200)]
Some fixes at Affinity/antiaffinity

Change-Id: I7b30cf86bc244b223f502b07ad5054e6f0067547
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAffinity and antiaffinity implementation. 71/2071/8
mirabal [Thu, 27 Jul 2017 10:21:22 +0000 (12:21 +0200)]
Affinity and antiaffinity implementation.

- RO descriptor now support "availability_zone" tag in the VNFC descriptor.
- RO database extend table vms table to include availability_zone.
- In case a VNF requires more  zones than available in the datacenter, an error message of instantiation failure will be issued and the usual rollback procedure will  start.
- In case a VDU does not include availability tag, it will be treated as normal, following the default scheduling policy in the VIM.

Change-Id: I335a0db6fa232953f655a598351dd7e7bbb97785
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
6 years agoAdds SFC CRUD interface to the VIM connector 65/2065/3
Igor Duarte Cardoso [Wed, 9 Aug 2017 16:07:46 +0000 (16:07 +0000)]
Adds SFC CRUD interface to the VIM connector

Change vimconn.py to include the interface functions
to be implemented by the specific VIM connectors, in order
to achieve Service Function Chaining as managed by a VIM.

This relates to feature 638.

Change-Id: I3b5c35ad5b2ca6e4cdd17e5720fbaa13acffc4e1
Signed-off-by: Igor Duarte Cardoso <igor.duarte.cardoso@intel.com>
6 years agoAdditional check to avoid error message in openstack when tag is used in network... 73/2073/1
montesmoreno [Tue, 22 Aug 2017 09:23:06 +0000 (11:23 +0200)]
Additional check to avoid error message in openstack when tag is used in network interfaces using an older microversion than 2.32

Change-Id: Ifa980814cf853dfe7d1423b4b6c33ea6bcb1cb2c
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
6 years agoAdd device role tagging functionality to openstack connector. All interfaces are... 70/2070/2
montesmoreno [Wed, 16 Aug 2017 10:48:23 +0000 (12:48 +0200)]
Add device role tagging functionality to openstack connector. All interfaces are tagged with the name of the VDU interface in the OSM descriptor. To be able to use 'device role tagging' functionality define 'microversion: 2.32' in datacenter config. This implementation approach is due to the warning message in https://developer.openstack.org/api-guide/compute/microversions.html where it is stated that microversion backwards compatibility is not guaranteed and clients should always require an specific microversion.

Change-Id: I75c572291fe648467c69b4958b8b3e58ecec178c
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
6 years agoAdded unit tests for delete_image specification 62/2062/2
kasar [Thu, 3 Aug 2017 10:29:23 +0000 (03:29 -0700)]
Added unit tests for delete_image specification

Change-Id: I92a55269bad5edd39d9281d270e76f426002ccac
Signed-off-by: kasar <pkasar@vmware.com>
6 years agoChanges in vimconn_vmware.py: 54/2054/2
kate [Thu, 3 Aug 2017 09:16:13 +0000 (02:16 -0700)]
Changes in vimconn_vmware.py:
1. Modified code for new_tenant
2.Provided implementation for delete_tenant and delete_image specification

Change-Id: I0621a1ababc65be0f15703d3bedc192498a206fd
Signed-off-by: kate <akate@vmware.com>
6 years ago(bug 327) fix vimconn_openstack image creation 57/2057/1
tierno [Wed, 2 Aug 2017 12:02:15 +0000 (14:02 +0200)]
(bug 327) fix vimconn_openstack image creation

Change-Id: Icf3acfd8a78ddbcc8b939e1133415b5658c59721
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix rollback error of not launched nets & vms 56/2056/1
tierno [Wed, 2 Aug 2017 11:53:02 +0000 (13:53 +0200)]
Fix rollback error of not launched nets & vms

Change-Id: I317ed62f4d4357855039ee4b91ba7c52dd9f3b5a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agofix DB & ovim.DB critical section among threads 55/2055/1
tierno [Wed, 2 Aug 2017 10:48:13 +0000 (12:48 +0200)]
fix DB & ovim.DB critical section among threads

Change-Id: I9b8394ded7f2a83005b62e5490cc38198c3349af
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoDeployment of VNFs alphabetically ordered by name in a NS instance 36/2036/2
garciadeblas [Sun, 23 Jul 2017 17:44:55 +0000 (19:44 +0200)]
Deployment of VNFs alphabetically ordered by name in a NS instance

Change-Id: I457a41846687d83f13a6a21439dcb445bfd023e0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agovimconn_opnestack: updated server_timeout from 60s to 300s 37/2037/2
garciadeblas [Sun, 23 Jul 2017 18:26:28 +0000 (20:26 +0200)]
vimconn_opnestack: updated server_timeout from 60s to 300s

Change-Id: Id7a951290b34fb2b9573844b15c93c86c604783b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoAdded unit tests for new tenant and delete tenant 52/2052/1
kasar [Mon, 31 Jul 2017 08:25:55 +0000 (01:25 -0700)]
Added unit tests for new tenant and delete tenant

Change-Id: I520c2d9a869e25413557b11129c9517440b5ac36
Signed-off-by: kasar <pkasar@vmware.com>
6 years agoAdded new unit tests for get_tenant_list specification 38/2038/1
kasar [Mon, 24 Jul 2017 08:28:44 +0000 (01:28 -0700)]
Added new unit tests for get_tenant_list specification

Change-Id: I3550a285810ddd185679cf11cabe91ff32735ae1
Signed-off-by: kasar <pkasar@vmware.com>
6 years agoMerge branch 'v2.0' tag 2.0.2 32/2032/1 feature1429
tierno [Fri, 14 Jul 2017 11:25:24 +0000 (13:25 +0200)]
Merge branch 'v2.0' tag 2.0.2

Change-Id: I9f418d8247af586a2de3d3cf736d26950d74ccf0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAdded unit tests for get_vminstance,refresh_vms_status,delete_vminstance and refresh_... 17/2017/3 v2.0.2
kasar [Thu, 6 Jul 2017 09:04:59 +0000 (02:04 -0700)]
Added unit tests for get_vminstance,refresh_vms_status,delete_vminstance and refresh_nets_status

Change-Id: Ifdd5967a9a606f2a0b9b7db96cdab64492862a75
Signed-off-by: kasar <pkasar@vmware.com>
6 years agoprovide only one vnf:vm IP address at NBI 30/2030/2
tierno [Thu, 13 Jul 2017 13:44:34 +0000 (15:44 +0200)]
provide only one vnf:vm IP address at NBI

Change-Id: Id895f3674a1f01aa358ec49742da3d483adcc5f2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoSolved problem in AWS when listing networks (it was conflicting with code for sdn... 28/2028/2
montesmoreno [Wed, 12 Jul 2017 09:47:13 +0000 (11:47 +0200)]
Solved problem in AWS when listing networks (it was conflicting with code for sdn-assist). Modified the info the connector reports about the instance, now, if possible, the public IP is reported instead of the private one

Change-Id: I0c46c5d62ad0777615e7ba234d2a912d9353dc1b
Signed-off-by: montesmoreno <pablo.montesmoreno@telefonica.com>
6 years agoMerge "new test for openmano client" into v2.0
tierno [Wed, 12 Jul 2017 08:54:08 +0000 (10:54 +0200)]
Merge "new test for openmano client" into v2.0

6 years agoMerge "Delete sdn-port-mapping upon datancenter deletion or sdn remove" into v2.0
tierno [Wed, 12 Jul 2017 08:54:03 +0000 (10:54 +0200)]
Merge "Delete sdn-port-mapping upon datancenter deletion or sdn remove" into v2.0

6 years agoMerge "fix password typo at database migrate" into v2.0
tierno [Wed, 12 Jul 2017 08:53:50 +0000 (10:53 +0200)]
Merge "fix password typo at database migrate" into v2.0

6 years agoadd common ci-pipeline code 10/2010/3
Mike Marchetti [Wed, 5 Jul 2017 16:03:21 +0000 (12:03 -0400)]
add common ci-pipeline code

Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
Change-Id:      I03d2573e7ba670a34c0c7ee08b566994905e5f88

6 years agonew test for openmano client 27/2027/1
tierno [Tue, 11 Jul 2017 11:51:57 +0000 (13:51 +0200)]
new test for openmano client

Change-Id: Ida54e748945de87e97d531d7df42c712f42e5d15
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoDelete sdn-port-mapping upon datancenter deletion or sdn remove 26/2026/1
tierno [Tue, 11 Jul 2017 11:50:04 +0000 (13:50 +0200)]
Delete sdn-port-mapping upon datancenter deletion or sdn remove

Change-Id: I53da6a67422bf4eccfab1685617ffc8c0b01d2c6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agofix password typo at database migrate 25/2025/1
tierno [Mon, 10 Jul 2017 07:46:36 +0000 (09:46 +0200)]
fix password typo at database migrate

Change-Id: Ie914977fb8018d2409a582ca098c3100a827fe55
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agofix return value at openmano client -sdn- commands 23/2023/3
tierno [Fri, 7 Jul 2017 12:31:00 +0000 (14:31 +0200)]
fix return value at openmano client -sdn- commands

Change-Id: If0b376aa63ae01976dcce1c4da8cdbf91af6e015
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agofix issue at openstack vm creation rollback. Issue getting port ip_address 22/2022/4
tierno [Fri, 7 Jul 2017 12:30:30 +0000 (14:30 +0200)]
fix issue at openstack vm creation rollback. Issue getting port ip_address

Change-Id: I19b0ddd2433b531afd85c79697194ab6276d4844
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix (bug317): updated DB to change type of ram in flavors table 03/2003/2
garciadeblas [Wed, 5 Jul 2017 09:42:44 +0000 (11:42 +0200)]
Fix (bug317): updated DB to change type of ram in flavors table

Change-Id: I33b18e2c79347d79e01da875f49bdfeee2ca2836
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoChanges in vimconn_vmware.py: Code cleanup & addressed minor issue in exception handling 02/2002/1
bhangare [Wed, 5 Jul 2017 05:44:01 +0000 (22:44 -0700)]
Changes in vimconn_vmware.py: Code cleanup & addressed minor issue in exception handling

Change-Id: I44908e9c0157f36350db7672d53fb9126997e9a4
Signed-off-by: bhangare <sbhangare@vmware.com>
6 years agoFix in openstack connector to workaround issue in openstack when disabling port secur... 97/1997/8
Pablo Montes Moreno [Mon, 3 Jul 2017 08:44:30 +0000 (10:44 +0200)]
Fix in openstack connector to workaround issue in openstack when disabling port security. If port security is disabled when the port has not yet been attached to the VM, then all vm traffic is dropped. The workaround consists on waiting until the VM is active and then disable the port-security

Change-Id: Ibb0515577f684b3269781a63d73864bb995768b5
Signed-off-by: Pablo Montes Moreno <pablo.montesmoreno@telefonica.com>
6 years agoAdded new unit tests for get_image_id_from_path, get_image_list and new_vminstance... 66/1966/4
kasar [Fri, 23 Jun 2017 11:06:52 +0000 (04:06 -0700)]
Added new unit tests for  get_image_id_from_path, get_image_list and new_vminstance specifications

Change-Id: I93aaccaf3a8df4ea3c8c4e58c2e57b3132893258
Signed-off-by: kasar <pkasar@vmware.com>
6 years ago(bug 314) Avoid gateway creation at openstack if not demanded by IP profile 89/1989/2
tierno [Fri, 30 Jun 2017 10:25:50 +0000 (12:25 +0200)]
(bug 314) Avoid gateway creation at openstack if not demanded by IP profile

Change-Id: Ia69fe7e8770f9d72bb00ab1083c2d98b1b8894ab
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix an issue attaching openstack datacenter 86/1986/1
tierno [Thu, 29 Jun 2017 14:42:15 +0000 (16:42 +0200)]
Fix an issue attaching openstack datacenter

Change-Id: I4aeabfcc4effc65959d21073e7871431315023fe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix an issue attaching openstack datacenter 85/1985/1
tierno [Thu, 29 Jun 2017 14:42:15 +0000 (16:42 +0200)]
Fix an issue attaching openstack datacenter

Change-Id: I4aeabfcc4effc65959d21073e7871431315023fe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFix an issue attaching openstack datacenter 84/1984/1
tierno [Thu, 29 Jun 2017 14:42:15 +0000 (16:42 +0200)]
Fix an issue attaching openstack datacenter

Change-Id: I4aeabfcc4effc65959d21073e7871431315023fe
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoChanges in vimconn_vmware.py: Removed multiple connects to reduce instantiation time... 54/1954/2
bhangare [Wed, 21 Jun 2017 09:20:15 +0000 (02:20 -0700)]
Changes in vimconn_vmware.py: Removed multiple connects to reduce instantiation time as a fix for DE187. Reconnecting to vCD only in case of auth token expiration.

Change-Id: Icf6100708acb0f3f824bc542076da334a80654c4
Signed-off-by: bhangare <sbhangare@vmware.com>
6 years agovimconn_openstack v3 fix tenant managing 80/1980/1
tierno [Wed, 21 Jun 2017 16:01:40 +0000 (18:01 +0200)]
vimconn_openstack v3 fix tenant managing

Change-Id: Iad590e1722ee9cb4e1cff01a9a4e2182ff199022
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoopenstack client for keystone v3. Maintain sessions upon class reload with persistent... 79/1979/1
tierno [Mon, 19 Jun 2017 13:52:22 +0000 (15:52 +0200)]
openstack client for keystone v3. Maintain sessions upon class reload with persistent_info

Change-Id: I8528b89d233a6417a840bc339816e618588851f2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAdded validation in new_flavor method and unit tests for new_flavor,delete_flavor... 26/1926/4
kasar [Thu, 8 Jun 2017 10:46:18 +0000 (03:46 -0700)]
Added validation in new_flavor method and unit tests for new_flavor,delete_flavor,new_image

Change-Id: I5747f07f287ad2b4370b3cd586cf0adcf5b9888a
Signed-off-by: kasar <pkasar@vmware.com>
6 years agominor change to increase log information 50/1950/2
Pablo Montes Moreno [Tue, 20 Jun 2017 08:49:58 +0000 (10:49 +0200)]
minor change to increase log information

Change-Id: Icbb252efd959f7accfd44401c8db7fa24f4981d8
Signed-off-by: Pablo Montes Moreno <pablo.montesmoreno@telefonica.com>
6 years agovimconn_openstack v3 fix tenant managing 55/1955/1
tierno [Wed, 21 Jun 2017 16:01:40 +0000 (18:01 +0200)]
vimconn_openstack v3 fix tenant managing

Change-Id: Iad590e1722ee9cb4e1cff01a9a4e2182ff199022
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoMerge branch 'v2.0'
Mike Marchetti [Wed, 21 Jun 2017 00:41:04 +0000 (20:41 -0400)]
Merge branch 'v2.0'

6 years agoMerge "remove specific node label" into v2.0
Mike Marchetti [Wed, 21 Jun 2017 00:40:03 +0000 (02:40 +0200)]
Merge "remove specific node label" into v2.0

6 years agoremove specific node label 53/1953/2
Mike Marchetti [Wed, 21 Jun 2017 00:33:20 +0000 (20:33 -0400)]
remove specific node label

Change-Id: I96f9c60c4b06179270cbb820dc67a2c37188a3ae
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
6 years agoMerge: openstack client for keystone v3. Maintain sessions upon class reload with... 51/1951/1
tierno [Tue, 20 Jun 2017 10:21:48 +0000 (12:21 +0200)]
Merge: openstack client for keystone v3. Maintain sessions upon class reload with persistent_info

Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoopenstack client for keystone v3. Maintain sessions upon class reload with persistent... 41/1941/2
tierno [Mon, 19 Jun 2017 13:52:22 +0000 (15:52 +0200)]
openstack client for keystone v3. Maintain sessions upon class reload with persistent_info

Change-Id: I8528b89d233a6417a840bc339816e618588851f2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAdded a base class at test_RO with common methods to avoid code duplication 40/1940/2
tierno [Mon, 19 Jun 2017 11:37:44 +0000 (13:37 +0200)]
Added a base class at test_RO with common methods to avoid code duplication

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