From c88003e347abe00f8091fbcbd9112967b07c9cc9 Mon Sep 17 00:00:00 2001 From: tierno Date: Thu, 12 Mar 2020 17:31:42 +0000 Subject: [PATCH] fix 1023. Issue getting ip from pdu instances Change-Id: I00ded05ca164e8dec18b821650ac16679137434c Signed-off-by: tierno --- osm_nbi/instance_topics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py index 8ca35d0..6121ff2 100644 --- a/osm_nbi/instance_topics.py +++ b/osm_nbi/instance_topics.py @@ -759,7 +759,7 @@ class NsLcmOpTopic(BaseTopic): vnfr_update[iface_text + ".{}".format(k)] = v vnfr_update_rollback[iface_text + ".{}".format(k)] = vdur_interface.get(v) if pdu_interface.get("ip-address"): - if vdur_interface.get("mgmt-interface"): + if vdur_interface.get("mgmt-interface") or vdur_interface.get("mgmt-vnf"): vnfr_update_rollback[vdu_text + ".ip-address"] = vdur.get("ip-address") vnfr_update[vdu_text + ".ip-address"] = pdu_interface["ip-address"] if vdur_interface.get("mgmt-vnf"): -- 2.17.1