Mirror

Media Type
[application/vnd.org.midonet.Mirror-v1+json]
Collection Media Type
["application/vnd.org.midonet.collection.Mirror-v1+json]
GET     /mirrors
GET     /mirrors/:mirrorId
POST    /mirrors
PUT     /mirrors/:mirrorId
DELETE  /mirrors/:mirrorId

A mirror is an entity that indicates whether the traffic flowing through a particular virtual port and matching a set of conditions should be mirrored to another virtual port.

Field NameTypePOST/PUTRequiredDescription

uri

URI

  

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

id

UUID

POST

No

A unique identifier of the resource. If this field is omitted in the POST request, a random UUID is generated.

toPortId

UUID

POST/PUT

Yes

The port to which mirrored traffic should be copied. This is NOT the place traffic is mirrored from. The "to-port" gets traffic when this Mirror’s UUID is added to the inboundMirrorIds or outboundMirrorIds of one or more ports, bridges, or routers.

conditions

Array of Condition

POST/PUT

No

A list of matching conditions against which the mirrored traffic should be matched. See the section called “Condition”.

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