From: Gabriel Cuba Date: Tue, 14 Mar 2023 03:34:44 +0000 (-0500) Subject: Feature 10975: Get vim-flavor-id from instantiation params X-Git-Tag: release-v14.0-start~16 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=e19017dba6e578c4923d65e8da8e1285f74be476;p=osm%2FLCM.git Feature 10975: Get vim-flavor-id from instantiation params Change-Id: If0d5e836a1cd61ac3e62ade1bc5768d1f08ee147 Signed-off-by: Gabriel Cuba --- diff --git a/osm_lcm/ns.py b/osm_lcm/ns.py index 63a9b67..0fce107 100644 --- a/osm_lcm/ns.py +++ b/osm_lcm/ns.py @@ -1250,6 +1250,9 @@ class NsLcm(LcmBase): vdu_instantiation_params, vdud ) vdur["additionalParams"]["OSM"]["vdu_volumes"] = vdu_volumes + vdur["additionalParams"]["OSM"][ + "vim_flavor_id" + ] = vdu_instantiation_params.get("vim-flavor-id") vdur_list.append(vdur) target_vnf["vdur"] = vdur_list target["vnf"].append(target_vnf)