osm/RO.git
5 years agoImplement feature 5949 79/6579/11
Anderson Bravalheri [Fri, 17 Aug 2018 14:26:19 +0000 (15:26 +0100)]
Implement feature 5949

Enable dynamic connectivity setup in multi-site Network Services

The code required to implement the feature is contained in `osm_ro/wim`
as much as possible.

* `wim/engine.py` works together with `nfvo.py` to implement the
  feature
* `wim/persistence.py` is equivalent to `nfvo_db.py` and try to
  encapsulate most of the SQL-specific code, implementing a persistence
  layer
* `wim/http_handler.py` extends `httpserver.py` adding WIM-related HTTP
  routes
* `wim/wim_thread.py` is similar to `vim_thread.py` and controls the
  execution of WIM-related tasks
* `wim/actions.py` and `wim/wan_link_actions.py` implement the action
  handling specific code, calling instances of the `wim/wimconn.py`
  subclasses

WIM connectors are still a work in progress

Individual change details (newer to older)

- Add errors for inconsistent state

- Delay re-scheduled tasks

- Move lock to inside the persistence object

- Better errors for connector failures

- Try to cache the wan_link information before it is deleted from the database

- Integrate WanLinkDelete to NFVO

- Add WanLinkDelete implementation draft with some tests

- Add basic wim network creation

- Add minimal documentation for actions

- Add checks to the create action

- Improve documentation, rearrange insert_pending and remove unused functions on WimThread

- Integrate Action classes in refresh_tasks

- Add Action classes to avoid intricate conditions

- Adding Proposed License

- Move grouping of actions to persistence

- Change WimThread to use SQL to do the heavy lifting

- Simplify WimThread reload_actions

- Add tests for derive_wan_links

- Implement find_common_wim(s)

- Add tests for create_wim_account

- Add migration scripts for version 33

- Changes to WIM and VIM threads for vim_wim_actions

- Implement wim_account management according to the discussion

- Add WimHandler integration inside httpserver

- Add quick instructions to run the tests

- Add WIM functional tests using real database

- Add DB WIM port mapping

- RO WIM-related console scripts

- Add WIM integration to NFVO

- Improve database support focusing on tests

- RO NBI WIM-related commands in HTTP server

- Adding WIM tables to MANO DB

- Add wim http handler initial implementation

- Move http utility functions to separated files

    This separation allows the code to be reused more easily and avoids
    circular dependencies.

    (The httpserver can import other modules implementing http routes,
    and those modules can then use the utility functions without having
    to import back httpserver)

- Add a HTTP handler class and custom route decorator

    These tools can be used to create independent groups of bottle
    routes/callbacks in a OOP fashion

- Extract http error codes and related logic to separated file

Change-Id: Icd5fc9fa345852b8cf571e48f427dc10bdbd24c5
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
5 years agoCherry-pick c1ce8ac Changed build to not make osm-im lib-osm-openvim 78/6878/1
tierno [Wed, 14 Nov 2018 11:46:21 +0000 (12:46 +0100)]
Cherry-pick c1ce8ac Changed build to not make osm-im lib-osm-openvim

Change-Id: Ibca462f24900cbd1c30ada08c3c5eb51fe6d30b2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agobug 537 SDN-assist does not connect new instances over an existing vim network 62/6462/2
tierno [Fri, 7 Sep 2018 12:05:32 +0000 (14:05 +0200)]
bug 537 SDN-assist does not connect new instances over an existing vim network

Change-Id: I47115d0957cd9c64606085132fd3f7e4003e7fc2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix error when no size is provided at vnfd:vdus:volumes 59/6459/3
tierno [Thu, 6 Sep 2018 11:47:11 +0000 (13:47 +0200)]
fix error when no size is provided at vnfd:vdus:volumes

Change-Id: I092245407d4acdb75b373e40905d9fc2e2b44b20
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofix dockerfile local 94/6494/1
tierno [Fri, 14 Sep 2018 21:16:19 +0000 (21:16 +0000)]
fix dockerfile local

Change-Id: Iffd4c1f6a65b505db84ab30b98f3f526b4ff47d0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding RO-start.sh to deb package for Dockerfile 70/6470/3
tierno [Wed, 12 Sep 2018 14:25:42 +0000 (16:25 +0200)]
Adding RO-start.sh to deb package for Dockerfile

