osm/RO.git
9 months agoPyYAML fix 31/13731/1 paas
Mark Beierl [Fri, 21 Jul 2023 17:41:51 +0000 (17:41 +0000)]
PyYAML fix

Change-Id: I34831d4559a1d17f75676a768ada5cad558e8a7e
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
9 months agoPyYAML bug workaround 85/13685/1
Mark Beierl [Mon, 17 Jul 2023 19:13:18 +0000 (19:13 +0000)]
PyYAML bug workaround

Change-Id: I077c3be37489047b7705eaa951f96f56fda4907e
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
10 months agoUpdate from master part 2 77/13477/1
Dario Faccin [Wed, 31 May 2023 12:52:06 +0000 (14:52 +0200)]
Update from master part 2

Squashed commit of the following:

commit 364627c364a86a85696781766326dd690a362bc4
Author: vegall <lvega@whitestack.com>
Date:   Fri Mar 17 15:09:50 2023 +0000

    Feature 10972: Support of volume multi-attach

    Change-Id: I6e88ee52e5e882dbb4ec7d66cf648fbe07d40509
Signed-off-by: vegall <lvega@whitestack.com>
commit 0e51779fd37dc5c12f3bd19d78f7341ed0a67b7a
Author: gifrerenom <lluis.gifre@cttc.es>
Date:   Tue Apr 18 16:38:42 2023 +0000

    Feature 10937: Transport API (TAPI) WIM connector for RO

    Change-Id: If0dac9f8ba2d00945eb86a89fb0b2f174c672794
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
commit 370e36bafdcb90f212e289b87290f39be141b3d4
Author: elumalai <deepika.e@tataelxsi.co.in>
Date:   Tue Apr 25 16:22:56 2023 +0530

    Feature 10979: Static IPv6 Dual Stack Assignment

    Added support for static dual stack IP assignment

    Change-Id: Ief10ae955fb870a3417f68e1c5f7bda570cb6470
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
commit b1bc66933aa392b9d7518f7cebc711700335389c
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Fri Aug 19 18:23:00 2022 -0500

    Fix Bug 2098: Get VDUs from VNFR when Heal op has no additionalPrameters

    When Heal is requested without vdu or count-index parameters, RO will recreate all VDUs from VNFR

    Change-Id: Idf2cf158bcb33e7b0c307298c14504cc7aa77e2a
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
    (cherry picked from commit 2fbb3a264e4117f4a6569fede6558836d67ac4a4)

commit aba1518f487b4b65861eb30f553c4edb72ad972e
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Mon May 15 11:55:13 2023 +0300

    Fix VimAdminThread run method

    The run_coroutine_threadsafe() function is used to schedule a coroutine object from a different thread and returns a concurrent.futures.Future.
    run_coroutine_threadsafe is unnecessary to run the main task and replaced with asyncio.run().

    Change-Id: I8ea31828a9798140d596165443bdf26659b4eef8
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit f17e5bb6b6da4432628dd65ce9ad633e6441f67c
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Wed May 10 22:52:57 2023 +0300

    Minor updates in Dockerfile

    Change-Id: I79b43654d181f6976a4e544d58fb92aa1b67e760
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit a264b7a460b28d7454fc95fe659da46f55b0c155
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Tue May 9 14:57:22 2023 +0300

    Ubuntu 22.04 and Python 3.10 preparation

    Change-Id: I87164827a8849c16b5e3a804d9673a578e5a5593
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 1c89c08a0dd1c79b5adff3ac1cc123239762e06a
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 18 15:06:30 2023 +0200

    Clean stage-archive.sh and use allowlist_extenals in tox.ini

    Change-Id: I18f0bc3e263063b5b1d2cf211f028f6bb0e4bceb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 51e72a0f7479b3064b4b11891eb524d42f4738b0
Author: elumalai <deepika.e@tataelxsi.co.in>
Date:   Fri Apr 28 19:41:49 2023 +0530

    Coverity CWE 330: Use of Insufficiently Random Values

    Added support to fix CWE 330: Use of Insufficiently Random Values
    Coverity issue

    Change-Id: Ib12ebeeb9b0cc10af9980fe8661eb6230c2f6d6d
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
commit e17cd946aed699b5feca83d37591d04f129a8f52
Author: elumalai <deepika.e@tataelxsi.co.in>
Date:   Fri Apr 28 18:04:24 2023 +0530

    Coverity CWE 688: Function Call With Incorrect Variable or Reference as Argument

    Added fix for CWE 688 Typo in Identifier

    Change-Id: I53b5142451b809be638d73626265531057722169
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
commit 730cfaff466fb3c9b1446ecef5213916195ff861
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Mon Mar 13 22:26:38 2023 -0500

    Feature 10975: get flavor-id from additionalParams if specified

    Change-Id: I1c9b1ec43c80f3793b475187681f4c2005d77375
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 2d3f63b055e6a38e95bcff56a8ddef32767b11ef
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 11 10:08:26 2023 +0200

    Update stage-build to run tox sequentially

    Change-Id: I967f19a8c35700290e93c9d8bd863b63b7c2d239
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
    (cherry picked from commit ea063c7a6ae6a5d7e11e8c22f9707d5c8f674ac7)

commit b3dbfcad6f4b2bebc9ebc20fd7129a18879cb20c
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Mar 14 10:58:39 2023 -0500

    Feature 10978: Add support of ipv6_address_mode and ipv6_ra_mode to openstack connector

    Change-Id: I8ca741a215bd2c52999dee1ea301d4e02aafcb24
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 01619d5b596e01ac8cd6d27bf01a1174e6b3f97b
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Wed Mar 22 22:57:26 2023 +0300

    Keep vim_details while reporting VM deletion

    Change-Id: I27577b2fc93a585affc947abcec8352562f23f49
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 98740c03567ff8c5a22f06fd3f049248a9e5f98d
Author: Pedro Escaleira <escaleira@av.it.pt>
Date:   Wed Feb 22 10:48:52 2023 +0000

    Bug 2217 fixed: modified the cloud-init merge configs and defined the default SSH keys within the system_info instead of users

    Change-Id: I12e26a88fb9b50c4a78b9fa8ee2cb5d4b4bf6d00
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
commit d586d89bde00acaf22debd7f657d605c9d095571
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Mon Feb 13 18:40:03 2023 +0300

    Feature 10960 Performance optimizations for the polling of VM status in RO

    Change-Id: If785bbeaab66e0839541bf94184ce37114e67bd4
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 4c1dd54ae02e82f11a60058a1b7c7b0137ac572e
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Feb 14 12:43:32 2023 -0500

    Refactor ns.py so that RO uses the IP profile as it comes from LCM

    Change-Id: I36983c86d7c76ad8a9b93eb6eae254f844717e0e
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 3822010a26b2e21290b6acdf288db277c7f36605
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Mon Feb 13 17:48:32 2023 +0100

    Fix bug 2216 to remove hardcoded numa affinity in VIO

    Change-Id: I0912c2841e7c5c1febe056ba092afedaea77f6a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 778f3cc8c052bd17d0da32f07b880616d25f935a
