osm/RO.git
4 weeks agoBug 2379: Fix for RO crashes when VIM is down 06/14406/5
deepika.e [Mon, 3 Jun 2024 09:32:00 +0000 (15:02 +0530)]
Bug 2379: Fix for RO crashes when VIM is down

Added exception handling in monitor.py to ensure RO doesn't crash when a VIM is down

Change-Id: I83e2b80085cfdb81d2406c19a4349214ed11035d
Signed-off-by: deepika.e <deepika.e@tataelxsi.co.in>
2 months agoSecurize ssh connection to DPB WIM using paramiko.RejectPolicy 68/14568/1
garciadeblas [Tue, 17 Sep 2024 16:27:24 +0000 (18:27 +0200)]
Securize ssh connection to DPB WIM using paramiko.RejectPolicy

Change-Id: I36c75bac955f9d576a451bd45212a5168ea5bfae
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoFix persistent volume creation after latest changes in IM 18/14518/1 v16.0 release-v16.0-start v16.0.0
garciadeblas [Mon, 19 Aug 2024 08:02:04 +0000 (08:02 +0000)]
Fix persistent volume creation after latest changes in IM

This change fixes the issues with persistent volume creation.
After latest changes in IM, the IM generated from yang models changed
and type-of-storage was unexpectedly prefixed with the name of the YANG
module, leading to the RO code to undetect volume creation.

This change also adds some logs to improve the debugging in the future.

Change-Id: If942113a6e4feebaf2c2bc499f27de5d4439fa9d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoFix monitoring thread when refresh period is -1 17/14517/1
garciadeblas [Mon, 19 Aug 2024 08:01:08 +0000 (08:01 +0000)]
Fix monitoring thread when refresh period is -1

Change-Id: Ib26177052e6c7daa2ec9e92e1532cc8dd985493a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
3 months agoUpdate pip dependencies
garciadeblas [Wed, 7 Aug 2024 00:10:55 +0000 (02:10 +0200)]
Update pip dependencies

Change-Id: If3a0d3e106ae6ce1e5592a0604ad4df0da80c667
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
4 months agoFeature 11043 Instance name as Instantiation parameters - RO 51/14451/1
kayal2001 [Thu, 27 Jun 2024 05:34:09 +0000 (11:04 +0530)]
Feature 11043 Instance name as Instantiation parameters - RO

Change-Id: I4bb0c904759faa6f34202e70251ff9ad016cfaec
Signed-off-by: kayal2001 <kayalvizhi.v@tataelxsi.co.in>
4 months agoBug 2316: Fix for Unable to do vertical scaling when VM is in Shutdown state 05/14405/2
deepika.e [Mon, 3 Jun 2024 08:42:50 +0000 (14:12 +0530)]
Bug 2316: Fix for Unable to do vertical scaling when VM is in Shutdown state

Change-Id: Ie096ed7ecb14d542c68122b1e188f7c8534b91ec
Signed-off-by: deepika.e <deepika.e@tataelxsi.co.in>
4 months agoBug 2310: Fix for NS Termination/Update failing after Vertical-Scaling/Migration... 99/13999/5
deepika.e [Thu, 9 Nov 2023 08:34:57 +0000 (14:04 +0530)]
Bug 2310: Fix for NS Termination/Update failing after Vertical-Scaling/Migration/Operate-VNF

Removed created flag and created_items being updated in EXEC operations in ns_thread.py

Change-Id: I55be8c70b4473f6129410aabf1025d2819bd20ff
Signed-off-by: deepika.e <deepika.e@tataelxsi.co.in>
5 months agoFix Bug 2306: Monitoring task in RO defined in RO/monitoring.py is replacing the... 27/14427/1
rahulkumarr [Mon, 17 Jun 2024 10:20:30 +0000 (15:50 +0530)]
Fix Bug 2306: Monitoring task in RO defined in RO/monitoring.py is replacing the dual-stcak [IPV4, IPV6] with IPV4 in Vnfrs collection

