Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 1 | tables { |
2 | preamble { | ||||
3 | id: 33578399 | ||||
4 | name: "filtering.ingress_port_vlan" | ||||
5 | alias: "ingress_port_vlan" | ||||
6 | } | ||||
7 | match_fields { | ||||
8 | id: 1 | ||||
9 | name: "standard_metadata.ingress_port" | ||||
10 | bitwidth: 9 | ||||
11 | match_type: EXACT | ||||
12 | } | ||||
13 | match_fields { | ||||
14 | id: 2 | ||||
15 | name: "hdr.vlan_tag.is_valid" | ||||
16 | bitwidth: 1 | ||||
17 | match_type: EXACT | ||||
18 | } | ||||
19 | match_fields { | ||||
20 | id: 3 | ||||
21 | name: "hdr.vlan_tag.vlan_id" | ||||
22 | bitwidth: 12 | ||||
23 | match_type: TERNARY | ||||
24 | } | ||||
25 | action_refs { | ||||
26 | id: 16794505 | ||||
27 | } | ||||
28 | action_refs { | ||||
29 | id: 16782367 | ||||
30 | } | ||||
31 | action_refs { | ||||
32 | id: 16819938 | ||||
33 | } | ||||
34 | action_refs { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 35 | id: 16826365 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 36 | } |
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 37 | const_default_action_id: 16826365 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 38 | size: 1024 |
39 | } | ||||
40 | tables { | ||||
41 | preamble { | ||||
42 | id: 33619540 | ||||
43 | name: "filtering.fwd_classifier" | ||||
44 | alias: "fwd_classifier" | ||||
45 | } | ||||
46 | match_fields { | ||||
47 | id: 1 | ||||
48 | name: "standard_metadata.ingress_port" | ||||
49 | bitwidth: 9 | ||||
50 | match_type: EXACT | ||||
51 | } | ||||
52 | match_fields { | ||||
53 | id: 2 | ||||
54 | name: "hdr.ethernet.dst_addr" | ||||
55 | bitwidth: 48 | ||||
56 | match_type: EXACT | ||||
57 | } | ||||
58 | match_fields { | ||||
59 | id: 3 | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 60 | name: "fabric_metadata.original_ether_type" |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 61 | bitwidth: 16 |
62 | match_type: EXACT | ||||
63 | } | ||||
64 | action_refs { | ||||
65 | id: 16838162 | ||||
66 | } | ||||
67 | const_default_action_id: 16838162 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 68 | size: 1024 |
69 | } | ||||
70 | tables { | ||||
71 | preamble { | ||||
72 | id: 33569146 | ||||
73 | name: "forwarding.bridging" | ||||
74 | alias: "bridging" | ||||
75 | } | ||||
76 | match_fields { | ||||
77 | id: 1 | ||||
78 | name: "hdr.vlan_tag.vlan_id" | ||||
79 | bitwidth: 12 | ||||
80 | match_type: EXACT | ||||
81 | } | ||||
82 | match_fields { | ||||
83 | id: 2 | ||||
84 | name: "hdr.ethernet.dst_addr" | ||||
85 | bitwidth: 48 | ||||
86 | match_type: TERNARY | ||||
87 | } | ||||
88 | action_refs { | ||||
89 | id: 16829931 | ||||
90 | } | ||||
91 | action_refs { | ||||
92 | id: 16800567 | ||||
93 | annotations: "@defaultonly()" | ||||
94 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 95 | size: 1024 |
96 | } | ||||
97 | tables { | ||||
98 | preamble { | ||||
99 | id: 33565386 | ||||
100 | name: "forwarding.mpls" | ||||
101 | alias: "mpls" | ||||
102 | } | ||||
103 | match_fields { | ||||
104 | id: 1 | ||||
105 | name: "hdr.mpls.label" | ||||
106 | bitwidth: 20 | ||||
107 | match_type: EXACT | ||||
108 | } | ||||
109 | action_refs { | ||||
110 | id: 16842717 | ||||
111 | } | ||||
112 | action_refs { | ||||
113 | id: 16800567 | ||||
114 | annotations: "@defaultonly()" | ||||
115 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 116 | size: 1024 |
117 | } | ||||
118 | tables { | ||||
119 | preamble { | ||||
120 | id: 33589684 | ||||
121 | name: "forwarding.unicast_v4" | ||||
122 | alias: "unicast_v4" | ||||
123 | } | ||||
124 | match_fields { | ||||
125 | id: 1 | ||||
126 | name: "hdr.ipv4.dst_addr" | ||||
127 | bitwidth: 32 | ||||
128 | match_type: LPM | ||||
129 | } | ||||
130 | action_refs { | ||||
131 | id: 16829931 | ||||
132 | } | ||||
133 | action_refs { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 134 | id: 16800567 |
135 | annotations: "@defaultonly()" | ||||
136 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 137 | size: 1024 |
138 | } | ||||
139 | tables { | ||||
140 | preamble { | ||||
141 | id: 33615204 | ||||
142 | name: "forwarding.multicast_v4" | ||||
143 | alias: "multicast_v4" | ||||
144 | } | ||||
145 | match_fields { | ||||
146 | id: 1 | ||||
147 | name: "hdr.vlan_tag.vlan_id" | ||||
148 | bitwidth: 12 | ||||
149 | match_type: EXACT | ||||
150 | } | ||||
151 | match_fields { | ||||
152 | id: 2 | ||||
153 | name: "hdr.ipv4.dst_addr" | ||||
154 | bitwidth: 32 | ||||
155 | match_type: LPM | ||||
156 | } | ||||
157 | action_refs { | ||||
158 | id: 16829931 | ||||
159 | } | ||||
160 | action_refs { | ||||
161 | id: 16800567 | ||||
162 | annotations: "@defaultonly()" | ||||
163 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 164 | size: 1024 |
165 | } | ||||
166 | tables { | ||||
167 | preamble { | ||||
168 | id: 33608345 | ||||
169 | name: "forwarding.unicast_v6" | ||||
170 | alias: "unicast_v6" | ||||
171 | } | ||||
172 | match_fields { | ||||
173 | id: 1 | ||||
174 | name: "hdr.ipv6.dst_addr" | ||||
175 | bitwidth: 128 | ||||
176 | match_type: LPM | ||||
177 | } | ||||
178 | action_refs { | ||||
179 | id: 16829931 | ||||
180 | } | ||||
181 | action_refs { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 182 | id: 16800567 |
183 | annotations: "@defaultonly()" | ||||
184 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 185 | size: 1024 |
186 | } | ||||
187 | tables { | ||||
188 | preamble { | ||||
189 | id: 33592333 | ||||
190 | name: "forwarding.multicast_v6" | ||||
191 | alias: "multicast_v6" | ||||
192 | } | ||||
193 | match_fields { | ||||
194 | id: 1 | ||||
195 | name: "hdr.vlan_tag.vlan_id" | ||||
196 | bitwidth: 12 | ||||
197 | match_type: EXACT | ||||
198 | } | ||||
199 | match_fields { | ||||
200 | id: 2 | ||||
201 | name: "hdr.ipv6.dst_addr" | ||||
202 | bitwidth: 128 | ||||
203 | match_type: LPM | ||||
204 | } | ||||
205 | action_refs { | ||||
206 | id: 16829931 | ||||
207 | } | ||||
208 | action_refs { | ||||
209 | id: 16800567 | ||||
210 | annotations: "@defaultonly()" | ||||
211 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 212 | size: 1024 |
213 | } | ||||
214 | tables { | ||||
215 | preamble { | ||||
216 | id: 33587782 | ||||
217 | name: "forwarding.acl" | ||||
218 | alias: "acl" | ||||
219 | } | ||||
220 | match_fields { | ||||
221 | id: 1 | ||||
222 | name: "standard_metadata.ingress_port" | ||||
223 | bitwidth: 9 | ||||
224 | match_type: TERNARY | ||||
225 | } | ||||
226 | match_fields { | ||||
227 | id: 2 | ||||
228 | name: "fabric_metadata.ip_proto" | ||||
229 | bitwidth: 8 | ||||
230 | match_type: TERNARY | ||||
231 | } | ||||
232 | match_fields { | ||||
233 | id: 3 | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 234 | name: "fabric_metadata.l4_src_port" |
235 | bitwidth: 16 | ||||
236 | match_type: TERNARY | ||||
237 | } | ||||
238 | match_fields { | ||||
239 | id: 4 | ||||
240 | name: "fabric_metadata.l4_dst_port" | ||||
241 | bitwidth: 16 | ||||
242 | match_type: TERNARY | ||||
243 | } | ||||
244 | match_fields { | ||||
245 | id: 5 | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame^] | 246 | name: "fabric_metadata.original_ether_type" |
247 | bitwidth: 16 | ||||
248 | match_type: TERNARY | ||||
249 | } | ||||
250 | match_fields { | ||||
251 | id: 6 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 252 | name: "hdr.ethernet.dst_addr" |
253 | bitwidth: 48 | ||||
254 | match_type: TERNARY | ||||
255 | } | ||||
256 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame^] | 257 | id: 7 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 258 | name: "hdr.ethernet.src_addr" |
259 | bitwidth: 48 | ||||
260 | match_type: TERNARY | ||||
261 | } | ||||
262 | match_fields { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 263 | id: 8 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 264 | name: "hdr.vlan_tag.vlan_id" |
265 | bitwidth: 12 | ||||
266 | match_type: TERNARY | ||||
267 | } | ||||
268 | match_fields { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 269 | id: 9 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 270 | name: "hdr.ipv4.src_addr" |
271 | bitwidth: 32 | ||||
272 | match_type: TERNARY | ||||
273 | } | ||||
274 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame^] | 275 | id: 10 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 276 | name: "hdr.ipv4.dst_addr" |
277 | bitwidth: 32 | ||||
278 | match_type: TERNARY | ||||
279 | } | ||||
280 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame^] | 281 | id: 11 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 282 | name: "hdr.icmp.icmp_type" |
283 | bitwidth: 8 | ||||
284 | match_type: TERNARY | ||||
285 | } | ||||
286 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame^] | 287 | id: 12 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 288 | name: "hdr.icmp.icmp_code" |
289 | bitwidth: 8 | ||||
290 | match_type: TERNARY | ||||
291 | } | ||||
292 | action_refs { | ||||
293 | id: 16829931 | ||||
294 | } | ||||
295 | action_refs { | ||||
296 | id: 16805452 | ||||
297 | } | ||||
298 | action_refs { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 299 | id: 16815978 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 300 | } |
301 | action_refs { | ||||
302 | id: 16819938 | ||||
303 | } | ||||
304 | const_default_action_id: 16819938 | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 305 | size: 256 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 306 | } |
307 | tables { | ||||
308 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 309 | id: 33615740 |
310 | name: "next.simple" | ||||
311 | alias: "simple" | ||||
312 | } | ||||
313 | match_fields { | ||||
314 | id: 1 | ||||
315 | name: "fabric_metadata.next_id" | ||||
316 | bitwidth: 32 | ||||
317 | match_type: EXACT | ||||
318 | } | ||||
319 | action_refs { | ||||
320 | id: 16818315 | ||||
321 | } | ||||
322 | action_refs { | ||||
323 | id: 16837690 | ||||
324 | } | ||||
325 | action_refs { | ||||
326 | id: 16804266 | ||||
327 | } | ||||
328 | action_refs { | ||||
329 | id: 16800567 | ||||
330 | annotations: "@defaultonly()" | ||||
331 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 332 | size: 1024 |
333 | } | ||||
334 | tables { | ||||
335 | preamble { | ||||
336 | id: 33569488 | ||||
337 | name: "next.hashed" | ||||
338 | alias: "hashed" | ||||
339 | } | ||||
340 | match_fields { | ||||
341 | id: 1 | ||||
342 | name: "fabric_metadata.next_id" | ||||
343 | bitwidth: 32 | ||||
344 | match_type: EXACT | ||||
345 | } | ||||
346 | action_refs { | ||||
347 | id: 16804266 | ||||
348 | } | ||||
349 | action_refs { | ||||
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 350 | id: 16841192 |
351 | } | ||||
352 | action_refs { | ||||
353 | id: 16788519 | ||||
354 | } | ||||
355 | action_refs { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 356 | id: 16800567 |
357 | annotations: "@defaultonly()" | ||||
358 | } | ||||
359 | implementation_id: 285225078 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 360 | size: 1024 |
361 | } | ||||
362 | tables { | ||||
363 | preamble { | ||||
364 | id: 33608545 | ||||
365 | name: "next.broadcast" | ||||
366 | alias: "broadcast" | ||||
367 | } | ||||
368 | match_fields { | ||||
369 | id: 1 | ||||
370 | name: "fabric_metadata.next_id" | ||||
371 | bitwidth: 32 | ||||
372 | match_type: EXACT | ||||
373 | } | ||||
374 | action_refs { | ||||
375 | id: 16778974 | ||||
376 | } | ||||
377 | action_refs { | ||||
378 | id: 16800567 | ||||
379 | annotations: "@defaultonly()" | ||||
380 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 381 | size: 1024 |
382 | } | ||||
383 | actions { | ||||
384 | preamble { | ||||
385 | id: 16819938 | ||||
386 | name: "nop" | ||||
387 | alias: "nop" | ||||
388 | } | ||||
389 | } | ||||
390 | actions { | ||||
391 | preamble { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 392 | id: 16800567 |
393 | name: "NoAction" | ||||
394 | alias: "NoAction" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 395 | } |
396 | } | ||||
397 | actions { | ||||
398 | preamble { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 399 | id: 16826365 |
400 | name: "filtering.drop" | ||||
401 | alias: "filtering.drop" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 402 | } |
403 | } | ||||
404 | actions { | ||||
405 | preamble { | ||||
406 | id: 16782367 | ||||
407 | name: "filtering.set_vlan" | ||||
408 | alias: "set_vlan" | ||||
409 | } | ||||
410 | params { | ||||
411 | id: 1 | ||||
412 | name: "new_vlan_id" | ||||
413 | bitwidth: 12 | ||||
414 | } | ||||
415 | } | ||||
416 | actions { | ||||
417 | preamble { | ||||
418 | id: 16794505 | ||||
419 | name: "filtering.push_internal_vlan" | ||||
420 | alias: "push_internal_vlan" | ||||
421 | } | ||||
422 | params { | ||||
423 | id: 1 | ||||
424 | name: "new_vlan_id" | ||||
425 | bitwidth: 12 | ||||
426 | } | ||||
427 | } | ||||
428 | actions { | ||||
429 | preamble { | ||||
430 | id: 16838162 | ||||
431 | name: "filtering.set_forwarding_type" | ||||
432 | alias: "set_forwarding_type" | ||||
433 | } | ||||
434 | params { | ||||
435 | id: 1 | ||||
436 | name: "fwd_type" | ||||
437 | bitwidth: 3 | ||||
438 | } | ||||
439 | } | ||||
440 | actions { | ||||
441 | preamble { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 442 | id: 16815978 |
443 | name: "forwarding.drop" | ||||
444 | alias: "forwarding.drop" | ||||
445 | } | ||||
446 | } | ||||
447 | actions { | ||||
448 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 449 | id: 16829931 |
450 | name: "forwarding.set_next_id" | ||||
451 | alias: "set_next_id" | ||||
452 | } | ||||
453 | params { | ||||
454 | id: 1 | ||||
455 | name: "next_id" | ||||
456 | bitwidth: 32 | ||||
457 | } | ||||
458 | } | ||||
459 | actions { | ||||
460 | preamble { | ||||
461 | id: 16842717 | ||||
462 | name: "forwarding.pop_mpls_and_next" | ||||
463 | alias: "pop_mpls_and_next" | ||||
464 | } | ||||
465 | params { | ||||
466 | id: 1 | ||||
467 | name: "next_id" | ||||
468 | bitwidth: 32 | ||||
469 | } | ||||
470 | } | ||||
471 | actions { | ||||
472 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 473 | id: 16805452 |
474 | name: "forwarding.duplicate_to_controller" | ||||
475 | alias: "duplicate_to_controller" | ||||
476 | } | ||||
477 | } | ||||
478 | actions { | ||||
479 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 480 | id: 16818315 |
481 | name: "next.output" | ||||
482 | alias: "output" | ||||
483 | } | ||||
484 | params { | ||||
485 | id: 1 | ||||
486 | name: "port_num" | ||||
487 | bitwidth: 9 | ||||
488 | } | ||||
489 | } | ||||
490 | actions { | ||||
491 | preamble { | ||||
492 | id: 16837690 | ||||
493 | name: "next.set_vlan_output" | ||||
494 | alias: "set_vlan_output" | ||||
495 | } | ||||
496 | params { | ||||
497 | id: 1 | ||||
498 | name: "new_vlan_id" | ||||
499 | bitwidth: 12 | ||||
500 | } | ||||
501 | params { | ||||
502 | id: 2 | ||||
503 | name: "port_num" | ||||
504 | bitwidth: 9 | ||||
505 | } | ||||
506 | } | ||||
507 | actions { | ||||
508 | preamble { | ||||
509 | id: 16804266 | ||||
510 | name: "next.l3_routing" | ||||
511 | alias: "l3_routing" | ||||
512 | } | ||||
513 | params { | ||||
514 | id: 1 | ||||
515 | name: "port_num" | ||||
516 | bitwidth: 9 | ||||
517 | } | ||||
518 | params { | ||||
519 | id: 2 | ||||
520 | name: "smac" | ||||
521 | bitwidth: 48 | ||||
522 | } | ||||
523 | params { | ||||
524 | id: 3 | ||||
525 | name: "dmac" | ||||
526 | bitwidth: 48 | ||||
527 | } | ||||
528 | } | ||||
529 | actions { | ||||
530 | preamble { | ||||
531 | id: 16778974 | ||||
532 | name: "next.set_mcast_group" | ||||
533 | alias: "set_mcast_group" | ||||
534 | } | ||||
535 | params { | ||||
536 | id: 1 | ||||
537 | name: "gid" | ||||
538 | bitwidth: 16 | ||||
539 | } | ||||
540 | params { | ||||
541 | id: 2 | ||||
542 | name: "smac" | ||||
543 | bitwidth: 48 | ||||
544 | } | ||||
545 | } | ||||
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 546 | actions { |
547 | preamble { | ||||
548 | id: 16841192 | ||||
549 | name: "next.mpls_routing_v4" | ||||
550 | alias: "mpls_routing_v4" | ||||
551 | } | ||||
552 | params { | ||||
553 | id: 1 | ||||
554 | name: "port_num" | ||||
555 | bitwidth: 9 | ||||
556 | } | ||||
557 | params { | ||||
558 | id: 2 | ||||
559 | name: "smac" | ||||
560 | bitwidth: 48 | ||||
561 | } | ||||
562 | params { | ||||
563 | id: 3 | ||||
564 | name: "dmac" | ||||
565 | bitwidth: 48 | ||||
566 | } | ||||
567 | params { | ||||
568 | id: 4 | ||||
569 | name: "label" | ||||
570 | bitwidth: 20 | ||||
571 | } | ||||
572 | } | ||||
573 | actions { | ||||
574 | preamble { | ||||
575 | id: 16788519 | ||||
576 | name: "next.mpls_routing_v6" | ||||
577 | alias: "mpls_routing_v6" | ||||
578 | } | ||||
579 | params { | ||||
580 | id: 1 | ||||
581 | name: "port_num" | ||||
582 | bitwidth: 9 | ||||
583 | } | ||||
584 | params { | ||||
585 | id: 2 | ||||
586 | name: "smac" | ||||
587 | bitwidth: 48 | ||||
588 | } | ||||
589 | params { | ||||
590 | id: 3 | ||||
591 | name: "dmac" | ||||
592 | bitwidth: 48 | ||||
593 | } | ||||
594 | params { | ||||
595 | id: 4 | ||||
596 | name: "label" | ||||
597 | bitwidth: 20 | ||||
598 | } | ||||
599 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 600 | action_profiles { |
601 | preamble { | ||||
602 | id: 285225078 | ||||
603 | name: "next.ecmp_selector" | ||||
604 | alias: "ecmp_selector" | ||||
605 | } | ||||
606 | table_ids: 33569488 | ||||
607 | with_selector: true | ||||
608 | size: 64 | ||||
609 | } | ||||
610 | counters { | ||||
611 | preamble { | ||||
612 | id: 302025528 | ||||
613 | name: "port_counters_control.egress_port_counter" | ||||
614 | alias: "egress_port_counter" | ||||
615 | } | ||||
616 | spec { | ||||
617 | unit: PACKETS | ||||
618 | } | ||||
619 | size: 511 | ||||
620 | } | ||||
621 | counters { | ||||
622 | preamble { | ||||
623 | id: 301999025 | ||||
624 | name: "port_counters_control.ingress_port_counter" | ||||
625 | alias: "ingress_port_counter" | ||||
626 | } | ||||
627 | spec { | ||||
628 | unit: PACKETS | ||||
629 | } | ||||
630 | size: 511 | ||||
631 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 632 | controller_packet_metadata { |
633 | preamble { | ||||
634 | id: 2868941301 | ||||
635 | name: "packet_in" | ||||
636 | annotations: "@controller_header(\"packet_in\")" | ||||
637 | } | ||||
638 | metadata { | ||||
639 | id: 1 | ||||
640 | name: "ingress_port" | ||||
641 | bitwidth: 9 | ||||
642 | } | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 643 | metadata { |
644 | id: 2 | ||||
645 | name: "_pad" | ||||
646 | bitwidth: 7 | ||||
647 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 648 | } |
649 | controller_packet_metadata { | ||||
650 | preamble { | ||||
651 | id: 2868916615 | ||||
652 | name: "packet_out" | ||||
653 | annotations: "@controller_header(\"packet_out\")" | ||||
654 | } | ||||
655 | metadata { | ||||
656 | id: 1 | ||||
657 | name: "egress_port" | ||||
658 | bitwidth: 9 | ||||
659 | } | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 660 | metadata { |
661 | id: 2 | ||||
662 | name: "_pad" | ||||
663 | bitwidth: 7 | ||||
664 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 665 | } |