Author: Lovejeet Singh <lovejeet.singh@hsc.com>
Date:   Mon Feb 13 16:15:40 2023 +0530

    Bug 2202: Adding support for cinder V3 API with V2 API for persistent volumes.

    Change-Id: I7034564b91b94e6be242cb2ce0f4a5b147b87d64
Signed-off-by: Lovejeet Singh <lovejeet.singh@hsc.com>
Change-Id: I7ac1bd1d9896788812f456c678b1f5222a1f1ad6
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
11 months agoUpdate from master 57/13457/1
Dario Faccin [Wed, 24 May 2023 14:42:53 +0000 (16:42 +0200)]
Update from master

Squashed commit of the following:

commit 370e36bafdcb90f212e289b87290f39be141b3d4
Author: elumalai <deepika.e@tataelxsi.co.in>
Date:   Tue Apr 25 16:22:56 2023 +0530

    Feature 10979: Static IPv6 Dual Stack Assignment

    Added support for static dual stack IP assignment

    Change-Id: Ief10ae955fb870a3417f68e1c5f7bda570cb6470
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
commit b1bc66933aa392b9d7518f7cebc711700335389c
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Fri Aug 19 18:23:00 2022 -0500

    Fix Bug 2098: Get VDUs from VNFR when Heal op has no additionalPrameters

    When Heal is requested without vdu or count-index parameters, RO will recreate all VDUs from VNFR

    Change-Id: Idf2cf158bcb33e7b0c307298c14504cc7aa77e2a
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
    (cherry picked from commit 2fbb3a264e4117f4a6569fede6558836d67ac4a4)

commit aba1518f487b4b65861eb30f553c4edb72ad972e
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Mon May 15 11:55:13 2023 +0300

    Fix VimAdminThread run method

    The run_coroutine_threadsafe() function is used to schedule a coroutine object from a different thread and returns a concurrent.futures.Future.
    run_coroutine_threadsafe is unnecessary to run the main task and replaced with asyncio.run().

    Change-Id: I8ea31828a9798140d596165443bdf26659b4eef8
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit f17e5bb6b6da4432628dd65ce9ad633e6441f67c
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Wed May 10 22:52:57 2023 +0300

    Minor updates in Dockerfile

    Change-Id: I79b43654d181f6976a4e544d58fb92aa1b67e760
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit a264b7a460b28d7454fc95fe659da46f55b0c155
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Tue May 9 14:57:22 2023 +0300

    Ubuntu 22.04 and Python 3.10 preparation

    Change-Id: I87164827a8849c16b5e3a804d9673a578e5a5593
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 1c89c08a0dd1c79b5adff3ac1cc123239762e06a
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 18 15:06:30 2023 +0200

    Clean stage-archive.sh and use allowlist_extenals in tox.ini

    Change-Id: I18f0bc3e263063b5b1d2cf211f028f6bb0e4bceb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 51e72a0f7479b3064b4b11891eb524d42f4738b0
Author: elumalai <deepika.e@tataelxsi.co.in>
Date:   Fri Apr 28 19:41:49 2023 +0530

    Coverity CWE 330: Use of Insufficiently Random Values

    Added support to fix CWE 330: Use of Insufficiently Random Values
    Coverity issue

    Change-Id: Ib12ebeeb9b0cc10af9980fe8661eb6230c2f6d6d
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
commit e17cd946aed699b5feca83d37591d04f129a8f52
Author: elumalai <deepika.e@tataelxsi.co.in>
Date:   Fri Apr 28 18:04:24 2023 +0530

    Coverity CWE 688: Function Call With Incorrect Variable or Reference as Argument

    Added fix for CWE 688 Typo in Identifier

    Change-Id: I53b5142451b809be638d73626265531057722169
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
commit 730cfaff466fb3c9b1446ecef5213916195ff861
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Mon Mar 13 22:26:38 2023 -0500

    Feature 10975: get flavor-id from additionalParams if specified

    Change-Id: I1c9b1ec43c80f3793b475187681f4c2005d77375
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 2d3f63b055e6a38e95bcff56a8ddef32767b11ef
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 11 10:08:26 2023 +0200

    Update stage-build to run tox sequentially

    Change-Id: I967f19a8c35700290e93c9d8bd863b63b7c2d239
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
    (cherry picked from commit ea063c7a6ae6a5d7e11e8c22f9707d5c8f674ac7)

commit b3dbfcad6f4b2bebc9ebc20fd7129a18879cb20c
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Mar 14 10:58:39 2023 -0500

    Feature 10978: Add support of ipv6_address_mode and ipv6_ra_mode to openstack connector

    Change-Id: I8ca741a215bd2c52999dee1ea301d4e02aafcb24
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 01619d5b596e01ac8cd6d27bf01a1174e6b3f97b
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Wed Mar 22 22:57:26 2023 +0300

    Keep vim_details while reporting VM deletion

    Change-Id: I27577b2fc93a585affc947abcec8352562f23f49
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 98740c03567ff8c5a22f06fd3f049248a9e5f98d
Author: Pedro Escaleira <escaleira@av.it.pt>
Date:   Wed Feb 22 10:48:52 2023 +0000

    Bug 2217 fixed: modified the cloud-init merge configs and defined the default SSH keys within the system_info instead of users

    Change-Id: I12e26a88fb9b50c4a78b9fa8ee2cb5d4b4bf6d00
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
commit d586d89bde00acaf22debd7f657d605c9d095571
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Mon Feb 13 18:40:03 2023 +0300

    Feature 10960 Performance optimizations for the polling of VM status in RO

    Change-Id: If785bbeaab66e0839541bf94184ce37114e67bd4
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 4c1dd54ae02e82f11a60058a1b7c7b0137ac572e
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Feb 14 12:43:32 2023 -0500

    Refactor ns.py so that RO uses the IP profile as it comes from LCM

    Change-Id: I36983c86d7c76ad8a9b93eb6eae254f844717e0e
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 3822010a26b2e21290b6acdf288db277c7f36605
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Mon Feb 13 17:48:32 2023 +0100

    Fix bug 2216 to remove hardcoded numa affinity in VIO

    Change-Id: I0912c2841e7c5c1febe056ba092afedaea77f6a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit 778f3cc8c052bd17d0da32f07b880616d25f935a
