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 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 76 | idle_timeout_behavior: NO_TIMEOUT |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 77 | } |
78 | tables { | ||||
79 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 80 | id: 33571781 |
81 | name: "ingress.host_meter_control.host_meter_table" | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 82 | alias: "host_meter_table" |
83 | } | ||||
84 | match_fields { | ||||
85 | id: 1 | ||||
86 | name: "hdr.ethernet.src_addr" | ||||
87 | bitwidth: 48 | ||||
88 | match_type: LPM | ||||
89 | } | ||||
90 | action_refs { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 91 | id: 16823832 |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 92 | } |
93 | action_refs { | ||||
94 | id: 16800567 | ||||
95 | } | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 96 | direct_resource_ids: 352337889 |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 97 | size: 1024 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 98 | idle_timeout_behavior: NO_TIMEOUT |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 99 | } |
100 | tables { | ||||
101 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 102 | id: 33594717 |
103 | name: "ingress.wcmp_control.wcmp_table" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 104 | alias: "wcmp_table" |
105 | } | ||||
106 | match_fields { | ||||
107 | id: 1 | ||||
108 | name: "local_metadata.next_hop_id" | ||||
109 | bitwidth: 16 | ||||
110 | match_type: EXACT | ||||
111 | } | ||||
112 | action_refs { | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 113 | id: 16796092 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 114 | } |
115 | action_refs { | ||||
116 | id: 16800567 | ||||
117 | annotations: "@defaultonly()" | ||||
118 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 119 | implementation_id: 285253634 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 120 | direct_resource_ids: 318811794 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 121 | size: 1024 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 122 | idle_timeout_behavior: NO_TIMEOUT |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 123 | } |
124 | actions { | ||||
125 | preamble { | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 126 | id: 16784184 |
127 | name: "_drop" | ||||
128 | alias: "_drop" | ||||
129 | } | ||||
130 | } | ||||
131 | actions { | ||||
132 | preamble { | ||||
133 | id: 16800567 | ||||
134 | name: "NoAction" | ||||
135 | alias: "NoAction" | ||||
136 | } | ||||
137 | } | ||||
138 | actions { | ||||
139 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 140 | id: 16777316 |
141 | name: "ingress.table0_control.set_next_hop_id" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 142 | alias: "set_next_hop_id" |
143 | } | ||||
144 | params { | ||||
145 | id: 1 | ||||
146 | name: "next_hop_id" | ||||
147 | bitwidth: 16 | ||||
148 | } | ||||
149 | } | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 150 | actions { |
151 | preamble { | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 152 | id: 16783057 |
153 | name: "ingress.table0_control.send_to_cpu" | ||||
154 | alias: "send_to_cpu" | ||||
155 | } | ||||
156 | } | ||||
157 | actions { | ||||
158 | preamble { | ||||
159 | id: 16822046 | ||||
160 | name: "ingress.table0_control.set_egress_port" | ||||
161 | alias: "table0_control.set_egress_port" | ||||
162 | } | ||||
163 | params { | ||||
164 | id: 1 | ||||
165 | name: "port" | ||||
166 | bitwidth: 9 | ||||
167 | } | ||||
168 | } | ||||
169 | actions { | ||||
170 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 171 | id: 16823832 |
172 | name: "ingress.host_meter_control.read_meter" | ||||
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 173 | alias: "read_meter" |
174 | } | ||||
175 | } | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 176 | actions { |
177 | preamble { | ||||
178 | id: 16796092 | ||||
179 | name: "ingress.wcmp_control.set_egress_port" | ||||
180 | alias: "wcmp_control.set_egress_port" | ||||
181 | } | ||||
182 | params { | ||||
183 | id: 1 | ||||
184 | name: "port" | ||||
185 | bitwidth: 9 | ||||
186 | } | ||||
187 | } | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 188 | action_profiles { |
189 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 190 | id: 285253634 |
191 | name: "ingress.wcmp_control.wcmp_selector" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 192 | alias: "wcmp_selector" |
193 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 194 | table_ids: 33594717 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 195 | with_selector: true |
196 | size: 64 | ||||
197 | } | ||||
198 | counters { | ||||
199 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 200 | id: 302004684 |
201 | name: "ingress.port_counters_ingress.ingress_port_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 202 | alias: "ingress_port_counter" |
203 | } | ||||
204 | spec { | ||||
205 | unit: PACKETS | ||||
206 | } | ||||
207 | size: 511 | ||||
208 | } | ||||
209 | counters { | ||||
210 | preamble { | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 211 | id: 302040487 |
212 | name: "egress.port_counters_egress.egress_port_counter" | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 213 | alias: "egress_port_counter" |
214 | } | ||||
215 | spec { | ||||
216 | unit: PACKETS | ||||
217 | } | ||||
218 | size: 511 | ||||
219 | } | ||||
220 | direct_counters { | ||||
221 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 222 | id: 318816189 |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 223 | name: "ingress.table0_control.table0_counter" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 224 | alias: "table0_counter" |
225 | } | ||||
226 | spec { | ||||
227 | unit: BOTH | ||||
228 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 229 | direct_table_id: 33561568 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 230 | } |
231 | direct_counters { | ||||
232 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 233 | id: 318811794 |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 234 | name: "ingress.wcmp_control.wcmp_table_counter" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 235 | alias: "wcmp_table_counter" |
236 | } | ||||
237 | spec { | ||||
238 | unit: BOTH | ||||
239 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 240 | direct_table_id: 33594717 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 241 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 242 | direct_meters { |
243 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 244 | id: 352337889 |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 245 | name: "ingress.host_meter_control.host_meter" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 246 | alias: "host_meter" |
247 | } | ||||
248 | spec { | ||||
249 | unit: BYTES | ||||
250 | } | ||||
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 251 | direct_table_id: 33571781 |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 252 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 253 | controller_packet_metadata { |
254 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 255 | id: 67146229 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 256 | name: "packet_in" |
257 | annotations: "@controller_header(\"packet_in\")" | ||||
258 | } | ||||
259 | metadata { | ||||
260 | id: 1 | ||||
261 | name: "ingress_port" | ||||
262 | bitwidth: 9 | ||||
263 | } | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 264 | metadata { |
265 | id: 2 | ||||
266 | name: "_padding" | ||||
267 | bitwidth: 7 | ||||
268 | } | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 269 | } |
270 | controller_packet_metadata { | ||||
271 | preamble { | ||||
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 272 | id: 67121543 |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 273 | name: "packet_out" |
274 | annotations: "@controller_header(\"packet_out\")" | ||||
275 | } | ||||
276 | metadata { | ||||
277 | id: 1 | ||||
278 | name: "egress_port" | ||||
279 | bitwidth: 9 | ||||
280 | } | ||||
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 281 | metadata { |
282 | id: 2 | ||||
283 | name: "_padding" | ||||
284 | bitwidth: 7 | ||||
285 | } | ||||
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 286 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 287 | type_info { |
288 | } |