Fix bug 1445: Error service with SRIOV interfaces
[osm/RO.git] / NG-RO / osm_ng_ro / ns_thread.py
index f15831a..2efdbc0 100644 (file)
@@ -921,7 +921,7 @@ class VimInteractionSdnNet(VimInteractionBase):
                     else None,
                     "service_endpoint_encapsulation_info": {
                         "vlan": port.get("vlan"),
-                        "mac": port.get("mac_address"),
+                        "mac": port.get("mac-address"),
                         "device_id": pmap.get("device_id") or port["compute_node"],
                         "device_interface_id": pmap.get("device_interface_id")
                         or port["pci"],