Feature 10975: Get vim-flavor-id from instantiation params 61/13161/3
authorGabriel Cuba <gcuba@whitestack.com>
Tue, 14 Mar 2023 03:34:44 +0000 (22:34 -0500)
committercubag <gcuba@whitestack.com>
Tue, 2 May 2023 01:26:37 +0000 (03:26 +0200)
Change-Id: If0d5e836a1cd61ac3e62ade1bc5768d1f08ee147
Signed-off-by: Gabriel Cuba <gcuba@whitestack.com>
osm_lcm/ns.py

index 63a9b67..0fce107 100644 (file)
@@ -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)