Frank Wang | 74ce2c1 | 2018-04-11 20:26:45 +0800 | [diff] [blame^] | 1 | { |
2 | "type": "PROTOCOL_INDEPENDENT", | ||||
3 | "matches": [ | ||||
4 | { | ||||
5 | "field": "ingress_port", | ||||
6 | "match": "exact", | ||||
7 | "value": "10" | ||||
8 | }, | ||||
9 | { | ||||
10 | "field": "src_addr", | ||||
11 | "match": "lpm", | ||||
12 | "value": "0a010101", | ||||
13 | "prefixLength": 24 | ||||
14 | }, | ||||
15 | { | ||||
16 | "field": "dst_addr", | ||||
17 | "match": "ternary", | ||||
18 | "value": "0a010101", | ||||
19 | "mask": "0fffffff" | ||||
20 | }, | ||||
21 | { | ||||
22 | "field": "egress_port", | ||||
23 | "match": "range", | ||||
24 | "highValue": "20", | ||||
25 | "lowValue": "10" | ||||
26 | }, | ||||
27 | { | ||||
28 | "field": "ethernet_t.etherType", | ||||
29 | "match": "valid", | ||||
30 | "value": true | ||||
31 | } | ||||
32 | ] | ||||
33 | } |