tierno [Thu, 21 Nov 2019 16:10:32 +0000 (16:10 +0000)]
Feature 7432 Merge branch 'Azure'
flake8 fix on vincomm_azure
Change-Id: Ife862080a0ad1824e22a04d7ae2511f25ed90372
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
lloretgalleg [Thu, 21 Nov 2019 08:31:16 +0000 (09:31 +0100)]
Refresh includes public ip addresses, add empty additional disks if necessara
Change-Id: Iaa23d711b83655358cbba40b123ba3877e24c5e7
Signed-off-by: lloretgalleg <illoret@minsait.com>
calvinosanch [Thu, 7 Nov 2019 10:46:38 +0000 (11:46 +0100)]
Preparing RO for k8s deployment without VDUs
Change-Id: I81282992d2944b0bf0f8ef903ca17ba43ea11098
Signed-off-by: calvinosanch <guillermo.calvinosanchez@altran.com>
lloretgalleg [Tue, 29 Oct 2019 10:53:49 +0000 (11:53 +0100)]
Create vm with cloud-init keys, allow duplicate networks and vm,
add data disks, corrections to current azure connector
Change-Id: I8ae97c6b3e6561814d98eaab87fa54090711f8bc
Signed-off-by: lloretgalleg <illoret@minsait.com>
baldoni [Thu, 7 Nov 2019 11:50:11 +0000 (12:50 +0100)]
fix bug 878
Change-Id: I7c7b6b86b02588d2aaee0464d422c0b9e7328ad6
Signed-off-by: baldoni <gabriele.baldoni@adlinktech.com>
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>
tierno [Mon, 7 Oct 2019 16:38:23 +0000 (16:38 +0000)]
Merge branch 'master' into Azure
Change-Id: Ia9726dfe53813157c1e3002a44f041861722d424
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
jamartinezv [Thu, 1 Aug 2019 09:45:15 +0000 (11:45 +0200)]
Azure Connector Improvemets
Change-Id: I4b84ff5a801adf33595bd4ef44012dfc663f6f0c
Signed-off-by: jamartinezv <jamartinezv@minsait.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
tierno [Tue, 25 Jun 2019 14:38:44 +0000 (16:38 +0200)]
Merge "Bug 778 Wait on the upload iso task"
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>
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>
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>
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>
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>
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>
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>
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>
tierno [Mon, 3 Jun 2019 14:05:08 +0000 (14:05 +0000)]
fixing new_network without providing ip address
Change-Id: I73955e6d902bd09a4b2ea3f438228abf0f1176d0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
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>
tierno [Wed, 29 May 2019 09:29:01 +0000 (09:29 +0000)]
fixing refresh vm and net status
Change-Id: I6715a23ba15f690860fc469f97fec4f53f8358c2
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
seryio [Wed, 29 May 2019 07:16:24 +0000 (09:16 +0200)]
Missing method implementation
Change-Id: If585eedc95e293ab127b7b41efd2e59a82b5f6f0
Signed-off-by: seryio <siyito.lpgc@gmail.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
tierno [Mon, 28 Jan 2019 16:39:48 +0000 (17:39 +0100)]
Merge "Fixed accidential override of `sfc_encap`"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>