Change-Id: Ie6395ed4b8499943ebbd57dd1c7aeed2433ae92c
Signed-off-by: rahulkumarr <rahul.k4@tataelxsi.co.in>
5 months agoFix Bug 2303:NS instance name getting truncated in OpenStack 96/13996/3
kayal2001 [Mon, 6 Nov 2023 09:15:51 +0000 (09:15 +0000)]
Fix Bug 2303:NS instance name getting truncated in OpenStack

Change-Id: Ifcd11c79289d8b792c944f8cb0de46e6d967dc04
Signed-off-by: kayal2001 <kayalvizhi.v@tataelxsi.co.in>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agoFix bug 2281: Healing operation Failing for Dual stack IP feature 77/13877/7
rahul [Wed, 30 Aug 2023 09:36:49 +0000 (15:06 +0530)]
Fix bug 2281: Healing operation Failing for Dual stack IP feature

Change-Id: I80b56dd9ea64e0a4974a0b6c93461fcd84425ae6
Signed-off-by: rahul <rahul.k4@tataelxsi.co.in>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
5 months agoFix Bug 2270: Feature (Start, Stop, Rebuild) The update type shows as completed befor... 91/13991/3
Rahul Kumar [Wed, 8 Nov 2023 06:48:12 +0000 (06:48 +0000)]
Fix Bug 2270: Feature (Start, Stop, Rebuild) The update type shows as completed before VM status is changed in OpenStack of that VM

Change-Id: I5e88c3cabfadffe7faed2996f31d45ab6cb9f617
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
6 months agoBug 2217 fixed: modified the cloud-init merge configs 79/14379/1
garciadeblas [Tue, 9 Apr 2024 09:18:12 +0000 (11:18 +0200)]
Bug 2217 fixed: modified the cloud-init merge configs

This commit also defines the default SSH keys within the system_info instead of users

This reverts commit 80d2437283d10ae28885638e2940aa58721643fe.

Change-Id: I00f2e01e48951623372b5a7587ee29269aae87a8
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
6 months agoRevert "Bug 2217 fixed: modified the cloud-init merge configs and defined the default... 78/14378/1
garciadeblas [Tue, 21 May 2024 12:19:45 +0000 (14:19 +0200)]
Revert "Bug 2217 fixed: modified the cloud-init merge configs and defined the default SSH keys within the system_info instead of users"

This reverts commit 98740c03567ff8c5a22f06fd3f049248a9e5f98d.

Change-Id: I4fbe892f5edc46d99e1f1c6d1848f0ea9c48ce3a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoDisable the check of the release notes 17/14317/1
garciadeblas [Tue, 9 Apr 2024 15:26:27 +0000 (17:26 +0200)]
Disable the check of the release notes

Change-Id: I80b710b7d460c007cc7e524481e179314b41eedd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
7 months agoFix bug 2354 to disable periodic checks of VM status in VIM 00/14300/2
uniyalna [Tue, 2 Apr 2024 08:27:34 +0000 (09:27 +0100)]
Fix bug 2354 to disable periodic checks of VM status in VIM

Change-Id: Ic0e7e3e5eda9acf4cfcc8f25c8237ae838b53a7f
Signed-off-by: uniyalna <uuniyal@indracompany.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 months agoFix bug 2019 to delete ONOS hosts associated to a VPLS service 87/13887/7
garciadeblas [Tue, 19 Sep 2023 15:09:11 +0000 (17:09 +0200)]
Fix bug 2019 to delete ONOS hosts associated to a VPLS service

Change-Id: Ibb7d39cca4189e4f7ea4f997f80fef165294f7f0
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
9 months agoPin black, flake and pylint versions in tox.ini 75/14175/1
garciadeblas [Thu, 21 Dec 2023 15:28:15 +0000 (16:28 +0100)]
Pin black, flake and pylint versions in tox.ini

Change-Id: I373f6188cbf04dfe6f3c8f8e9ef4f823cf6c3dcf
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
11 months agoFeature 10980: Service Function Chaining 50/13350/16 release-v15.0-start
Lovejeet Singh [Tue, 9 May 2023 17:11:09 +0000 (22:41 +0530)]
Feature 10980: Service Function Chaining

