Virtual Interfaces

Use the Cloud Networks virtual interface extension to create a virtual interface to a specified network and attach that network to an existing server instance. You can attach a an isolated network that you have created or a Rackspace network.

A virtual interface works in the same way as the network interface card (NIC) inside your laptop. Like a NIC, a virtual interface is the medium through which you can attach a network. To use a virtual interface to attach a network to your server, you create and connect a virtual interface for a specified network to a server instance. The network, which is comprised of logical switches, is attached to your server instance through the virtual interface.

You can create a maximum of one virtual interface per instance per network.

You can also use the Cloud Networks virtual interface extension to:

  • List the virtual interfaces for a server instance.

  • Delete a virtual interface and detach it from a server instance.

Verb URI Description
GET /servers/instance_id/os-virtual-interfacesv2 Lists the virtual interfaces configured for a server instance.
POST /servers/instance_id/os-virtual-interfacesv2 Creates a virtual interface for a network and attaches the network to a server instance.
DELETE /servers/instance_id/os-virtual-interfacesv2/interface_id Deletes a virtual interface from a server instance.