Interface

Media Type
[application/vnd.org.midonet.Interface-v1+json]
Collection Media Type
[application/vnd.org.midonet.collection.Interface-v1+json]
GET     /hosts/:hostId/interfaces
GET     /hosts/:hostId/interfaces/:interfaceName

The interface is an entity abstracting information about a physical interface associated with a host.

Field NameTypePOST/PUTRequiredDescription

uri

URI

  

A GET against this URI refreshes the representation of this resource.

addresses

Array of String

  

The list of IP addresses bound to this interface.

addresses

Array of String

  

The list of IP addresses bound to this interface.

hostId

UUID

  

The identifier of the host that owns this interface.

mac

String

  

The interface physical address (MAC).

mtu

Integer

  

The interface maximum transmission unit (MTU) value.

name

String

  

The physical interface name.

portType

String

  

The datapath port type. It can be one of the following: NetDev, Internal, Gre, VXLan, Gre64, Lisp

status

Integer

  

A bitmask representing the status flags. Currently it provides information about UP (0x1) status and CARRIER (0x2) status.

type

String

  

The interface type. It can be one of the following: Unknown, Physical, Virtual, Tunnel.

Questions? Discuss on Mailing Lists or Chat.
Found an error? Report a bug.