Change-Id: I30afb0f2a04273cbdcb0a7f4eab1b39b2acd551c
Signed-off-by: Lovejeet Singh <lovejeet.singh@hsc.com>
11 months agoFix Bug 2304: Flavor Not getting Updated in Mongodb nsrs after Vertical scaling 89/13989/4
Rahul Kumar [Wed, 8 Nov 2023 06:25:06 +0000 (06:25 +0000)]
Fix Bug 2304: Flavor Not getting Updated in Mongodb nsrs after Vertical scaling

Change-Id: I37cdd030613cfe56ab3a75dc74a4a55f7858d7d7
Signed-off-by: Rahul Kumar <rahul.k4@tataelxsi.co.in>
11 months agoFix interaction between feature 11003 and volume multiattach 81/14081/2
Luis Vega [Fri, 1 Dec 2023 01:02:12 +0000 (01:02 +0000)]
Fix interaction between feature 11003 and volume multiattach

Change-Id: I6de2fbbbb81d7e16749e93ccef6d35c528ea5eaf
Signed-off-by: Luis Vega <lvega@whitestack.com>
11 months agoFeature 11003: AZ for Cinder 37/13937/8
Luis Vega [Thu, 5 Oct 2023 23:22:04 +0000 (23:22 +0000)]
Feature 11003: AZ for Cinder

Change-Id: I73b4db09fa8de5ac0640d3b65b97e2a51f8c43c2
Signed-off-by: Luis Vega <lvega@whitestack.com>
12 months agoFix bug 2302: IP ranges management in Azure not working properly 85/13985/4
aguilard [Thu, 2 Nov 2023 16:52:56 +0000 (16:52 +0000)]
Fix bug 2302: IP ranges management in Azure not working properly

OSM uses a specific vnet to create NS or VNF subnets when instantiating on
Azure. The vnets allow more than one address prefix, but RO only try to
allocate new subnets in the range defined in first place, ignoring the rest.

Change-Id: I9792caf2a468e60b6762567a9b4a90d0f1646b39
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
12 months agoFix bug 2268: Authentication error when instantiating NS on GCP. 78/13978/5
aguilard [Tue, 24 Oct 2023 12:09:44 +0000 (12:09 +0000)]
Fix bug 2268: Authentication error when instantiating NS on GCP.

There was a bug in _reload_connection method of GCP connector which is called
when trying to reconnect after a previous error: the credentials parameter was
missing in googleapiclient.discovery.build call.

Change-Id: I38bcd1508cb3c45314f2fc76109c85c3279b9709
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
13 months agoFix bug in healing on GCP 52/13952/3
aguilard [Wed, 11 Oct 2023 08:43:17 +0000 (08:43 +0000)]
Fix bug in healing on GCP

Change-Id: Ie847cd9aee788b164e003633f7b3b5134fe80537
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
13 months agoFix bug in healing on Azure 36/13936/6
aguilard [Thu, 5 Oct 2023 14:13:23 +0000 (14:13 +0000)]
Fix bug in healing on Azure

Healing operation doesn't work with VMs deployed on Azure due to lack of
information in vnfrs requiered for the operation. That data must be
provided by the 'refresh_vms_status' method in the connector.

Change-Id: I915a0c7136e7a16729d0aba4357670dd28b66847
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
13 months agoFix bug 2290: Error in 'ResourceSkusOperations.list()' when instantiating on Azure. 39/13939/2
aguilard [Mon, 9 Oct 2023 14:05:53 +0000 (14:05 +0000)]
Fix bug 2290: Error in 'ResourceSkusOperations.list()' when instantiating on Azure.

Added 'filter' parameter required by the 'resource_skus.list()' method.

Change-Id: I5f9350ccc1844c4b5a4d32ed7154494c92a4c928
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
13 months agoPin pylint version to 2.17.7 in tox.ini 24/13924/2
garciadeblas [Tue, 3 Oct 2023 12:49:19 +0000 (14:49 +0200)]
Pin pylint version to 2.17.7 in tox.ini

