v1

latestSwagger 2.0Apache 2.02026-07-17131416.5 KB

Creates a network interface.

Creates new network interface with ID specified by iface_id path parameter. Updating existing interfaces is currently not allowed.

put/network-interfaces/{iface_id}

Path parameters

iface_idstring required

The id of the guest network interface

Request body

iface_idstring required
guest_macstring
host_dev_namestring

Host level path for the guest network interface

allow_mmds_requestsboolean

If this field is set, the device model will reply to HTTP GET requests sent to the MMDS address via this interface. In this case, both ARP requests for 169.254.169.254 and TCP segments heading to the same address are intercepted by the device model, and do not reach the associated TAP device.

state'Attached'

The valid states for a Device. So far, a device can only be in the Attached mode. Future valid values will be Detaching and Detached.

Response

Network interface created/updated