blob: 9b12a532cbac3034154ce1566af95c03147ccba3 [file] [log] [blame]
Carmelo Cascone16de6db2017-08-22 00:27:57 +02001tables {
2 preamble {
3 id: 33617813
4 name: "table0"
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: "ethernet.dstAddr"
16 bitwidth: 48
17 match_type: TERNARY
18 }
19 match_fields {
20 id: 3
21 name: "ethernet.srcAddr"
22 bitwidth: 48
23 match_type: TERNARY
24 }
25 match_fields {
26 id: 4
27 name: "ethernet.etherType"
28 bitwidth: 16
29 match_type: TERNARY
30 }
31 action_refs {
32 id: 16794308
33 }
34 action_refs {
35 id: 16791212
36 }
37 action_refs {
38 id: 16829080
39 }
40 action_refs {
41 id: 16784184
42 }
43 action_refs {
44 id: 16800567
45 annotations: "@defaultonly()"
46 }
47 direct_resource_ids: 301990488
48 size: 1024
49 with_entry_timeout: true
50}
51tables {
52 preamble {
53 id: 33596222
54 name: "wcmp_group_table"
55 alias: "wcmp_group_table"
56 }
57 match_fields {
58 id: 1
59 name: "wcmp_meta.groupId"
60 bitwidth: 16
61 match_type: EXACT
62 }
63 match_fields {
64 id: 2
65 name: "wcmp_meta.selector"
66 bitwidth: 32
67 match_type: LPM
68 }
69 action_refs {
70 id: 16794308
71 }
72 action_refs {
73 id: 16800567
74 annotations: "@defaultonly()"
75 }
76 direct_resource_ids: 302006421
77 size: 1024
78}
79tables {
80 preamble {
81 id: 33613026
82 name: "wcmp_set_selector_table"
83 alias: "wcmp_set_selector_table"
84 }
85 action_refs {
86 id: 16819919
87 }
88 action_refs {
89 id: 16800567
90 annotations: "@defaultonly()"
91 }
92 size: 1024
93}
94tables {
95 preamble {
Carmelo Casconef2ac7202017-09-08 00:57:44 +020096 id: 33607247
97 name: "process_packet_out_table"
98 alias: "process_packet_out_table"
Carmelo Cascone16de6db2017-08-22 00:27:57 +020099 }
100 action_refs {
Carmelo Casconef2ac7202017-09-08 00:57:44 +0200101 id: 16798653
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200102 }
103 size: 1024
104}
105tables {
106 preamble {
107 id: 33618793
108 name: "egress_port_count_table"
109 alias: "egress_port_count_table"
110 }
111 action_refs {
112 id: 16822771
113 }
114 size: 1024
115}
116tables {
117 preamble {
118 id: 33579767
119 name: "ingress_port_count_table"
120 alias: "ingress_port_count_table"
121 }
122 action_refs {
123 id: 16837943
124 }
125 size: 1024
126}
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200127actions {
128 preamble {
129 id: 16800567
130 name: "NoAction"
131 alias: "NoAction"
132 }
133}
134actions {
135 preamble {
136 id: 16819919
137 name: "wcmp_set_selector"
138 alias: "wcmp_set_selector"
139 }
140}
141actions {
142 preamble {
143 id: 16794308
144 name: "set_egress_port"
145 alias: "set_egress_port"
146 }
147 params {
148 id: 1
149 name: "port"
150 bitwidth: 9
151 }
152}
153actions {
154 preamble {
155 id: 16791212
156 name: "wcmp_group"
157 alias: "wcmp_group"
158 }
159 params {
160 id: 1
161 name: "groupId"
162 bitwidth: 16
163 }
164}
165actions {
166 preamble {
167 id: 16829080
168 name: "send_to_cpu"
169 alias: "send_to_cpu"
170 }
171}
172actions {
173 preamble {
174 id: 16784184
175 name: "_drop"
176 alias: "_drop"
177 }
178}
179actions {
180 preamble {
Carmelo Casconef2ac7202017-09-08 00:57:44 +0200181 id: 16798653
182 name: "_process_packet_out"
183 alias: "_process_packet_out"
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200184 }
185}
186actions {
187 preamble {
188 id: 16822771
189 name: "count_egress"
190 alias: "count_egress"
191 }
192}
193actions {
194 preamble {
195 id: 16837943
196 name: "count_ingress"
197 alias: "count_ingress"
198 }
199}
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200200counters {
201 preamble {
202 id: 302008596
203 name: "egress_port_counter"
204 alias: "egress_port_counter"
205 annotations: "@min_width(32)"
206 }
207 spec {
208 unit: PACKETS
209 }
Carmelo Casconef2ac7202017-09-08 00:57:44 +0200210 size: 511
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200211}
212counters {
213 preamble {
214 id: 301991238
215 name: "ingress_port_counter"
216 alias: "ingress_port_counter"
217 annotations: "@min_width(32)"
218 }
219 spec {
220 unit: PACKETS
221 }
Carmelo Casconef2ac7202017-09-08 00:57:44 +0200222 size: 511
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200223}
224direct_counters {
225 preamble {
226 id: 301990488
227 name: "table0_counter"
228 alias: "table0_counter"
229 }
230 spec {
231 unit: PACKETS
232 }
233 direct_table_id: 33617813
234}
235direct_counters {
236 preamble {
237 id: 302006421
238 name: "wcmp_group_table_counter"
239 alias: "wcmp_group_table_counter"
240 }
241 spec {
242 unit: PACKETS
243 }
244 direct_table_id: 33596222
245}
246# Manually adding controller_packet_metadata for packet I/O since P4_14 doesn't support annotations.
247controller_packet_metadata {
248 preamble {
249 id: 2868941301
250 name: "packet_in"
251 annotations: "@controller_header(\"packet_in\")"
252 }
253 metadata {
254 id: 1
255 name: "ingress_port"
256 bitwidth: 9
257 }
258}
259controller_packet_metadata {
260 preamble {
261 id: 2868916615
262 name: "packet_out"
263 annotations: "@controller_header(\"packet_out\")"
264 }
265 metadata {
266 id: 1
267 name: "egress_port"
268 bitwidth: 9
269 }
270}