Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Contrail] Troubleshooting command - get tap interface name from vmi uuid on compute node



Article ID: KB35225 KB Last Updated: 08 Nov 2019Version: 1.0

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": "",
    "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"
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search