Change-Id: I2f61868a288a8217dbf2a5c0920f736ec547ffcc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoinstall-openmano.sh change to install osm-im, lib-osm-openvim in pure python2 without... 63/6463/7
tierno [Mon, 10 Sep 2018 09:04:31 +0000 (11:04 +0200)]
install-openmano.sh change to install osm-im, lib-osm-openvim in pure python2 without calling make that imposes many unneeded packages

Change-Id: I3149a1b7656a2adb5b1a4ffbb973e49a6a00d0e0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdding IM python3 dependencies 60/6460/2
Eduardo Sousa [Thu, 6 Sep 2018 13:43:08 +0000 (14:43 +0100)]
Adding IM python3 dependencies

Change-Id: Ib55fa999b79302833030e55d5e7b897d1e120bbd
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoReplacing Openstack Pike libraries by Queens 55/6455/1
Eduardo Sousa [Mon, 3 Sep 2018 10:56:07 +0000 (11:56 +0100)]
Replacing Openstack Pike libraries by Queens

Change-Id: Ieb6d8219c7ce023a9d75242d70aeca43c89371af
Signed-off-by: Eduardo Sousa <eduardosousa@av.it.pt>
5 years agoFix bug 535 propagate instantiaon paramget mac_address 48/6448/2
tierno [Fri, 31 Aug 2018 11:24:08 +0000 (11:24 +0000)]
Fix bug 535 propagate instantiaon paramget mac_address
Set pip2 at installation scripts

Change-Id: Ifafada5520bf7b892e47c6f7e3145bb7541920e3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoadded RO-of for managing openflow utility from inside RO container 45/6445/1
tierno [Wed, 29 Aug 2018 13:15:52 +0000 (13:15 +0000)]
added RO-of for managing openflow utility from inside RO container

Change-Id: Iadcfd4e9fe23c2f12d3bca1d08b7b31bd15f83ca
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agofixing bug: vim config were not loaded at vim_thread 42/6442/2
tierno [Wed, 29 Aug 2018 08:56:13 +0000 (10:56 +0200)]
fixing bug: vim config were not loaded at vim_thread

Change-Id: If6cb843ed30d5bb843e31316c86056a681e7ea60
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdded new unit tests for vCD connector 21/6421/2
kasar [Fri, 17 Aug 2018 12:24:30 +0000 (05:24 -0700)]
Added new unit tests for vCD connector

Change-Id: Idaa74d92e70c8ddc4df6e970df086fbe691501f6
Signed-off-by: kasar <pkasar@vmware.com>
5 years agoIntroduce deprecating methods 33/6433/1
tierno [Fri, 24 Aug 2018 09:34:54 +0000 (11:34 +0200)]
Introduce deprecating methods

Change-Id: Ic35d8596631cc6c30ea9e54a1144c6d6c08e6e79
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoreplacing ocata Openstack libraries by pike 81/6281/3
garciadeblas [Fri, 15 Jun 2018 17:23:45 +0000 (19:23 +0200)]
replacing ocata Openstack libraries by pike

Change-Id: Id78c1d361e6c0502ea03ce0944da58df908c7501
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoRestrict git describe to tags matching v* 03/6403/1 BUILD_v4.0.1_2
Michael Marchetti [Fri, 3 Aug 2018 14:16:59 +0000 (16:16 +0200)]
Restrict git describe to tags matching v*

Signed-off-by: Michael Marchetti <mmarchetti@sandvine.com>
5 years agoimplementation of vdu:interface:mgmt-interface for getting vdu ip address 77/6377/3 BUILD_v4.0.1_1
tierno [Mon, 23 Jul 2018 14:16:00 +0000 (16:16 +0200)]
implementation of vdu:interface:mgmt-interface for getting vdu ip address

Change-Id: I3d7e0116b0fc6624846ccc0803c3f00f820e5bde
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix problem at vim_thread reload when vim_account edited 74/6374/4
tierno [Fri, 20 Jul 2018 13:33:08 +0000 (15:33 +0200)]
Fix problem at vim_thread reload when vim_account edited
Start changes from datacenter to vim/vim_account

Change-Id: Icdcd1e7499838f68cc2f70a147c33a83961bbf91
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agochanges for openstack PIKE compatibility 29/6329/8
tierno [Wed, 11 Jul 2018 13:47:37 +0000 (15:47 +0200)]
changes for openstack PIKE compatibility

Change-Id: I6d757e6ace4f8c7cdcf1125118954c734d3aff48
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoEnhance SDN assist error reporting 33/6333/6
tierno [Fri, 13 Jul 2018 13:25:24 +0000 (15:25 +0200)]
Enhance SDN assist error reporting

