blob: ccb2e161d24e417570a04e01b50cb7b022b213dd [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",
6 "selector":
7 {"criteria":
8 [
9 {"type":"IN_PORT", "port":23},
10 {"type":"IN_PHY_PORT", "port":44},
11 {"type":"METADATA", "metadata":123456},
12 {"type":"ETH_TYPE","ethType":2054},
13 {"type":"ETH_SRC","mac":"00:11:22:33:44:55"},
14 {"type":"ETH_DST","mac":"00:11:22:33:44:55"},
15 {"type":"VLAN_VID","vlanId":777},
16 {"type":"VLAN_PCP","priority":3},
17 {"type":"IP_DSCP","ipDscp":2},
18 {"type":"IP_ECN","ipEcn":1},
19 {"type":"IP_PROTO","protocol":4},
20 {"type":"IPV4_SRC", "ip":"1.2.0.0/32"},
21 {"type":"IPV4_DST", "ip":"2.2.0.0/32"},
22 {"type":"IPV6_SRC", "ip":"3.2.0.0/32"},
23 {"type":"IPV6_DST", "ip":"4.2.0.0/32"},
24 {"type":"TCP_SRC", "tcpPort":80},
25 {"type":"TCP_DST", "tcpPort":443},
26 {"type":"UDP_SRC", "udpPort":180},
27 {"type":"UDP_DST", "udpPort":1443},
28 {"type":"SCTP_SRC", "sctpPort":280},
29 {"type":"SCTP_DST", "sctpPort":2443},
30 {"type":"ICMPV4_TYPE", "icmpType":24},
31 {"type":"ICMPV4_CODE", "icmpCode":16},
32 {"type":"ICMPV6_TYPE", "icmpv6Type":14},
33 {"type":"ICMPV6_CODE", "icmpv6Code":6},
34 {"type":"IPV6_FLABEL", "flowLabel":8},
35 {"type":"IPV6_ND_TARGET", "targetAddress":"1111:2222:3333:4444:5555:6666:7777:8888"},
36 {"type":"IPV6_ND_SLL", "mac":"00:11:22:33:44:56"},
37 {"type":"IPV6_ND_TLL", "mac":"00:11:22:33:44:57"},
38 {"type":"MPLS_LABEL", "label":123},
39 {"type":"IPV6_EXTHDR", "exthdrFlags":99},
Hyunsun Moon7080a0d2015-08-14 19:18:48 -070040 {"type":"OCH_SIGID", "lambda":122},
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}