From: bravof Date: Wed, 3 Feb 2021 18:22:06 +0000 (-0300) Subject: fix(LCM): floating-ip-required parameter missing from vdu. Bug 1375 X-Git-Tag: v9.1.0~1^2~7 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F10253%2F1;p=osm%2FNBI.git fix(LCM): floating-ip-required parameter missing from vdu. Bug 1375 Change-Id: I2bfe9c86daf8655784e4a82cec3fc0fa5f02cfd7 Signed-off-by: bravof --- diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py index 35c39d3..c2a4be3 100644 --- a/osm_nbi/instance_topics.py +++ b/osm_nbi/instance_topics.py @@ -1098,6 +1098,8 @@ class NsLcmOpTopic(BaseTopic): vnfr_update[vnfr_update_text + ".mac-address"] = increment_ip_mac( iface_inst_param.get("mac-address"), vdur.get("count-index", 0)) vnfr_update[vnfr_update_text + ".fixed-mac"] = True + if iface_inst_param.get("floating-ip-required"): + vnfr_update[vnfr_update_text + ".floating-ip-required"] = True # get vnf.internal-vld.internal-conection-point instantiation params to update vnfr.vdur.interfaces # TODO update vld with the ip-profile for ivld_inst_param in get_iterable(vnf_inst_params.get("internal-vld")):