Change-Id: I1160b17eb053af427e6aede9f4f95013afc9e633
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAdded more instantitaion parameters: volume_id. 18/6318/6
tierno [Fri, 6 Jul 2018 12:25:16 +0000 (14:25 +0200)]
Added more instantitaion parameters: volume_id.
Fixed multisite deployment without vld vim-network-name input

Change-Id: If542c282ef53f9b5356bdc3b6684b8098813421e
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoavoid openstack default gateway creation at VLD ip-profile. 15/6315/4
tierno [Wed, 4 Jul 2018 16:29:21 +0000 (18:29 +0200)]
avoid openstack default gateway creation at VLD ip-profile.
Change vnf instance order to nsd:constituent-vnfd list order.
Ensure interface are deployed in order

Change-Id: I3f2d43643f6cd25a09d0f21407544657168c3513
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agovdu scaling 59/6259/11
tierno [Tue, 29 May 2018 14:00:43 +0000 (16:00 +0200)]
vdu scaling

Change-Id: I93269b77d5be6cbd8fe635239465381dc874c9a5
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoImplementation for Feature# 1407: Configuring Affinity rules for VNF deployment in... 93/6293/3
sbhangare [Thu, 21 Jun 2018 09:10:03 +0000 (02:10 -0700)]
Implementation for Feature# 1407: Configuring Affinity rules for VNF deployment in vCloud Director

Change-Id: Ia66b5795df6b844c298dad3768e32048bd7a283b
Signed-off-by: sbhangare <sbhangare@vmware.com>
5 years agoEnhance sdn-assist reporting 08/6308/2
tierno [Thu, 28 Jun 2018 13:21:32 +0000 (15:21 +0200)]
Enhance sdn-assist reporting

Change-Id: I77d4600bc45f0eb64c849d38a4246df24c276707
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFixed VNF deletion NotFound reporting 03/6303/1
tierno [Wed, 27 Jun 2018 14:06:17 +0000 (16:06 +0200)]
Fixed VNF deletion NotFound reporting

Change-Id: I7de95f5123421103df96ca23ae2b155c7cb32de8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix error at some openstacks getting floating ip for neutron port 89/6289/4
tierno [Wed, 20 Jun 2018 08:44:32 +0000 (10:44 +0200)]
Fix error at some openstacks getting floating ip for neutron port

Change-Id: I7b0706098db372e80c310ff7f8a545755d1fbdc4

5 years agofix insecure option at vimconn_openstack 58/6258/2
tierno [Fri, 8 Jun 2018 13:56:19 +0000 (15:56 +0200)]
fix insecure option at vimconn_openstack

Change-Id: I120b25a57d82fb9202fd47ce19fe611e33bf6a42
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix Dockerfile-local to get ocata Openstack libraries 80/6280/1
garciadeblas [Fri, 15 Jun 2018 17:22:08 +0000 (19:22 +0200)]
Fix Dockerfile-local to get ocata Openstack libraries

Change-Id: I8166aefcf25f9806dd00a4f4e97a40d443095415
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agofix issues deleting vnfd with erroneous config 44/6244/1 v4.0.1
tierno [Thu, 31 May 2018 16:57:30 +0000 (18:57 +0200)]
fix issues deleting vnfd with erroneous config

Change-Id: I69414b3f0d1073d9d88fdea22daa7a2ce9fa77d8
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoallow text true at vim openstack config use_floating_ip 43/6243/1
tierno [Thu, 31 May 2018 13:08:52 +0000 (15:08 +0200)]
allow text true at vim openstack config use_floating_ip

Change-Id: I9b950b6552f2c52c2d60c9aa767f573bf2b89af7
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix issue where existing VIM network does not get right status 39/6239/2
tierno [Wed, 30 May 2018 13:03:27 +0000 (15:03 +0200)]
Fix issue where existing VIM network does not get right status

Change-Id: I1ae7cb060635f27b036a057de8d9eb4139f4ef05
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoRemoving vmware ovf converter tool from RO. Moved to Devops in ChangeID# 6238 40/6240/1
kasar [Wed, 30 May 2018 14:47:08 +0000 (07:47 -0700)]
Removing vmware ovf converter tool from RO. Moved to Devops in ChangeID# 6238

Change-Id: I5f40f9209b3d636390af7b95d03fdd4f55f63077
Signed-off-by: kasar <pkasar@vmware.com>
5 years agoModified vcd unit tests as per latest pyvcloud changes 00/6200/2
kasar [Thu, 24 May 2018 08:51:18 +0000 (01:51 -0700)]
Modified vcd unit tests as per latest pyvcloud changes