Author: Lovejeet Singh <lovejeet.singh@hsc.com>
Date:   Mon Feb 13 16:15:40 2023 +0530

    Bug 2202: Adding support for cinder V3 API with V2 API for persistent volumes.

    Change-Id: I7034564b91b94e6be242cb2ce0f4a5b147b87d64
Signed-off-by: Lovejeet Singh <lovejeet.singh@hsc.com>
Change-Id: Ie85ab8100feb93ba059def8cceafbe646e32b1a6
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
13 months agoUpdate to have temporal in common 35/13035/1
Mark Beierl [Wed, 1 Mar 2023 18:18:07 +0000 (18:18 +0000)]
Update to have temporal in common

Change-Id: I08dc2e224db977c834ed0b036c3831157ac20675
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
13 months agoUpdate to have temporal in common 31/13031/1
Mark Beierl [Wed, 1 Mar 2023 17:09:32 +0000 (17:09 +0000)]
Update to have temporal in common

Change-Id: Ifb826c8bfbf7959656505a04852a44f444dc0b25
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
14 months agoMerge remote-tracking branch 'origin/master' into paas 52/12952/1
Mark Beierl [Thu, 9 Feb 2023 20:46:48 +0000 (15:46 -0500)]
Merge remote-tracking branch 'origin/master' into paas

Change-Id: I2136af33df17a3ca1e7d8db426c1ec74feef07ff
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
14 months agoRevert "Revert "Removing unused methods from RO module"" 23/12923/2
almagia [Mon, 6 Feb 2023 15:11:30 +0000 (16:11 +0100)]
Revert "Revert "Removing unused methods from RO module""

This reverts commit 6986244790d12f4ce734fd5cd2599e84b29c3f84.

Re-revert as discussed with TSC

Change-Id: Ib2feb94d4f13e97c12f51381d3e28372d140baaa
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoFeature 10950: Replace pycrypto with pycryptodome 17/12917/2
Gulsum Atici [Fri, 3 Feb 2023 17:49:19 +0000 (20:49 +0300)]
Feature 10950: Replace pycrypto with pycryptodome

Change-Id: If7e0f2d58b4354127e5bee17f770a622c98805d2
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoRevert "Removing unused methods from RO module" 10/12910/4
Gulsum Atici [Thu, 2 Feb 2023 13:50:18 +0000 (16:50 +0300)]
Revert "Removing unused methods from RO module"

This reverts commit eaccf71d78032c68f6fb4dadfc98308f007b63af.

Change-Id: Ie864b6e031f7c9227d4032f6bf2e3d894464ff3c
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoReformat files according to new black validation 12/12912/2
Gulsum Atici [Thu, 2 Feb 2023 17:41:00 +0000 (20:41 +0300)]
Reformat files according to new black validation

Change-Id: I68f6423f5f9a204c35b7c0c5239eb8a66e605f2c
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoRemoving unused methods from RO module 57/12857/3
Gulsum Atici [Tue, 24 Jan 2023 13:04:58 +0000 (16:04 +0300)]
Removing unused methods from RO module

Change-Id: Ic2e771ebeec9a0ff8d0d45cacbd0cdb87d131a27
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoFix Bug 2180 Adding VIO Numa support with unit tests 90/12690/5
Gulsum Atici [Mon, 14 Nov 2022 10:06:06 +0000 (13:06 +0300)]
Fix Bug 2180 Adding VIO Numa support with unit tests

Change-Id: I7a7b18a00b22156c6b8116f07e3a04d8c2dd8a99
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoCorrecting invalid vcpu calculation and vcpu pinning policy evaluation. 53/12853/6
Gulsum Atici [Mon, 23 Jan 2023 13:22:59 +0000 (16:22 +0300)]
Correcting invalid vcpu calculation and vcpu pinning policy evaluation.

Correcting invalid vcpu calculation according to numa nodes core and thread settings, correcting vcpu pinning policy evaluation.

Change-Id: I8126a1e5a47e879a42809ded8ca07b8d1c78ac8f
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoUpdating python dependencies 80/12880/3
Gulsum Atici [Thu, 26 Jan 2023 14:55:17 +0000 (17:55 +0300)]
Updating python dependencies

Update of Python packages (using pip-compile) in preparation for
Release FOURTEEN

Change-Id: Ie27634899f752975227416c3b86b68f6b8cecc33
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
14 months agoMerge branch 'master' into paas 73/12873/3
Mark Beierl [Wed, 25 Jan 2023 16:52:01 +0000 (11:52 -0500)]
Merge branch 'master' into paas

Change-Id: Ic445665bf024b0df89e16cadf1bea0ba4bb723b6
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
15 months agoRefactoring new_flavor method in Openstack VIM connector 49/12849/11
Gulsum Atici [Thu, 19 Jan 2023 09:44:06 +0000 (12:44 +0300)]
Refactoring new_flavor method in Openstack VIM connector

Change-Id: If852a4c20f41cba2609d9d0d30865649a748e067
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
15 months agoEnabling Pylint in RO and removing unused methods 13/12713/10
Gulsum Atici [Wed, 23 Nov 2022 13:06:40 +0000 (16:06 +0300)]
Enabling Pylint in RO and removing unused methods

Enabling pylint, removing some unused and erroneous methods,
updating required libraries.

Change-Id: I7ad823f83faa1fd9f055a92041cabc7a53f707ac
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
15 months agoMerge remote-tracking branch 'origin/master' into paas 22/12822/1
Mark Beierl [Fri, 6 Jan 2023 18:06:48 +0000 (13:06 -0500)]
Merge remote-tracking branch 'origin/master' into paas

