GET /api2/tm/rulesets/<set_id>/ingress_rules viewer
POST /api2/tm/rulesets/<set_id>/ingress_rules user
PUT /api2/tm/rulesets/<set_id>/ingress_rules/<ingress_rule_id> user
DELETE /api2/tm/rulesets/<set_id>/ingress_rules/<ingress_rule_id> userThe mutation endpoints above accept an optional ?dry_run=true query parameter. With the flag set, the handler runs all the same checks as the non-dry-run call but does not persist to the DAO and does not push to the network module. Returns 200 {} on success; error responses (status code and body) are identical to the non-dry-run call.
{
"port":{"type":"INF", "id":1},
"type":"ingress_vlan_strip",
"data":{}
}| Type | Data | Description |
|---|---|---|
ingress_vlan_tag |
"vid":<1-4095> |
Add VLAN tag with specified vid. |
ingress_vlan_strip |
none | Remove the inner or outer VLAN tag. |
ingress_vxlan_term |
{"ip": "<ipv4>", "mac":"<mac>"} |
Create VXLAN tunnel termination with given IPv4 and MAC addresses |
ingress_gre_term |
{"ip": "<ipv4>", "mac":"<mac>"} |
Create GRE-TAP tunnel termination with given IPv4 and MAC addresses |
ingress_gre_keys_term |
{"ip": "<ipv4>", "mac":"<mac>", "src_ip": "<ipv4>", "keys":[305418240, 305418241, ...]} |
Create L2GRE tunnel termination with given destination IPv4, source IPv4, destination MAC, and GRE keys (unsigned 32-bit integers). |
ingress_erspan_term |
{"ip": "<ipv4>", "mac":"<mac>"} |
Create ERSPAN tunnel termination with given IPv4 Address |