blob: 1dab68c578d4b1e88e09ce388138d9f076f3fb84 [file] [log] [blame]
Ray Milkeyd43fe452015-05-29 09:35:12 -07001{
Ray Milkeyd43fe452015-05-29 09:35:12 -07002 "priority":1,
3 "isPermanent":"false",
4 "timeout":1,
5 "deviceId":"of:0000000000000001",
Jian Li7c322f42016-03-04 11:00:59 -08006 "tableId": 1,
Ray Milkeyd43fe452015-05-29 09:35:12 -07007 "selector":
8 {"criteria":
9 [
10 {"type":"IN_PORT", "port":23},
11 {"type":"IN_PHY_PORT", "port":44},
12 {"type":"METADATA", "metadata":123456},
andread35f89c2015-11-23 10:02:07 -080013 {"type":"ETH_TYPE","ethType":"0x806"},
Ray Milkeyd43fe452015-05-29 09:35:12 -070014 {"type":"ETH_SRC","mac":"00:11:22:33:44:55"},
15 {"type":"ETH_DST","mac":"00:11:22:33:44:55"},
16 {"type":"VLAN_VID","vlanId":777},
17 {"type":"VLAN_PCP","priority":3},
18 {"type":"IP_DSCP","ipDscp":2},
19 {"type":"IP_ECN","ipEcn":1},
20 {"type":"IP_PROTO","protocol":4},
21 {"type":"IPV4_SRC", "ip":"1.2.0.0/32"},
22 {"type":"IPV4_DST", "ip":"2.2.0.0/32"},
23 {"type":"IPV6_SRC", "ip":"3.2.0.0/32"},
24 {"type":"IPV6_DST", "ip":"4.2.0.0/32"},
25 {"type":"TCP_SRC", "tcpPort":80},
26 {"type":"TCP_DST", "tcpPort":443},
27 {"type":"UDP_SRC", "udpPort":180},
28 {"type":"UDP_DST", "udpPort":1443},
29 {"type":"SCTP_SRC", "sctpPort":280},
30 {"type":"SCTP_DST", "sctpPort":2443},
31 {"type":"ICMPV4_TYPE", "icmpType":24},
32 {"type":"ICMPV4_CODE", "icmpCode":16},
33 {"type":"ICMPV6_TYPE", "icmpv6Type":14},
34 {"type":"ICMPV6_CODE", "icmpv6Code":6},
35 {"type":"IPV6_FLABEL", "flowLabel":8},
36 {"type":"IPV6_ND_TARGET", "targetAddress":"1111:2222:3333:4444:5555:6666:7777:8888"},
37 {"type":"IPV6_ND_SLL", "mac":"00:11:22:33:44:56"},
38 {"type":"IPV6_ND_TLL", "mac":"00:11:22:33:44:57"},
39 {"type":"MPLS_LABEL", "label":123},
40 {"type":"IPV6_EXTHDR", "exthdrFlags":99},
Yafit Hadar5796d972015-10-15 13:16:11 +030041 {"type":"TUNNEL_ID", "tunnelId":100},
42 {"type":"OCH_SIGTYPE", "ochSignalType":"FIXED_GRID"},
43 {"type":"ODU_SIGTYPE", "oduSignalType":"ODU4"},
44 {"type":"ODU_SIGID", "oduSignalId" : {"tributaryPortNumber":1, "tributarySlotLen":80, "tributarySlotBitmap":"01:01:01:01:01:01:01:01:01:01"}}
Ray Milkeyd43fe452015-05-29 09:35:12 -070045 ]
46 }
47}