Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 1 | tables { |
2 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 3 | id: 33611649 |
4 | name: "FabricIngress.filtering.ingress_port_vlan" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 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 { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 26 | id: 16835546 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 27 | } |
28 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 29 | id: 16793253 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 30 | } |
31 | action_refs { | ||||
32 | id: 16819938 | ||||
33 | } | ||||
34 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 35 | id: 16798734 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 36 | } |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 37 | const_default_action_id: 16819938 |
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 38 | direct_resource_ids: 302038285 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 39 | size: 1024 |
40 | } | ||||
41 | tables { | ||||
42 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 43 | id: 33596298 |
44 | name: "FabricIngress.filtering.fwd_classifier" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 45 | alias: "fwd_classifier" |
46 | } | ||||
47 | match_fields { | ||||
48 | id: 1 | ||||
49 | name: "standard_metadata.ingress_port" | ||||
50 | bitwidth: 9 | ||||
51 | match_type: EXACT | ||||
52 | } | ||||
53 | match_fields { | ||||
54 | id: 2 | ||||
55 | name: "hdr.ethernet.dst_addr" | ||||
56 | bitwidth: 48 | ||||
57 | match_type: EXACT | ||||
58 | } | ||||
59 | match_fields { | ||||
60 | id: 3 | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 61 | name: "fabric_metadata.original_ether_type" |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 62 | bitwidth: 16 |
63 | match_type: EXACT | ||||
64 | } | ||||
65 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 66 | id: 16840921 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 67 | } |
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 68 | const_default_action_id: 16840921 |
69 | direct_resource_ids: 302050110 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 70 | size: 1024 |
71 | } | ||||
72 | tables { | ||||
73 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 74 | id: 33596749 |
75 | name: "FabricIngress.forwarding.bridging" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 76 | alias: "bridging" |
77 | } | ||||
78 | match_fields { | ||||
79 | id: 1 | ||||
80 | name: "hdr.vlan_tag.vlan_id" | ||||
81 | bitwidth: 12 | ||||
82 | match_type: EXACT | ||||
83 | } | ||||
84 | match_fields { | ||||
85 | id: 2 | ||||
86 | name: "hdr.ethernet.dst_addr" | ||||
87 | bitwidth: 48 | ||||
88 | match_type: TERNARY | ||||
89 | } | ||||
90 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 91 | id: 16839692 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 92 | } |
93 | action_refs { | ||||
94 | id: 16800567 | ||||
95 | annotations: "@defaultonly()" | ||||
96 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 97 | direct_resource_ids: 301993073 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 98 | size: 1024 |
99 | } | ||||
100 | tables { | ||||
101 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 102 | id: 33574274 |
103 | name: "FabricIngress.forwarding.mpls" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 104 | alias: "mpls" |
105 | } | ||||
106 | match_fields { | ||||
107 | id: 1 | ||||
108 | name: "hdr.mpls.label" | ||||
109 | bitwidth: 20 | ||||
110 | match_type: EXACT | ||||
111 | } | ||||
112 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 113 | id: 16827758 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 114 | } |
115 | action_refs { | ||||
116 | id: 16800567 | ||||
117 | annotations: "@defaultonly()" | ||||
118 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 119 | direct_resource_ids: 302053291 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 120 | size: 1024 |
121 | } | ||||
122 | tables { | ||||
123 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 124 | id: 33586372 |
125 | name: "FabricIngress.forwarding.unicast_v4" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 126 | alias: "unicast_v4" |
127 | } | ||||
128 | match_fields { | ||||
129 | id: 1 | ||||
130 | name: "hdr.ipv4.dst_addr" | ||||
131 | bitwidth: 32 | ||||
132 | match_type: LPM | ||||
133 | } | ||||
134 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 135 | id: 16839692 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 136 | } |
137 | action_refs { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 138 | id: 16800567 |
139 | annotations: "@defaultonly()" | ||||
140 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 141 | direct_resource_ids: 301991276 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 142 | size: 1024 |
143 | } | ||||
144 | tables { | ||||
145 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 146 | id: 33578363 |
147 | name: "FabricIngress.forwarding.multicast_v4" | ||||
148 | alias: "multicast_v4" | ||||
149 | } | ||||
150 | match_fields { | ||||
151 | id: 1 | ||||
152 | name: "hdr.vlan_tag.vlan_id" | ||||
153 | bitwidth: 12 | ||||
154 | match_type: EXACT | ||||
155 | } | ||||
156 | match_fields { | ||||
157 | id: 2 | ||||
158 | name: "hdr.ipv4.dst_addr" | ||||
159 | bitwidth: 32 | ||||
160 | match_type: LPM | ||||
161 | } | ||||
162 | action_refs { | ||||
163 | id: 16839692 | ||||
164 | } | ||||
165 | action_refs { | ||||
166 | id: 16800567 | ||||
167 | annotations: "@defaultonly()" | ||||
168 | } | ||||
169 | direct_resource_ids: 302020680 | ||||
170 | size: 1024 | ||||
171 | } | ||||
172 | tables { | ||||
173 | preamble { | ||||
174 | id: 33568751 | ||||
175 | name: "FabricIngress.forwarding.unicast_v6" | ||||
176 | alias: "unicast_v6" | ||||
177 | } | ||||
178 | match_fields { | ||||
179 | id: 1 | ||||
180 | name: "hdr.ipv6.dst_addr" | ||||
181 | bitwidth: 128 | ||||
182 | match_type: LPM | ||||
183 | } | ||||
184 | action_refs { | ||||
185 | id: 16839692 | ||||
186 | } | ||||
187 | action_refs { | ||||
188 | id: 16800567 | ||||
189 | annotations: "@defaultonly()" | ||||
190 | } | ||||
191 | direct_resource_ids: 302043649 | ||||
192 | size: 1024 | ||||
193 | } | ||||
194 | tables { | ||||
195 | preamble { | ||||
196 | id: 33581295 | ||||
197 | name: "FabricIngress.forwarding.multicast_v6" | ||||
198 | alias: "multicast_v6" | ||||
199 | } | ||||
200 | match_fields { | ||||
201 | id: 1 | ||||
202 | name: "hdr.vlan_tag.vlan_id" | ||||
203 | bitwidth: 12 | ||||
204 | match_type: EXACT | ||||
205 | } | ||||
206 | match_fields { | ||||
207 | id: 2 | ||||
208 | name: "hdr.ipv6.dst_addr" | ||||
209 | bitwidth: 128 | ||||
210 | match_type: LPM | ||||
211 | } | ||||
212 | action_refs { | ||||
213 | id: 16839692 | ||||
214 | } | ||||
215 | action_refs { | ||||
216 | id: 16800567 | ||||
217 | annotations: "@defaultonly()" | ||||
218 | } | ||||
219 | direct_resource_ids: 302038094 | ||||
220 | size: 1024 | ||||
221 | } | ||||
222 | tables { | ||||
223 | preamble { | ||||
224 | id: 33574876 | ||||
225 | name: "FabricIngress.forwarding.acl" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 226 | alias: "acl" |
227 | } | ||||
228 | match_fields { | ||||
229 | id: 1 | ||||
230 | name: "standard_metadata.ingress_port" | ||||
231 | bitwidth: 9 | ||||
232 | match_type: TERNARY | ||||
233 | } | ||||
234 | match_fields { | ||||
235 | id: 2 | ||||
236 | name: "fabric_metadata.ip_proto" | ||||
237 | bitwidth: 8 | ||||
238 | match_type: TERNARY | ||||
239 | } | ||||
240 | match_fields { | ||||
241 | id: 3 | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 242 | name: "fabric_metadata.l4_src_port" |
243 | bitwidth: 16 | ||||
244 | match_type: TERNARY | ||||
245 | } | ||||
246 | match_fields { | ||||
247 | id: 4 | ||||
248 | name: "fabric_metadata.l4_dst_port" | ||||
249 | bitwidth: 16 | ||||
250 | match_type: TERNARY | ||||
251 | } | ||||
252 | match_fields { | ||||
253 | id: 5 | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame] | 254 | name: "fabric_metadata.original_ether_type" |
255 | bitwidth: 16 | ||||
256 | match_type: TERNARY | ||||
257 | } | ||||
258 | match_fields { | ||||
259 | id: 6 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 260 | name: "hdr.ethernet.dst_addr" |
261 | bitwidth: 48 | ||||
262 | match_type: TERNARY | ||||
263 | } | ||||
264 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame] | 265 | id: 7 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 266 | name: "hdr.ethernet.src_addr" |
267 | bitwidth: 48 | ||||
268 | match_type: TERNARY | ||||
269 | } | ||||
270 | match_fields { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 271 | id: 8 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 272 | name: "hdr.vlan_tag.vlan_id" |
273 | bitwidth: 12 | ||||
274 | match_type: TERNARY | ||||
275 | } | ||||
276 | match_fields { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 277 | id: 9 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 278 | name: "hdr.ipv4.src_addr" |
279 | bitwidth: 32 | ||||
280 | match_type: TERNARY | ||||
281 | } | ||||
282 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame] | 283 | id: 10 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 284 | name: "hdr.ipv4.dst_addr" |
285 | bitwidth: 32 | ||||
286 | match_type: TERNARY | ||||
287 | } | ||||
288 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame] | 289 | id: 11 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 290 | name: "hdr.icmp.icmp_type" |
291 | bitwidth: 8 | ||||
292 | match_type: TERNARY | ||||
293 | } | ||||
294 | match_fields { | ||||
Yi Tseng | c6844f5 | 2017-12-19 11:58:25 -0800 | [diff] [blame] | 295 | id: 12 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 296 | name: "hdr.icmp.icmp_code" |
297 | bitwidth: 8 | ||||
298 | match_type: TERNARY | ||||
299 | } | ||||
300 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 301 | id: 16839692 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 302 | } |
303 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 304 | id: 16801739 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 305 | } |
306 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 307 | id: 16833260 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 308 | } |
309 | action_refs { | ||||
310 | id: 16819938 | ||||
311 | } | ||||
312 | const_default_action_id: 16819938 | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 313 | direct_resource_ids: 301995056 |
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 314 | size: 256 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 315 | } |
316 | tables { | ||||
317 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 318 | id: 33571723 |
319 | name: "FabricIngress.next.simple" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 320 | alias: "simple" |
321 | } | ||||
322 | match_fields { | ||||
323 | id: 1 | ||||
324 | name: "fabric_metadata.next_id" | ||||
325 | bitwidth: 32 | ||||
326 | match_type: EXACT | ||||
327 | } | ||||
328 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 329 | id: 16832750 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 330 | } |
331 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 332 | id: 16808391 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 333 | } |
334 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 335 | id: 16812135 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 336 | } |
337 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 338 | id: 16780811 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 339 | } |
340 | action_refs { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 341 | id: 16800567 |
342 | annotations: "@defaultonly()" | ||||
343 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 344 | direct_resource_ids: 301991880 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 345 | size: 1024 |
346 | } | ||||
347 | tables { | ||||
348 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 349 | id: 33608588 |
350 | name: "FabricIngress.next.hashed" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 351 | alias: "hashed" |
352 | } | ||||
353 | match_fields { | ||||
354 | id: 1 | ||||
355 | name: "fabric_metadata.next_id" | ||||
356 | bitwidth: 32 | ||||
357 | match_type: EXACT | ||||
358 | } | ||||
359 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 360 | id: 16812135 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 361 | } |
362 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 363 | id: 16780811 |
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 364 | } |
365 | action_refs { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 366 | id: 16827088 |
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 367 | } |
368 | action_refs { | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 369 | id: 16800567 |
370 | annotations: "@defaultonly()" | ||||
371 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 372 | implementation_id: 285233747 |
373 | direct_resource_ids: 302023316 | ||||
374 | size: 1024 | ||||
375 | } | ||||
376 | tables { | ||||
377 | preamble { | ||||
378 | id: 33606828 | ||||
379 | name: "FabricIngress.next.multicast" | ||||
380 | alias: "multicast" | ||||
381 | } | ||||
382 | match_fields { | ||||
383 | id: 1 | ||||
384 | name: "fabric_metadata.next_id" | ||||
385 | bitwidth: 32 | ||||
386 | match_type: EXACT | ||||
387 | } | ||||
388 | action_refs { | ||||
389 | id: 16789575 | ||||
390 | } | ||||
391 | action_refs { | ||||
392 | id: 16800567 | ||||
393 | annotations: "@defaultonly()" | ||||
394 | } | ||||
395 | direct_resource_ids: 302024536 | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 396 | size: 1024 |
397 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 398 | actions { |
399 | preamble { | ||||
400 | id: 16819938 | ||||
401 | name: "nop" | ||||
402 | alias: "nop" | ||||
403 | } | ||||
404 | } | ||||
405 | actions { | ||||
406 | preamble { | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 407 | id: 16800567 |
408 | name: "NoAction" | ||||
409 | alias: "NoAction" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 410 | } |
411 | } | ||||
412 | actions { | ||||
413 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 414 | id: 16798734 |
415 | name: "FabricIngress.filtering.drop" | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 416 | alias: "filtering.drop" |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 417 | } |
418 | } | ||||
419 | actions { | ||||
420 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 421 | id: 16793253 |
422 | name: "FabricIngress.filtering.set_vlan" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 423 | alias: "set_vlan" |
424 | } | ||||
425 | params { | ||||
426 | id: 1 | ||||
427 | name: "new_vlan_id" | ||||
428 | bitwidth: 12 | ||||
429 | } | ||||
430 | } | ||||
431 | actions { | ||||
432 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 433 | id: 16835546 |
434 | name: "FabricIngress.filtering.push_internal_vlan" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 435 | alias: "push_internal_vlan" |
436 | } | ||||
437 | params { | ||||
438 | id: 1 | ||||
439 | name: "new_vlan_id" | ||||
440 | bitwidth: 12 | ||||
441 | } | ||||
442 | } | ||||
443 | actions { | ||||
444 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 445 | id: 16840921 |
446 | name: "FabricIngress.filtering.set_forwarding_type" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 447 | alias: "set_forwarding_type" |
448 | } | ||||
449 | params { | ||||
450 | id: 1 | ||||
451 | name: "fwd_type" | ||||
452 | bitwidth: 3 | ||||
453 | } | ||||
454 | } | ||||
455 | actions { | ||||
456 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 457 | id: 16833260 |
458 | name: "FabricIngress.forwarding.drop" | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 459 | alias: "forwarding.drop" |
460 | } | ||||
461 | } | ||||
462 | actions { | ||||
463 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 464 | id: 16839692 |
465 | name: "FabricIngress.forwarding.set_next_id" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 466 | alias: "set_next_id" |
467 | } | ||||
468 | params { | ||||
469 | id: 1 | ||||
470 | name: "next_id" | ||||
471 | bitwidth: 32 | ||||
472 | } | ||||
473 | } | ||||
474 | actions { | ||||
475 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 476 | id: 16827758 |
477 | name: "FabricIngress.forwarding.pop_mpls_and_next" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 478 | alias: "pop_mpls_and_next" |
479 | } | ||||
480 | params { | ||||
481 | id: 1 | ||||
482 | name: "next_id" | ||||
483 | bitwidth: 32 | ||||
484 | } | ||||
485 | } | ||||
486 | actions { | ||||
487 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 488 | id: 16801739 |
489 | name: "FabricIngress.forwarding.duplicate_to_controller" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 490 | alias: "duplicate_to_controller" |
491 | } | ||||
492 | } | ||||
493 | actions { | ||||
494 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 495 | id: 16832750 |
496 | name: "FabricIngress.next.output" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 497 | alias: "output" |
498 | } | ||||
499 | params { | ||||
500 | id: 1 | ||||
501 | name: "port_num" | ||||
502 | bitwidth: 9 | ||||
503 | } | ||||
504 | } | ||||
505 | actions { | ||||
506 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 507 | id: 16808391 |
508 | name: "FabricIngress.next.set_vlan_output" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 509 | alias: "set_vlan_output" |
510 | } | ||||
511 | params { | ||||
512 | id: 1 | ||||
513 | name: "new_vlan_id" | ||||
514 | bitwidth: 12 | ||||
515 | } | ||||
516 | params { | ||||
517 | id: 2 | ||||
518 | name: "port_num" | ||||
519 | bitwidth: 9 | ||||
520 | } | ||||
521 | } | ||||
522 | actions { | ||||
523 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 524 | id: 16812135 |
525 | name: "FabricIngress.next.l3_routing" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 526 | alias: "l3_routing" |
527 | } | ||||
528 | params { | ||||
529 | id: 1 | ||||
530 | name: "port_num" | ||||
531 | bitwidth: 9 | ||||
532 | } | ||||
533 | params { | ||||
534 | id: 2 | ||||
535 | name: "smac" | ||||
536 | bitwidth: 48 | ||||
537 | } | ||||
538 | params { | ||||
539 | id: 3 | ||||
540 | name: "dmac" | ||||
541 | bitwidth: 48 | ||||
542 | } | ||||
543 | } | ||||
544 | actions { | ||||
545 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 546 | id: 16780811 |
547 | name: "FabricIngress.next.mpls_routing_v4" | ||||
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 548 | alias: "mpls_routing_v4" |
549 | } | ||||
550 | params { | ||||
551 | id: 1 | ||||
552 | name: "port_num" | ||||
553 | bitwidth: 9 | ||||
554 | } | ||||
555 | params { | ||||
556 | id: 2 | ||||
557 | name: "smac" | ||||
558 | bitwidth: 48 | ||||
559 | } | ||||
560 | params { | ||||
561 | id: 3 | ||||
562 | name: "dmac" | ||||
563 | bitwidth: 48 | ||||
564 | } | ||||
565 | params { | ||||
566 | id: 4 | ||||
567 | name: "label" | ||||
568 | bitwidth: 20 | ||||
569 | } | ||||
570 | } | ||||
571 | actions { | ||||
572 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 573 | id: 16827088 |
574 | name: "FabricIngress.next.mpls_routing_v6" | ||||
Yi Tseng | 1b154bd | 2017-11-20 17:48:19 -0800 | [diff] [blame] | 575 | alias: "mpls_routing_v6" |
576 | } | ||||
577 | params { | ||||
578 | id: 1 | ||||
579 | name: "port_num" | ||||
580 | bitwidth: 9 | ||||
581 | } | ||||
582 | params { | ||||
583 | id: 2 | ||||
584 | name: "smac" | ||||
585 | bitwidth: 48 | ||||
586 | } | ||||
587 | params { | ||||
588 | id: 3 | ||||
589 | name: "dmac" | ||||
590 | bitwidth: 48 | ||||
591 | } | ||||
592 | params { | ||||
593 | id: 4 | ||||
594 | name: "label" | ||||
595 | bitwidth: 20 | ||||
596 | } | ||||
597 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 598 | actions { |
599 | preamble { | ||||
600 | id: 16789575 | ||||
601 | name: "FabricIngress.next.set_mcast_group" | ||||
602 | alias: "set_mcast_group" | ||||
603 | } | ||||
604 | params { | ||||
605 | id: 1 | ||||
606 | name: "gid" | ||||
607 | bitwidth: 16 | ||||
608 | } | ||||
609 | params { | ||||
610 | id: 2 | ||||
611 | name: "smac" | ||||
612 | bitwidth: 48 | ||||
613 | } | ||||
614 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 615 | action_profiles { |
616 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 617 | id: 285233747 |
618 | name: "FabricIngress.next.ecmp_selector" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 619 | alias: "ecmp_selector" |
620 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 621 | table_ids: 33608588 |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 622 | with_selector: true |
623 | size: 64 | ||||
624 | } | ||||
625 | counters { | ||||
626 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 627 | id: 302011205 |
628 | name: "FabricIngress.port_counters_control.egress_port_counter" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 629 | alias: "egress_port_counter" |
630 | } | ||||
631 | spec { | ||||
Yi Tseng | 3d3956d | 2018-01-31 17:28:05 -0800 | [diff] [blame] | 632 | unit: BOTH |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 633 | } |
634 | size: 511 | ||||
635 | } | ||||
636 | counters { | ||||
637 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 638 | id: 302002771 |
639 | name: "FabricIngress.port_counters_control.ingress_port_counter" | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 640 | alias: "ingress_port_counter" |
641 | } | ||||
642 | spec { | ||||
Yi Tseng | 3d3956d | 2018-01-31 17:28:05 -0800 | [diff] [blame] | 643 | unit: BOTH |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 644 | } |
645 | size: 511 | ||||
646 | } | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 647 | direct_counters { |
648 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 649 | id: 302038285 |
650 | name: "FabricIngress.filtering.ingress_port_vlan_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 651 | alias: "ingress_port_vlan_counter" |
652 | } | ||||
653 | spec { | ||||
654 | unit: BOTH | ||||
655 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 656 | direct_table_id: 33611649 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 657 | } |
658 | direct_counters { | ||||
659 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 660 | id: 302050110 |
661 | name: "FabricIngress.filtering.fwd_classifier_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 662 | alias: "fwd_classifier_counter" |
663 | } | ||||
664 | spec { | ||||
665 | unit: BOTH | ||||
666 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 667 | direct_table_id: 33596298 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 668 | } |
669 | direct_counters { | ||||
670 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 671 | id: 301993073 |
672 | name: "FabricIngress.forwarding.bridging_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 673 | alias: "bridging_counter" |
674 | } | ||||
675 | spec { | ||||
676 | unit: BOTH | ||||
677 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 678 | direct_table_id: 33596749 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 679 | } |
680 | direct_counters { | ||||
681 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 682 | id: 302053291 |
683 | name: "FabricIngress.forwarding.mpls_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 684 | alias: "mpls_counter" |
685 | } | ||||
686 | spec { | ||||
687 | unit: BOTH | ||||
688 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 689 | direct_table_id: 33574274 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 690 | } |
691 | direct_counters { | ||||
692 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 693 | id: 301991276 |
694 | name: "FabricIngress.forwarding.unicast_v4_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 695 | alias: "unicast_v4_counter" |
696 | } | ||||
697 | spec { | ||||
698 | unit: BOTH | ||||
699 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 700 | direct_table_id: 33586372 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 701 | } |
702 | direct_counters { | ||||
703 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 704 | id: 302020680 |
705 | name: "FabricIngress.forwarding.multicast_v4_counter" | ||||
706 | alias: "multicast_v4_counter" | ||||
707 | } | ||||
708 | spec { | ||||
709 | unit: BOTH | ||||
710 | } | ||||
711 | direct_table_id: 33578363 | ||||
712 | } | ||||
713 | direct_counters { | ||||
714 | preamble { | ||||
715 | id: 302043649 | ||||
716 | name: "FabricIngress.forwarding.unicast_v6_counter" | ||||
717 | alias: "unicast_v6_counter" | ||||
718 | } | ||||
719 | spec { | ||||
720 | unit: BOTH | ||||
721 | } | ||||
722 | direct_table_id: 33568751 | ||||
723 | } | ||||
724 | direct_counters { | ||||
725 | preamble { | ||||
726 | id: 302038094 | ||||
727 | name: "FabricIngress.forwarding.multicast_v6_counter" | ||||
728 | alias: "multicast_v6_counter" | ||||
729 | } | ||||
730 | spec { | ||||
731 | unit: BOTH | ||||
732 | } | ||||
733 | direct_table_id: 33581295 | ||||
734 | } | ||||
735 | direct_counters { | ||||
736 | preamble { | ||||
737 | id: 301995056 | ||||
738 | name: "FabricIngress.forwarding.acl_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 739 | alias: "acl_counter" |
740 | } | ||||
741 | spec { | ||||
742 | unit: BOTH | ||||
743 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 744 | direct_table_id: 33574876 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 745 | } |
746 | direct_counters { | ||||
747 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 748 | id: 301991880 |
749 | name: "FabricIngress.next.simple_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 750 | alias: "simple_counter" |
751 | } | ||||
752 | spec { | ||||
753 | unit: BOTH | ||||
754 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 755 | direct_table_id: 33571723 |
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 756 | } |
757 | direct_counters { | ||||
758 | preamble { | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 759 | id: 302023316 |
760 | name: "FabricIngress.next.hashed_counter" | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 761 | alias: "hashed_counter" |
762 | } | ||||
763 | spec { | ||||
764 | unit: BOTH | ||||
765 | } | ||||
Yi Tseng | 27b9bc0 | 2018-04-12 14:52:40 +0800 | [diff] [blame] | 766 | direct_table_id: 33608588 |
767 | } | ||||
768 | direct_counters { | ||||
769 | preamble { | ||||
770 | id: 302024536 | ||||
771 | name: "FabricIngress.next.multicast_counter" | ||||
772 | alias: "multicast_counter" | ||||
773 | } | ||||
774 | spec { | ||||
775 | unit: BOTH | ||||
776 | } | ||||
777 | direct_table_id: 33606828 | ||||
Yi Tseng | 3a5731e | 2018-01-22 11:38:58 -0800 | [diff] [blame] | 778 | } |
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 779 | controller_packet_metadata { |
780 | preamble { | ||||
781 | id: 2868941301 | ||||
782 | name: "packet_in" | ||||
783 | annotations: "@controller_header(\"packet_in\")" | ||||
784 | } | ||||
785 | metadata { | ||||
786 | id: 1 | ||||
787 | name: "ingress_port" | ||||
788 | bitwidth: 9 | ||||
789 | } | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 790 | metadata { |
791 | id: 2 | ||||
792 | name: "_pad" | ||||
793 | bitwidth: 7 | ||||
794 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 795 | } |
796 | controller_packet_metadata { | ||||
797 | preamble { | ||||
798 | id: 2868916615 | ||||
799 | name: "packet_out" | ||||
800 | annotations: "@controller_header(\"packet_out\")" | ||||
801 | } | ||||
802 | metadata { | ||||
803 | id: 1 | ||||
804 | name: "egress_port" | ||||
805 | bitwidth: 9 | ||||
806 | } | ||||
Yi Tseng | 1d84267 | 2017-11-28 16:06:52 -0800 | [diff] [blame] | 807 | metadata { |
808 | id: 2 | ||||
809 | name: "_pad" | ||||
810 | bitwidth: 7 | ||||
811 | } | ||||
Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame] | 812 | } |