Host Interface Port

Media Type
[application/vnd.org.midonet.HostInterfacePort-v1+json]
GET     /hosts/:hostId/ports
GET     /hosts/:hostId/ports/:portId
POST    /hosts/:hostId/ports
DELETE  /hosts/:hostId/ports/:portId

The HostInterfacePort binding allows mapping a virtual network port to an interface (virtual or physical) of a physical host where the MidoNet Agent is running. It contains the following fields:

Field NameTypePOST/PUTRequiredDescription

uri

URI

  

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

host

URI

  

A GET against this URI returns the host corresponding to this binding.

port

URI

  

A GET against this URI returns the virtual port corresponding to this binding.

hostId

UUID

POST

Yes

The identifier of the physical host.

interfaceName

String

POST

Yes

The name of the interface that is mapped to the virtual port.

portId

UUID

POST

Yes

The identifier of the virtual port mapped to the host interface.

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