blob: 86bad517e98dfc38b6af84ffeab74a87cf714b53 [file] [log] [blame]
Carmelo Casconefc3776d2017-08-21 23:17:22 +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: 16829080
36 }
37 action_refs {
Carmelo Cascone16de6db2017-08-22 00:27:57 +020038 id: 16784184
Carmelo Casconefc3776d2017-08-21 23:17:22 +020039 }
40 action_refs {
41 id: 16800567
42 annotations: "@defaultonly()"
43 }
44 direct_resource_ids: 301990488
45 size: 1024
46 with_entry_timeout: true
47}
48tables {
49 preamble {
Carmelo Casconef2ac7202017-09-08 00:57:44 +020050 id: 33607247
51 name: "process_packet_out_table"
52 alias: "process_packet_out_table"
Carmelo Casconefc3776d2017-08-21 23:17:22 +020053 }
54 action_refs {
Carmelo Casconef2ac7202017-09-08 00:57:44 +020055 id: 16798653
Carmelo Cascone16de6db2017-08-22 00:27:57 +020056 }
57 size: 1024
58}
59tables {
60 preamble {
61 id: 33618793
62 name: "egress_port_count_table"
63 alias: "egress_port_count_table"
Carmelo Casconefc3776d2017-08-21 23:17:22 +020064 }
65 action_refs {
Carmelo Cascone16de6db2017-08-22 00:27:57 +020066 id: 16822771
67 }
68 size: 1024
69}
70tables {
71 preamble {
72 id: 33579767
73 name: "ingress_port_count_table"
74 alias: "ingress_port_count_table"
75 }
76 action_refs {
77 id: 16837943
78 }
79 size: 1024
80}
Carmelo Casconefc3776d2017-08-21 23:17:22 +020081actions {
82 preamble {
83 id: 16800567
84 name: "NoAction"
85 alias: "NoAction"
86 }
87}
88actions {
89 preamble {
90 id: 16794308
91 name: "set_egress_port"
92 alias: "set_egress_port"
93 }
94 params {
95 id: 1
96 name: "port"
97 bitwidth: 9
98 }
99}
100actions {
101 preamble {
102 id: 16829080
103 name: "send_to_cpu"
104 alias: "send_to_cpu"
105 }
106}
107actions {
108 preamble {
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200109 id: 16784184
110 name: "_drop"
111 alias: "_drop"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200112 }
113}
114actions {
115 preamble {
Carmelo Casconef2ac7202017-09-08 00:57:44 +0200116 id: 16798653
117 name: "_process_packet_out"
118 alias: "_process_packet_out"
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200119 }
120}
121actions {
122 preamble {
123 id: 16822771
124 name: "count_egress"
125 alias: "count_egress"
126 }
127}
128actions {
129 preamble {
130 id: 16837943
131 name: "count_ingress"
132 alias: "count_ingress"
133 }
134}
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200135counters {
136 preamble {
137 id: 302008596
138 name: "egress_port_counter"
139 alias: "egress_port_counter"
Carmelo Cascone133c7b12017-09-13 15:36:08 +0200140 annotations: "@min_width(64)"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200141 }
142 spec {
Carmelo Cascone0ce8f5d2017-09-13 03:50:36 +0200143 unit: BYTES
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200144 }
Brian O'Connora6862e02017-09-08 01:17:39 -0700145 size: 254
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200146}
147counters {
148 preamble {
149 id: 301991238
150 name: "ingress_port_counter"
151 alias: "ingress_port_counter"
Carmelo Cascone133c7b12017-09-13 15:36:08 +0200152 annotations: "@min_width(64)"
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200153 }
154 spec {
Carmelo Cascone0ce8f5d2017-09-13 03:50:36 +0200155 unit: BYTES
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200156 }
Brian O'Connora6862e02017-09-08 01:17:39 -0700157 size: 254
Carmelo Casconefc3776d2017-08-21 23:17:22 +0200158}
159direct_counters {
160 preamble {
161 id: 301990488
162 name: "table0_counter"
163 alias: "table0_counter"
164 }
165 spec {
166 unit: PACKETS
167 }
168 direct_table_id: 33617813
169}
Carmelo Cascone16de6db2017-08-22 00:27:57 +0200170# Manually adding controller_packet_metadata for packet I/O since P4_14 doesn't support annotations.
171controller_packet_metadata {
172 preamble {
173 id: 2868941301
174 name: "packet_in"
175 annotations: "@controller_header(\"packet_in\")"
176 }
177 metadata {
178 id: 1
179 name: "ingress_port"
180 bitwidth: 9
181 }
182}
183controller_packet_metadata {
184 preamble {
185 id: 2868916615
186 name: "packet_out"
187 annotations: "@controller_header(\"packet_out\")"
188 }
189 metadata {
190 id: 1
191 name: "egress_port"
192 bitwidth: 9
193 }
194}