Method | URI | Description |
---|---|---|
GET | /v2/{tenant_id}/servers/{server_id}/os-virtual-interfaces | Lists the virtual interfaces for a specified instance. |
Normal response codes: 202
This table shows the URI parameters for the list virtual interfaces request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| UUID | The UUID for the server of interest to you. |
This operation does not require a request body.
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.