Change-Id: Ic73831a987d021baeb25559f524b8f6e4dcc4ccf
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoFix Bug 2159: Use provider-network profile when specified even if it's overlay or... 91/12791/2
Gabriel Cuba [Wed, 14 Dec 2022 23:33:50 +0000 (18:33 -0500)]
Fix Bug 2159: Use provider-network profile when specified even if it's overlay or management

Change-Id: Ib1f910e0f8ce9ed5fbb6ffbcb09847c90c2c9710
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
16 months agoFixing the signature of method 85/12785/2
Gulsum Atici [Mon, 12 Dec 2022 16:21:25 +0000 (19:21 +0300)]
Fixing the signature of method

Correcting the signature of method _get_free_floating_ip in vimconn_openstack.py

Change-Id: I0351b1c9af9543c02985601a30fe1e684db71e8a
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
16 months agoBinding flake8 version to 5.0.4 21/12721/2 release-v13.0-start
Gulsum Atici [Thu, 24 Nov 2022 14:49:04 +0000 (17:49 +0300)]
Binding flake8 version to 5.0.4

Change-Id: Ia2739577b7f4f50345ef2242323ecb5da3cc2780
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoFeature 10936 Keeping persistent volume of VNF 21/12521/11
aticig [Sat, 3 Sep 2022 15:15:20 +0000 (18:15 +0300)]
Feature 10936 Keeping persistent volume of VNF

Change-Id: I3be4b402c9776f145d59b5c40d645f8ab92d34c6
Signed-off-by: aticig <gulsum.atici@canonical.com>
17 months agoRefactor NG_RO/ns.py _process_vdu_params method 08/12708/7
Gulsum Atici [Mon, 21 Nov 2022 11:11:02 +0000 (14:11 +0300)]
Refactor NG_RO/ns.py _process_vdu_params method

Refactoring NG_RO/ns.py _process_vdu_params and vimconn_openstack.py delete_vminstance methods together with adding unit tests.

Change-Id: I66b5e4dac296fff7bdac77add997818653ee0801
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoAdding missing variable 01/12701/3
Gulsum Atici [Thu, 17 Nov 2022 21:10:15 +0000 (00:10 +0300)]
Adding missing variable

Missing variable block_device_mapping is added to prepare_disk_for_vminstance method

Change-Id: Ic759df4d53b6d0f454b2a851215aa40402b3053a
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoRefactor openstack new_vminstance method 28/12628/12
Gulsum Atici [Thu, 27 Oct 2022 12:18:27 +0000 (15:18 +0300)]
Refactor openstack new_vminstance method

Change-Id: I33bba6d4ce911e6429835d93705f9b7f4704ebae
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoBug 2180 fixed 86/12586/5
sritharan [Thu, 13 Oct 2022 05:43:13 +0000 (05:43 +0000)]
Bug 2180 fixed

Change-Id: Ib136760251c09cd803f2e313b184fa87428efd9b
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
17 months agoFix Bug 2172 13/12613/3
Gulsum Atici [Tue, 25 Oct 2022 19:45:07 +0000 (22:45 +0300)]
Fix Bug 2172

Fixing FileNotFoundError during unloading VIM and
Changing log level while getting installed RO version

Change-Id: I6511072efd47ce9c96c3534a7328e1f5df6e5eb1
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoUpdating requirements to branch 07/12607/2
Mark Beierl [Mon, 24 Oct 2022 20:15:32 +0000 (16:15 -0400)]
Updating requirements to branch

Change-Id: I7d8c3c538ec84798cd807ca43298a2882ed6d72c
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
18 months agoGet VIM certificates from DB 69/12469/9
Guillermo Calvino [Fri, 19 Aug 2022 11:01:06 +0000 (13:01 +0200)]
Get VIM certificates from DB

Change-Id: Iaf11da954dd8faedbc27e0055bdf134433ea680f
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
19 months agoFix bug 2157 to resolve issues with IETF L2VPN WIM connector 26/12526/3
gifrerenom [Mon, 7 Mar 2022 18:00:01 +0000 (18:00 +0000)]
Fix bug 2157 to resolve issues with IETF L2VPN WIM connector

Change-Id: If03acb8469f36bbca51a936bfb0808ec0124468f
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
19 months agoFix bug 2156 to select correct WIM connector class and prevent exceptions with missin... 25/12525/4
gifrerenom [Mon, 7 Mar 2022 17:55:20 +0000 (17:55 +0000)]
Fix bug 2156 to select correct WIM connector class and prevent exceptions with missing parameters.

Change-Id: I6f67b8a0fccc5a2ebf3f839899d748c41fac169a
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
19 months agoFixing inappropriate warning log level usage 22/12522/2
aticig [Sat, 3 Sep 2022 20:06:37 +0000 (23:06 +0300)]
Fixing inappropriate warning log level usage

This patch is correcting the log levels of some successful operations
as they were logged with warning level.

Change-Id: I5f572e0b9d31e32253f7fbd8d5d1da7a360e074e
Signed-off-by: aticig <gulsum.atici@canonical.com>
20 months agoFixing improper certificate validation security vulnerability 14/12414/3
aticig [Fri, 29 Jul 2022 11:27:16 +0000 (14:27 +0300)]
Fixing improper certificate validation security vulnerability

Enabling certificate validation in Juniper Contrail SDN plugin.

Change-Id: I75b523fbff3d450599f888b06549e46b61dcf95a
Signed-off-by: aticig <gulsum.atici@canonical.com>
20 months agoFixing RO Security Vulnerabilities 48/12348/9
aticig [Thu, 14 Jul 2022 21:43:09 +0000 (00:43 +0300)]
Fixing RO Security Vulnerabilities

Jinja2 sets autoescape to False, disabling SSL certificate checks, use of unsafe yaml load,
Try-Except-Pass detected, use of assert detected.
Removing openmanoconfig.py.

Change-Id: I3353208e150ae6c2f91befa1a3bbed33ed0c528d
Signed-off-by: aticig <gulsum.atici@canonical.com>
21 months agoFix Bug 2086 Updating VNF status configurable 93/12293/5
aticig [Thu, 30 Jun 2022 16:29:04 +0000 (19:29 +0300)]
Fix Bug 2086 Updating VNF status configurable