Change-Id: I765081c918c8e47b92a3c3c50247a0f98d482d2a
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
13 months agoUpdate pip requirements to pass stage2 and stage3 in all modules 96/13896/1
garciadeblas [Thu, 28 Sep 2023 21:15:11 +0000 (23:15 +0200)]
Update pip requirements to pass stage2 and stage3 in all modules

Change-Id: Ia86ae83e1690850cd48e4a1c55b7efbc9cffcf8e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
14 months agoFix bug 2268 to use previous GCP libraries that do not present the connection issues 32/13632/3
garciadeblas [Wed, 5 Jul 2023 14:46:11 +0000 (16:46 +0200)]
Fix bug 2268 to use previous GCP libraries that do not present the connection issues

Change-Id: I3fec15cddb795fe21f15ca58195bb11283024d26
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
15 months agoFix Bug 2158 and Bug 2254 by arranging exception handling 47/13747/7
gatici [Tue, 25 Jul 2023 21:34:04 +0000 (00:34 +0300)]
Fix Bug 2158 and Bug 2254 by arranging exception handling

Change-Id: Id84e57944258536735eb114d4c77f471d700e1aa
Signed-off-by: gatici <gulsum.atici@canonical.com>
15 months agoAdding rockcraft.yaml for RO 93/13793/5
gatici [Mon, 31 Jul 2023 13:02:17 +0000 (16:02 +0300)]
Adding rockcraft.yaml for RO

Runs with Python 3.10 using Ubuntu22.04 base image

Change-Id: Ibabd0d1630078af9ff6a0af81d37ced2a0c2793b
Signed-off-by: gatici <gulsum.atici@canonical.com>
15 months agoFix bug 2283: Flavors are not longer created when using vim-flavor-id 99/13799/2
Gabriel Cuba [Mon, 7 Aug 2023 23:43:26 +0000 (18:43 -0500)]
Fix bug 2283: Flavors are not longer created when using vim-flavor-id

Change-Id: Ic58611876180b93fb0a9b6310986a388df5a18d3
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
15 months agoFix Bug 2282: Can't instantiate NS using a pre-existing volume 00/13800/2
Luis Vega [Tue, 8 Aug 2023 00:35:41 +0000 (00:35 +0000)]
Fix Bug 2282: Can't instantiate NS using a pre-existing volume

    Add the posibility to return an empty dictionary to `find_persistent_root_volumes()` method
    so the NS instantiation doesn't fail while using a pre existing volume.

Change-Id: Iecd7041b2a202332acecd45a3e899d82be613ef7
Signed-off-by: Luis Vega <lvega@whitestack.com>
15 months agoFix RO Dockerfile.local 87/13787/2
gatici [Fri, 28 Jul 2023 11:31:49 +0000 (14:31 +0300)]
Fix RO Dockerfile.local

Build RO images using Ubuntu 22.04

Change-Id: Ia74a8bf79390fdf0f09ac3b05f0a5ba8d9346d50
Signed-off-by: gatici <gulsum.atici@canonical.com>
15 months agoFix Bug 2272 - NS instantiation fails in VIMs with microversion with a KeyError ... 50/13750/2
Luis Vega [Wed, 26 Jul 2023 20:49:12 +0000 (20:49 +0000)]
Fix Bug 2272 - NS instantiation fails in VIMs with microversion with a KeyError 'original_name'.

Change-Id: I4a1c002c28ac349b2e531965755f305ebc9050e5
Signed-off-by: Luis Vega <lvega@whitestack.com>
16 months agoFix bug 2275 36/13736/6
limon [Mon, 24 Jul 2023 13:53:41 +0000 (15:53 +0200)]
Fix bug 2275

Change-Id: I2de80100a8b2efcd9d9beca67224ab46714e0afc
Signed-off-by: limon <alimonj@indra.es>
16 months agoUpdate version of PyYAML 22/13722/2
Mark Beierl [Fri, 21 Jul 2023 17:14:09 +0000 (17:14 +0000)]
Update version of PyYAML

