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 { | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 62 | id: 16822046 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 63 | } |
64 | action_refs { | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 65 | id: 16783057 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 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 | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 74 | direct_resource_ids: 318816189 |
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 | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 95 | direct_resource_ids: 352337889 |
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 { | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 111 | id: 16796092 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 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 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 118 | direct_resource_ids: 318811794 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 119 | size: 1024 |
120 | } | ||||
121 | actions { | ||||
122 | preamble { | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 123 | id: 16784184 |
124 | name: "_drop" | ||||
125 | alias: "_drop" | ||||
126 | } | ||||
127 | } | ||||
128 | actions { | ||||
129 | preamble { | ||||
130 | id: 16800567 | ||||
131 | name: "NoAction" | ||||
132 | alias: "NoAction" | ||||
133 | } | ||||
134 | } | ||||
135 | actions { | ||||
136 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 137 | id: 16777316 |
138 | name: "ingress.table0_control.set_next_hop_id" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 139 | alias: "set_next_hop_id" |
140 | } | ||||
141 | params { | ||||
142 | id: 1 | ||||
143 | name: "next_hop_id" | ||||
144 | bitwidth: 16 | ||||
145 | } | ||||
146 | } | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 147 | actions { |
148 | preamble { | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 149 | id: 16783057 |
150 | name: "ingress.table0_control.send_to_cpu" | ||||
151 | alias: "send_to_cpu" | ||||
152 | } | ||||
153 | } | ||||
154 | actions { | ||||
155 | preamble { | ||||
156 | id: 16822046 | ||||
157 | name: "ingress.table0_control.set_egress_port" | ||||
158 | alias: "table0_control.set_egress_port" | ||||
159 | } | ||||
160 | params { | ||||
161 | id: 1 | ||||
162 | name: "port" | ||||
163 | bitwidth: 9 | ||||
164 | } | ||||
165 | } | ||||
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 | } | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 173 | actions { |
174 | preamble { | ||||
175 | id: 16796092 | ||||
176 | name: "ingress.wcmp_control.set_egress_port" | ||||
177 | alias: "wcmp_control.set_egress_port" | ||||
178 | } | ||||
179 | params { | ||||
180 | id: 1 | ||||
181 | name: "port" | ||||
182 | bitwidth: 9 | ||||
183 | } | ||||
184 | } | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 185 | action_profiles { |
186 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 187 | id: 285253634 |
188 | name: "ingress.wcmp_control.wcmp_selector" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 189 | alias: "wcmp_selector" |
190 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 191 | table_ids: 33594717 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 192 | with_selector: true |
193 | size: 64 | ||||
194 | } | ||||
195 | counters { | ||||
196 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 197 | id: 302004684 |
198 | name: "ingress.port_counters_ingress.ingress_port_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 199 | alias: "ingress_port_counter" |
200 | } | ||||
201 | spec { | ||||
202 | unit: PACKETS | ||||
203 | } | ||||
204 | size: 511 | ||||
205 | } | ||||
206 | counters { | ||||
207 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 208 | id: 302040487 |
209 | name: "egress.port_counters_egress.egress_port_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 210 | alias: "egress_port_counter" |
211 | } | ||||
212 | spec { | ||||
213 | unit: PACKETS | ||||
214 | } | ||||
215 | size: 511 | ||||
216 | } | ||||
217 | direct_counters { | ||||
218 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 219 | id: 318816189 |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 220 | name: "ingress.table0_control.table0_counter" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 221 | alias: "table0_counter" |
222 | } | ||||
223 | spec { | ||||
224 | unit: BOTH | ||||
225 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 226 | direct_table_id: 33561568 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 227 | } |
228 | direct_counters { | ||||
229 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 230 | id: 318811794 |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 231 | name: "ingress.wcmp_control.wcmp_table_counter" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 232 | alias: "wcmp_table_counter" |
233 | } | ||||
234 | spec { | ||||
235 | unit: BOTH | ||||
236 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 237 | direct_table_id: 33594717 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 238 | } |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 239 | meters { |
240 | preamble { | ||||
241 | id: 335581151 | ||||
242 | name: "ingress.port_meters_ingress.ingress_port_meter" | ||||
243 | alias: "ingress_port_meter" | ||||
244 | } | ||||
245 | spec { | ||||
246 | unit: BYTES | ||||
247 | } | ||||
248 | size: 511 | ||||
249 | } | ||||
250 | meters { | ||||
251 | preamble { | ||||
252 | id: 335569641 | ||||
253 | name: "egress.port_meters_egress.egress_port_meter" | ||||
254 | alias: "egress_port_meter" | ||||
255 | } | ||||
256 | spec { | ||||
257 | unit: BYTES | ||||
258 | } | ||||
259 | size: 511 | ||||
260 | } | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 261 | direct_meters { |
262 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 263 | id: 352337889 |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 264 | name: "ingress.host_meter_control.host_meter" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 265 | alias: "host_meter" |
266 | } | ||||
267 | spec { | ||||
268 | unit: BYTES | ||||
269 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 270 | direct_table_id: 33571781 |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 271 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 272 | controller_packet_metadata { |
273 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 274 | id: 67146229 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 275 | name: "packet_in" |
276 | annotations: "@controller_header(\"packet_in\")" | ||||
277 | } | ||||
278 | metadata { | ||||
279 | id: 1 | ||||
280 | name: "ingress_port" | ||||
281 | bitwidth: 9 | ||||
282 | } | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 283 | metadata { |
284 | id: 2 | ||||
285 | name: "_padding" | ||||
286 | bitwidth: 7 | ||||
287 | } | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 288 | } |
289 | controller_packet_metadata { | ||||
290 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 291 | id: 67121543 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 292 | name: "packet_out" |
293 | annotations: "@controller_header(\"packet_out\")" | ||||
294 | } | ||||
295 | metadata { | ||||
296 | id: 1 | ||||
297 | name: "egress_port" | ||||
298 | bitwidth: 9 | ||||
299 | } | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 300 | metadata { |
301 | id: 2 | ||||
302 | name: "_padding" | ||||
303 | bitwidth: 7 | ||||
304 | } | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 305 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 306 | type_info { |
307 | } |