This fix allows to set REFRESH_ACTIVE period as config option which
periodically checks the VM status from VIM. Env variable can be set in the
ro container export OSMRO_PERIOD_REFRESH_ACTIVE=-1 to disable VM status updates.
This config parameter allowed to set >= 60 seconds or -1.
Making the stage-releasenotes.sh executable.

Change-Id: I90a859d9b831c1ce24faea4eab12dc998ac655d5
Signed-off-by: aticig <gulsum.atici@canonical.com>
21 months agoJenkins refresh 43/12343/5
Mark Beierl [Thu, 14 Jul 2022 13:41:20 +0000 (09:41 -0400)]
Jenkins refresh

Change the jenkins node label from 'docker'
to 'stage_2' as part of the Jenkins cleanup

Change-Id: Ic2837c0f6163a511e064eb5a2a254c58c1c0c960
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoFix bug 2092 to update params of delete_vminstance in all VIM connectors 88/12288/4
garciadeblas [Thu, 30 Jun 2022 11:57:43 +0000 (13:57 +0200)]
Fix bug 2092 to update params of delete_vminstance in all VIM connectors

Change-Id: I906817cc8443d958ef295835af440268528912f3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
21 months agoFind the existing persistent volume by vim_id keyword 70/12270/2 release-v12.0-start
aticig [Sat, 25 Jun 2022 20:31:19 +0000 (23:31 +0300)]
Find the existing persistent volume by vim_id keyword

It's possible to find an existing disk id searching with vim_id or
vim_volume_id depend on situation. vim_id is added in the search key list.

Change-Id: I7847cfc30a26bfa5f860eae2aefdbc4c44050234
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoUpdate pip requirements 50/12250/4
garciadeblas [Fri, 24 Jun 2022 15:37:49 +0000 (17:37 +0200)]
Update pip requirements

Change-Id: Ie13a8e81a0182b9b9b6f37c17ae454793f658c47
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
22 months agoMatch the correct clause when interface position is zero 42/12242/2
aticig [Fri, 24 Jun 2022 13:01:05 +0000 (16:01 +0300)]
Match the correct clause when interface position is zero

Change-Id: I6eacc818c1596442295d39ff704fe56dea319c11
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoFixing Bug 1851, 1852, 1854 60/12160/14
aticig [Thu, 2 Jun 2022 17:03:13 +0000 (20:03 +0300)]
Fixing Bug 1851, 1852, 1854

Network related problems while creating an basic network service using
AWS VIM Plugin are fixed in this patch.

Change-Id: Ic36ff57f8c9bd5b362eb9ffb752ce863f621dd54
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoFix Bug 2012 use existing volumes as instantiation parameters 84/12084/9
aticig [Thu, 19 May 2022 10:03:17 +0000 (13:03 +0300)]
Fix Bug 2012 use existing volumes as instantiation parameters

RO processes the existing vim-volume-id which is provided through the
instantation parameters, then they are consumed while creating the new VDUs.

Change-Id: Ic3bd71ac7679ab0ccbe9ee0847e4a8d3059c7c58
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoRO Unit Tests for Feature: 10910 52/12152/4
elumalai [Wed, 1 Jun 2022 08:06:05 +0000 (13:36 +0530)]
RO Unit Tests for Feature: 10910

Added unit tests in RO for feature 10910 - Migration of
Openstack based VM instances

Change-Id: I2bbca8db3fd253fccbfcfb1e5aaf732b571dbfb2
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
22 months agoFind the interface ports regardless of VM's existence 38/12238/3
aticig [Wed, 22 Jun 2022 19:03:37 +0000 (22:03 +0300)]
Find the interface ports regardless of VM's existence

This patch will find and delete the network interface ports regardless of VM's existence.
In healing feature, when the VM is deleted manually, network interfaces ports still
exist in the Openstack Cloud. If we check the network ports' presence according to vm_id,
those ports are not deleted and heal operation fails. This patch will find all the ports,
than deletion required interface will be deleted.

Change-Id: I139559844aa148109588f70f1472ee2e07d7df67
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoFeature 10911-Vertical scaling of VM instances from OSM 05/12005/13
sritharan [Thu, 5 May 2022 12:15:04 +0000 (12:15 +0000)]
Feature 10911-Vertical scaling of VM instances from OSM

Change-Id: Ie52edb13367a253ed3fc1a434ca2a170803035e4
Signed-off-by: sritharan <priyadarshini@tataelxsi.co.in>
22 months agoFeature 10922: Stop, start and rebuild 86/11986/11
k4.rahul [Mon, 2 May 2022 15:47:57 +0000 (15:47 +0000)]
Feature 10922: Stop, start and rebuild

Added support for feature start stop rebuild of VNF instances
Added unit test case for start stop rebuil of VNF instances

Change-Id: I09d2512084268c190f5ae9cfdaae41269c6bc069
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
22 months agoFix Bug 1607 Interface position is not taken into account 06/12206/4
aticig [Wed, 15 Jun 2022 22:28:29 +0000 (01:28 +0300)]
Fix Bug 1607 Interface position is not taken into account

This fix provides to attach interfaces to VNF according to the position order
which is defined in the VNFD.

Change-Id: Ibe17d63548c8b753f791de2440fec4c763fd8fe2
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoFixing Bug 1376 68/12168/3
aticig [Tue, 7 Jun 2022 12:00:35 +0000 (15:00 +0300)]
Fixing Bug 1376

This fix will check the port existence before deleting the port.
It will solve the error "Error deleting port: PortNotFoundClient".

Change-Id: I2b0b841c6111578e0d1a0cde9057eb3ab0b5a86a
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoUse interfaces_backup for healing 97/12197/3
garciadeblas [Mon, 13 Jun 2022 08:02:51 +0000 (10:02 +0200)]
Use interfaces_backup for healing

Change-Id: Idb2d950963754259163e23a0ed9ef1aafc3ce45e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
22 months agoFeature 10909: Heal operation for VDU. Fix virtual machine deletion and volume deleti... 06/12006/2
palaciosj [Thu, 5 May 2022 14:59:36 +0000 (14:59 +0000)]
Feature 10909: Heal operation for VDU. Fix virtual machine deletion and volume deletion when terminating network service

