bug 1146 adding vnf.vdur.name for PDUs 52/9452/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 14 Jul 2020 15:39:07 +0000 (15:39 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 17 Jul 2020 09:50:18 +0000 (09:50 +0000)
Change-Id: I862a1ec95499bd285a44aab3f3527e0c1c80af65
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_nbi/instance_topics.py

index 12deff7..7d7ef46 100644 (file)
@@ -425,6 +425,7 @@ class NsrTopic(BaseTopic):
                         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 = {