osm/LCM.git
16 months agoStandardize import sorting 37/13637/2
Daniel Arndt [Wed, 5 Jul 2023 17:14:09 +0000 (14:14 -0300)]
Standardize import sorting

Change-Id: I320d1056b16df70903f166899e259a6dab5421af
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
16 months agoReset retry policy 38/13638/1
Daniel Arndt [Wed, 5 Jul 2023 17:20:10 +0000 (14:20 -0300)]
Reset retry policy

This was set to workaround a test failure, but that test failure was
fixed in CR 13625

Change-Id: Ia867eb621a93c6537bbea8c7cf30b074296acd98
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
16 months agoIncrease test timeouts 25/13625/3
Daniel Arndt [Tue, 4 Jul 2023 15:00:23 +0000 (12:00 -0300)]
Increase test timeouts

Seems these were set too low, and causing tests to fail.

Change-Id: Ib02f47ad91d5e28abe2bb171a0d5356510afdadd
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
16 months agoPost refactor cleanup 01/13601/5
Mark Beierl [Thu, 29 Jun 2023 20:22:36 +0000 (20:22 +0000)]
Post refactor cleanup

Activity was on wrong level (__call__) instead of class

Change-Id: I1dba820b9764824d742e6531dd3156386b2d054d
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
16 months agoOSMENG-1155: Implementation of Constants and Dataclasses 72/13572/7
Dario Faccin [Mon, 19 Jun 2023 10:35:33 +0000 (12:35 +0200)]
OSMENG-1155: Implementation of Constants and Dataclasses

Add implementation for workflows and activities

Change-Id: I58226765c41d18821724ac5763a3fe390c371ca6
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
17 months agoOSMENG-1048 Implement day1 configuration for VDU 10/13310/25
Gulsum Atici [Thu, 27 Apr 2023 13:41:43 +0000 (16:41 +0300)]
OSMENG-1048 Implement day1 configuration for VDU

Day1 config implementation, arranging existing unit tests and imports
adding task and execution timeout policy for workflows in tests.

Change-Id: Ie5a2626eec01176723d8130576facbf4934d5285
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
17 months agoImprove VIM workflows logic 70/13470/9
Patricia Reinoso [Tue, 30 May 2023 11:50:58 +0000 (11:50 +0000)]
Improve VIM workflows logic

Avoid use an activity that failed to
update the VIM status as FAILED.

Change-Id: I91b1b2dbb042d0566508d507b991dd40bf6ba02c
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
17 months agoUpdate from master 49/13449/2
Dario Faccin [Thu, 1 Jun 2023 08:15:34 +0000 (10:15 +0200)]
Update from master

Squashed commit of the following:

