bug 1146 adding vnf.vdur.name for PDUs 10/9410/1 v8.0.0 v8.0.0rc3
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 14 Jul 2020 15:39:07 +0000 (15:39 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 14 Jul 2020 15:39:07 +0000 (15:39 +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 = {