fixes 178 a typo at vnfd:internal-connections getting mac 23/1023/2
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 26 Jan 2017 11:35:57 +0000 (12:35 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 26 Jan 2017 13:33:46 +0000 (14:33 +0100)
Change-Id: I6c5310cde3ba3da089d45a86059069dd25be0e1a
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
nfvo_db.py

index 11ae450..54f4ff2 100644 (file)
@@ -138,7 +138,7 @@ class nfvo_db(db_base.db_base):
                                     ifaceItem["model"] = dataifacesDict[ element['VNFC'] ][ element['local_iface_name'] ]['model']
                                 else:
                                     ifaceItem["vpci"] =  bridgeInterfacesDict[ element['VNFC'] ][ element['local_iface_name'] ]['vpci']
-                                    ifaceItem["mac"] =  bridgeInterfacesDict[ element['VNFC'] ][ element['local_iface_name'] ]['mac_address']
+                                    ifaceItem["mac"] =  bridgeInterfacesDict[ element['VNFC'] ][ element['local_iface_name'] ]['mac']
                                     ifaceItem["bw"] =    bridgeInterfacesDict[ element['VNFC'] ][ element['local_iface_name'] ]['bw']
                                     ifaceItem["model"] = bridgeInterfacesDict[ element['VNFC'] ][ element['local_iface_name'] ]['model']
                                     ifaceItem["port_security"] = \