From 40603578bc470675f4662ca9534be7515e7a8c9c Mon Sep 17 00:00:00 2001 From: David Garcia Date: Thu, 10 Dec 2020 20:10:53 +0100 Subject: [PATCH] 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 --- osm_lcm/ns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ class NsLcm(LcmBase): 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"] -- 2.25.1