From: Rahul Kumar Date: Thu, 2 Nov 2023 13:19:32 +0000 (+0000) Subject: Feature 10999: Dual-Stack IP Support for VNFs in SOL003 VNFM Interface X-Git-Tag: release-v15.0-start~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=592e293bdaa0a3784a46b898cdf68b59a7785527;p=osm%2FNBI.git Feature 10999: Dual-Stack IP Support for VNFs in SOL003 VNFM Interface Change-Id: Ifb36f670036b805478ba4e1564a72f43ca1b41d7 Signed-off-by: Rahul Kumar --- 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",