1
The Virtual Interfaces Extension
2
=================================================================
5
The Virtual Interfaces extension lets you view the virtual interfaces used in an instance.
7
To obtain current information the extensions available to you, issue an EXTENSION query on the OpenStack system where it is installed, such as http://mycloud.com/v1.1/tenant/extensions.
16
http://docs.openstack.org/ext/virtual_interfaces/api/v1.1
22
Name <ryu@midokura.jp>
40
This extension enables Virtual Interfaces capabilities for OpenStack Compute servers so that you know the interfaces for the virtual instances running in the cloud.
42
Sample Query Responses
43
~~~~~~~~~~~~~~~~~~~~~~
45
As shown below, responses to an EXTENSION query in XML or JSON provide basic information about the extension.
47
Extension Query Response: XML::
50
<extension name="VirtualInterfaces"
51
namespace="http://docs.openstack.org/ext/virtual_interfaces/api/v1.1"
52
alias="virtual_interfaces" updated="2011-08-17T00:00:00+00:00">
53
<description>Virtual interface support</description>
57
Extension Query Response: JSON::
59
{"extensions": [{"updated": "2011-08-17T00:00:00+00:00", "name": "VirtualInterfaces", "links": [], "namespace": "http://docs.openstack.org/ext/virtual_interfaces/api/v1.1", "alias": "virtual_interfaces", "description": "Virtual interface support"}]}
62
Document Change History
63
~~~~~~~~~~~~~~~~~~~~~~~
65
============= =====================================
66
Revision Date Summary of Changes
67
2011-09-16 Initial draft
68
2012-03-30 Reformat of content
69
============= =====================================
74
This extension to the OpenStack Compute API enables listing of Virtual Interfaces of running instances.
76
This support is provided by the addition of new actions.
98
Changes to the Cloud Servers Specification
99
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101
A new action added to the 4.3 Server Actions section.
103
============= ==================
105
POST /servers/id/virtual_interfaces
106
============= ==================
108
Normal Response Code(s): 202
110
Error Response Code(s): computeFault (400, 500, …), serviceUnavailable (503), unauthorized (401), forbidden (403), badRequest (400), badMethod (405), overLimit (413), itemNotFound (404), badMediaType (415), buildInProgress (409)