Change-Id: Iffe66e3dcb87b0b24ee09fd74129b26dfd87c320
Signed-off-by: palaciosj <jmpalacios@indra.es>
22 months agoExtracting stage releasenotes script from stage-test.sh 77/12177/2
aticig [Tue, 7 Jun 2022 16:09:38 +0000 (19:09 +0300)]
Extracting stage releasenotes script from stage-test.sh

Release notes checking in stage-test.sh causes the failure in  merge and revert jobs.
So it is added as an separate script.

Change-Id: Ie20878cb4822ba72e9d81f3e6ede8dcd1f65d99e
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoFix Bug 2041: Backup VDU interfaces for healing features 25/12125/5
aticig [Wed, 25 May 2022 00:12:36 +0000 (03:12 +0300)]
Fix Bug 2041: Backup VDU interfaces for healing features

If a VDU is manually deleted in Openstack, the RO overwrites the
interfaces as an empty list. However, healing features (10909 and 10923) need the
interfaces information to heal the VDU again. This fix backups the interfaces of
VDU under interfaces_backup keyword.

Change-Id: I17ea28c2c4f486d0bbecdcbc5005413222bfeed9
Signed-off-by: aticig <gulsum.atici@canonical.com>
22 months agoUpdate paramiko version to 2.11.0 35/12135/3
aticig [Fri, 27 May 2022 07:50:21 +0000 (10:50 +0300)]
Update paramiko version to 2.11.0

Update paramiko version and increase auth_timeout and log paramiko operations
in order to fix Authentication Failed error during ssh key injection

Change-Id: I544850ae3ca5ff826b71deeacb71c5ab2308ee5a
Signed-off-by: aticig <gulsum.atici@canonical.com>
23 months agoFeature 10910: Migration of Openstack based VM instances 67/11967/22
elumalai [Thu, 28 Apr 2022 13:39:31 +0000 (19:09 +0530)]
Feature 10910: Migration of Openstack based VM instances

Added feature support for Migration of Openstack based VM instances
from OSM

Change-Id: I1e16c3ba323d284c30e4761aec614b18119691af
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
23 months agoBug 2029 mempage-size is ignored 57/12057/7
rodriguezgar [Sat, 14 May 2022 22:42:45 +0000 (00:42 +0200)]
Bug 2029 mempage-size is ignored

Change-Id: I2ca791474b9a717413964f1b85d7659489702f14
Signed-off-by: rodriguezgar <frodriguezg@indra.es>
23 months agoLogging traceback for key injection error in robot tests 58/12058/6
aticig [Mon, 16 May 2022 20:03:54 +0000 (23:03 +0300)]
Logging traceback for key injection error in robot tests

Add traceback for key injection error in robot tests
and increase the paramiko ssh client timeout from 10s to 30s.

Change-Id: I4f0c24f550e98dc072210cebb36a57b4530818ac
Signed-off-by: aticig <gulsum.atici@canonical.com>
23 months agoFixes bug 2026 : Persistent volumes to be created in the same AZ as the VM that will... 39/12039/1
Alexis Romero [Thu, 12 May 2022 11:23:25 +0000 (13:23 +0200)]
Fixes bug 2026 : Persistent volumes to be created in the same AZ as the VM that will use them.

Change-Id: I1f4161aa4f7b294e1acf2b33ba3208480f09eacc
Signed-off-by: Alexis Romero <garomero@indra.es>
23 months agoFix Bug 2022: RO updating VIM details with null info when VM is in error state 10/12010/1
aticig [Fri, 6 May 2022 13:09:52 +0000 (16:09 +0300)]
Fix Bug 2022: RO updating VIM details with null info when VM is in error state

This patch prevents to override the vim_details when VM
is in error state. By this way, vim_details could be used for healing operations.
The messages regarding with the failure is kept in another key names "vim_message".

Change-Id: Ie0b73040074865a89d9ab2d447e20a8f3d38d520
Signed-off-by: aticig <gulsum.atici@canonical.com>
23 months agoFixing Black and Flake8 errors in RO master 94/11994/2
aticig [Mon, 2 May 2022 18:23:48 +0000 (21:23 +0300)]
Fixing Black and Flake8 errors in RO master

Change-Id: I401c94bc8bd67e03e2f039d69237187fd77c10f4
Signed-off-by: aticig <gulsum.atici@canonical.com>
23 months agoFeature 10909: Heal operation for VDU 50/11850/7
palaciosj [Thu, 24 Feb 2022 12:05:59 +0000 (12:05 +0000)]
Feature 10909: Heal operation for VDU

Change-Id: I4f15fca7874cfc443f09fa65855579e1318a899d
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: palaciosj <jmpalacios@indra.es>
23 months agoFixes bug 2013 : Passing Anti-affinity group as additionalParamsForVnf 42/11942/5
Alexis Romero [Tue, 26 Apr 2022 17:24:40 +0000 (19:24 +0200)]
Fixes bug 2013 : Passing Anti-affinity group as additionalParamsForVnf

Change-Id: I4c14ef26cd78547cb74a19cdd50dbec9b40a0a93
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoFix Bug 1911 Root disk cannot be a Persistent Volume 96/11796/7
aticig [Tue, 29 Mar 2022 10:15:45 +0000 (13:15 +0300)]
Fix Bug 1911 Root disk cannot be a Persistent Volume

By this fix, VNFs could have persistent root disk if the disk type is defined as persistent-storage.
Besides, the problem of creating unnecessary empty persistent volume is solved.

Change-Id: Id032701bba4ce71080c338bc7f112261ec98861e
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFix Bug 1785 Openstack VIM connector failed Unittests 12/11812/3
aticig [Thu, 31 Mar 2022 19:03:33 +0000 (22:03 +0300)]
Fix Bug 1785 Openstack VIM connector failed Unittests

This patch fixes bug 1785 the Openstack VIM connector failed Unittests.
Openstack VIM unittests and coverage are also enabled in tox.ini.

Change-Id: I136a53a6f59c48a1681cfe3c87dbe9aada253a98
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10906: Support for Anti-Affinity groups 47/11747/16
Alexis Romero [Fri, 11 Mar 2022 17:00:49 +0000 (18:00 +0100)]
Feature 10906: Support for Anti-Affinity groups