Change-Id: I2a7ce64db75b6b0099990a9d935510fd986376fb
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
17 months agoBug 2109. Fix VIM info DB update after vertical scaling, migrate and operate 32/13532/8 release-v14.0-start
Patricia Reinoso [Thu, 15 Jun 2023 07:33:04 +0000 (07:33 +0000)]
Bug 2109. Fix VIM info DB update after vertical scaling, migrate and operate

Fix the path of the VDU record to update.
Fix unexpected keyword argument 'disk_over_commit' in live_migrate method because of Nova microversion change (Bug 2262)
Handle the OS-EXT-SRV-ATTR:host KeyError as this key is raised if the VIM account does not have admin credentials
Expand unit tests for vertical_scale, migrate and operate task creations

Change-Id: Ic7c1fe639fc0b8f917c46c6fe61fd4089a6970b4
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
17 months agoFix Bug 2258 Setting vim_status as ACTIVE if an operation is successful. 48/13548/4
Gulsum Atici [Mon, 19 Jun 2023 10:59:46 +0000 (13:59 +0300)]
Fix Bug 2258 Setting vim_status as ACTIVE if an operation is successful.

Change-Id: Ib4b3fdcbe30b55e6d9fbd45bf78f37ddd822fa9b
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoFixes multiattach issues in attaching and deletion 28/13528/5
Gabriel Cuba [Wed, 14 Jun 2023 05:50:57 +0000 (00:50 -0500)]
Fixes multiattach issues in attaching and deletion

Change-Id: I17ecb0418a3c366ea66e822ec34dbd4c6a9d335a
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
17 months agoCoverity CWE 476: NULL Pointer Dereference 21/13321/7
elumalai [Fri, 28 Apr 2023 11:33:07 +0000 (17:03 +0530)]
Coverity CWE 476: NULL Pointer Dereference

Added fixes for NULL Pointer Dereference Coverity Issue

Change-Id: I2c68ff720f563631fba3ea8586e325a163d752c6
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
17 months agoAdd support of nova client microversion 2.60 84/13484/2
vegall [Thu, 1 Jun 2023 05:47:44 +0000 (00:47 -0500)]
Add support of nova client microversion 2.60

Change-Id: I5ab566de7db67dc1e9665d7cb399be7af268ba6f
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Signed-off-by: vegall <lvega@whitestack.com>
17 months agoChange Nova api microversion from 2.63 back to 2.1 80/13480/1
Gulsum Atici [Wed, 31 May 2023 16:28:26 +0000 (19:28 +0300)]
Change Nova api microversion from 2.63 back to 2.1

Change-Id: I73d46df2a7c4bc07f56b5999cfc8a2b2eee3c458
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoFeature 10972: Support of volume multi-attach 64/13064/23
vegall [Fri, 17 Mar 2023 15:09:50 +0000 (15:09 +0000)]
Feature 10972: Support of volume multi-attach

Change-Id: I6e88ee52e5e882dbb4ec7d66cf648fbe07d40509
Signed-off-by: vegall <lvega@whitestack.com>
18 months agoFeature 10937: Transport API (TAPI) WIM connector for RO 26/13226/9
gifrerenom [Tue, 18 Apr 2023 16:38:42 +0000 (16:38 +0000)]
Feature 10937: Transport API (TAPI) WIM connector for RO