Change-Id: Id3d39169948bbc6c5933d5955cef02cf3cd5b177
Signed-off-by: kasar <pkasar@vmware.com>
5 years agoMinor fixes at sdn-port-mapping 82/6182/1 v4.0.0
tierno [Mon, 21 May 2018 14:40:33 +0000 (16:40 +0200)]
Minor fixes at sdn-port-mapping

Change-Id: I00e8bed1ab97d75654e2eb7ddc330689abde7fcf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAllow sdn-port-mapping insertion at vim creation with config:sdn-port-mapping 70/6170/3
tierno [Thu, 17 May 2018 21:02:47 +0000 (23:02 +0200)]
Allow sdn-port-mapping insertion at vim creation with config:sdn-port-mapping

Change-Id: I9b262e5737543198b388438426c0e6e101512078
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoSmall change in refresh_vms_status to get network_name 60/6160/1
kasar [Thu, 17 May 2018 09:44:39 +0000 (02:44 -0700)]
Small change in refresh_vms_status to get network_name

Change-Id: I602cb0342199e7e0d4e84f2c05377f0d22035f54
Signed-off-by: kasar <pkasar@vmware.com>
5 years agoModified refresh_vms_status for multiple IPs and MAC addresses 47/6147/1
kasar [Tue, 15 May 2018 13:15:07 +0000 (06:15 -0700)]
Modified refresh_vms_status for multiple IPs and MAC addresses

Change-Id: Ia54d0ee3c6305425658578522cd0dee78005280c
Signed-off-by: kasar <pkasar@vmware.com>
5 years agoLWB: removes LCM from RO 38/6138/3
tierno [Mon, 14 May 2018 11:12:43 +0000 (13:12 +0200)]
LWB: removes LCM from RO

Change-Id: If214b9bc3c58655d25ef604cc502ca3dc19f4edb
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoAWS vimconn: Allow config:flavor_data as str 37/6137/3
tierno [Mon, 14 May 2018 11:09:33 +0000 (13:09 +0200)]
AWS vimconn: Allow config:flavor_data as str

Change-Id: I292fd54c7f8604d42d27e26de2313d664068763a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoBug 496 fixed SDN controller creation 28/6128/2
tierno [Thu, 10 May 2018 16:33:16 +0000 (18:33 +0200)]
Bug 496 fixed SDN controller creation

Change-Id: I636b14ed615a03d09c667672c27a36261dc0a815
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoLWB Added vnfR support 92/6092/4
tierno [Wed, 9 May 2018 11:22:52 +0000 (13:22 +0200)]
LWB Added vnfR support

Change-Id: I0744773474bbd692b854c3ebca7baede97b336fc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agodocker-compose: using latest mysql 5.x docker image instead of latest 78/6078/3
garciadeblas [Mon, 7 May 2018 09:13:14 +0000 (11:13 +0200)]
docker-compose: using latest mysql 5.x docker image instead of latest

Change-Id: I9dbfde56d3733d09bf97a5e5c0277614fea633f8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 years agoLCM update to new N2VC version: message to the callback 21/6121/1
tierno [Thu, 10 May 2018 13:41:24 +0000 (15:41 +0200)]
LCM update to new N2VC version: message to the callback

Change-Id: Ib94648ced5a89a4e65469d03bfcd22e99a020f3a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoLWB increase deployment timeout. Check vnf management ip is returned 79/6079/1 v3.1 v3.1.0
tierno [Mon, 7 May 2018 15:30:04 +0000 (17:30 +0200)]
LWB increase deployment timeout. Check vnf management ip is returned

Change-Id: I13f3e2d5cdac50e9f59052be615ba95d11739515
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFix problem at classic build instantiation 71/6071/1
tierno [Fri, 4 May 2018 10:21:10 +0000 (12:21 +0200)]
Fix problem at classic build instantiation

Change-Id: Ice50cf5e88017e7bd050baa12c94223a0884c530
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoFixed the use of vim_network_name at NSD VLD 62/6062/1
tierno [Thu, 3 May 2018 15:37:40 +0000 (17:37 +0200)]
Fixed the use of vim_network_name at NSD VLD
Add new vim-config parameter management_network_id or management_network_name for setting the mgmt vim network