Change-Id: I5eabb222faf9a5422bfb729ff50984f23ac4b9ba
Signed-off-by: Alexis Romero <garomero@indra.es>
2 years agoAdded check for release notes 64/11764/2
garciadeblas [Tue, 15 Mar 2022 10:52:44 +0000 (11:52 +0100)]
Added check for release notes

Change-Id: Id6d0fb10e7bd56574c18a8c6750b2920353ea12f
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug 1927 for EPA_04 test (exception management error) 74/11774/2
gallardo [Tue, 22 Mar 2022 16:59:51 +0000 (16:59 +0000)]
Fix bug 1927 for EPA_04 test (exception management error)

Change-Id: I3e75de24a12b7fc88ee63f68dfea0c6c87877905
Signed-off-by: gallardo <sgallardor@indra.es>
2 years agoFix Bug 1910 Enabling stage-test failing by tox results 51/11751/4
aticig [Fri, 11 Mar 2022 12:03:55 +0000 (15:03 +0300)]
Fix Bug 1910 Enabling stage-test failing by tox results

Change-Id: I9d8fd2104916a1b16fccb68d21126891ac512b9f
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFix bug 1904 for EPA tests (no valid hostname) 54/11754/3
gallardo [Mon, 14 Mar 2022 18:16:41 +0000 (18:16 +0000)]
Fix bug 1904 for EPA tests (no valid hostname)

Change-Id: Ia2f2b71812e46f33144178d342c3559e54d8a03c
Signed-off-by: gallardo <sgallardor@indra.es>
2 years agoRefactor method deploy 74/11674/23
gallardo [Fri, 11 Feb 2022 12:41:59 +0000 (12:41 +0000)]
Refactor method deploy

This change removes the method `_process_items` and refactors the method
`deploy` to do the following tasks:

- `calculate_all_differences_to_deploy`: returns the list of items to be
  created and deleted
- `define_all_tasks`: creates all the task structures
- `upload_all_tasks`: saves all tasks in the common DB

Change-Id: I5cb59dd697875634a4a92df8673c9842a4578d5f
Signed-off-by: gallardo <sgallardor@indra.es>
2 years agoAdd log to trace task workflow 06/11606/8
gallardo [Mon, 31 Jan 2022 16:50:48 +0000 (16:50 +0000)]
Add log to trace task workflow

Change-Id: I7f65766ca22dad2f9cc3d2968bc10bc8f7a2779d
Signed-off-by: gallardo <sgallardor@indra.es>
2 years agoFix bug 1598 to update the time to refresh the status of CREATE task 37/11537/11
gallardo [Thu, 20 Jan 2022 09:07:08 +0000 (09:07 +0000)]
Fix bug 1598 to update the time to refresh the status of CREATE task

Change-Id: I350e0e8cbfb7818dcd26ffcb23799c16ff8282a2
Signed-off-by: gallardo <sgallardor@indra.es>
2 years agoFix bug 1859 for VNET supporting in a different resource group 26/11526/9
gallardo [Mon, 17 Jan 2022 17:37:51 +0000 (17:37 +0000)]
Fix bug 1859 for VNET supporting in a different resource group

Change-Id: Iaddd2515995eb4c49977c7c705b7634638bb3071
Signed-off-by: gallardo <sgallardor@indra.es>
2 years agoFix Bug1832-Use existing flavors with true 35/11535/5
preethika.p [Thu, 20 Jan 2022 07:24:18 +0000 (07:24 +0000)]
Fix Bug1832-Use existing flavors with true

Change-Id: I0025b2be85c4153f1812ebbb9108ea14b92770c8
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
2 years agoAdding header to release notes 48/11548/2
sousaedu [Tue, 25 Jan 2022 14:11:04 +0000 (14:11 +0000)]
Adding header to release notes

Change-Id: I66726de18610a4405f519371d0ca3edcec1eb252
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoUpdating Dockerfile.local to align latest Bug-1849 47/11547/1
preethika.p [Tue, 25 Jan 2022 05:09:58 +0000 (05:09 +0000)]
Updating Dockerfile.local to align latest Bug-1849

Change-Id: I188fa8e7cbbd3ae5a02523c7ba68ffe2af870bb8
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
2 years agoBug 1849: LTS Support 21/11521/3
beierlm [Thu, 13 Jan 2022 18:21:53 +0000 (13:21 -0500)]
Bug 1849: LTS Support

Updates base to Ubuntu 20.04
Updates python to 3.8
Updates pip dependencies to more recent versions
Adds apt cache to stage 2 dockerfile

Fixes bug 1849

Change-Id: I8a589bbc76bb11f4bc0c42ebb727729da5c5c906
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFix Bug 1781 RO does not create management networks where appropriate 90/11490/9
aticig [Fri, 10 Dec 2021 09:59:20 +0000 (12:59 +0300)]
Fix Bug 1781 RO does not create management networks where appropriate

If there is mgmt-network in the descriptor,
there is no mapping of that network to a VIM network in the descriptor,
also there is no mapping in the "--config" parameter or at VIM creation;
that mgmt-network will be created.

Change-Id: Ic3ba8bed0417c49bf7d205b91c04703c6aa1b6a3
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoExtracting Ns._process_vdu_params() and creating unit test 83/11483/7
sousaedu [Tue, 7 Dec 2021 15:33:46 +0000 (15:33 +0000)]
Extracting Ns._process_vdu_params() and creating unit test

Change-Id: Ie5bf2a57d85114d3eacc9a416004423a18d1f27c
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoAdding Unit tests for TestVimInteractionNet Class 02/11502/13
aticig [Sat, 1 Jan 2022 08:42:23 +0000 (11:42 +0300)]
Adding Unit tests for TestVimInteractionNet Class

Unit tests are added for TestVIMInteractionNet Class which belongs to osm_ng_ro.ns_thread

Change-Id: I66a096083667c0c25f663b15cd5080850b69212b
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoEnabling Flake8 and import sorting 03/11503/2
sousaedu [Wed, 5 Jan 2022 11:39:35 +0000 (11:39 +0000)]
Enabling Flake8 and import sorting

Enabling flake8 verifications in tox.ini and adding import sorting.
All the plugins have been fixed for flake8 errors and the imports
have been sorted.

