Update from master 49/13449/2
authorDario Faccin <dario.faccin@canonical.com>
Thu, 1 Jun 2023 08:15:34 +0000 (10:15 +0200)
committerDario Faccin <dario.faccin@canonical.com>
Thu, 1 Jun 2023 08:17:56 +0000 (10:17 +0200)
commit1df4edeb2fa169b361caf1c1e9200a7690f290b7
treeaa17b1f8a9b76cf83e79540ace1ab5b737f9d4d2
parent5dca475336148f15a636f2e17ee4eef07118caa8
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>
21 files changed:
Dockerfile
devops-stages/stage-archive.sh
osm_lcm/ROclient.py
osm_lcm/data_utils/lcm_config.py
osm_lcm/data_utils/wim.py
osm_lcm/lcm.py
osm_lcm/lcm_helm_conn.py
osm_lcm/lcm_utils.py
osm_lcm/netslice.py
osm_lcm/ng_ro.py
osm_lcm/ns.py
osm_lcm/tests/test_lcm_helm_conn.py
osm_lcm/tests/test_lcm_utils.py
osm_lcm/tests/test_ns.py
osm_lcm/tests/test_vim_sdn.py
osm_lcm/vim_sdn.py
requirements-dev.txt
requirements-test.txt
requirements.in
requirements.txt
tox.ini