Feature 11043 Instance name as instantiation parameters - LCM 50/14450/2
authorkayal2001 <kayalvizhi.v@tataelxsi.co.in>
Thu, 27 Jun 2024 02:53:36 +0000 (08:23 +0530)
committercubag <gcuba@whitestack.com>
Wed, 10 Jul 2024 02:44:45 +0000 (04:44 +0200)
Change-Id: I480aecb24f33ac07d200b251658604500b052b3f
Signed-off-by: kayal2001 <kayalvizhi.v@tataelxsi.co.in>
osm_lcm/ns.py

index 6bc7a22..bad1b1f 100644 (file)
@@ -1134,6 +1134,9 @@ class NsLcm(LcmBase):
                         vdur["additionalParams"]["OSM"][
                             "vim_flavor_id"
                         ] = vdu_instantiation_params.get("vim-flavor-id")
+                        vdur["additionalParams"]["OSM"][
+                            "instance_name"
+                        ] = vdu_instantiation_params.get("instance_name")
                 vdur_list.append(vdur)
             target_vnf["vdur"] = vdur_list
             target["vnf"].append(target_vnf)