From dcf0b7744577eaaef0b2a9ac4006589e6d39cbd2 Mon Sep 17 00:00:00 2001 From: Rahul Kumar Date: Thu, 2 Nov 2023 13:19:32 +0000 Subject: [PATCH] Feature 10999: Dual-Stack IP Support for VNFs in SOL003 VNFM Interface Change-Id: Ifb36f670036b805478ba4e1564a72f43ca1b41d7 Signed-off-by: Rahul Kumar --- osm_nbi/osm_vnfm/vnf_instances.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osm_nbi/osm_vnfm/vnf_instances.py b/osm_nbi/osm_vnfm/vnf_instances.py index d65f1e0..c9d05ac 100644 --- a/osm_nbi/osm_vnfm/vnf_instances.py +++ b/osm_nbi/osm_vnfm/vnf_instances.py @@ -192,6 +192,11 @@ class NewVnfInstance(BaseMethod): } ], } + vnf_profile = vnf_content["vnf-profile"][0] + virtual_link_connectivity = vnf_profile["virtual-link-connectivity"][0] + constituent_cpd_id = virtual_link_connectivity["constituent-cpd-id"][0] + if "ip-address" in indata["additionalParams"]: + constituent_cpd_id["ip-address"] = indata["additionalParams"]["ip-address"] new_nsd["nsd"]["nsd"][0] = { "description": indata["vnfInstanceDescription"], "designer": "OSM", -- 2.25.1