blob: cc556f45e89c89374067bb145d082bf37414c75c [file] [log] [blame]
Carmelo Casconefc3776d2017-08-21 23:17:22 +02001tables {
2 preamble {
Carmelo Cascone16de6db2017-08-22 00:27:57 +02003 id: 33612022
4 name: "ecmp_group_table"
5 alias: "ecmp_group_table"
6 }
7 match_fields {
8 id: 1
Carmelo Cascone8aa05482017-09-12 13:21:59 +02009 name: "ecmp_metadata.group_id"
Carmelo Cascone16de6db2017-08-22 00:27:57 +020010 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 {
Carmelo Casconefc3776d2017-08-21 23:17:22 +020031 id: 33617813
32 name: "table0"
33 alias: "table0"
34 }
35 match_fields {
36 id: 1
37 name: "standard_metadata.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 {
Carmelo Cascone16de6db2017-08-22 00:27:57 +020063 id: 16830055
Carmelo Casconefc3776d2017-08-21 23:17:22 +020064 }
65 action_refs {
66 id: 16829080
67 }
68 action_refs {
Carmelo Cascone16de6db2017-08-22 00:27:57 +020069 id: 16784184
Carmelo Casconefc3776d2017-08-21 23:17:22 +020070 }
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 {
Carmelo Casconef2ac7202017-09-08 00:57:44 +020081 id: 33607247
82 name: "process_packet_out_table"
83 alias: "process_packet_out_table"
Carmelo Casconefc3776d2017-08-21 23:17:22 +020084 }
85 action_refs {
Carmelo Casconef2ac7202017-09-08 00:57:44 +020086 id: 16798653
Carmelo Casconefc3776d2017-08-21 23:17:22 +020087 }
88 size: 1024
89}
90tables {
91 preamble {
Carmelo Cascone16de6db2017-08-22 00:27:57 +020092 id: 33618793
93 name: "egress_port_count_table"
94 alias: "egress_port_count_table"
Carmelo Casconefc3776d2017-08-21 23:17:22 +020095 }
96 action_refs {
Carmelo Cascone16de6db2017-08-22 00:27:57 +020097 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"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200106 }
107 action_refs {
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200108 id: 16837943
109 }
110 size: 1024
111}
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200112actions {
113 preamble {
114 id: 16800567
115 name: "NoAction"
116 alias: "NoAction"
117 }
118}
119actions {
120 preamble {
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200121 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 {
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200133 id: 16830055
134 name: "ecmp_group"
135 alias: "ecmp_group"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200136 }
137 params {
138 id: 1
Carmelo Cascone8aa05482017-09-12 13:21:59 +0200139 name: "group_id"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200140 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 {
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200152 id: 16784184
153 name: "_drop"
154 alias: "_drop"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200155 }
156}
157actions {
158 preamble {
Carmelo Casconef2ac7202017-09-08 00:57:44 +0200159 id: 16798653
160 name: "_process_packet_out"
161 alias: "_process_packet_out"
Carmelo Cascone16de6db2017-08-22 00:27:57 +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 Casconefc3776d2017-08-21 23:17:22 +0200178counters {
179 preamble {
180 id: 302008596
181 name: "egress_port_counter"
182 alias: "egress_port_counter"
Carmelo Cascone133c7b12017-09-13 15:36:08 +0200183 annotations: "@min_width(64)"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200184 }
185 spec {
Carmelo Cascone0ce8f5d2017-09-13 03:50:36 +0200186 unit: BYTES
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200187 }
Brian O'Connora6862e02017-09-08 01:17:39 -0700188 size: 254
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200189}
190counters {
191 preamble {
192 id: 301991238
193 name: "ingress_port_counter"
194 alias: "ingress_port_counter"
Carmelo Cascone133c7b12017-09-13 15:36:08 +0200195 annotations: "@min_width(64)"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200196 }
197 spec {
Carmelo Cascone0ce8f5d2017-09-13 03:50:36 +0200198 unit: BYTES
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200199 }
Brian O'Connora6862e02017-09-08 01:17:39 -0700200 size: 254
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200201}
202direct_counters {
203 preamble {
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200204 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 {
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200215 id: 301990488
216 name: "table0_counter"
217 alias: "table0_counter"
218 }
219 spec {
220 unit: PACKETS
221 }
222 direct_table_id: 33617813
223}
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200224# Manually adding controller_packet_metadata for packet I/O since P4_14 doesn't support annotations.
225controller_packet_metadata {
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200226 preamble {
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200227 id: 2868941301
228 name: "packet_in"
229 annotations: "@controller_header(\"packet_in\")"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200230 }
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200231 metadata {
232 id: 1
233 name: "ingress_port"
234 bitwidth: 9
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200235 }
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200236}
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}