blob: f5f1111c573df33c9382e4382f8d94151f968f6f [file] [log] [blame]
Carmelo Casconef1d0a422017-09-07 17:21:46 +02001tables {
2 preamble {
3 id: 33612022
4 name: "ecmp_group_table"
5 alias: "ecmp_group_table"
6 }
7 match_fields {
8 id: 1
9 name: "ecmp_metadata.groupId"
10 bitwidth: 16
11 match_type: EXACT
12 }
13 match_fields {
14 id: 2
15 name: "ecmp_metadata.selector"
16 bitwidth: 16
17 match_type: EXACT
18 }
19 action_refs {
20 id: 16794308
21 }
22 action_refs {
23 id: 16800567
24 annotations: "@defaultonly()"
25 }
26 direct_resource_ids: 302009688
27 size: 1024
28}
29tables {
30 preamble {
31 id: 33617813
32 name: "table0"
33 alias: "table0"
34 }
35 match_fields {
36 id: 1
37 name: "ig_intr_md.ingress_port"
38 bitwidth: 9
39 match_type: TERNARY
40 }
41 match_fields {
42 id: 2
43 name: "ethernet.dstAddr"
44 bitwidth: 48
45 match_type: TERNARY
46 }
47 match_fields {
48 id: 3
49 name: "ethernet.srcAddr"
50 bitwidth: 48
51 match_type: TERNARY
52 }
53 match_fields {
54 id: 4
55 name: "ethernet.etherType"
56 bitwidth: 16
57 match_type: TERNARY
58 }
59 action_refs {
60 id: 16794308
61 }
62 action_refs {
63 id: 16830055
64 }
65 action_refs {
66 id: 16829080
67 }
68 action_refs {
69 id: 16784184
70 }
71 action_refs {
72 id: 16800567
73 annotations: "@defaultonly()"
74 }
75 direct_resource_ids: 301990488
76 size: 1024
77 with_entry_timeout: true
78}
79tables {
80 preamble {
Brian O'Connora6862e02017-09-08 01:17:39 -070081 id: 33607247
82 name: "process_packet_out_table"
83 alias: "process_packet_out_table"
Carmelo Casconef1d0a422017-09-07 17:21:46 +020084 }
85 action_refs {
Brian O'Connora6862e02017-09-08 01:17:39 -070086 id: 16798653
Carmelo Casconef1d0a422017-09-07 17:21:46 +020087 }
88 size: 1024
89}
90tables {
91 preamble {
92 id: 33618793
93 name: "egress_port_count_table"
94 alias: "egress_port_count_table"
95 }
96 action_refs {
97 id: 16822771
98 }
99 size: 1024
100}
101tables {
102 preamble {
103 id: 33579767
104 name: "ingress_port_count_table"
105 alias: "ingress_port_count_table"
106 }
107 action_refs {
108 id: 16837943
109 }
110 size: 1024
111}
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200112actions {
113 preamble {
114 id: 16800567
115 name: "NoAction"
116 alias: "NoAction"
117 }
118}
119actions {
120 preamble {
121 id: 16794308
122 name: "set_egress_port"
123 alias: "set_egress_port"
124 }
125 params {
126 id: 1
127 name: "port"
128 bitwidth: 9
129 }
130}
131actions {
132 preamble {
133 id: 16830055
134 name: "ecmp_group"
135 alias: "ecmp_group"
136 }
137 params {
138 id: 1
139 name: "groupId"
140 bitwidth: 16
141 }
142}
143actions {
144 preamble {
145 id: 16829080
146 name: "send_to_cpu"
147 alias: "send_to_cpu"
148 }
149}
150actions {
151 preamble {
152 id: 16784184
153 name: "_drop"
154 alias: "_drop"
155 }
156}
157actions {
158 preamble {
Brian O'Connora6862e02017-09-08 01:17:39 -0700159 id: 16798653
160 name: "_process_packet_out"
161 alias: "_process_packet_out"
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200162 }
163}
164actions {
165 preamble {
166 id: 16822771
167 name: "count_egress"
168 alias: "count_egress"
169 }
170}
171actions {
172 preamble {
173 id: 16837943
174 name: "count_ingress"
175 alias: "count_ingress"
176 }
177}
Carmelo Casconef1d0a422017-09-07 17:21:46 +0200178counters {
179 preamble {
180 id: 302008596
181 name: "egress_port_counter"
182 alias: "egress_port_counter"
183 annotations: "@min_width(32)"
184 }
185 spec {
186 unit: PACKETS
187 }
188 size: 254
189}
190counters {
191 preamble {
192 id: 301991238
193 name: "ingress_port_counter"
194 alias: "ingress_port_counter"
195 annotations: "@min_width(32)"
196 }
197 spec {
198 unit: PACKETS
199 }
200 size: 254
201}
202direct_counters {
203 preamble {
204 id: 302009688
205 name: "ecmp_group_table_counter"
206 alias: "ecmp_group_table_counter"
207 }
208 spec {
209 unit: PACKETS
210 }
211 direct_table_id: 33612022
212}
213direct_counters {
214 preamble {
215 id: 301990488
216 name: "table0_counter"
217 alias: "table0_counter"
218 }
219 spec {
220 unit: PACKETS
221 }
222 direct_table_id: 33617813
223}
224# Manually adding controller_packet_metadata for packet I/O since P4_14 doesn't support annotations.
225controller_packet_metadata {
226 preamble {
227 id: 2868941301
228 name: "packet_in"
229 annotations: "@controller_header(\"packet_in\")"
230 }
231 metadata {
232 id: 1
233 name: "ingress_port"
234 bitwidth: 9
235 }
236}
237controller_packet_metadata {
238 preamble {
239 id: 2868916615
240 name: "packet_out"
241 annotations: "@controller_header(\"packet_out\")"
242 }
243 metadata {
244 id: 1
245 name: "egress_port"
246 bitwidth: 9
247 }
Brian O'Connora6862e02017-09-08 01:17:39 -0700248}