commit 7494498b9271bca751fce47c9695891d475b3dbf
Author: k4.rahul <rahul.k4@tataelxsi.co.in>
Date:   Wed Apr 19 17:00:52 2023 +0530

    Feature 10945: Service KPI of VNF using exporter endpoint

    Change-Id: Ic62d3e2a5dc315768b851135c800609d3805078b
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
commit cf47a3b2ef1fe3e095c81dc6033c67b067adb08c
Author: k4.rahul <rahul.k4@tataelxsi.co.in>
Date:   Thu Apr 27 12:08:48 2023 +0530

    Coverity-CWE 330: Use of Insufficiently Random Values (137944 Cryptographically weak PRNG)

    replaced SystemRandom().randint() instead of randint()

    Change-Id: I02dd1387b795c856d0cd05d0366b7bb410016a8b
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
commit f4c1d2fe2123e408eec90f4a7c24504479c29837
Author: Gulsum Atici <gulsum.atici@canonical.com>
Date:   Mon May 15 15:45:31 2023 +0300

    Fix Healing operation: additionalParams KeyError

    If target_vnf does not have additionalParams
    KeyError is raised and additionalParams become optional within this change.

    Change-Id: I69cb579882b305befd2a64a60bede450e8e6c10d
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
commit 1addc93e479dcb97fdfecc74606559d9897217ec
Author: Mark Beierl <mark.beierl@canonical.com>
Date:   Thu May 18 15:11:34 2023 -0400

    Making main async

    The initializers for Helm attempt to schedule tasks in the event loop,
    but now that we are not starting one explicitly and passing it around,
    we need to have a loop already started at the time of constructor.

    By making start() async, there is a running loop, and functions like
    k8s_helm_conn.py (~ #81) can call asyncio.create_task

    Change-Id: Ia4bf25bd5060dc27f07e63c7395dae3a88247a0e
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
commit e789898a1681e9b8568f57608d7604a447250fe5
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Thu May 11 01:57:21 2023 -0500

    Ubuntu 22.04 and Python 3.10 preparation

    Change-Id: I8871964f01afac8f601678249acf779426c25090
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
commit c7aeb55412c899de7ed6d5e8e3d792759298bdd6
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 18 15:08:24 2023 +0200

    Clean stage-archive.sh

    Change-Id: Ifc77f07d81a215c0f824f46df85d906917dadf97
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit e416ea07b6029cf9f2d65248720b9b562a409200
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Mon May 8 15:09:37 2023 +0000

    Update ns.py to append osm to metric_name to be BWC

    Change-Id: I9319296e0f79dcab95878a925977514847c770db
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 1ae3c56140dbb3426addacceffe85be0bdee3c45
Author: aguilard <e.dah.tid@telefonica.com>
Date:   Thu Feb 16 17:24:35 2023 +0000

    Feature 10981: added Mongo accesses needed for NGSA

    Change-Id: If3942d060f468382c7796a7e610bce9b21ab93fc
Signed-off-by: aguilard <e.dah.tid@telefonica.com>
commit 63f9af6180fc2d4561fd73b92f66bea0434ab678
Author: k4.rahul <rahul.k4@tataelxsi.co.in>
Date:   Thu Apr 27 16:38:28 2023 +0530

    Coverity-CWE 398: 7PK - Code Quality (137908 Copy-paste error)

    Coverity fix for CWE 398: 7PK - Code Quality (137908 Copy-paste error)

    Change-Id: I9e390dd01ff91d3525f327170e5fcd8074dc3a2f
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
commit 734c32b3d1f47f41cfc1a926449a8eccacb3e645
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Wed Mar 1 11:39:15 2023 +0100

    Change in tox.ini to use allowlist_externals

    Change-Id: Ib9c7c76859fa3e92db8baba65c5b625f40c4fddd
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
commit e19017dba6e578c4923d65e8da8e1285f74be476
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Mon Mar 13 22:34:44 2023 -0500

    Feature 10975: Get vim-flavor-id from instantiation params

    Change-Id: If0d5e836a1cd61ac3e62ade1bc5768d1f08ee147
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 0ceae9a95032d5d101c3eb19354733ab40c53200
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Wed Apr 26 10:50:30 2023 -0500

    Bug 2236 - Upgrade of Helm Charts is failing when the Helm Chart is embeded in the package

    Change-Id: Ib1675664d7eb2363444ba5b0d9438b8673ae8715
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 8b2a7ea1130ea1850093648ac9bb080fb2b54506
Author: Pedro Escaleira <escaleira@av.it.pt>
Date:   Tue Mar 28 18:44:11 2023 +0100

    Bug 2230 fixed: added verification for when there are no WIM accounts

    Change-Id: Ib12c9ea9262b8aa46d12f3f760e952ce4df8c056
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
commit f0af5e6329b1cf966707d98a35281f8cf284aff4
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Mar 14 00:27:49 2023 -0500

    Feature 10978: Add ipv6_address_mode to ip_profile

    Change-Id: Ib9c999abe7a80486a0c8283a6ce622ebde9ca6da
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit 87f5f03155d092c22f2bdf7303f10abf06f42531
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Feb 28 18:51:19 2023 -0500

    Adds TimeoutError handling to the retryer wrapper function. This will ensure that gRPC calls succed while upgrading a Helm based EE.

    Change-Id: I49a0ec370986e45e8b779f361ee4d72ff5a15ef1
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
commit c773744f338d3c019b4978b0fc591d14c614b4cf
Author: Gabriel Cuba <gcuba@whitestack.com>
Date:   Tue Feb 14 13:09:18 2023 -0500

    Build IP profile using the format RO expects, so no further translation is needed.

    Related RO change: https://osm.etsi.org/gerrit/12966

    Change-Id: I5f686f00a5c1d500255d38ae135f81544df32556
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
Change-Id: I4130018de79a00a85ec27604757edb3f9cf2ae36
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
18 months agoUse proper unittest assert methods, finish todos 83/13383/4
Daniel Arndt [Tue, 16 May 2023 19:23:56 +0000 (16:23 -0300)]
Use proper unittest assert methods, finish todos

Change-Id: Ibc5cf20a17652547e86e54fc0510c3a0d08f3950
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
18 months agoOSMENG-1062: Fix states in VnfInstantiateWorkflow 93/13393/2
Dario Faccin [Mon, 15 May 2023 09:42:06 +0000 (11:42 +0200)]
OSMENG-1062: Fix states in VnfInstantiateWorkflow

At the beginning of the workflow, update only VnfInstantiationState
(NOT_INSTANTIATED).
At the end of the workflow, update VnfInstantationState and VnfState:
* if succeeded: INSTANTIATED, STARTED
* if failed: INSTANTIATED, STOPPED

Change-Id: Ifb6df225d4e09f48941ce649ad3195d2b4e8b3b4
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
18 months agoDocstrings for get_vnf_record_ids 32/13332/4
Daniel Arndt [Wed, 3 May 2023 14:32:07 +0000 (16:32 +0200)]
Docstrings for get_vnf_record_ids

Change-Id: I4e71a5cef05bcd7f7e2657d180594f83bf09d7af
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
18 months agoFix VIM update states call + worflow UTs 79/13279/10
Patricia Reinoso [Wed, 26 Apr 2023 10:45:27 +0000 (10:45 +0000)]
Fix VIM update states call + worflow UTs

Update of VIM states was missing in the nominal
case worflow execution.

UTs for VIM operations workflows are added:
VIM create, update and delete

Change-Id: I7ff5f2e190ad2346222e534fd53c849699650ccb
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
18 months agoAdd UTs for VNF activities 09/13309/4
Patricia Reinoso [Thu, 27 Apr 2023 13:48:50 +0000 (13:48 +0000)]
Add UTs for VNF activities

Change-Id: I2e055bcecb358f1531052815d6a8ba89f8270b07
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
18 months agoOSMENG-1047 Use constraints from VDU definition 70/13270/10
Gulsum Atici [Tue, 25 Apr 2023 12:48:10 +0000 (15:48 +0300)]
OSMENG-1047 Use constraints from VDU definition

Change-Id: Ib69783e31ec71f38cc9871796fcfe2f19f179268
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
18 months agoOSMENG-994 Determine the content for Activity errors 62/13262/12
Gulsum Atici [Mon, 24 Apr 2023 11:54:20 +0000 (14:54 +0300)]
OSMENG-994 Determine the content for Activity errors

Change-Id: Id86f1fa5a5adadac333842d81d9ba4f2dff69d8f
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
18 months agoTestVimConnectivity improvement and UTs 77/13277/5
Patricia Reinoso [Wed, 26 Apr 2023 08:16:19 +0000 (08:16 +0000)]
TestVimConnectivity improvement and UTs

Move get_controller method from N2VC to
juju paas activitities.

Change-Id: Id3b8e79055690536746bd2a04578bf6de8dde3e1
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
18 months agoChange channel/track from config property to sw image 66/13266/2
Patricia Reinoso [Tue, 25 Apr 2023 09:22:00 +0000 (09:22 +0000)]
Change channel/track from config property to sw image

channel corresponds to the "version" field in sw-image-desc

Change-Id: I2e14bd4bc0742ee3b5fa413a009a08359a168ad2
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
18 months agoTest for child workflow in instantiate NS workflow 59/13259/3
Daniel Arndt [Fri, 21 Apr 2023 19:17:36 +0000 (16:17 -0300)]
Test for child workflow in instantiate NS workflow

Change-Id: Ifec8cdc0fc648784720d409d7f99af8d04a0307a
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
18 months agoCall VNF workflows concurrently 60/13260/3
Daniel Arndt [Fri, 21 Apr 2023 19:23:33 +0000 (16:23 -0300)]
Call VNF workflows concurrently

Change-Id: I798841c1368f45dc242f71fae52ef691c7e29c99
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
19 months agoTests for get_vnf_record_ids, rename function 53/13253/4
Daniel Arndt [Thu, 20 Apr 2023 20:14:58 +0000 (17:14 -0300)]
Tests for get_vnf_record_ids, rename function

Change-Id: Idbefa175b650fef08b87c9f602efc59a3ea4cad3
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
19 months agoAdd type hint Database for all activity classes requiring it 58/13258/1
Dario Faccin [Fri, 21 Apr 2023 16:23:04 +0000 (18:23 +0200)]
Add type hint Database for all activity classes requiring it

Change-Id: Ib1de26817a5ecff7f14080e45aa9b22829bd747c
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
19 months agoAdd type hint for NsDbActivity 56/13256/1
Daniel Arndt [Fri, 21 Apr 2023 12:32:04 +0000 (09:32 -0300)]
Add type hint for NsDbActivity

Change-Id: I1c9bb675d7eab2706afa23af75557896caa73396
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
19 months agoOSMENG-1006 Implement Instantiate VNF Workflow 09/13209/7
Gulsum Atici [Tue, 18 Apr 2023 12:27:18 +0000 (15:27 +0300)]
OSMENG-1006 Implement Instantiate VNF Workflow

Change-Id: I12ce8268b949e4f5e901001059a088edb230258b
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoImplement instantiate NS workflow 20/13220/20
Daniel Arndt [Tue, 18 Apr 2023 14:26:16 +0000 (11:26 -0300)]
Implement instantiate NS workflow

Change-Id: I61defdc64865396cd6af4a20ffb67443450bd742
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoOSM-1033 Juju Key for Model 43/13243/1
Mark Beierl [Thu, 20 Apr 2023 03:46:47 +0000 (03:46 +0000)]
OSM-1033 Juju Key for Model

Uses authorized_keys in the vim_config to create the model

Change-Id: I969f8879da227c8d82afff2754e5b5f51d17bd8d
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoOSMENG-1007 Implement the Instantiate VDU workflow 34/13234/4
Patricia Reinoso [Mon, 17 Apr 2023 12:34:16 +0000 (12:34 +0000)]
OSMENG-1007 Implement the Instantiate VDU workflow

Change-Id: If77c2711ab5d5ce700d281bb46cd01ed9e88ad90
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
19 months agoOSM-989 Fetch vnfrs and vnfds using activity 71/13171/14
Gulsum Atici [Thu, 6 Apr 2023 21:07:07 +0000 (00:07 +0300)]
OSM-989 Fetch vnfrs and vnfds using activity

Change-Id: Iabcf10a36b8690ab5952ae46891c8dcc218a2a86
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
19 months agoOSMENG-987: Implement PrepareVnfWorkflow 06/13206/5
Dario Faccin [Mon, 17 Apr 2023 14:56:37 +0000 (16:56 +0200)]
OSMENG-987: Implement PrepareVnfWorkflow

Change-Id: Icf3ccfd44160fbc3f2f2d9ec64e360c07fc9bbfa
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
19 months agoOSM-986 87/13187/9
Mark Beierl [Tue, 11 Apr 2023 21:03:56 +0000 (21:03 +0000)]
OSM-986

Implements a check status activity that waits for the charm
deployment to become ready.

Change-Id: Icfbc5c9eb2ea921f981fb934fdcf43d6aa7bf651
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoOSMENG-988: Create ACTIVITY_SEND_NOTIFICATION_FOR_NF 99/13199/3
Dario Faccin [Fri, 14 Apr 2023 08:19:07 +0000 (10:19 +0200)]
OSMENG-988: Create ACTIVITY_SEND_NOTIFICATION_FOR_NF

Change-Id: I3238f9c2486c052caa614079c5c680b90d7f6f3c
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
19 months agoOSMENG-992 - Implement create model activity 90/13190/6
Patricia Reinoso [Wed, 12 Apr 2023 15:54:43 +0000 (15:54 +0000)]
OSMENG-992 - Implement create model activity

in NS Workflow.

An exception is raised if model already exists

Change-Id: I84dd89850b28287dfefb1abc0d158cc72cd4eb34
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoNS Instantiate Workflow and Activities 20/13120/13
Patricia Reinoso [Wed, 5 Apr 2023 15:35:48 +0000 (15:35 +0000)]
NS Instantiate Workflow and Activities

Change-Id: I446e9ec5a98724e23aad273f3d1fafa98c8272c7
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoVNF/VDU workflow 68/13168/1
Mark Beierl [Thu, 6 Apr 2023 15:12:46 +0000 (15:12 +0000)]
VNF/VDU workflow

Change-Id: I9c7d538236098105c1af036a56e73959688fc797
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoReorganising 67/13167/2
Mark Beierl [Thu, 6 Apr 2023 13:58:31 +0000 (13:58 +0000)]
Reorganising

Change-Id: I64066be7b62e107d2126232b481cd5c1a46ef3ec
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoInstantiate VDU Worfklow and Activities 57/13157/8
Patricia Reinoso [Wed, 5 Apr 2023 15:27:20 +0000 (15:27 +0000)]
Instantiate VDU Worfklow and Activities

Using Juju

Change-Id: I5c0ab16e348f6f66573085269b8729bbc8854f15
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
19 months agoNS LCM OP Workflow wrapper 59/13159/5
Mark Beierl [Wed, 5 Apr 2023 20:01:41 +0000 (20:01 +0000)]
NS LCM OP Workflow wrapper

Change-Id: I21ad95463237d5b3f65a7cca58d1dbe5031e2b4a
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
19 months agoAdd VIM create Workflow (exceptions) 98/12998/22
Patricia Reinoso [Wed, 8 Mar 2023 17:13:56 +0000 (17:13 +0000)]
Add VIM create Workflow (exceptions)

Change-Id: I4cbf9d1d5c3679ddd946fe4200fe9cd9c188c147
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
20 months agoAdding nglcm.cfg to LCM debian package. 58/13058/1
Gulsum Atici [Wed, 15 Mar 2023 06:44:55 +0000 (09:44 +0300)]
Adding nglcm.cfg to LCM debian package.

Change-Id: I07cc94cfa91aa23719d8e7562e874074e14afb5b
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
20 months agoRefactor NGLcm init method 42/13042/3
Patricia Reinoso [Thu, 2 Mar 2023 08:53:58 +0000 (08:53 +0000)]
Refactor NGLcm init method

Creation of inner methods
to increase readability.

Change-Id: I542ee2752fb5b870ccf20513393dc696bc8e5939
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
20 months agoUpdate to have temporal in common 33/13033/1
Mark Beierl [Wed, 1 Mar 2023 18:15:28 +0000 (18:15 +0000)]
Update to have temporal in common

Change-Id: I907ad6a9c12369c9bc07495241ccb56fdc629387
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
20 months agoUpdate to have temporal in common 30/13030/1
Mark Beierl [Wed, 1 Mar 2023 16:53:08 +0000 (16:53 +0000)]
Update to have temporal in common

Change-Id: I634a0c6a1f2103b40820e5bdd4ed59aad02b43b8
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoMerge remote-tracking branch 'origin/master' into paas 44/12944/2
Mark Beierl [Thu, 9 Feb 2023 20:01:33 +0000 (15:01 -0500)]
Merge remote-tracking branch 'origin/master' into paas

Change-Id: If911e353cbeb9f278c57c69812cbdfce0ad1e242
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoFeature 10950: Replace pycrypto with pycryptodome 19/12919/2
Gulsum Atici [Fri, 3 Feb 2023 17:52:43 +0000 (20:52 +0300)]
Feature 10950: Replace pycrypto with pycryptodome

Change-Id: I21405230434326f7ff7d55dea9d2f68a5237df78
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
21 months agoReformat files according to new black validation 26/12926/1
Gulsum Atici [Mon, 6 Feb 2023 19:06:44 +0000 (22:06 +0300)]
Reformat files according to new black validation

Change-Id: I065d8bfcc2520b296cee3903cb76a98d74185a1c
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
21 months agoBug 2175: K8s-Cluster Update is not implemented 54/12854/5
dariofaccin [Mon, 23 Jan 2023 17:13:27 +0000 (18:13 +0100)]
Bug 2175: K8s-Cluster Update is not implemented

Fix: handle (as agreed) the edit operation.
The update operation does not perform any operation on the K8SCluster.

Change-Id: I8ea45b1479608cdcae2140f1aa3b4cf541b2e643
Signed-off-by: dariofaccin <dario.faccin@canonical.com>
21 months agoUpdating python dependencies 90/12890/2
Mark Beierl [Fri, 27 Jan 2023 21:10:48 +0000 (21:10 +0000)]
Updating python dependencies

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

Change-Id: I8107f1f0f7c534679ef20619c264d9a9264c71e5
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoInitial Temporal Config 60/12860/3
Mark Beierl [Wed, 25 Jan 2023 02:15:25 +0000 (21:15 -0500)]
Initial Temporal Config

Adds a new main (nglcm.py) and config file for handling Temporal
connectivity

Change-Id: I0d30897b65fa4e9541d341f331983696ac5536ba
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoUp to date with master 66/12866/1
Mark Beierl [Wed, 25 Jan 2023 16:17:44 +0000 (11:17 -0500)]
Up to date with master

Change-Id: Iade650e01f64f7626d79183a3a91bc24e73ee234
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
21 months agoBug 2174: VCA Update is not implemented 30/12830/8
Dario Faccin [Tue, 10 Jan 2023 10:38:41 +0000 (10:38 +0000)]
Bug 2174: VCA Update is not implemented

Fix: Handle the edit operation.
If no update on the VCA configuration is given as input, then the operation is
marked as completed.
Otherwise the validation of the new VCA configuration is performed,
which may cause the edit operation to fail.

Change-Id: Id13604664df3594874877d0cb2ad13b1ce6d2353
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
22 months agoNeeded for feature 10938: extract_prometheus_scrape_jobs populating prom template... 48/12848/4
Pedro Escaleira [Sat, 11 Jun 2022 20:17:26 +0000 (21:17 +0100)]
Needed for feature 10938: extract_prometheus_scrape_jobs populating prom template with vnf member, vdur name and kdur name (explained in bug 2077)

This fixes merged patch 10938: this previous patch was causing Helm-based EEs to fail their installation within the extract_prometheus_scrape_jobs method when the element was an NS or VNF

Change-Id: I1007cc7d2d75ef573d160e9420d173b14c1cff51
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
22 months agoRevert "Needed for feature 10938: extract_prometheus_scrape_jobs populating prom... 38/12838/2
garciadeblas [Mon, 16 Jan 2023 16:08:04 +0000 (17:08 +0100)]
Revert "Needed for feature 10938: extract_prometheus_scrape_jobs populating prom template with vnf member, vdur name and kdur name (explained in bug 2077)"

This reverts commit bd49c837f9d1714597710169ed99255b47251005.

Change-Id: I3306c56bc9851eb9d118d4047db8c115450e944e
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
22 months agoBug 2210 NS instantiation fails in basic12 34/12834/8
Patricia Reinoso [Thu, 12 Jan 2023 09:40:53 +0000 (09:40 +0000)]
Bug 2210 NS instantiation fails in basic12

An exception is raised during NS instantation
when we try to access vnf_profile_id of
a NS charm (VCA) which is None

Change-Id: I7e3a26c6877f117b4ad5834d2b1a86767e7b7756
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
22 months agoFix Bug 2208 KeyError while checking SDN assists requirement 31/12831/2
Gulsum Atici [Tue, 10 Jan 2023 11:10:42 +0000 (14:10 +0300)]
Fix Bug 2208 KeyError while checking SDN assists requirement

VIM config is optional so code is fixed by checking the existence of VIM config.

Change-Id: I1aca37cf169a766219630c90968df9d729ffd621
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
22 months agoEnables pylint in LCM and deletes unused methods 26/12826/5
Gabriel Cuba [Fri, 6 Jan 2023 22:23:22 +0000 (17:23 -0500)]
Enables pylint in LCM and deletes unused methods

Change-Id: I09f92fbbcf6270dfda58d2016e2a9804b4e032f5
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
22 months agoBug 1234: OSM reports successful deployment when a charm relation fails 27/12827/1
Patricia Reinoso [Fri, 6 Jan 2023 22:28:44 +0000 (22:28 +0000)]
Bug 1234: OSM reports successful deployment when a charm relation fails

Fix : raise exception when a problem occurs during
charm relation addition.

NS is marked as broken if charm relations cannot
be added.

Change-Id: I4dbf4ddde374fcb46b5b1c20ec253fbb25c1f22c
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
22 months agoRevert to start of branch, update to master 16/12816/1
Mark Beierl [Fri, 6 Jan 2023 16:53:37 +0000 (11:53 -0500)]
Revert to start of branch, update to master

Change-Id: Ie0ca17776f73513efc94c34a18e16a4be0caba2f
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
22 months agoRevert "Bug 1234: OSM reports successful deployment when a charm relation fails"... 02/12802/1
cubag [Wed, 4 Jan 2023 21:45:58 +0000 (22:45 +0100)]
Revert "Bug 1234: OSM reports successful deployment when a charm relation fails" due to failures in cover.

This reverts commit c09b842d41437f1c2bb4a931182afbe7088d696f.

Change-Id: I039d85138edd2814ed9454423dbf5224cc9db86b
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
22 months agoBug 1234: OSM reports successful deployment when a charm relation fails 88/12788/6
Patricia Reinoso [Tue, 13 Dec 2022 11:23:37 +0000 (11:23 +0000)]
Bug 1234: OSM reports successful deployment when a charm relation fails

Fix : raise exception when a problem occurs during
charm relation addition.

NS is marked as broken if charm relations cannot
be added.

Change-Id: Ie14f0c0f840e810a945bb603cf6d9360662103fd
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
23 months agoNeeded for feature 10938: extract_prometheus_scrape_jobs populating prom template... 96/12196/6
Pedro Escaleira [Sat, 11 Jun 2022 20:17:26 +0000 (21:17 +0100)]
Needed for feature 10938: extract_prometheus_scrape_jobs populating prom template with vnf member, vdur name and kdur name (explained in bug 2077)

Change-Id: I227a6c8581d0b9e4f949b2ff46d13a5e900c978b
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
23 months agoFix Bug 2087: Use projects_read when searching for VFND by non-unique id 63/12763/3
Gabriel Cuba [Tue, 20 Sep 2022 02:39:21 +0000 (21:39 -0500)]
Fix Bug 2087: Use projects_read when searching for VFND by non-unique id

Change-Id: Ifa8a7138249403718a4ad957b30f2faffab9b936
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
23 months agoFix loading of boolean values in configuration and set missing default values 32/12732/1
Gabriel Cuba [Sat, 26 Nov 2022 23:55:15 +0000 (18:55 -0500)]
Fix loading of boolean values in configuration and set missing default values

Change-Id: I11e5e778e916fc84781bd73cce8a6d050b76ee5b
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
23 months agoFeature 10929: LCM saga, Milestone 1. 84/12684/14 release-v13.0-start
Luis Vega [Fri, 11 Nov 2022 20:10:49 +0000 (20:10 +0000)]
Feature 10929: LCM saga, Milestone 1.
Move configurations to ConfigMan class, using our own class (OsmConfigman).

Change-Id: Ia8f4e435d20ac88540aec071ca5cab9e70f112a6
Signed-off-by: Luis Vega <lvega@whitestack.com>
23 months agoFix Bug 2199 Fixing ns update operation for KNF instances 40/12540/6
aticig [Fri, 9 Sep 2022 22:56:58 +0000 (01:56 +0300)]
Fix Bug 2199 Fixing ns update operation for KNF instances

This patch enables ns update operations on KNF instances which are deployed with Helm chart
and using .charm zipped files.

Change-Id: I6c598868ae81243ef598ae5b7df88e26a5b870c0
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10947: Create certificates for helm EE: 33/12633/8
Gabriel Cuba [Fri, 7 Oct 2022 16:38:23 +0000 (11:38 -0500)]
Feature 10947: Create certificates for helm EE:

- Add methods to create certificates
- Create and delete certs when NS is created and deleted.
- Add SSL context to gRPC channels

Change-Id: Ib1d86a61b5c5be098218d6892ba935e9b8bfdf9f
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
2 years agoHeal: Await heal operation in RO before N2VC part to avoid errors 07/12707/2
Gabriel Cuba [Tue, 8 Nov 2022 00:28:14 +0000 (19:28 -0500)]
Heal: Await heal operation in RO before N2VC part to avoid errors

Change-Id: I1d201be817246fe025cfa4fc77bce5b54151e3a8
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
(cherry picked from commit 73d550fb553ef164b3c5512370bdf03175c9ca16)

2 years agoFix black issues and run tox properly in stage-test 05/12705/2
garciadeblas [Fri, 18 Nov 2022 13:36:22 +0000 (14:36 +0100)]
Fix black issues and run tox properly in stage-test

Change-Id: Ie08f3029df03f97f1df1461a564c24ce024974fe
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFeature 10956: Implement upgrade of helm based EEs 77/12577/6
Gabriel Cuba [Mon, 10 Oct 2022 16:34:51 +0000 (11:34 -0500)]
Feature 10956: Implement upgrade of helm based EEs

Change-Id: I24898c29664eab7043c0b6906277465fe45e0111
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
2 years agoFeature 10954 to automatically select WIMs for inter-datacenter networks 83/12683/2
gifrerenom [Fri, 11 Nov 2022 14:44:57 +0000 (14:44 +0000)]
Feature 10954 to automatically select WIMs for inter-datacenter networks

Change-Id: I6c772705fd7bc854d1795a05ad1ac5bccd7bcc72
Signed-off-by: gifrerenom <lluis.gifre@cttc.es>
2 years agoBug 2124 fixed: timeout defined when calling the N2VC scale method 01/12401/4
Pedro Escaleira [Sat, 23 Jul 2022 22:16:06 +0000 (23:16 +0100)]
Bug 2124 fixed: timeout defined when calling the N2VC scale method

Change-Id: I45b55c0a402b29bf3bc5d09a80eb4e5da850480c
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
2 years agoBug 2160 fixed: verifying if VDUR exists within the method update_ns_vld_target 41/12541/3
Pedro Escaleira [Sun, 11 Sep 2022 23:14:41 +0000 (00:14 +0100)]
Bug 2160 fixed: verifying if VDUR exists within the method update_ns_vld_target

Change-Id: I2f3ce8a8b32a2bc72e5e3022dd88c120300e2b29
Signed-off-by: Pedro Escaleira <escaleira@av.it.pt>
2 years agoFix Bug 2187: Optional atomic flag in helm upgrades 23/12623/1
limon [Fri, 28 Oct 2022 08:39:16 +0000 (10:39 +0200)]
Fix Bug 2187: Optional atomic flag in helm upgrades

Change-Id: I0552ebac311eff509ab601f0e8cdcd49b172c367
Signed-off-by: limon <alimonj@indra.es>
2 years agoAdding PaaS Service Creation UTs 22/12622/2
Patricia Reinoso [Wed, 26 Oct 2022 09:03:28 +0000 (09:03 +0000)]
Adding PaaS Service Creation UTs

Change-Id: I526e4bd68d54b831def9b8c6c8ab3340909d5470
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
2 years agoAdding PaaS Service Creation 16/12616/3
Gulsum Atici [Fri, 30 Sep 2022 11:31:26 +0000 (14:31 +0300)]
Adding PaaS Service Creation

Adding AbstractPaasConnector and JujuPaasService Classes

Change-Id: I1678a8aa9d9fa453c5e21a340c29c35c82989594
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
2 years agoAddition of PaaS 21/12621/2
Patricia Reinoso [Wed, 26 Oct 2022 08:58:39 +0000 (08:58 +0000)]
Addition of PaaS

Change-Id: Ieb685b48aba87585f0d5b8bd962265cee5d486ea
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
2 years agoUpdating requirements to branch 00/12600/2
Mark Beierl [Mon, 24 Oct 2022 20:14:41 +0000 (16:14 -0400)]
Updating requirements to branch

Change-Id: I10024533680a0f6b898be98238d10f075abeece4
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoUpdate pip packages 80/12580/2
Gulsum Atici [Tue, 11 Oct 2022 13:39:00 +0000 (16:39 +0300)]
Update pip packages

Change-Id: Ic39d00c7a35d035d515fb8cae48a08fc919d489d
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
2 years agoUpdating requirements for libjuju 3.0.0 upgrade 64/12564/3
Gulsum Atici [Mon, 26 Sep 2022 17:57:26 +0000 (20:57 +0300)]
Updating requirements for libjuju 3.0.0 upgrade

Change-Id: I04f63474c96a6a73762331dbc876af6df0f2866d
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
2 years agoUpdate create_execution_environment to pass the chart_model 82/12182/6
garciadeblas [Wed, 8 Jun 2022 11:13:13 +0000 (13:13 +0200)]
Update create_execution_environment to pass the chart_model

The function create_execution_environment has been updated
to allow the deployment from a file or from a reference
(repo/name:version).

This will call to the N2VC Helm connector to install the execution
environment in the local environment.

Change-Id: I03c8e95bf0f6a55d3f62bc7a55dabe3a9b348cde
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFixing flake and black issues in code, enabling the same in tox 60/12560/1
preethika.p [Fri, 23 Sep 2022 07:36:28 +0000 (07:36 +0000)]
Fixing flake and black issues in code, enabling  the same in tox

Change-Id: Id817198c20c039029c8b053e8eac0a8482d72a48
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
2 years agoFix bug 2098 to heal VDU when no VDU is specified in the heal operation 14/12514/2
garciadeblas [Thu, 1 Sep 2022 11:09:47 +0000 (13:09 +0200)]
Fix bug 2098 to heal VDU when no VDU is specified in the heal operation

Change-Id: I1c6f618797f407da856400915d0825767069d6da
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoFixing Basic 12 Ns Primitives 75/12475/2
aticig [Sat, 20 Aug 2022 17:56:19 +0000 (20:56 +0300)]
Fixing Basic 12 Ns Primitives

NSD folder name can be different than the NSD package name.
Getting the exact NSD folder name while finding charm name.
Removing redefined the method async def upgrade_charm causing flake8 error.

Change-Id: I772c6a47104271de0a18c748d380ed71849194f0
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoBug 1890: Improve Action Execution 71/12471/2
Mark Beierl [Fri, 19 Aug 2022 19:01:06 +0000 (15:01 -0400)]
Bug 1890: Improve Action Execution

Changes exception handling to put the content of the exception
into the ns action result so failures have meaningful output

Change-Id: I361c4ed6b03012cd4432ba72215c99f9aaf45b55
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years agoFeature 10944 Change naming of charms 08/12408/7
aticig [Wed, 27 Jul 2022 06:32:06 +0000 (09:32 +0300)]
Feature 10944 Change naming of charms

Adding find_charm_name method and
changing _deploy_n2vc and _heal_n2vc methods in LCM

Change-Id: I62fdf3e66493c26e07e80ba7874badbe7c74c95e
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoSet autoescape to True in Jinja2 environment 22/12422/3
garciadeblas [Tue, 2 Aug 2022 13:12:18 +0000 (15:12 +0200)]
Set autoescape to True in Jinja2 environment

Change-Id: Iae6b37db0fd0a3192a68b1db86a0d79704a93a69
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years agoUse of yaml.safe_load instead of yaml.load 24/12424/2
garciadeblas [Tue, 2 Aug 2022 15:19:14 +0000 (17:19 +0200)]
Use of yaml.safe_load instead of yaml.load

Change-Id: Ic508f205abfd0b71362d3f124b0ec2c4d8f0a17c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
2 years ago2126 BugFix: use both count-index & vdu_id for finding target vdu 09/12409/2
k4.rahul [Wed, 27 Jul 2022 10:37:26 +0000 (10:37 +0000)]
2126 BugFix: use both count-index & vdu_id for finding target vdu

Change-Id: I1c00273f8f98119b38913cbb9a11ae96171fe3f7
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
2 years agoFixing LCM vulnerabilities 94/12294/4
Luis [Fri, 1 Jul 2022 14:35:49 +0000 (14:35 +0000)]
Fixing LCM vulnerabilities

Change-Id: I0b0c5975ce6f3088df19e8facb28f946658378a5
Signed-off-by: Luis <lvega@whitestack.com>
2 years agoLCM Creates health check file according to configuration storage path 96/12296/15
aticig [Wed, 29 Jun 2022 07:43:05 +0000 (10:43 +0300)]
LCM Creates health check file according to configuration storage path

Health check file is created independent from user home directory

Change-Id: Ibb7454857d93b3b7396bd7bd0229533d1b090310
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoJenkins refresh 35/12335/3
Mark Beierl [Thu, 14 Jul 2022 13:38:27 +0000 (09:38 -0400)]
Jenkins refresh

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

Change-Id: Ida8ffa0f41c2467f0ac2a9f67cd326b4d9188ea3
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
2 years ago2100 Bug fix: added op_status_map key value and in _wait_ng_ro passing operation... 10/12310/2
k4.rahul [Thu, 7 Jul 2022 07:23:53 +0000 (07:23 +0000)]
2100 Bug fix: added op_status_map key value and in _wait_ng_ro passing operation type for feature start_stop_rebuild

Change-Id: I13a8880426f4998ae610a7ac8db550711fe12084
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
2 years agoBugzilla – Bug 2102 : Vertical Scaling failed in LCM in _wait_ng_ro method 06/12306/1
govindarajul [Wed, 6 Jul 2022 10:47:00 +0000 (10:47 +0000)]
Bugzilla – Bug 2102 : Vertical Scaling failed in LCM in _wait_ng_ro method

Change-Id: I3e25b40fe7957f8b7b30b530499ffe8843eb0de3
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
2 years agoBug 2056 - _on_update_k8s_db and _on_update_n2vc_db take too much time on large models 53/12153/2
Guillermo Calvino [Wed, 1 Jun 2022 08:55:58 +0000 (10:55 +0200)]
Bug 2056 - _on_update_k8s_db and _on_update_n2vc_db take too much time on large models

Change-Id: Ifb8fff0b5a3f03821fea4863d6d8e6a51e0a3da0
Signed-off-by: Guillermo Calvino <guillermo.calvino@canonical.com>
2 years agoManual update of pip requirements 59/12259/1 release-v12.0-start
beierlm [Sat, 25 Jun 2022 01:17:53 +0000 (21:17 -0400)]
Manual update of pip requirements

Change-Id: Iefd554bf703f44223b53f5395da163676e7ddef9
Signed-off-by: beierlm <mark.beierl@canonical.com>
2 years agoFeature 10911-Vertical scaling of VM instances from OSM 84/11984/12
govindarajul [Mon, 2 May 2022 14:32:41 +0000 (20:02 +0530)]
Feature 10911-Vertical scaling of VM instances from OSM

Added implementation code for Vertical Scaling of VDUs in OSM LCM

Review comments addressed
Change-Id: If36df196ecbadc6f1f348bd9d43f3b7cf0365602
Signed-off-by: govindarajul <Jayaprakash.g@tataelxsi.co.in>
2 years agoFix Bug 2028 Multi-site VNF creation fails 99/12199/4
aticig [Tue, 14 Jun 2022 00:01:36 +0000 (03:01 +0300)]
Fix Bug 2028 Multi-site VNF creation fails

This fix will provide to use  the vim_network_name from instantiation parameters if it exists,
if not, network which is given in NSD will be used for the NS which is instantiated on multi-site VIMs.

Change-Id: Ie39e3444428474c8db01d59ef1a1995644ea6a81
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoFeature 10922: Stop, start and rebuild 87/11987/7
k4.rahul [Mon, 2 May 2022 16:35:02 +0000 (16:35 +0000)]
Feature 10922: Stop, start and rebuild

Added support for feature start stop rebuild of VNF instances
Added unit test case for feature start stop rebuild of VNF instances
Change-Id: I4a56fc116c998d0698be7e97118ce85207814b4b
Signed-off-by: k4.rahul <rahul.k4@tataelxsi.co.in>
2 years agoFeature 10909: Heal operation for VDU 49/11849/7
garciadeblas [Thu, 9 Jun 2022 07:42:58 +0000 (09:42 +0200)]
Feature 10909: Heal operation for VDU

Change-Id: I609dc47a2253fc40bc712479eafac18b7d653785
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: gallardo <sgallardor@indra.es>
Signed-off-by: palaciosj <jmpalacios@indra.es>
2 years agoFix for test_remove_vnf failing in Heal VDU 92/12192/1
elumalai [Fri, 10 Jun 2022 09:58:49 +0000 (15:28 +0530)]
Fix for test_remove_vnf failing in Heal VDU

Change-Id: I0283d3d2c1f709f991d07fac7276cba1244bbd6b
Signed-off-by: elumalai <deepika.e@tataelxsi.co.in>
2 years agoFix Bug 2012 use existing volumes as instantiation parameters 83/12083/4
aticig [Thu, 19 May 2022 09:29:35 +0000 (12:29 +0300)]
Fix Bug 2012 use existing volumes as instantiation parameters

This fix parses the vdu instantiation parameters regarding with the persistent
volumes and than RO can process it.
Additionally corrected some Black and Flake8 errors.

Change-Id: If6fb41684555364914af52af334d70f794f133a2
Signed-off-by: aticig <gulsum.atici@canonical.com>
2 years agoUse revision number for updated vnfd 41/12141/3
aticig [Mon, 30 May 2022 17:45:55 +0000 (20:45 +0300)]
Use revision number for updated vnfd

This patch fixes the Robot Basic 25 after NBI patch 12071.

Change-Id: Iec98a7b9b61f2c8f59fafaacaf586669b1eaa10d
Signed-off-by: aticig <gulsum.atici@canonical.com>