Change-Id: I9b5224c5af22c914bda14f8fb9f4edbf29da02bf
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
5 years agoMinor change in vCD connector for get network list 53/6053/1
kasar [Wed, 2 May 2018 12:58:07 +0000 (05:58 -0700)]
Minor change in vCD connector for get network list

Signed-off-by: kasar <pkasar@vmware.com>
6 years agoAllow ns-creation params: vim-network, multisite deployement 47/6047/1
tierno [Fri, 27 Apr 2018 12:34:22 +0000 (14:34 +0200)]
Allow ns-creation params: vim-network, multisite deployement

Change-Id: Ie47f7701c5c45534005b86179564ee221ebe8938
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoSet at nsd vnf_name equal to member_vnf_index 46/6046/1
tierno [Fri, 27 Apr 2018 12:33:12 +0000 (14:33 +0200)]
Set at nsd vnf_name equal to member_vnf_index

Change-Id: If12df6926928ef6d62a053518324d02c4c8332e4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agochange vims to vim_accounts 45/6045/1
tierno [Thu, 26 Apr 2018 15:10:43 +0000 (17:10 +0200)]
change vims to vim_accounts

Change-Id: Ic60b1312b7f9cea69158fa8622a57af74a014474
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agofixing problem of vim_type at creating vim_account 41/6041/1
tierno [Thu, 26 Apr 2018 14:27:47 +0000 (16:27 +0200)]
fixing problem of vim_type at creating vim_account

Change-Id: Ic781aa3b504ef8eb681e39d0c027d620f4ef19dd
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFeature 5649 Alternative images for VIM specific 25/6025/5
tierno [Tue, 24 Apr 2018 10:52:40 +0000 (12:52 +0200)]
Feature 5649 Alternative images for VIM specific

Change-Id: I4780afb862fc2d8b9625aa771c0bd8d7aefefef6
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoadding ns_lcm_op_occs instantiate terminate action (primitive) 96/5996/6
tierno [Wed, 18 Apr 2018 16:53:02 +0000 (18:53 +0200)]
adding ns_lcm_op_occs instantiate terminate action (primitive)

Change-Id: I3c16d12d558c4b2a988e0ce1cdc77225298e69d3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoLCM Providing VDU IP address information 66/5966/7
tierno [Wed, 11 Apr 2018 21:21:55 +0000 (23:21 +0200)]
LCM Providing VDU IP address information

Change-Id: Ica02b90e6dd01a7a3c9498afcd326c3f9f92a96a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoChange vnf_member_index to be coherent with model 20/6020/1
tierno [Wed, 11 Apr 2018 21:21:02 +0000 (23:21 +0200)]
Change vnf_member_index to be coherent with model

Change-Id: Ia8f465aed54996087905e3d3aeb6bfa6a2a2946c
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoMerge "Remove deprecated juju api interface"
tierno [Mon, 23 Apr 2018 07:51:29 +0000 (09:51 +0200)]
Merge "Remove deprecated juju api interface"

6 years agoFix several variable type bugs 14/6014/1
albertoflorez [Thu, 19 Apr 2018 22:40:25 +0000 (00:40 +0200)]
Fix several variable type bugs

Change-Id: If8b9fdcf0a53393dc0fca3a1f46004b9fab500a5
Signed-off-by: albertoflorez <alberto.florezpages@telefonica.com>
6 years agoRemove deprecated juju api interface 98/5998/1
Adam Israel [Wed, 18 Apr 2018 17:14:26 +0000 (13:14 -0400)]
Remove deprecated juju api interface

This patch removes the deprecated juju_api interface

Change-Id: Ib21504fbb6b43502b9a39988e162355b80debe98
Signed-off-by: Adam Israel <adam.israel@canonical.com>
6 years agoFix multi-vdu workflow w/o charm 97/5997/1
Adam Israel [Wed, 18 Apr 2018 17:12:12 +0000 (13:12 -0400)]
Fix multi-vdu workflow w/o charm

Consider the use-case where a VNF defines a vnf-configuration, and
contains two VDUs without vdu-configuration. There should only be one
charm deployed, at the VNF level.

This patch complies with the above use-case.

Change-Id: I16eadef6c4a5807d47194d4b3ee9e7c66ec67be3
Signed-off-by: Adam Israel <adam.israel@canonical.com>
6 years agoImprove N2VC integration 62/5962/17
Adam Israel [Tue, 10 Apr 2018 22:13:55 +0000 (16:13 -0600)]
Improve N2VC integration

