Fix 1533 (nscharms): read juju from descriptor 17/10917/2
authorDavid Garcia <david.garcia@canonical.com>
Fri, 28 May 2021 10:08:18 +0000 (12:08 +0200)
committerbravof <fbravo@whitestack.com>
Mon, 31 May 2021 00:11:53 +0000 (02:11 +0200)
commitb76442ae720ec190e8b70416cc445fb9a8c7de80
tree74301b463120d4c3baef3ac54c6ca69558b1abf6
parent4e71ab61d598867dce5d557be179ac1d6db5b732
Fix 1533 (nscharms): read juju from descriptor

In the VNFD, the juju section has been removed and included inside the
execution environment list. Since then basic_12 (nscharms) has not been
properly working because we are only looking for the
execution-environment-liist key inside the descriptor, but that does not
apply to the NSD.

Additionally, I fixed the deletion of the nscharm, that was failing due
to the member-vnf-index key not existing in the deployed VCA.

Change-Id: Icb3220f28e373cf8ac3f978c9a3a83b179540512
Signed-off-by: David Garcia <david.garcia@canonical.com>
(cherry picked from commit 9ad54a4e89136b65a6ae8aad7c5f4ae494256f68)
osm_lcm/ns.py