Change-Id: Icdefe9a877e891a683cc833315e4c3f94fffbab9
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoRemoving Fog05 VIM RO Plugin 91/11491/5
sousaedu [Fri, 10 Dec 2021 14:53:11 +0000 (14:53 +0000)]
Removing Fog05 VIM RO Plugin

Change-Id: I90e81463ac804d52ea65635f5da6386c2cc3e7df
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoExtracting Ns._process_net_params() and creating unit test 79/11479/4
sousaedu [Mon, 6 Dec 2021 00:17:54 +0000 (00:17 +0000)]
Extracting Ns._process_net_params() and creating unit test

Change-Id: I97165a76371cdf46e472642e3d75d95ef5256650
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoExtracting Ns._ip_profile_to_ro() and creating unit test 78/11478/1
sousaedu [Sun, 5 Dec 2021 19:31:03 +0000 (19:31 +0000)]
Extracting Ns._ip_profile_to_ro() and creating unit test

Change-Id: I0a04a7b2cbe24660529389926f7b4d51f010ca7d
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoExtracting Ns._process_flavor_params() and creating unit test 04/11404/11
sousaedu [Wed, 24 Nov 2021 02:16:11 +0000 (02:16 +0000)]
Extracting Ns._process_flavor_params() and creating unit test

Change-Id: I7146a1a7a2fa703443bf218be351e39f6d98d699
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoRevert "Revert "Removing OpenNebula code"" 71/11471/1
almagia [Wed, 1 Dec 2021 08:52:30 +0000 (09:52 +0100)]
Revert "Revert "Removing OpenNebula code""

This reverts commit 37d0befd4a0e244c1fee3ea0ea68be23f89b7c1d.

Requested by TSC

Change-Id: I4c53c0fcb29acef1ee082acd28738296ea7e8a80

2 years agoRevert "Removing OpenNebula code" 67/11467/1
sousaedu [Tue, 30 Nov 2021 21:00:20 +0000 (21:00 +0000)]
Revert "Removing OpenNebula code"

This reverts commit 5af67b3295859894c458e94c979834e6a20ffb52.

Change-Id: I0d758b038057af83df007c153a7baa23e974c7c0
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoRemoving OpenNebula code 62/11462/1
sousaedu [Tue, 30 Nov 2021 16:16:16 +0000 (16:16 +0000)]
Removing OpenNebula code

Change-Id: Iae91ed12897a6d99b37b13585a9aefd556069d8c
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1807 - Disabling RO OpenNebula plugin 49/11449/8
sousaedu [Mon, 29 Nov 2021 09:28:15 +0000 (09:28 +0000)]
Fix bug 1807 - Disabling RO OpenNebula plugin

Change-Id: I52a7947450d83b91fac92170348f7d474a878d97
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoExtracting Ns._get_resource_allocation_params() and creating unit test 93/11393/1
sousaedu [Mon, 22 Nov 2021 23:56:28 +0000 (23:56 +0000)]
Extracting Ns._get_resource_allocation_params() and creating unit test

Change-Id: I5081c94f48a745b957cb2410403830812a5a1913
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1798 - adding swap disks 84/11384/4
sousaedu [Mon, 22 Nov 2021 14:09:15 +0000 (14:09 +0000)]
Fix bug 1798 - adding swap disks

Change-Id: I447a1da59d1efdd9209950a185b819e32c696012
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1797 - adding ephemeral disks 83/11383/4
sousaedu [Mon, 22 Nov 2021 14:02:17 +0000 (14:02 +0000)]
Fix bug 1797 - adding ephemeral disks

Change-Id: Ie29e598271b1aa5ab78d65826f513c31d0b580be
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoExtracting Ns._process_image_params() and creating unit test 79/11379/4
sousaedu [Sun, 21 Nov 2021 16:21:13 +0000 (16:21 +0000)]
Extracting Ns._process_image_params() and creating unit test

Extracted the _process_image_params() to ease the testability of that code.
Introduced a unit test to cover that function.

Change-Id: I84ab38b5921deeea25376e433af7e374f436238e
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoExtracting Ns._create_ro_task() and creating unit test 74/11374/1
sousaedu [Fri, 19 Nov 2021 16:41:38 +0000 (16:41 +0000)]
Extracting Ns._create_ro_task() and creating unit test

Extracted the _create_ro_task() to ease the testability of that code.
Introduced a unit test to cover that function.

Change-Id: I684ba7fc63e1d77545c84517024f541a9e630573
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoExtracting Ns._create_task() and creating unit test 72/11372/2
sousaedu [Fri, 19 Nov 2021 01:01:32 +0000 (01:01 +0000)]
Extracting Ns._create_task() and creating unit test

Extracted the _create_task() to ease the testability of that code.
Introduced a unit test to cover that function.
Re-enabled unit tests and black now is mandatory.

Change-Id: I6b304b14b60b182dee6b274cf95228a81ddc2771
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1733 to add integration tests to GCP 32/11332/9
gallardo [Thu, 11 Nov 2021 10:58:29 +0000 (10:58 +0000)]
Fix bug 1733 to add integration tests to GCP

Change-Id: I9359a83720fd644a56dd53ef784ee55e91398f41
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug 1763 - adding support for persistent volumes 44/11344/2
sousaedu [Thu, 11 Nov 2021 22:00:27 +0000 (22:00 +0000)]
Fix bug 1763 - adding support for persistent volumes

Change-Id: I5691f7d7b1cc5b72e676c4181c94c9aee620cbd4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
2 years agoFix bug 1735 to assign floating IP addresses only when use_floating_ip set to true 09/11309/1
garciadeblas [Mon, 8 Nov 2021 09:30:56 +0000 (10:30 +0100)]
Fix bug 1735 to assign floating IP addresses only when use_floating_ip set to true

Change-Id: I9d3eb727ae0c9954082b63ea416c57b1217bfb46
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoGoogle Cloud connector 46/11246/41 release-v11.0-start
gallardo [Fri, 8 Oct 2021 11:50:00 +0000 (11:50 +0000)]
Google Cloud connector

Change-Id: Ic6c834c6f0f538950c6afcb81f045850712886d2
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFix bug 1725 to indicate region during NIC creation in Azure connector 96/11296/2
garciadeblas [Tue, 26 Oct 2021 16:38:49 +0000 (18:38 +0200)]
Fix bug 1725 to indicate region during NIC creation in Azure connector

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