L2 Insertion

Media Type
[application/vnd.org.midonet.L2Insertion-v1+json]
Collection Media Type
[application/vnd.org.midonet.collection.L2Insertion-v1+json]
GET     /l2insertions
GET     /l2insertions/:l2insertionId
POST    /l2insertions
PUT     /l2insertions/:l2insertionId
DELETE  /l2insertions/:l2insertionId

L2 insertion represents a service insertion redirecting the packets to a specified service port. It contains the following fields:

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.

mac

String

POST/PUT

Yes

The MAC address for which the corresponding traffic will be redirected by this service insertion.

portId

UUID

POST/PUT

Yes

The identifier of the virtual port on which the traffic is inspected.

position

Integer

POST/PUT

Yes

The position of the service insertion in a service insertions chain.

srvPortId

UUID

POST/PUT

Yes

The identifier of the virtual port toward which the traffic will be redirected.

failOpen

Boolean

POST/PUT

No

If true, it allows the traffic when the chain is down or not ready. The default is false.

vlan

Integer

POST/PUT

No

The VLAN identifier applied to the redirected traffic.

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