This patch + https://osm.etsi.org/gerrit/#/c/5960/ adds:
- deployment of multi-vdu vnfs
- execution of initial-config-primitives
- Handling of n2vc.login() is functional but needs optimization due to
  inner function
- Rebase

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: Ic220dca6898ffe33bf322867106562e1340d6571

6 years agoUpdated Dockerfiles and postinst for RO and LCM to use pip-9.0.3 82/5982/1
garciadeblas [Tue, 17 Apr 2018 16:06:23 +0000 (18:06 +0200)]
Updated Dockerfiles and postinst for RO and LCM to use pip-9.0.3

Also replaces apt by apt-get in Dockerfiles

Change-Id: I54c8c45745e0550878d05f3c386ea7d633b50786
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agolightweight kafka support with callback 39/5839/5
gcalvino [Mon, 5 Feb 2018 12:03:05 +0000 (13:03 +0100)]
lightweight kafka support with callback

Change-Id: I9efcdb6bcdca5a1bc91cd4f1288ef399d88622af
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agovim-account and sdn support. 92/5892/12
tierno [Wed, 21 Mar 2018 10:34:00 +0000 (11:34 +0100)]
vim-account and sdn support.
Integration with last version of NBI
Log enhancement at n2vc callback

Change-Id: I13eda2bf61443992ddfe88169c7f2128133caa05
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoopenstack option for adding root certificate 46/5946/4
tierno [Fri, 6 Apr 2018 08:41:06 +0000 (10:41 +0200)]
openstack option for adding root certificate

Change-Id: Icb771f120c5bd6ecb89e44883779f3dcc091b7fc
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoWIP - Fix N2VC integration issues 37/5937/3
Adam Israel [Thu, 5 Apr 2018 00:01:47 +0000 (20:01 -0400)]
WIP - Fix N2VC integration issues

This fixes a couple issues:

- Bump up the version of N2VC used, which fixes the updating of deployment status
- Add a new 'params' parameter to DeployCharms to address rw_mgmt_ip.
- RemoveCharms now succeeds
- Explicitly generate and store application name, per conversation

I've verified this executes the initial-config-primitive, and now
correctly sets the rw_mgmt_ip.

Still TODO:
- There still seems to be an occasional block when deploying a network
service with multiple charms, where one charm hangs in DeployCharms.
Race condition TBD.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: Idf630d7ace375bd508d45a7140efac2cda609ae0

6 years agoFixed Dockerfile-local to install requirements for OpenNebula 32/5932/2
garciadeblas [Wed, 4 Apr 2018 10:32:15 +0000 (12:32 +0200)]
Fixed Dockerfile-local to install requirements for OpenNebula

Change-Id: I635262d4acc4fee417a82004501bf19ff3d1e064
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoOpenNebula VIM supported 62/5862/11
jomacarpe [Tue, 27 Feb 2018 12:48:22 +0000 (13:48 +0100)]
OpenNebula VIM supported

Signed-off-by: jomacarpe <josemaria.carmonaperez@telefonica.com>
OpenNebula VIM supported

Signed-off-by: albertoflorez <alberto.florezpages@telefonica.com>
6 years agoMerge "Add N2VC support"
tierno [Tue, 3 Apr 2018 14:16:10 +0000 (16:16 +0200)]
Merge "Add N2VC support"

6 years agoLatest pyvcloud library changes for vCD connector 74/5874/3
kasar [Fri, 9 Mar 2018 12:15:22 +0000 (04:15 -0800)]
Latest pyvcloud library changes for vCD connector

Change-Id: I18e9b1dba81c4225b3682ffa775acc5eeed071f1
Signed-off-by: kasar <pkasar@vmware.com>
6 years agoAdd N2VC support 85/5885/5
Adam Israel [Sun, 18 Mar 2018 18:46:23 +0000 (14:46 -0400)]
Add N2VC support

This patch adds support for using the N2VC for managing the VCA.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: Iddb0b9b0e5541b2faaf006170354b49830339d1a

6 years agoNew create-tenant option idempotent useful for docker initialization. Other minor... 01/5901/2
tierno [Fri, 23 Mar 2018 14:44:03 +0000 (15:44 +0100)]
New create-tenant option idempotent useful for docker initialization. Other minor fixes

Change-Id: I1da8ddfbad06c1a1f0c490f5e606c48aaec4ecd0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agofixed error at vnf parsing internal vld 08/5908/1
tierno [Mon, 26 Mar 2018 10:11:46 +0000 (12:11 +0200)]
fixed error at vnf parsing internal vld

