This article explains the command for finding the tap interface name on a compute when only uuid for the VMI is available, using vrouter agent REST API.
Curl can be used to connect to http:// <host or ip> :9091/port/uuid to get the most useful information related to VMI, where 9091 is REST API port for vrouter agent.
In the Example below, the tap interface name corresponding to uuid b89d36aa-1f2d-4047-89e9-b7dcbeb287db is tapb89d36aa-1f .
# curl http://localhost:9091/port/b89d36aa-1f2d-4047-89e9-b7dcbeb287db | python -mjson.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 411 100 411 0 0 63455 0 --:--:-- --:--:-- --:--:-- 68500 { "display-name": "vm_internal", "id": "b89d36aa-1f2d-4047-89e9-b7dcbeb287db", "instance-id": "55ce44cc-640d-4ec6-b1de-c60c320a1f2b", "ip-address": "192.168.10.3", "ip6-address": "::", "mac-address": "02:b8:9d:36:aa:1f", "rx-vlan-id": 65535, "system-name": "tapb89d36aa-1f", "tx-vlan-id": 65535, "type": 0, "vm-project-id": "5967884b-13bc-4c97-85dd-a22ce022ef46", "vn-id": "a4e47ab2-93f0-4741-b941-4faa4731e815" }