Fix bug for ns-primitives (manual testing)
db_vnfr was None. Therefore, the get_osm_params was raising some errors.
That's fixed now
Change-Id: Ied4b0fdb9f374dbfaeb0f4947e75a8a310678a1e
Signed-off-by: David Garcia <david.garcia@canonical.com>
diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py
index c7e0184..29721b3 100644
--- a/osm_lcm/ns.py
+++ b/osm_lcm/ns.py
@@ -1886,7 +1886,7 @@
vdu_name = None
# Get additional parameters
- deploy_params = {"OSM": get_osm_params(db_vnfr)}
+ deploy_params = {"OSM": {"vim_account_id": ns_params["vimAccountId"]}}
if db_nsr.get("additionalParamsForNs"):
deploy_params.update(parse_yaml_strings(db_nsr["additionalParamsForNs"].copy()))
base_folder = nsd["_admin"]["storage"]