From: David Garcia Date: Thu, 10 Dec 2020 19:10:53 +0000 (+0100) Subject: Fix bug for ns-primitives (manual testing) X-Git-Tag: release-v9.0-start~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=40603578bc470675f4662ca9534be7515e7a8c9c;p=osm%2FLCM.git 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 --- 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"]