bug 1146 adding vnf.vdur.name for PDUs
Change-Id: I862a1ec95499bd285a44aab3f3527e0c1c80af65
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_nbi/instance_topics.py b/osm_nbi/instance_topics.py
index 12deff7..7d7ef46 100644
--- a/osm_nbi/instance_topics.py
+++ b/osm_nbi/instance_topics.py
@@ -425,6 +425,7 @@
vdur["boot-data-drive"] = vdu["supplemental-boot-data"]["boot-data-drive"]
if vdu.get("pdu-type"):
vdur["pdu-type"] = vdu["pdu-type"]
+ vdur["name"] = vdu["pdu-type"]
# TODO volumes: name, volume-id
for icp in vdu.get("internal-connection-point", ()):
vdu_icp = {