Change-Id: I7f46b390e5c5990baeaa7d839916adea9ec973ca
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoSource installation, use ocata openstack client 55/5855/6
tierno [Thu, 22 Feb 2018 11:24:16 +0000 (12:24 +0100)]
Source installation, use ocata openstack client

Change-Id: I15c30991a8ac5f622699ba6099865e7f696f115d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoenhancement in openstack floating_ip asigment 54/5854/6
tierno [Thu, 22 Feb 2018 10:58:59 +0000 (11:58 +0100)]
enhancement in openstack floating_ip asigment

Change-Id: I43c57c9a8c58bd6cab94d63183af100973f9d9d4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFeatures 5648 5650 5651 52/5852/7
tierno [Fri, 16 Feb 2018 13:34:33 +0000 (14:34 +0100)]
Features 5648 5650 5651

Change-Id: I3542587777f124badf75aa4285d9fad5e25a1a0a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoVNFFG fixed some issues 80/5880/2
tierno [Tue, 13 Mar 2018 17:52:23 +0000 (18:52 +0100)]
VNFFG fixed some issues

Change-Id: I5d1a481687c37e58a1202091ff8534a4253a82f0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoVNFFG support 48/5748/8
Igor D.C [Mon, 6 Nov 2017 12:48:48 +0000 (12:48 +0000)]
VNFFG support

This brings VNFFG support to OSM, together with making use of the VIM
connector's SFC interface (see https://osm.etsi.org/gerrit/#/c/2065).

Change-Id: Ia064a9da4aaf62f9f81d3b7f6ac62ea4667864d6
Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
6 years agolightweight exception capturing, logging 46/5846/6 v3.0.3
tierno [Tue, 6 Feb 2018 22:17:16 +0000 (23:17 +0100)]
lightweight exception capturing, logging

Change-Id: I5933d3982775f97000e2e8b60f5fad1bff16d34a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoAdd juju support to lcm 40/5840/15
Adam Israel [Mon, 5 Feb 2018 12:52:15 +0000 (13:52 +0100)]
Add juju support to lcm

This adds basic Juju support to the lcm.
- Add a ModelObserver to watch model changes and update nsr_lcm when a
  charm is deployed and either ready or blocked.
- Refactor DeployApplication to take ns and vnf record as parameters and
  extract necessary information to deploy and configure charm
- Add basic checks for proxy/non-proxy charm
- Rebase against latest lcm changes
- Automatically remove a charm when deleting the associated network
  service
- Revert lcm.cfg
- Address changes per discussion this morning

TODO:
- Finish adding non-proxy charm support (need to pick appropriate
  example to highlight this)

Signed-off-by: Adam Israel <adam.israel@canonical.com>
Change-Id: Iffd24293722a050630bcb5812d3f15217067b238

6 years agoDockerfile-local modified to build the image from local dir; old Dockerfile-local... 44/5844/1
garciadeblas [Wed, 7 Feb 2018 02:22:37 +0000 (03:22 +0100)]
Dockerfile-local modified to build the image from local dir; old Dockerfile-local moved to Dockerfile-fromdeb

Change-Id: I261873e80b77cfb811d1142f191e269212fe6d93
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agominor bug fixes in dockerfile for lightweight build 43/5843/1
garciadeblas [Tue, 6 Feb 2018 14:46:30 +0000 (15:46 +0100)]
minor bug fixes in dockerfile for lightweight build

Change-Id: I6f941e5e425fa27ee0cdb37996b109d4ea3ef8a8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agolightweight build unify database record to nsrs 41/5841/3
tierno [Mon, 5 Feb 2018 13:53:28 +0000 (14:53 +0100)]
lightweight build unify database record to nsrs

Change-Id: I39ac2baa21629361b16587aa8aebe7b358d85297
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agolightweight kafka support 35/5835/4
gcalvino [Fri, 2 Feb 2018 09:53:30 +0000 (10:53 +0100)]
lightweight kafka support

Change-Id: I1c124d7fbb64dd16990f18f677c2e61d18aa767e
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agolightweight build structure 33/5833/1
tierno [Thu, 1 Feb 2018 18:13:07 +0000 (19:13 +0100)]
lightweight build structure

Change-Id: I7a04acdd31dd6ce97546fd762c3c5d550387806d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoModified vCD connector method with minor changes 26/5826/3
kasar [Thu, 25 Jan 2018 08:57:02 +0000 (00:57 -0800)]
Modified vCD connector method with minor changes