Change-Id: If0dac9f8ba2d00945eb86a89fb0b2f174c672794
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
18 months agoFeature 10979: Static IPv6 Dual Stack Assignment 68/13268/8
elumalai [Tue, 25 Apr 2023 10:52:56 +0000 (16:22 +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>
18 months agoFix Bug 2098: Get VDUs from VNFR when Heal op has no additionalPrameters 07/13407/1
Gabriel Cuba [Fri, 19 Aug 2022 23:23:00 +0000 (18:23 -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)

18 months agoFix VimAdminThread run method 88/13388/2
Gulsum Atici [Mon, 15 May 2023 08:55:13 +0000 (11:55 +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>
18 months agoMinor updates in Dockerfile 68/13368/2
Gulsum Atici [Wed, 10 May 2023 19:52:57 +0000 (22:52 +0300)]
Minor updates in Dockerfile

Change-Id: I79b43654d181f6976a4e544d58fb92aa1b67e760
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
18 months agoUbuntu 22.04 and Python 3.10 preparation 47/13347/5
Gulsum Atici [Tue, 9 May 2023 11:57:22 +0000 (14:57 +0300)]
Ubuntu 22.04 and Python 3.10 preparation

Change-Id: I87164827a8849c16b5e3a804d9673a578e5a5593
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
18 months agoClean stage-archive.sh and use allowlist_extenals in tox.ini 14/13214/2
garciadeblas [Tue, 18 Apr 2023 13:06:30 +0000 (15:06 +0200)]
Clean stage-archive.sh and use allowlist_extenals in tox.ini

Change-Id: I18f0bc3e263063b5b1d2cf211f028f6bb0e4bceb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
18 months agoCoverity CWE 330: Use of Insufficiently Random Values 26/13326/2
elumalai [Fri, 28 Apr 2023 14:11:49 +0000 (19:41 +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>
18 months agoCoverity CWE 688: Function Call With Incorrect Variable or Reference as Argument 23/13323/2
elumalai [Fri, 28 Apr 2023 12:34:24 +0000 (18:04 +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>
18 months agoFeature 10975: get flavor-id from additionalParams if specified 63/13163/4
Gabriel Cuba [Tue, 14 Mar 2023 03:26:38 +0000 (22:26 -0500)]
Feature 10975: get flavor-id from additionalParams if specified

Change-Id: I1c9b1ec43c80f3793b475187681f4c2005d77375
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
18 months agoUpdate stage-build to run tox sequentially 90/13290/1
garciadeblas [Tue, 11 Apr 2023 08:08:26 +0000 (10:08 +0200)]
Update stage-build to run tox sequentially

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

20 months agoFeature 10978: Add support of ipv6_address_mode and ipv6_ra_mode to openstack connector 56/13056/2
Gabriel Cuba [Tue, 14 Mar 2023 15:58:39 +0000 (10:58 -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>
20 months agoKeep vim_details while reporting VM deletion 74/13074/2
Gulsum Atici [Wed, 22 Mar 2023 19:57:26 +0000 (22:57 +0300)]
Keep vim_details while reporting VM deletion

Change-Id: I27577b2fc93a585affc947abcec8352562f23f49
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
20 months agoBug 2217 fixed: modified the cloud-init merge configs and defined the default SSH... 92/12992/4
Pedro Escaleira [Wed, 22 Feb 2023 10:48:52 +0000 (10:48 +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>
20 months agoFeature 10960 Performance optimizations for the polling of VM status in RO 61/12961/12
Gulsum Atici [Mon, 13 Feb 2023 15:40:03 +0000 (18:40 +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>
20 months agoRefactor ns.py so that RO uses the IP profile as it comes from LCM 66/12966/2
Gabriel Cuba [Tue, 14 Feb 2023 17:43:32 +0000 (12:43 -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>
21 months agoFix bug 2216 to remove hardcoded numa affinity in VIO 57/12957/4
garciadeblas [Mon, 13 Feb 2023 16:48:32 +0000 (17:48 +0100)]
Fix bug 2216 to remove hardcoded numa affinity in VIO

Change-Id: I0912c2841e7c5c1febe056ba092afedaea77f6a1
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
21 months agoBug 2202: Adding support for cinder V3 API with V2 API for persistent volumes. 56/12956/2
Lovejeet Singh [Mon, 13 Feb 2023 10:45:40 +0000 (16:15 +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>
21 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>
21 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>
21 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>
21 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>
21 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>
21 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>
21 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>
21 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>
22 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>
22 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>
23 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>
23 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>
2 years 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>