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 | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 246 | name: "hdr.ethernet.dst_addr" |
247 | bitwidth: 48 | ||||
248 | match_type: TERNARY | ||||
249 | } | ||||
250 | match_fields { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 251 | id: 6 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 252 | name: "hdr.ethernet.src_addr" |
253 | bitwidth: 48 | ||||
254 | match_type: TERNARY | ||||
255 | } | ||||
256 | match_fields { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 257 | id: 7 |
258 | name: "fabric_metadata.original_ether_type" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 259 | bitwidth: 16 |
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 |
270 | name: "hdr.mpls.bos" | ||||
271 | bitwidth: 1 | ||||
272 | match_type: TERNARY | ||||
273 | } | ||||
274 | match_fields { | ||||
275 | id: 10 | ||||
276 | name: "hdr.mpls.label" | ||||
277 | bitwidth: 20 | ||||
278 | match_type: TERNARY | ||||
279 | } | ||||
280 | match_fields { | ||||
281 | id: 11 | ||||
282 | name: "hdr.ipv4.src_addr" | ||||
283 | bitwidth: 32 | ||||
284 | match_type: TERNARY | ||||
285 | } | ||||
286 | match_fields { | ||||
287 | id: 12 | ||||
288 | name: "hdr.ipv4.dst_addr" | ||||
289 | bitwidth: 32 | ||||
290 | match_type: TERNARY | ||||
291 | } | ||||
292 | match_fields { | ||||
293 | id: 13 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 294 | name: "hdr.ipv6.src_addr" |
295 | bitwidth: 128 | ||||
296 | match_type: TERNARY | ||||
297 | } | ||||
298 | match_fields { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 299 | id: 14 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 300 | name: "hdr.ipv6.dst_addr" |
301 | bitwidth: 128 | ||||
302 | match_type: TERNARY | ||||
303 | } | ||||
304 | match_fields { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 305 | id: 15 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 306 | name: "hdr.icmp.icmp_type" |
307 | bitwidth: 8 | ||||
308 | match_type: TERNARY | ||||
309 | } | ||||
310 | match_fields { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 311 | id: 16 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 312 | name: "hdr.icmp.icmp_code" |
313 | bitwidth: 8 | ||||
314 | match_type: TERNARY | ||||
315 | } | ||||
316 | action_refs { | ||||
317 | id: 16829931 | ||||
318 | } | ||||
319 | action_refs { | ||||
320 | id: 16805452 | ||||
321 | } | ||||
322 | action_refs { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 323 | id: 16815978 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 324 | } |
325 | action_refs { | ||||
326 | id: 16819938 | ||||
327 | } | ||||
328 | const_default_action_id: 16819938 | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 329 | size: 256 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 330 | } |
331 | tables { | ||||
332 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 333 | id: 33615740 |
334 | name: "next.simple" | ||||
335 | alias: "simple" | ||||
336 | } | ||||
337 | match_fields { | ||||
338 | id: 1 | ||||
339 | name: "fabric_metadata.next_id" | ||||
340 | bitwidth: 32 | ||||
341 | match_type: EXACT | ||||
342 | } | ||||
343 | action_refs { | ||||
344 | id: 16818315 | ||||
345 | } | ||||
346 | action_refs { | ||||
347 | id: 16837690 | ||||
348 | } | ||||
349 | action_refs { | ||||
350 | id: 16804266 | ||||
351 | } | ||||
352 | action_refs { | ||||
353 | id: 16800567 | ||||
354 | annotations: "@defaultonly()" | ||||
355 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 356 | size: 1024 |
357 | } | ||||
358 | tables { | ||||
359 | preamble { | ||||
360 | id: 33569488 | ||||
361 | name: "next.hashed" | ||||
362 | alias: "hashed" | ||||
363 | } | ||||
364 | match_fields { | ||||
365 | id: 1 | ||||
366 | name: "fabric_metadata.next_id" | ||||
367 | bitwidth: 32 | ||||
368 | match_type: EXACT | ||||
369 | } | ||||
370 | action_refs { | ||||
371 | id: 16804266 | ||||
372 | } | ||||
373 | action_refs { | ||||
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 374 | id: 16841192 |
375 | } | ||||
376 | action_refs { | ||||
377 | id: 16788519 | ||||
378 | } | ||||
379 | action_refs { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 380 | id: 16800567 |
381 | annotations: "@defaultonly()" | ||||
382 | } | ||||
383 | implementation_id: 285225078 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 384 | size: 1024 |
385 | } | ||||
386 | tables { | ||||
387 | preamble { | ||||
388 | id: 33608545 | ||||
389 | name: "next.broadcast" | ||||
390 | alias: "broadcast" | ||||
391 | } | ||||
392 | match_fields { | ||||
393 | id: 1 | ||||
394 | name: "fabric_metadata.next_id" | ||||
395 | bitwidth: 32 | ||||
396 | match_type: EXACT | ||||
397 | } | ||||
398 | action_refs { | ||||
399 | id: 16778974 | ||||
400 | } | ||||
401 | action_refs { | ||||
402 | id: 16800567 | ||||
403 | annotations: "@defaultonly()" | ||||
404 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 405 | size: 1024 |
406 | } | ||||
407 | actions { | ||||
408 | preamble { | ||||
409 | id: 16819938 | ||||
410 | name: "nop" | ||||
411 | alias: "nop" | ||||
412 | } | ||||
413 | } | ||||
414 | actions { | ||||
415 | preamble { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 416 | id: 16800567 |
417 | name: "NoAction" | ||||
418 | alias: "NoAction" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 419 | } |
420 | } | ||||
421 | actions { | ||||
422 | preamble { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 423 | id: 16826365 |
424 | name: "filtering.drop" | ||||
425 | alias: "filtering.drop" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 426 | } |
427 | } | ||||
428 | actions { | ||||
429 | preamble { | ||||
430 | id: 16782367 | ||||
431 | name: "filtering.set_vlan" | ||||
432 | alias: "set_vlan" | ||||
433 | } | ||||
434 | params { | ||||
435 | id: 1 | ||||
436 | name: "new_vlan_id" | ||||
437 | bitwidth: 12 | ||||
438 | } | ||||
439 | } | ||||
440 | actions { | ||||
441 | preamble { | ||||
442 | id: 16794505 | ||||
443 | name: "filtering.push_internal_vlan" | ||||
444 | alias: "push_internal_vlan" | ||||
445 | } | ||||
446 | params { | ||||
447 | id: 1 | ||||
448 | name: "new_vlan_id" | ||||
449 | bitwidth: 12 | ||||
450 | } | ||||
451 | } | ||||
452 | actions { | ||||
453 | preamble { | ||||
454 | id: 16838162 | ||||
455 | name: "filtering.set_forwarding_type" | ||||
456 | alias: "set_forwarding_type" | ||||
457 | } | ||||
458 | params { | ||||
459 | id: 1 | ||||
460 | name: "fwd_type" | ||||
461 | bitwidth: 3 | ||||
462 | } | ||||
463 | } | ||||
464 | actions { | ||||
465 | preamble { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 466 | id: 16815978 |
467 | name: "forwarding.drop" | ||||
468 | alias: "forwarding.drop" | ||||
469 | } | ||||
470 | } | ||||
471 | actions { | ||||
472 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 473 | id: 16829931 |
474 | name: "forwarding.set_next_id" | ||||
475 | alias: "set_next_id" | ||||
476 | } | ||||
477 | params { | ||||
478 | id: 1 | ||||
479 | name: "next_id" | ||||
480 | bitwidth: 32 | ||||
481 | } | ||||
482 | } | ||||
483 | actions { | ||||
484 | preamble { | ||||
485 | id: 16842717 | ||||
486 | name: "forwarding.pop_mpls_and_next" | ||||
487 | alias: "pop_mpls_and_next" | ||||
488 | } | ||||
489 | params { | ||||
490 | id: 1 | ||||
491 | name: "next_id" | ||||
492 | bitwidth: 32 | ||||
493 | } | ||||
494 | } | ||||
495 | actions { | ||||
496 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 497 | id: 16805452 |
498 | name: "forwarding.duplicate_to_controller" | ||||
499 | alias: "duplicate_to_controller" | ||||
500 | } | ||||
501 | } | ||||
502 | actions { | ||||
503 | preamble { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 504 | id: 16818315 |
505 | name: "next.output" | ||||
506 | alias: "output" | ||||
507 | } | ||||
508 | params { | ||||
509 | id: 1 | ||||
510 | name: "port_num" | ||||
511 | bitwidth: 9 | ||||
512 | } | ||||
513 | } | ||||
514 | actions { | ||||
515 | preamble { | ||||
516 | id: 16837690 | ||||
517 | name: "next.set_vlan_output" | ||||
518 | alias: "set_vlan_output" | ||||
519 | } | ||||
520 | params { | ||||
521 | id: 1 | ||||
522 | name: "new_vlan_id" | ||||
523 | bitwidth: 12 | ||||
524 | } | ||||
525 | params { | ||||
526 | id: 2 | ||||
527 | name: "port_num" | ||||
528 | bitwidth: 9 | ||||
529 | } | ||||
530 | } | ||||
531 | actions { | ||||
532 | preamble { | ||||
533 | id: 16804266 | ||||
534 | name: "next.l3_routing" | ||||
535 | alias: "l3_routing" | ||||
536 | } | ||||
537 | params { | ||||
538 | id: 1 | ||||
539 | name: "port_num" | ||||
540 | bitwidth: 9 | ||||
541 | } | ||||
542 | params { | ||||
543 | id: 2 | ||||
544 | name: "smac" | ||||
545 | bitwidth: 48 | ||||
546 | } | ||||
547 | params { | ||||
548 | id: 3 | ||||
549 | name: "dmac" | ||||
550 | bitwidth: 48 | ||||
551 | } | ||||
552 | } | ||||
553 | actions { | ||||
554 | preamble { | ||||
555 | id: 16778974 | ||||
556 | name: "next.set_mcast_group" | ||||
557 | alias: "set_mcast_group" | ||||
558 | } | ||||
559 | params { | ||||
560 | id: 1 | ||||
561 | name: "gid" | ||||
562 | bitwidth: 16 | ||||
563 | } | ||||
564 | params { | ||||
565 | id: 2 | ||||
566 | name: "smac" | ||||
567 | bitwidth: 48 | ||||
568 | } | ||||
569 | } | ||||
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 570 | actions { |
571 | preamble { | ||||
572 | id: 16841192 | ||||
573 | name: "next.mpls_routing_v4" | ||||
574 | alias: "mpls_routing_v4" | ||||
575 | } | ||||
576 | params { | ||||
577 | id: 1 | ||||
578 | name: "port_num" | ||||
579 | bitwidth: 9 | ||||
580 | } | ||||
581 | params { | ||||
582 | id: 2 | ||||
583 | name: "smac" | ||||
584 | bitwidth: 48 | ||||
585 | } | ||||
586 | params { | ||||
587 | id: 3 | ||||
588 | name: "dmac" | ||||
589 | bitwidth: 48 | ||||
590 | } | ||||
591 | params { | ||||
592 | id: 4 | ||||
593 | name: "label" | ||||
594 | bitwidth: 20 | ||||
595 | } | ||||
596 | } | ||||
597 | actions { | ||||
598 | preamble { | ||||
599 | id: 16788519 | ||||
600 | name: "next.mpls_routing_v6" | ||||
601 | alias: "mpls_routing_v6" | ||||
602 | } | ||||
603 | params { | ||||
604 | id: 1 | ||||
605 | name: "port_num" | ||||
606 | bitwidth: 9 | ||||
607 | } | ||||
608 | params { | ||||
609 | id: 2 | ||||
610 | name: "smac" | ||||
611 | bitwidth: 48 | ||||
612 | } | ||||
613 | params { | ||||
614 | id: 3 | ||||
615 | name: "dmac" | ||||
616 | bitwidth: 48 | ||||
617 | } | ||||
618 | params { | ||||
619 | id: 4 | ||||
620 | name: "label" | ||||
621 | bitwidth: 20 | ||||
622 | } | ||||
623 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 624 | action_profiles { |
625 | preamble { | ||||
626 | id: 285225078 | ||||
627 | name: "next.ecmp_selector" | ||||
628 | alias: "ecmp_selector" | ||||
629 | } | ||||
630 | table_ids: 33569488 | ||||
631 | with_selector: true | ||||
632 | size: 64 | ||||
633 | } | ||||
634 | counters { | ||||
635 | preamble { | ||||
636 | id: 302025528 | ||||
637 | name: "port_counters_control.egress_port_counter" | ||||
638 | alias: "egress_port_counter" | ||||
639 | } | ||||
640 | spec { | ||||
641 | unit: PACKETS | ||||
642 | } | ||||
643 | size: 511 | ||||
644 | } | ||||
645 | counters { | ||||
646 | preamble { | ||||
647 | id: 301999025 | ||||
648 | name: "port_counters_control.ingress_port_counter" | ||||
649 | alias: "ingress_port_counter" | ||||
650 | } | ||||
651 | spec { | ||||
652 | unit: PACKETS | ||||
653 | } | ||||
654 | size: 511 | ||||
655 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 656 | controller_packet_metadata { |
657 | preamble { | ||||
658 | id: 2868941301 | ||||
659 | name: "packet_in" | ||||
660 | annotations: "@controller_header(\"packet_in\")" | ||||
661 | } | ||||
662 | metadata { | ||||
663 | id: 1 | ||||
664 | name: "ingress_port" | ||||
665 | bitwidth: 9 | ||||
666 | } | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 667 | metadata { |
668 | id: 2 | ||||
669 | name: "_pad" | ||||
670 | bitwidth: 7 | ||||
671 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 672 | } |
673 | controller_packet_metadata { | ||||
674 | preamble { | ||||
675 | id: 2868916615 | ||||
676 | name: "packet_out" | ||||
677 | annotations: "@controller_header(\"packet_out\")" | ||||
678 | } | ||||
679 | metadata { | ||||
680 | id: 1 | ||||
681 | name: "egress_port" | ||||
682 | bitwidth: 9 | ||||
683 | } | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame^] | 684 | metadata { |
685 | id: 2 | ||||
686 | name: "_pad" | ||||
687 | bitwidth: 7 | ||||
688 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 689 | } |