Change-Id: I871ced6dd2567b8ac6c99af5d027fb751113b771
Signed-off-by: kasar <pkasar@vmware.com>
6 years agoInitial commit for lightweight build 29/5829/2
tierno [Mon, 29 Jan 2018 17:44:04 +0000 (18:44 +0100)]
Initial commit for lightweight build

Change-Id: I22c7c64b76327822dc8eb8a40de70b1821b4cac2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoDockerfile update. Allow configure openmanod with ENV 28/5828/3
tierno [Tue, 23 Jan 2018 16:07:46 +0000 (17:07 +0100)]
Dockerfile update. Allow configure openmanod with ENV

Change-Id: I02edb2455735b514e7483ad0a250118f07726f56
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoprovide more info at ns show 27/5827/1
tierno [Thu, 25 Jan 2018 09:37:16 +0000 (10:37 +0100)]
provide more info at ns show

Change-Id: I2d9962a3ec43db9d9780c459fe0da26af9d5cbd2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoInject ssh-pub-key only to those neededs vnfs 21/5821/4
tierno [Wed, 17 Jan 2018 17:31:28 +0000 (18:31 +0100)]
Inject ssh-pub-key only to those neededs vnfs

Change-Id: I955b2dd12bda8865d7f8cc168a4e5af61c687427
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agovim thread logging enhancement 14/5814/4
tierno [Mon, 15 Jan 2018 12:59:05 +0000 (13:59 +0100)]
vim thread logging enhancement

Change-Id: I2d6c3dd819e5fd45b37cea6828df53a038409f11
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoFixed volume deletion error at openstack 10/5810/4
tierno [Wed, 10 Jan 2018 09:43:46 +0000 (10:43 +0100)]
Fixed volume deletion error at openstack

Change-Id: Icff2b4da07613fe69b8b1bbead45a01fd71fccc9
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoModified install-openmano.sh to use pyvcloud version 18.2.2 18/5818/2
kasar [Wed, 17 Jan 2018 11:04:27 +0000 (03:04 -0800)]
Modified install-openmano.sh to use pyvcloud version 18.2.2

Change-Id: I252a4635d7e7297115bf85f291d3e49482997949
Signed-off-by: kasar <pkasar@vmware.com>
6 years agofix vim flavor deletion at vnfd deletion 74/5774/5
tierno [Wed, 13 Dec 2017 09:55:38 +0000 (10:55 +0100)]
fix vim flavor deletion at vnfd deletion

Change-Id: I0ee19806f516ad3b44b64a253afec153c08a390f
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agoosm-ro service starts after mysql service. Will fix install from lxdimages 81/5781/1
garciadeblas [Mon, 18 Dec 2017 08:39:13 +0000 (09:39 +0100)]
osm-ro service starts after mysql service. Will fix install from lxdimages

Change-Id: I41cc5e66bfcabe1af14904f1df2a54fc9c3ce0ee
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoDefault flavor disk size set to 0 instead of 1 70/5770/1
garciadeblas [Mon, 11 Dec 2017 15:07:07 +0000 (16:07 +0100)]
Default flavor disk size set to 0 instead of 1

Change-Id: If64cc3c132f224c0b8cb457e1992fadb9c11de23
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 years agoMinor correction in new_vnfd_v3 function 49/5749/2 rift300
gcalvino [Mon, 4 Dec 2017 15:47:40 +0000 (16:47 +0100)]
Minor correction in new_vnfd_v3 function

Change-Id: I8c45d8c494dc05736c839a98018340cc51adfa94
Signed-off-by: gcalvino <guillermo.calvinosanchez@altran.com>
6 years agofix some more issues at SDN assist and deleting openstack ports 42/5742/4
tierno [Wed, 29 Nov 2017 16:20:13 +0000 (17:20 +0100)]
fix some more issues at SDN assist and deleting openstack ports

Change-Id: I9eaac0d8955ac55d50e14aba77238dc74cab46d4
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agopropagate SDN assist errors 39/5739/2
tierno [Tue, 28 Nov 2017 10:51:46 +0000 (11:51 +0100)]
propagate SDN assist errors

Change-Id: Ief8626efe3f1320a06b71fd4f4fba3eb93f3b60d
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
6 years agounit test for vmware connector using mock 88/2088/7
kasar [Thu, 24 Aug 2017 12:58:18 +0000 (05:58 -0700)]
unit test for vmware connector using mock

Change-Id: I06017e689eaf259ea2756ee8de29a5ad9b170c8f
Signed-off-by: kasar <pkasar@vmware.com>