3.41.1. List virtual interfaces

 
MethodURIDescription
GET/v2/{tenant_id}/servers/{server_id}/os-virtual-interfaces

Lists the virtual interfaces for a specified instance.

Normal response codes: 202

 3.41.1.1. Request

This table shows the URI parameters for the list virtual interfaces request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

{server_id}

​U​U​ID

The UUID for the server of interest to you.

This operation does not require a request body.

 3.41.1.2. Response

 

Example 3.336. List virtual interfaces: JSON response

{
    "virtual_interfaces": [
        {
            "id": "cec8b9bb-5d22-4104-b3c8-4c35db3210a6",
            "mac_address": "fa:16:3e:3c:ce:6f"
        }
    ]
}

 

Example 3.337. List virtual interfaces: XML response

<?xml version='1.0' encoding='UTF-8'?>
<virtual_interfaces xmlns="http://docs.openstack.org/compute/api/v1.1">
  <virtual_interface id="94edf7aa-565a-469a-8f45-656b4acf8229" mac_address="fa:16:3e:7d:31:9a"/>
</virtual_interfaces>

This operation does not return a response body.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...