Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1 | tables { |
2 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 3 | id: 33561568 |
4 | name: "ingress.table0_control.table0" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 5 | alias: "table0" |
6 | } | ||||
7 | match_fields { | ||||
8 | id: 1 | ||||
9 | name: "standard_metadata.ingress_port" | ||||
10 | bitwidth: 9 | ||||
11 | match_type: TERNARY | ||||
12 | } | ||||
13 | match_fields { | ||||
14 | id: 2 | ||||
15 | name: "hdr.ethernet.src_addr" | ||||
16 | bitwidth: 48 | ||||
17 | match_type: TERNARY | ||||
18 | } | ||||
19 | match_fields { | ||||
20 | id: 3 | ||||
21 | name: "hdr.ethernet.dst_addr" | ||||
22 | bitwidth: 48 | ||||
23 | match_type: TERNARY | ||||
24 | } | ||||
25 | match_fields { | ||||
26 | id: 4 | ||||
27 | name: "hdr.ethernet.ether_type" | ||||
28 | bitwidth: 16 | ||||
29 | match_type: TERNARY | ||||
30 | } | ||||
31 | match_fields { | ||||
32 | id: 5 | ||||
33 | name: "hdr.ipv4.src_addr" | ||||
34 | bitwidth: 32 | ||||
35 | match_type: TERNARY | ||||
36 | } | ||||
37 | match_fields { | ||||
38 | id: 6 | ||||
39 | name: "hdr.ipv4.dst_addr" | ||||
40 | bitwidth: 32 | ||||
41 | match_type: TERNARY | ||||
42 | } | ||||
43 | match_fields { | ||||
44 | id: 7 | ||||
45 | name: "hdr.ipv4.protocol" | ||||
46 | bitwidth: 8 | ||||
47 | match_type: TERNARY | ||||
48 | } | ||||
49 | match_fields { | ||||
50 | id: 8 | ||||
51 | name: "local_metadata.l4_src_port" | ||||
52 | bitwidth: 16 | ||||
53 | match_type: TERNARY | ||||
54 | } | ||||
55 | match_fields { | ||||
56 | id: 9 | ||||
57 | name: "local_metadata.l4_dst_port" | ||||
58 | bitwidth: 16 | ||||
59 | match_type: TERNARY | ||||
60 | } | ||||
61 | action_refs { | ||||
62 | id: 16794308 | ||||
63 | } | ||||
64 | action_refs { | ||||
65 | id: 16829080 | ||||
66 | } | ||||
67 | action_refs { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 68 | id: 16777316 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 69 | } |
70 | action_refs { | ||||
71 | id: 16784184 | ||||
72 | } | ||||
73 | const_default_action_id: 16784184 | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 74 | direct_resource_ids: 302038973 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 75 | size: 1024 |
76 | } | ||||
77 | tables { | ||||
78 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 79 | id: 33571781 |
80 | name: "ingress.host_meter_control.host_meter_table" | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 81 | alias: "host_meter_table" |
82 | } | ||||
83 | match_fields { | ||||
84 | id: 1 | ||||
85 | name: "hdr.ethernet.src_addr" | ||||
86 | bitwidth: 48 | ||||
87 | match_type: LPM | ||||
88 | } | ||||
89 | action_refs { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 90 | id: 16823832 |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 91 | } |
92 | action_refs { | ||||
93 | id: 16800567 | ||||
94 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 95 | direct_resource_ids: 318783457 |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 96 | size: 1024 |
97 | } | ||||
98 | tables { | ||||
99 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 100 | id: 33594717 |
101 | name: "ingress.wcmp_control.wcmp_table" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 102 | alias: "wcmp_table" |
103 | } | ||||
104 | match_fields { | ||||
105 | id: 1 | ||||
106 | name: "local_metadata.next_hop_id" | ||||
107 | bitwidth: 16 | ||||
108 | match_type: EXACT | ||||
109 | } | ||||
110 | action_refs { | ||||
111 | id: 16794308 | ||||
112 | } | ||||
113 | action_refs { | ||||
114 | id: 16800567 | ||||
115 | annotations: "@defaultonly()" | ||||
116 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 117 | implementation_id: 285253634 |
118 | direct_resource_ids: 302034578 | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 119 | size: 1024 |
120 | } | ||||
121 | actions { | ||||
122 | preamble { | ||||
123 | id: 16794308 | ||||
124 | name: "set_egress_port" | ||||
125 | alias: "set_egress_port" | ||||
126 | } | ||||
127 | params { | ||||
128 | id: 1 | ||||
129 | name: "port" | ||||
130 | bitwidth: 9 | ||||
131 | } | ||||
132 | } | ||||
133 | actions { | ||||
134 | preamble { | ||||
135 | id: 16829080 | ||||
136 | name: "send_to_cpu" | ||||
137 | alias: "send_to_cpu" | ||||
138 | } | ||||
139 | } | ||||
140 | actions { | ||||
141 | preamble { | ||||
142 | id: 16784184 | ||||
143 | name: "_drop" | ||||
144 | alias: "_drop" | ||||
145 | } | ||||
146 | } | ||||
147 | actions { | ||||
148 | preamble { | ||||
149 | id: 16800567 | ||||
150 | name: "NoAction" | ||||
151 | alias: "NoAction" | ||||
152 | } | ||||
153 | } | ||||
154 | actions { | ||||
155 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 156 | id: 16777316 |
157 | name: "ingress.table0_control.set_next_hop_id" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 158 | alias: "set_next_hop_id" |
159 | } | ||||
160 | params { | ||||
161 | id: 1 | ||||
162 | name: "next_hop_id" | ||||
163 | bitwidth: 16 | ||||
164 | } | ||||
165 | } | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 166 | actions { |
167 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 168 | id: 16823832 |
169 | name: "ingress.host_meter_control.read_meter" | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 170 | alias: "read_meter" |
171 | } | ||||
172 | } | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 173 | action_profiles { |
174 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 175 | id: 285253634 |
176 | name: "ingress.wcmp_control.wcmp_selector" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 177 | alias: "wcmp_selector" |
178 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 179 | table_ids: 33594717 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 180 | with_selector: true |
181 | size: 64 | ||||
182 | } | ||||
183 | counters { | ||||
184 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 185 | id: 302004684 |
186 | name: "ingress.port_counters_ingress.ingress_port_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 187 | alias: "ingress_port_counter" |
188 | } | ||||
189 | spec { | ||||
190 | unit: PACKETS | ||||
191 | } | ||||
192 | size: 511 | ||||
193 | } | ||||
194 | counters { | ||||
195 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 196 | id: 302040487 |
197 | name: "egress.port_counters_egress.egress_port_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 198 | alias: "egress_port_counter" |
199 | } | ||||
200 | spec { | ||||
201 | unit: PACKETS | ||||
202 | } | ||||
203 | size: 511 | ||||
204 | } | ||||
205 | direct_counters { | ||||
206 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 207 | id: 302038973 |
208 | name: "ingress.table0_control.table0_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 209 | alias: "table0_counter" |
210 | } | ||||
211 | spec { | ||||
212 | unit: BOTH | ||||
213 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 214 | direct_table_id: 33561568 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 215 | } |
216 | direct_counters { | ||||
217 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 218 | id: 302034578 |
219 | name: "ingress.wcmp_control.wcmp_table_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 220 | alias: "wcmp_table_counter" |
221 | } | ||||
222 | spec { | ||||
223 | unit: BOTH | ||||
224 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 225 | direct_table_id: 33594717 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 226 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 227 | meters { |
228 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 229 | id: 318803935 |
230 | name: "ingress.port_meters_ingress.ingress_port_meter" | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 231 | alias: "ingress_port_meter" |
232 | } | ||||
233 | spec { | ||||
234 | unit: BYTES | ||||
235 | } | ||||
236 | size: 511 | ||||
237 | } | ||||
238 | meters { | ||||
239 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 240 | id: 318792425 |
241 | name: "egress.port_meters_egress.egress_port_meter" | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 242 | alias: "egress_port_meter" |
243 | } | ||||
244 | spec { | ||||
245 | unit: BYTES | ||||
246 | } | ||||
247 | size: 511 | ||||
248 | } | ||||
249 | direct_meters { | ||||
250 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 251 | id: 318783457 |
252 | name: "ingress.host_meter_control.host_meter" | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 253 | alias: "host_meter" |
254 | } | ||||
255 | spec { | ||||
256 | unit: BYTES | ||||
257 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 258 | direct_table_id: 33571781 |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 259 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 260 | controller_packet_metadata { |
261 | preamble { | ||||
262 | id: 2868941301 | ||||
263 | name: "packet_in" | ||||
264 | annotations: "@controller_header(\"packet_in\")" | ||||
265 | } | ||||
266 | metadata { | ||||
267 | id: 1 | ||||
268 | name: "ingress_port" | ||||
269 | bitwidth: 9 | ||||
270 | } | ||||
271 | } | ||||
272 | controller_packet_metadata { | ||||
273 | preamble { | ||||
274 | id: 2868916615 | ||||
275 | name: "packet_out" | ||||
276 | annotations: "@controller_header(\"packet_out\")" | ||||
277 | } | ||||
278 | metadata { | ||||
279 | id: 1 | ||||
280 | name: "egress_port" | ||||
281 | bitwidth: 9 | ||||
282 | } | ||||
283 | } |