fix 1023. Issue getting ip from pdu instances 84/8684/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 18 Mar 2020 09:49:43 +0000 (09:49 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 18 Mar 2020 09:49:57 +0000 (09:49 +0000)
Change-Id: Ie4fc95d144d3c7987ccd56b090eaf7887ab8b67b
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_nbi/instance_topics.py

index 6121ff2..c9be059 100644 (file)
@@ -765,6 +765,7 @@ class NsLcmOpTopic(BaseTopic):
                             if vdur_interface.get("mgmt-vnf"):
                                 vnfr_update_rollback["ip-address"] = vnfr.get("ip-address")
                                 vnfr_update["ip-address"] = pdu_interface["ip-address"]
+                                vnfr_update[vdu_text + ".ip-address"] = pdu_interface["ip-address"]
                         if pdu_interface.get("vim-network-name") or pdu_interface.get("vim-network-id"):
                             ifaces_forcing_vim_network.append({
                                 "name": vdur_interface.get("vnf-vld-id") or vdur_interface.get("ns-vld-id"),