Fix bug 1445: Error service with SRIOV interfaces 95/10395/3
authorlloretgalleg <illoret@indra.es>
Fri, 19 Feb 2021 10:57:50 +0000 (10:57 +0000)
committersousaedu <eduardo.sousa@canonical.com>
Fri, 26 Feb 2021 16:15:09 +0000 (17:15 +0100)
Change-Id: I838bbe41188b17f023569e2fdbd34173070b457c
Signed-off-by: lloretgalleg <illoret@indra.es>
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"],