Port Link

Media Type
[application/vnd.org.midonet.PortLink-v1+json]
POST     /ports/:portId/link
DELETE   /ports/:portId/link

It represents a link between two interior ports. Links are possible between:

  • Two router ports.
  • A router port and a bridge port
  • Two bridge ports, as long as just one of the two peers has a VLAN ID assigned. The bridge owning this port will act as a VLAN-aware bridge, pushing and poping VLAN IDs as frames traverse this port.

It contains the following fields:

Field NameTypePOST/PUTRequiredDescription

uri

URI

  

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

port

URI

  

A GET against this URI returns the port.

peer

URI

  

A GET against this URI returns the peer port.

portId

UUID

POST

Yes

The identifier of the port.

peerId

UUID

POST

Yes

The identifier of the peer port.

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