From e19017dba6e578c4923d65e8da8e1285f74be476 Mon Sep 17 00:00:00 2001 From: Gabriel Cuba Date: Mon, 13 Mar 2023 22:34:44 -0500 Subject: [PATCH] Feature 10975: Get vim-flavor-id from instantiation params Change-Id: If0d5e836a1cd61ac3e62ade1bc5768d1f08ee147 Signed-off-by: Gabriel Cuba --- osm_lcm/ns.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.25.1