blob: c35cf2597859c86a0fac42c7d37223ab98ce3c5a [file] [log] [blame]
Carmelo Casconec8e84982017-07-26 15:34:42 -04001{
2 "program" : "default.p4",
3 "__meta__" : {
4 "version" : [2, 7],
5 "compiler" : "https://github.com/p4lang/p4c"
6 },
7 "header_types" : [
8 {
9 "name" : "scalars_0",
10 "id" : 0,
11 "fields" : [
12 ["tmp", 32, false],
Yi Tsengb62509b2017-08-12 20:01:50 -070013 ["tmp_0", 32, false],
14 ["metadata_t.ecmp_group_id", 8, false]
Carmelo Casconec8e84982017-07-26 15:34:42 -040015 ]
16 },
17 {
18 "name" : "standard_metadata",
19 "id" : 1,
20 "fields" : [
21 ["ingress_port", 9, false],
22 ["egress_spec", 9, false],
23 ["egress_port", 9, false],
24 ["clone_spec", 32, false],
25 ["instance_type", 32, false],
26 ["drop", 1, false],
27 ["recirculate_port", 16, false],
28 ["packet_length", 32, false],
29 ["enq_timestamp", 32, false],
30 ["enq_qdepth", 19, false],
31 ["deq_timedelta", 32, false],
32 ["deq_qdepth", 19, false],
33 ["ingress_global_timestamp", 48, false],
34 ["lf_field_list", 32, false],
35 ["mcast_grp", 16, false],
36 ["resubmit_flag", 1, false],
37 ["egress_rid", 16, false],
38 ["_padding", 5, false]
39 ]
40 },
41 {
Yi Tsengb62509b2017-08-12 20:01:50 -070042 "name" : "ethernet_t",
Carmelo Casconeb605cf02017-08-24 13:27:49 +020043 "id" : 2,
Yi Tsengb62509b2017-08-12 20:01:50 -070044 "fields" : [
Carmelo Casconec8e84982017-07-26 15:34:42 -040045 ["dstAddr", 48, false],
46 ["srcAddr", 48, false],
47 ["etherType", 16, false]
48 ]
49 },
50 {
51 "name" : "ipv4_t",
Carmelo Casconeb605cf02017-08-24 13:27:49 +020052 "id" : 3,
Carmelo Casconec8e84982017-07-26 15:34:42 -040053 "fields" : [
54 ["version", 4, false],
55 ["ihl", 4, false],
56 ["diffserv", 8, false],
57 ["totalLen", 16, false],
58 ["identification", 16, false],
59 ["flags", 3, false],
60 ["fragOffset", 13, false],
61 ["ttl", 8, false],
62 ["protocol", 8, false],
63 ["hdrChecksum", 16, false],
64 ["srcAddr", 32, false],
65 ["dstAddr", 32, false]
66 ]
67 },
68 {
69 "name" : "tcp_t",
Carmelo Casconeb605cf02017-08-24 13:27:49 +020070 "id" : 4,
Carmelo Casconec8e84982017-07-26 15:34:42 -040071 "fields" : [
72 ["srcPort", 16, false],
73 ["dstPort", 16, false],
74 ["seqNo", 32, false],
75 ["ackNo", 32, false],
76 ["dataOffset", 4, false],
77 ["res", 3, false],
78 ["ecn", 3, false],
79 ["ctrl", 6, false],
80 ["window", 16, false],
81 ["checksum", 16, false],
82 ["urgentPtr", 16, false]
83 ]
84 },
85 {
86 "name" : "udp_t",
Carmelo Casconeb605cf02017-08-24 13:27:49 +020087 "id" : 5,
Carmelo Casconec8e84982017-07-26 15:34:42 -040088 "fields" : [
89 ["srcPort", 16, false],
90 ["dstPort", 16, false],
91 ["length_", 16, false],
92 ["checksum", 16, false]
93 ]
94 },
95 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -040096 "name" : "packet_out_header_t",
Carmelo Casconeb605cf02017-08-24 13:27:49 +020097 "id" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -040098 "fields" : [
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -040099 ["egress_port", 9, false],
100 ["_padding_0", 7, false]
101 ]
102 },
103 {
104 "name" : "packet_in_header_t",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200105 "id" : 7,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400106 "fields" : [
107 ["ingress_port", 9, false],
108 ["_padding_1", 7, false]
109 ]
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200110 },
111 {
112 "name" : "intrinsic_metadata_t",
113 "id" : 8,
114 "fields" : [
115 ["ingress_global_timestamp", 32, false],
116 ["lf_field_list", 32, false],
117 ["mcast_grp", 16, false],
118 ["egress_rid", 16, false]
119 ]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400120 }
121 ],
122 "headers" : [
123 {
124 "name" : "standard_metadata_3",
125 "id" : 0,
126 "header_type" : "standard_metadata",
127 "metadata" : true,
128 "pi_omit" : true
129 },
130 {
131 "name" : "standard_metadata_4",
132 "id" : 1,
133 "header_type" : "standard_metadata",
134 "metadata" : true,
135 "pi_omit" : true
136 },
137 {
138 "name" : "standard_metadata_5",
139 "id" : 2,
140 "header_type" : "standard_metadata",
141 "metadata" : true,
142 "pi_omit" : true
143 },
144 {
Yi Tsengb62509b2017-08-12 20:01:50 -0700145 "name" : "standard_metadata_6",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400146 "id" : 3,
Yi Tsengb62509b2017-08-12 20:01:50 -0700147 "header_type" : "standard_metadata",
148 "metadata" : true,
149 "pi_omit" : true
150 },
151 {
Yi Tsengb62509b2017-08-12 20:01:50 -0700152 "name" : "scalars",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200153 "id" : 4,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400154 "header_type" : "scalars_0",
155 "metadata" : true,
156 "pi_omit" : true
157 },
158 {
159 "name" : "standard_metadata",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200160 "id" : 5,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400161 "header_type" : "standard_metadata",
162 "metadata" : true,
163 "pi_omit" : true
164 },
165 {
166 "name" : "ethernet",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200167 "id" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400168 "header_type" : "ethernet_t",
169 "metadata" : false,
170 "pi_omit" : true
171 },
172 {
173 "name" : "ipv4",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200174 "id" : 7,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400175 "header_type" : "ipv4_t",
176 "metadata" : false,
177 "pi_omit" : true
178 },
179 {
180 "name" : "tcp",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200181 "id" : 8,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400182 "header_type" : "tcp_t",
183 "metadata" : false,
184 "pi_omit" : true
185 },
186 {
187 "name" : "udp",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200188 "id" : 9,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400189 "header_type" : "udp_t",
190 "metadata" : false,
191 "pi_omit" : true
192 },
193 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400194 "name" : "packet_out",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200195 "id" : 10,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400196 "header_type" : "packet_out_header_t",
197 "metadata" : false,
198 "pi_omit" : true
199 },
200 {
201 "name" : "packet_in",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200202 "id" : 11,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400203 "header_type" : "packet_in_header_t",
204 "metadata" : false,
205 "pi_omit" : true
206 },
207 {
Carmelo Casconec8e84982017-07-26 15:34:42 -0400208 "name" : "intrinsic_metadata",
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200209 "id" : 12,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400210 "header_type" : "intrinsic_metadata_t",
211 "metadata" : true,
212 "pi_omit" : true
213 }
214 ],
215 "header_stacks" : [],
216 "header_union_types" : [],
217 "header_unions" : [],
218 "header_union_stacks" : [],
219 "field_lists" : [],
220 "errors" : [
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200221 ["NoError", 1],
222 ["PacketTooShort", 2],
223 ["NoMatch", 3],
224 ["StackOutOfBounds", 4],
225 ["HeaderTooShort", 5],
226 ["ParserTimeout", 6]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400227 ],
228 "enums" : [],
229 "parsers" : [
230 {
231 "name" : "parser",
232 "id" : 0,
233 "init_state" : "start",
234 "parse_states" : [
235 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400236 "name" : "parse_packet_out",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400237 "id" : 0,
238 "parser_ops" : [
239 {
240 "parameters" : [
241 {
242 "type" : "regular",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400243 "value" : "packet_out"
244 }
245 ],
246 "op" : "extract"
247 }
248 ],
249 "transitions" : [
250 {
251 "value" : "default",
252 "mask" : null,
253 "next_state" : "parse_ethernet"
254 }
255 ],
256 "transition_key" : []
257 },
258 {
259 "name" : "parse_ethernet",
260 "id" : 1,
261 "parser_ops" : [
262 {
263 "parameters" : [
264 {
265 "type" : "regular",
266 "value" : "ethernet"
267 }
268 ],
269 "op" : "extract"
270 }
271 ],
272 "transitions" : [
273 {
274 "value" : "0x0800",
275 "mask" : null,
276 "next_state" : "parse_ipv4"
277 },
278 {
279 "value" : "default",
280 "mask" : null,
281 "next_state" : null
282 }
283 ],
284 "transition_key" : [
285 {
286 "type" : "field",
287 "value" : ["ethernet", "etherType"]
288 }
289 ]
290 },
291 {
292 "name" : "parse_ipv4",
293 "id" : 2,
294 "parser_ops" : [
295 {
296 "parameters" : [
297 {
298 "type" : "regular",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400299 "value" : "ipv4"
300 }
301 ],
302 "op" : "extract"
303 }
304 ],
305 "transitions" : [
306 {
307 "value" : "0x06",
308 "mask" : null,
309 "next_state" : "parse_tcp"
310 },
311 {
312 "value" : "0x11",
313 "mask" : null,
314 "next_state" : "parse_udp"
315 },
316 {
317 "value" : "default",
318 "mask" : null,
319 "next_state" : null
320 }
321 ],
322 "transition_key" : [
323 {
324 "type" : "field",
325 "value" : ["ipv4", "protocol"]
326 }
327 ]
328 },
329 {
330 "name" : "parse_tcp",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400331 "id" : 3,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400332 "parser_ops" : [
333 {
334 "parameters" : [
335 {
336 "type" : "regular",
337 "value" : "tcp"
338 }
339 ],
340 "op" : "extract"
341 }
342 ],
343 "transitions" : [
344 {
345 "value" : "default",
346 "mask" : null,
347 "next_state" : null
348 }
349 ],
350 "transition_key" : []
351 },
352 {
353 "name" : "parse_udp",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400354 "id" : 4,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400355 "parser_ops" : [
356 {
357 "parameters" : [
358 {
359 "type" : "regular",
360 "value" : "udp"
361 }
362 ],
363 "op" : "extract"
364 }
365 ],
366 "transitions" : [
367 {
368 "value" : "default",
369 "mask" : null,
370 "next_state" : null
371 }
372 ],
373 "transition_key" : []
374 },
375 {
376 "name" : "start",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400377 "id" : 5,
378 "parser_ops" : [],
Carmelo Casconec8e84982017-07-26 15:34:42 -0400379 "transitions" : [
380 {
Carmelo Cascone4e593822017-07-30 01:10:53 -0400381 "value" : "0x00ff",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400382 "mask" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400383 "next_state" : "parse_packet_out"
Carmelo Casconec8e84982017-07-26 15:34:42 -0400384 },
385 {
386 "value" : "default",
387 "mask" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400388 "next_state" : "parse_ethernet"
Carmelo Casconec8e84982017-07-26 15:34:42 -0400389 }
390 ],
391 "transition_key" : [
392 {
393 "type" : "field",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400394 "value" : ["standard_metadata", "ingress_port"]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400395 }
396 ]
397 }
398 ]
399 }
400 ],
401 "deparsers" : [
402 {
403 "name" : "deparser",
404 "id" : 0,
405 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200406 "filename" : "include/parsers.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700407 "line" : 64,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400408 "column" : 8,
409 "source_fragment" : "DeparserImpl"
410 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400411 "order" : ["packet_in", "ethernet", "ipv4", "udp", "tcp"]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400412 }
413 ],
414 "meter_arrays" : [],
415 "counter_arrays" : [
416 {
417 "name" : "table0_counter",
418 "id" : 0,
419 "is_direct" : true,
420 "binding" : "table0"
421 },
422 {
Yi Tsengb62509b2017-08-12 20:01:50 -0700423 "name" : "ecmp_counter",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400424 "id" : 1,
Yi Tsengb62509b2017-08-12 20:01:50 -0700425 "is_direct" : true,
426 "binding" : "ecmp"
427 },
428 {
429 "name" : "port_counters_control.egress_port_counter",
430 "id" : 2,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400431 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200432 "filename" : "include/port_counters.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700433 "line" : 22,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400434 "column" : 38,
435 "source_fragment" : "egress_port_counter"
436 },
437 "size" : 254,
438 "is_direct" : false
439 },
440 {
441 "name" : "port_counters_control.ingress_port_counter",
Yi Tsengb62509b2017-08-12 20:01:50 -0700442 "id" : 3,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400443 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200444 "filename" : "include/port_counters.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700445 "line" : 23,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400446 "column" : 38,
447 "source_fragment" : "ingress_port_counter"
448 },
449 "size" : 254,
450 "is_direct" : false
451 }
452 ],
453 "register_arrays" : [],
454 "calculations" : [],
455 "learn_lists" : [],
456 "actions" : [
457 {
458 "name" : "set_egress_port",
459 "id" : 0,
460 "runtime_data" : [
461 {
462 "name" : "port",
463 "bitwidth" : 9
464 }
465 ],
466 "primitives" : [
467 {
468 "op" : "assign",
469 "parameters" : [
470 {
471 "type" : "field",
472 "value" : ["standard_metadata_3", "ingress_port"]
473 },
474 {
475 "type" : "field",
476 "value" : ["standard_metadata", "ingress_port"]
477 }
478 ],
479 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200480 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700481 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400482 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400483 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400484 }
485 },
486 {
487 "op" : "assign",
488 "parameters" : [
489 {
490 "type" : "field",
491 "value" : ["standard_metadata_3", "egress_spec"]
492 },
493 {
494 "type" : "field",
495 "value" : ["standard_metadata", "egress_spec"]
496 }
497 ],
498 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200499 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700500 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400501 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400502 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400503 }
504 },
505 {
506 "op" : "assign",
507 "parameters" : [
508 {
509 "type" : "field",
510 "value" : ["standard_metadata_3", "egress_port"]
511 },
512 {
513 "type" : "field",
514 "value" : ["standard_metadata", "egress_port"]
515 }
516 ],
517 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200518 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700519 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400520 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400521 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400522 }
523 },
524 {
525 "op" : "assign",
526 "parameters" : [
527 {
528 "type" : "field",
529 "value" : ["standard_metadata_3", "clone_spec"]
530 },
531 {
532 "type" : "field",
533 "value" : ["standard_metadata", "clone_spec"]
534 }
535 ],
536 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200537 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700538 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400539 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400540 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400541 }
542 },
543 {
544 "op" : "assign",
545 "parameters" : [
546 {
547 "type" : "field",
548 "value" : ["standard_metadata_3", "instance_type"]
549 },
550 {
551 "type" : "field",
552 "value" : ["standard_metadata", "instance_type"]
553 }
554 ],
555 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200556 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700557 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400558 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400559 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400560 }
561 },
562 {
563 "op" : "assign",
564 "parameters" : [
565 {
566 "type" : "field",
567 "value" : ["standard_metadata_3", "drop"]
568 },
569 {
570 "type" : "field",
571 "value" : ["standard_metadata", "drop"]
572 }
573 ],
574 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200575 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700576 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400577 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400578 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400579 }
580 },
581 {
582 "op" : "assign",
583 "parameters" : [
584 {
585 "type" : "field",
586 "value" : ["standard_metadata_3", "recirculate_port"]
587 },
588 {
589 "type" : "field",
590 "value" : ["standard_metadata", "recirculate_port"]
591 }
592 ],
593 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200594 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700595 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400596 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400597 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400598 }
599 },
600 {
601 "op" : "assign",
602 "parameters" : [
603 {
604 "type" : "field",
605 "value" : ["standard_metadata_3", "packet_length"]
606 },
607 {
608 "type" : "field",
609 "value" : ["standard_metadata", "packet_length"]
610 }
611 ],
612 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200613 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700614 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400615 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400616 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400617 }
618 },
619 {
620 "op" : "assign",
621 "parameters" : [
622 {
623 "type" : "field",
624 "value" : ["standard_metadata_3", "enq_timestamp"]
625 },
626 {
627 "type" : "field",
628 "value" : ["standard_metadata", "enq_timestamp"]
629 }
630 ],
631 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200632 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700633 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400634 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400635 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400636 }
637 },
638 {
639 "op" : "assign",
640 "parameters" : [
641 {
642 "type" : "field",
643 "value" : ["standard_metadata_3", "enq_qdepth"]
644 },
645 {
646 "type" : "field",
647 "value" : ["standard_metadata", "enq_qdepth"]
648 }
649 ],
650 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200651 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700652 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400653 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400654 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400655 }
656 },
657 {
658 "op" : "assign",
659 "parameters" : [
660 {
661 "type" : "field",
662 "value" : ["standard_metadata_3", "deq_timedelta"]
663 },
664 {
665 "type" : "field",
666 "value" : ["standard_metadata", "deq_timedelta"]
667 }
668 ],
669 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200670 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700671 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400672 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400673 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400674 }
675 },
676 {
677 "op" : "assign",
678 "parameters" : [
679 {
680 "type" : "field",
681 "value" : ["standard_metadata_3", "deq_qdepth"]
682 },
683 {
684 "type" : "field",
685 "value" : ["standard_metadata", "deq_qdepth"]
686 }
687 ],
688 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200689 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700690 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400691 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400692 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400693 }
694 },
695 {
696 "op" : "assign",
697 "parameters" : [
698 {
699 "type" : "field",
700 "value" : ["standard_metadata_3", "ingress_global_timestamp"]
701 },
702 {
703 "type" : "field",
704 "value" : ["standard_metadata", "ingress_global_timestamp"]
705 }
706 ],
707 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200708 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700709 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400710 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400711 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400712 }
713 },
714 {
715 "op" : "assign",
716 "parameters" : [
717 {
718 "type" : "field",
719 "value" : ["standard_metadata_3", "lf_field_list"]
720 },
721 {
722 "type" : "field",
723 "value" : ["standard_metadata", "lf_field_list"]
724 }
725 ],
726 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200727 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700728 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400729 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400730 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400731 }
732 },
733 {
734 "op" : "assign",
735 "parameters" : [
736 {
737 "type" : "field",
738 "value" : ["standard_metadata_3", "mcast_grp"]
739 },
740 {
741 "type" : "field",
742 "value" : ["standard_metadata", "mcast_grp"]
743 }
744 ],
745 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200746 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700747 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400748 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400749 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400750 }
751 },
752 {
753 "op" : "assign",
754 "parameters" : [
755 {
756 "type" : "field",
757 "value" : ["standard_metadata_3", "resubmit_flag"]
758 },
759 {
760 "type" : "field",
761 "value" : ["standard_metadata", "resubmit_flag"]
762 }
763 ],
764 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200765 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700766 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400767 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400768 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400769 }
770 },
771 {
772 "op" : "assign",
773 "parameters" : [
774 {
775 "type" : "field",
776 "value" : ["standard_metadata_3", "egress_rid"]
777 },
778 {
779 "type" : "field",
780 "value" : ["standard_metadata", "egress_rid"]
781 }
782 ],
783 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200784 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700785 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400786 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400787 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400788 }
789 },
790 {
791 "op" : "assign",
792 "parameters" : [
793 {
794 "type" : "field",
795 "value" : ["standard_metadata_3", "egress_spec"]
796 },
797 {
798 "type" : "runtime_data",
799 "value" : 0
800 }
801 ],
802 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200803 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700804 "line" : 27,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400805 "column" : 4,
806 "source_fragment" : "standard_metadata.egress_spec = port"
807 }
808 },
809 {
810 "op" : "assign",
811 "parameters" : [
812 {
813 "type" : "field",
814 "value" : ["standard_metadata", "ingress_port"]
815 },
816 {
817 "type" : "field",
818 "value" : ["standard_metadata_3", "ingress_port"]
819 }
820 ],
821 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200822 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700823 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400824 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400825 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400826 }
827 },
828 {
829 "op" : "assign",
830 "parameters" : [
831 {
832 "type" : "field",
833 "value" : ["standard_metadata", "egress_spec"]
834 },
835 {
836 "type" : "field",
837 "value" : ["standard_metadata_3", "egress_spec"]
838 }
839 ],
840 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200841 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700842 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400843 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400844 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400845 }
846 },
847 {
848 "op" : "assign",
849 "parameters" : [
850 {
851 "type" : "field",
852 "value" : ["standard_metadata", "egress_port"]
853 },
854 {
855 "type" : "field",
856 "value" : ["standard_metadata_3", "egress_port"]
857 }
858 ],
859 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200860 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700861 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400862 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400863 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400864 }
865 },
866 {
867 "op" : "assign",
868 "parameters" : [
869 {
870 "type" : "field",
871 "value" : ["standard_metadata", "clone_spec"]
872 },
873 {
874 "type" : "field",
875 "value" : ["standard_metadata_3", "clone_spec"]
876 }
877 ],
878 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200879 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700880 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400881 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400882 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400883 }
884 },
885 {
886 "op" : "assign",
887 "parameters" : [
888 {
889 "type" : "field",
890 "value" : ["standard_metadata", "instance_type"]
891 },
892 {
893 "type" : "field",
894 "value" : ["standard_metadata_3", "instance_type"]
895 }
896 ],
897 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200898 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700899 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400900 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400901 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400902 }
903 },
904 {
905 "op" : "assign",
906 "parameters" : [
907 {
908 "type" : "field",
909 "value" : ["standard_metadata", "drop"]
910 },
911 {
912 "type" : "field",
913 "value" : ["standard_metadata_3", "drop"]
914 }
915 ],
916 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200917 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700918 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400919 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400920 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400921 }
922 },
923 {
924 "op" : "assign",
925 "parameters" : [
926 {
927 "type" : "field",
928 "value" : ["standard_metadata", "recirculate_port"]
929 },
930 {
931 "type" : "field",
932 "value" : ["standard_metadata_3", "recirculate_port"]
933 }
934 ],
935 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200936 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700937 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400938 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400939 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400940 }
941 },
942 {
943 "op" : "assign",
944 "parameters" : [
945 {
946 "type" : "field",
947 "value" : ["standard_metadata", "packet_length"]
948 },
949 {
950 "type" : "field",
951 "value" : ["standard_metadata_3", "packet_length"]
952 }
953 ],
954 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200955 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700956 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400957 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400958 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400959 }
960 },
961 {
962 "op" : "assign",
963 "parameters" : [
964 {
965 "type" : "field",
966 "value" : ["standard_metadata", "enq_timestamp"]
967 },
968 {
969 "type" : "field",
970 "value" : ["standard_metadata_3", "enq_timestamp"]
971 }
972 ],
973 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200974 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700975 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400976 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400977 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400978 }
979 },
980 {
981 "op" : "assign",
982 "parameters" : [
983 {
984 "type" : "field",
985 "value" : ["standard_metadata", "enq_qdepth"]
986 },
987 {
988 "type" : "field",
989 "value" : ["standard_metadata_3", "enq_qdepth"]
990 }
991 ],
992 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +0200993 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -0700994 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400995 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400996 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400997 }
998 },
999 {
1000 "op" : "assign",
1001 "parameters" : [
1002 {
1003 "type" : "field",
1004 "value" : ["standard_metadata", "deq_timedelta"]
1005 },
1006 {
1007 "type" : "field",
1008 "value" : ["standard_metadata_3", "deq_timedelta"]
1009 }
1010 ],
1011 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001012 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001013 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001014 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001015 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001016 }
1017 },
1018 {
1019 "op" : "assign",
1020 "parameters" : [
1021 {
1022 "type" : "field",
1023 "value" : ["standard_metadata", "deq_qdepth"]
1024 },
1025 {
1026 "type" : "field",
1027 "value" : ["standard_metadata_3", "deq_qdepth"]
1028 }
1029 ],
1030 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001031 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001032 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001033 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001034 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001035 }
1036 },
1037 {
1038 "op" : "assign",
1039 "parameters" : [
1040 {
1041 "type" : "field",
1042 "value" : ["standard_metadata", "ingress_global_timestamp"]
1043 },
1044 {
1045 "type" : "field",
1046 "value" : ["standard_metadata_3", "ingress_global_timestamp"]
1047 }
1048 ],
1049 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001050 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001051 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001052 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001053 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001054 }
1055 },
1056 {
1057 "op" : "assign",
1058 "parameters" : [
1059 {
1060 "type" : "field",
1061 "value" : ["standard_metadata", "lf_field_list"]
1062 },
1063 {
1064 "type" : "field",
1065 "value" : ["standard_metadata_3", "lf_field_list"]
1066 }
1067 ],
1068 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001069 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001070 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001071 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001072 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001073 }
1074 },
1075 {
1076 "op" : "assign",
1077 "parameters" : [
1078 {
1079 "type" : "field",
1080 "value" : ["standard_metadata", "mcast_grp"]
1081 },
1082 {
1083 "type" : "field",
1084 "value" : ["standard_metadata_3", "mcast_grp"]
1085 }
1086 ],
1087 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001088 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001089 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001090 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001091 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001092 }
1093 },
1094 {
1095 "op" : "assign",
1096 "parameters" : [
1097 {
1098 "type" : "field",
1099 "value" : ["standard_metadata", "resubmit_flag"]
1100 },
1101 {
1102 "type" : "field",
1103 "value" : ["standard_metadata_3", "resubmit_flag"]
1104 }
1105 ],
1106 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001107 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001108 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001109 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001110 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001111 }
1112 },
1113 {
1114 "op" : "assign",
1115 "parameters" : [
1116 {
1117 "type" : "field",
1118 "value" : ["standard_metadata", "egress_rid"]
1119 },
1120 {
1121 "type" : "field",
1122 "value" : ["standard_metadata_3", "egress_rid"]
1123 }
1124 ],
1125 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001126 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001127 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001128 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001129 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001130 }
1131 }
1132 ]
1133 },
1134 {
Yi Tsengb62509b2017-08-12 20:01:50 -07001135 "name" : "set_egress_port",
Carmelo Casconec8e84982017-07-26 15:34:42 -04001136 "id" : 1,
Yi Tsengb62509b2017-08-12 20:01:50 -07001137 "runtime_data" : [
1138 {
1139 "name" : "port",
1140 "bitwidth" : 9
1141 }
1142 ],
Carmelo Casconec8e84982017-07-26 15:34:42 -04001143 "primitives" : [
1144 {
1145 "op" : "assign",
1146 "parameters" : [
1147 {
1148 "type" : "field",
1149 "value" : ["standard_metadata_4", "ingress_port"]
1150 },
1151 {
1152 "type" : "field",
1153 "value" : ["standard_metadata", "ingress_port"]
1154 }
1155 ],
1156 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001157 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001158 "line" : 26,
1159 "column" : 49,
1160 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001161 }
1162 },
1163 {
1164 "op" : "assign",
1165 "parameters" : [
1166 {
1167 "type" : "field",
1168 "value" : ["standard_metadata_4", "egress_spec"]
1169 },
1170 {
1171 "type" : "field",
1172 "value" : ["standard_metadata", "egress_spec"]
1173 }
1174 ],
1175 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001176 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001177 "line" : 26,
1178 "column" : 49,
1179 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001180 }
1181 },
1182 {
1183 "op" : "assign",
1184 "parameters" : [
1185 {
1186 "type" : "field",
1187 "value" : ["standard_metadata_4", "egress_port"]
1188 },
1189 {
1190 "type" : "field",
1191 "value" : ["standard_metadata", "egress_port"]
1192 }
1193 ],
1194 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001195 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001196 "line" : 26,
1197 "column" : 49,
1198 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001199 }
1200 },
1201 {
1202 "op" : "assign",
1203 "parameters" : [
1204 {
1205 "type" : "field",
1206 "value" : ["standard_metadata_4", "clone_spec"]
1207 },
1208 {
1209 "type" : "field",
1210 "value" : ["standard_metadata", "clone_spec"]
1211 }
1212 ],
1213 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001214 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001215 "line" : 26,
1216 "column" : 49,
1217 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001218 }
1219 },
1220 {
1221 "op" : "assign",
1222 "parameters" : [
1223 {
1224 "type" : "field",
1225 "value" : ["standard_metadata_4", "instance_type"]
1226 },
1227 {
1228 "type" : "field",
1229 "value" : ["standard_metadata", "instance_type"]
1230 }
1231 ],
1232 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001233 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001234 "line" : 26,
1235 "column" : 49,
1236 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001237 }
1238 },
1239 {
1240 "op" : "assign",
1241 "parameters" : [
1242 {
1243 "type" : "field",
1244 "value" : ["standard_metadata_4", "drop"]
1245 },
1246 {
1247 "type" : "field",
1248 "value" : ["standard_metadata", "drop"]
1249 }
1250 ],
1251 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001252 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001253 "line" : 26,
1254 "column" : 49,
1255 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001256 }
1257 },
1258 {
1259 "op" : "assign",
1260 "parameters" : [
1261 {
1262 "type" : "field",
1263 "value" : ["standard_metadata_4", "recirculate_port"]
1264 },
1265 {
1266 "type" : "field",
1267 "value" : ["standard_metadata", "recirculate_port"]
1268 }
1269 ],
1270 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001271 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001272 "line" : 26,
1273 "column" : 49,
1274 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001275 }
1276 },
1277 {
1278 "op" : "assign",
1279 "parameters" : [
1280 {
1281 "type" : "field",
1282 "value" : ["standard_metadata_4", "packet_length"]
1283 },
1284 {
1285 "type" : "field",
1286 "value" : ["standard_metadata", "packet_length"]
1287 }
1288 ],
1289 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001290 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001291 "line" : 26,
1292 "column" : 49,
1293 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001294 }
1295 },
1296 {
1297 "op" : "assign",
1298 "parameters" : [
1299 {
1300 "type" : "field",
1301 "value" : ["standard_metadata_4", "enq_timestamp"]
1302 },
1303 {
1304 "type" : "field",
1305 "value" : ["standard_metadata", "enq_timestamp"]
1306 }
1307 ],
1308 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001309 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001310 "line" : 26,
1311 "column" : 49,
1312 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001313 }
1314 },
1315 {
1316 "op" : "assign",
1317 "parameters" : [
1318 {
1319 "type" : "field",
1320 "value" : ["standard_metadata_4", "enq_qdepth"]
1321 },
1322 {
1323 "type" : "field",
1324 "value" : ["standard_metadata", "enq_qdepth"]
1325 }
1326 ],
1327 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001328 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001329 "line" : 26,
1330 "column" : 49,
1331 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001332 }
1333 },
1334 {
1335 "op" : "assign",
1336 "parameters" : [
1337 {
1338 "type" : "field",
1339 "value" : ["standard_metadata_4", "deq_timedelta"]
1340 },
1341 {
1342 "type" : "field",
1343 "value" : ["standard_metadata", "deq_timedelta"]
1344 }
1345 ],
1346 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001347 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001348 "line" : 26,
1349 "column" : 49,
1350 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001351 }
1352 },
1353 {
1354 "op" : "assign",
1355 "parameters" : [
1356 {
1357 "type" : "field",
1358 "value" : ["standard_metadata_4", "deq_qdepth"]
1359 },
1360 {
1361 "type" : "field",
1362 "value" : ["standard_metadata", "deq_qdepth"]
1363 }
1364 ],
1365 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001366 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001367 "line" : 26,
1368 "column" : 49,
1369 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001370 }
1371 },
1372 {
1373 "op" : "assign",
1374 "parameters" : [
1375 {
1376 "type" : "field",
1377 "value" : ["standard_metadata_4", "ingress_global_timestamp"]
1378 },
1379 {
1380 "type" : "field",
1381 "value" : ["standard_metadata", "ingress_global_timestamp"]
1382 }
1383 ],
1384 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001385 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001386 "line" : 26,
1387 "column" : 49,
1388 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001389 }
1390 },
1391 {
1392 "op" : "assign",
1393 "parameters" : [
1394 {
1395 "type" : "field",
1396 "value" : ["standard_metadata_4", "lf_field_list"]
1397 },
1398 {
1399 "type" : "field",
1400 "value" : ["standard_metadata", "lf_field_list"]
1401 }
1402 ],
1403 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001404 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001405 "line" : 26,
1406 "column" : 49,
1407 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001408 }
1409 },
1410 {
1411 "op" : "assign",
1412 "parameters" : [
1413 {
1414 "type" : "field",
1415 "value" : ["standard_metadata_4", "mcast_grp"]
1416 },
1417 {
1418 "type" : "field",
1419 "value" : ["standard_metadata", "mcast_grp"]
1420 }
1421 ],
1422 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001423 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001424 "line" : 26,
1425 "column" : 49,
1426 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001427 }
1428 },
1429 {
1430 "op" : "assign",
1431 "parameters" : [
1432 {
1433 "type" : "field",
1434 "value" : ["standard_metadata_4", "resubmit_flag"]
1435 },
1436 {
1437 "type" : "field",
1438 "value" : ["standard_metadata", "resubmit_flag"]
1439 }
1440 ],
1441 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001442 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001443 "line" : 26,
1444 "column" : 49,
1445 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001446 }
1447 },
1448 {
1449 "op" : "assign",
1450 "parameters" : [
1451 {
1452 "type" : "field",
1453 "value" : ["standard_metadata_4", "egress_rid"]
1454 },
1455 {
1456 "type" : "field",
1457 "value" : ["standard_metadata", "egress_rid"]
1458 }
1459 ],
1460 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001461 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001462 "line" : 26,
1463 "column" : 49,
1464 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001465 }
1466 },
1467 {
1468 "op" : "assign",
1469 "parameters" : [
1470 {
1471 "type" : "field",
1472 "value" : ["standard_metadata_4", "egress_spec"]
1473 },
1474 {
Yi Tsengb62509b2017-08-12 20:01:50 -07001475 "type" : "runtime_data",
1476 "value" : 0
Carmelo Casconec8e84982017-07-26 15:34:42 -04001477 }
1478 ],
1479 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001480 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001481 "line" : 27,
1482 "column" : 4,
1483 "source_fragment" : "standard_metadata.egress_spec = port"
Carmelo Casconec8e84982017-07-26 15:34:42 -04001484 }
1485 },
1486 {
1487 "op" : "assign",
1488 "parameters" : [
1489 {
1490 "type" : "field",
1491 "value" : ["standard_metadata", "ingress_port"]
1492 },
1493 {
1494 "type" : "field",
1495 "value" : ["standard_metadata_4", "ingress_port"]
1496 }
1497 ],
1498 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001499 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001500 "line" : 26,
1501 "column" : 49,
1502 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001503 }
1504 },
1505 {
1506 "op" : "assign",
1507 "parameters" : [
1508 {
1509 "type" : "field",
1510 "value" : ["standard_metadata", "egress_spec"]
1511 },
1512 {
1513 "type" : "field",
1514 "value" : ["standard_metadata_4", "egress_spec"]
1515 }
1516 ],
1517 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001518 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001519 "line" : 26,
1520 "column" : 49,
1521 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001522 }
1523 },
1524 {
1525 "op" : "assign",
1526 "parameters" : [
1527 {
1528 "type" : "field",
1529 "value" : ["standard_metadata", "egress_port"]
1530 },
1531 {
1532 "type" : "field",
1533 "value" : ["standard_metadata_4", "egress_port"]
1534 }
1535 ],
1536 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001537 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001538 "line" : 26,
1539 "column" : 49,
1540 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001541 }
1542 },
1543 {
1544 "op" : "assign",
1545 "parameters" : [
1546 {
1547 "type" : "field",
1548 "value" : ["standard_metadata", "clone_spec"]
1549 },
1550 {
1551 "type" : "field",
1552 "value" : ["standard_metadata_4", "clone_spec"]
1553 }
1554 ],
1555 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001556 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001557 "line" : 26,
1558 "column" : 49,
1559 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001560 }
1561 },
1562 {
1563 "op" : "assign",
1564 "parameters" : [
1565 {
1566 "type" : "field",
1567 "value" : ["standard_metadata", "instance_type"]
1568 },
1569 {
1570 "type" : "field",
1571 "value" : ["standard_metadata_4", "instance_type"]
1572 }
1573 ],
1574 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001575 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001576 "line" : 26,
1577 "column" : 49,
1578 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001579 }
1580 },
1581 {
1582 "op" : "assign",
1583 "parameters" : [
1584 {
1585 "type" : "field",
1586 "value" : ["standard_metadata", "drop"]
1587 },
1588 {
1589 "type" : "field",
1590 "value" : ["standard_metadata_4", "drop"]
1591 }
1592 ],
1593 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001594 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001595 "line" : 26,
1596 "column" : 49,
1597 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001598 }
1599 },
1600 {
1601 "op" : "assign",
1602 "parameters" : [
1603 {
1604 "type" : "field",
1605 "value" : ["standard_metadata", "recirculate_port"]
1606 },
1607 {
1608 "type" : "field",
1609 "value" : ["standard_metadata_4", "recirculate_port"]
1610 }
1611 ],
1612 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001613 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001614 "line" : 26,
1615 "column" : 49,
1616 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001617 }
1618 },
1619 {
1620 "op" : "assign",
1621 "parameters" : [
1622 {
1623 "type" : "field",
1624 "value" : ["standard_metadata", "packet_length"]
1625 },
1626 {
1627 "type" : "field",
1628 "value" : ["standard_metadata_4", "packet_length"]
1629 }
1630 ],
1631 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001632 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001633 "line" : 26,
1634 "column" : 49,
1635 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001636 }
1637 },
1638 {
1639 "op" : "assign",
1640 "parameters" : [
1641 {
1642 "type" : "field",
1643 "value" : ["standard_metadata", "enq_timestamp"]
1644 },
1645 {
1646 "type" : "field",
1647 "value" : ["standard_metadata_4", "enq_timestamp"]
1648 }
1649 ],
1650 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001651 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001652 "line" : 26,
1653 "column" : 49,
1654 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001655 }
1656 },
1657 {
1658 "op" : "assign",
1659 "parameters" : [
1660 {
1661 "type" : "field",
1662 "value" : ["standard_metadata", "enq_qdepth"]
1663 },
1664 {
1665 "type" : "field",
1666 "value" : ["standard_metadata_4", "enq_qdepth"]
1667 }
1668 ],
1669 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001670 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001671 "line" : 26,
1672 "column" : 49,
1673 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001674 }
1675 },
1676 {
1677 "op" : "assign",
1678 "parameters" : [
1679 {
1680 "type" : "field",
1681 "value" : ["standard_metadata", "deq_timedelta"]
1682 },
1683 {
1684 "type" : "field",
1685 "value" : ["standard_metadata_4", "deq_timedelta"]
1686 }
1687 ],
1688 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001689 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001690 "line" : 26,
1691 "column" : 49,
1692 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001693 }
1694 },
1695 {
1696 "op" : "assign",
1697 "parameters" : [
1698 {
1699 "type" : "field",
1700 "value" : ["standard_metadata", "deq_qdepth"]
1701 },
1702 {
1703 "type" : "field",
1704 "value" : ["standard_metadata_4", "deq_qdepth"]
1705 }
1706 ],
1707 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001708 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001709 "line" : 26,
1710 "column" : 49,
1711 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001712 }
1713 },
1714 {
1715 "op" : "assign",
1716 "parameters" : [
1717 {
1718 "type" : "field",
1719 "value" : ["standard_metadata", "ingress_global_timestamp"]
1720 },
1721 {
1722 "type" : "field",
1723 "value" : ["standard_metadata_4", "ingress_global_timestamp"]
1724 }
1725 ],
1726 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001727 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001728 "line" : 26,
1729 "column" : 49,
1730 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001731 }
1732 },
1733 {
1734 "op" : "assign",
1735 "parameters" : [
1736 {
1737 "type" : "field",
1738 "value" : ["standard_metadata", "lf_field_list"]
1739 },
1740 {
1741 "type" : "field",
1742 "value" : ["standard_metadata_4", "lf_field_list"]
1743 }
1744 ],
1745 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001746 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001747 "line" : 26,
1748 "column" : 49,
1749 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001750 }
1751 },
1752 {
1753 "op" : "assign",
1754 "parameters" : [
1755 {
1756 "type" : "field",
1757 "value" : ["standard_metadata", "mcast_grp"]
1758 },
1759 {
1760 "type" : "field",
1761 "value" : ["standard_metadata_4", "mcast_grp"]
1762 }
1763 ],
1764 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001765 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001766 "line" : 26,
1767 "column" : 49,
1768 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001769 }
1770 },
1771 {
1772 "op" : "assign",
1773 "parameters" : [
1774 {
1775 "type" : "field",
1776 "value" : ["standard_metadata", "resubmit_flag"]
1777 },
1778 {
1779 "type" : "field",
1780 "value" : ["standard_metadata_4", "resubmit_flag"]
1781 }
1782 ],
1783 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001784 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001785 "line" : 26,
1786 "column" : 49,
1787 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001788 }
1789 },
1790 {
1791 "op" : "assign",
1792 "parameters" : [
1793 {
1794 "type" : "field",
1795 "value" : ["standard_metadata", "egress_rid"]
1796 },
1797 {
1798 "type" : "field",
1799 "value" : ["standard_metadata_4", "egress_rid"]
1800 }
1801 ],
1802 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001803 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001804 "line" : 26,
1805 "column" : 49,
1806 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001807 }
1808 }
1809 ]
1810 },
1811 {
Yi Tsengb62509b2017-08-12 20:01:50 -07001812 "name" : "send_to_cpu",
Carmelo Casconec8e84982017-07-26 15:34:42 -04001813 "id" : 2,
1814 "runtime_data" : [],
1815 "primitives" : [
1816 {
1817 "op" : "assign",
1818 "parameters" : [
1819 {
1820 "type" : "field",
1821 "value" : ["standard_metadata_5", "ingress_port"]
1822 },
1823 {
1824 "type" : "field",
1825 "value" : ["standard_metadata", "ingress_port"]
1826 }
1827 ],
1828 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001829 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001830 "line" : 22,
1831 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001832 "source_fragment" : "standard_metadata) { ..."
1833 }
1834 },
1835 {
1836 "op" : "assign",
1837 "parameters" : [
1838 {
1839 "type" : "field",
1840 "value" : ["standard_metadata_5", "egress_spec"]
1841 },
1842 {
1843 "type" : "field",
1844 "value" : ["standard_metadata", "egress_spec"]
1845 }
1846 ],
1847 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001848 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001849 "line" : 22,
1850 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001851 "source_fragment" : "standard_metadata) { ..."
1852 }
1853 },
1854 {
1855 "op" : "assign",
1856 "parameters" : [
1857 {
1858 "type" : "field",
1859 "value" : ["standard_metadata_5", "egress_port"]
1860 },
1861 {
1862 "type" : "field",
1863 "value" : ["standard_metadata", "egress_port"]
1864 }
1865 ],
1866 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001867 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001868 "line" : 22,
1869 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001870 "source_fragment" : "standard_metadata) { ..."
1871 }
1872 },
1873 {
1874 "op" : "assign",
1875 "parameters" : [
1876 {
1877 "type" : "field",
1878 "value" : ["standard_metadata_5", "clone_spec"]
1879 },
1880 {
1881 "type" : "field",
1882 "value" : ["standard_metadata", "clone_spec"]
1883 }
1884 ],
1885 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001886 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001887 "line" : 22,
1888 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001889 "source_fragment" : "standard_metadata) { ..."
1890 }
1891 },
1892 {
1893 "op" : "assign",
1894 "parameters" : [
1895 {
1896 "type" : "field",
1897 "value" : ["standard_metadata_5", "instance_type"]
1898 },
1899 {
1900 "type" : "field",
1901 "value" : ["standard_metadata", "instance_type"]
1902 }
1903 ],
1904 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001905 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001906 "line" : 22,
1907 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001908 "source_fragment" : "standard_metadata) { ..."
1909 }
1910 },
1911 {
1912 "op" : "assign",
1913 "parameters" : [
1914 {
1915 "type" : "field",
1916 "value" : ["standard_metadata_5", "drop"]
1917 },
1918 {
1919 "type" : "field",
1920 "value" : ["standard_metadata", "drop"]
1921 }
1922 ],
1923 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001924 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001925 "line" : 22,
1926 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001927 "source_fragment" : "standard_metadata) { ..."
1928 }
1929 },
1930 {
1931 "op" : "assign",
1932 "parameters" : [
1933 {
1934 "type" : "field",
1935 "value" : ["standard_metadata_5", "recirculate_port"]
1936 },
1937 {
1938 "type" : "field",
1939 "value" : ["standard_metadata", "recirculate_port"]
1940 }
1941 ],
1942 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001943 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001944 "line" : 22,
1945 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001946 "source_fragment" : "standard_metadata) { ..."
1947 }
1948 },
1949 {
1950 "op" : "assign",
1951 "parameters" : [
1952 {
1953 "type" : "field",
1954 "value" : ["standard_metadata_5", "packet_length"]
1955 },
1956 {
1957 "type" : "field",
1958 "value" : ["standard_metadata", "packet_length"]
1959 }
1960 ],
1961 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001962 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001963 "line" : 22,
1964 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001965 "source_fragment" : "standard_metadata) { ..."
1966 }
1967 },
1968 {
1969 "op" : "assign",
1970 "parameters" : [
1971 {
1972 "type" : "field",
1973 "value" : ["standard_metadata_5", "enq_timestamp"]
1974 },
1975 {
1976 "type" : "field",
1977 "value" : ["standard_metadata", "enq_timestamp"]
1978 }
1979 ],
1980 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02001981 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07001982 "line" : 22,
1983 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001984 "source_fragment" : "standard_metadata) { ..."
1985 }
1986 },
1987 {
1988 "op" : "assign",
1989 "parameters" : [
1990 {
1991 "type" : "field",
1992 "value" : ["standard_metadata_5", "enq_qdepth"]
1993 },
1994 {
1995 "type" : "field",
1996 "value" : ["standard_metadata", "enq_qdepth"]
1997 }
1998 ],
1999 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002000 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002001 "line" : 22,
2002 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002003 "source_fragment" : "standard_metadata) { ..."
2004 }
2005 },
2006 {
2007 "op" : "assign",
2008 "parameters" : [
2009 {
2010 "type" : "field",
2011 "value" : ["standard_metadata_5", "deq_timedelta"]
2012 },
2013 {
2014 "type" : "field",
2015 "value" : ["standard_metadata", "deq_timedelta"]
2016 }
2017 ],
2018 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002019 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002020 "line" : 22,
2021 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002022 "source_fragment" : "standard_metadata) { ..."
2023 }
2024 },
2025 {
2026 "op" : "assign",
2027 "parameters" : [
2028 {
2029 "type" : "field",
2030 "value" : ["standard_metadata_5", "deq_qdepth"]
2031 },
2032 {
2033 "type" : "field",
2034 "value" : ["standard_metadata", "deq_qdepth"]
2035 }
2036 ],
2037 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002038 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002039 "line" : 22,
2040 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002041 "source_fragment" : "standard_metadata) { ..."
2042 }
2043 },
2044 {
2045 "op" : "assign",
2046 "parameters" : [
2047 {
2048 "type" : "field",
2049 "value" : ["standard_metadata_5", "ingress_global_timestamp"]
2050 },
2051 {
2052 "type" : "field",
2053 "value" : ["standard_metadata", "ingress_global_timestamp"]
2054 }
2055 ],
2056 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002057 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002058 "line" : 22,
2059 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002060 "source_fragment" : "standard_metadata) { ..."
2061 }
2062 },
2063 {
2064 "op" : "assign",
2065 "parameters" : [
2066 {
2067 "type" : "field",
2068 "value" : ["standard_metadata_5", "lf_field_list"]
2069 },
2070 {
2071 "type" : "field",
2072 "value" : ["standard_metadata", "lf_field_list"]
2073 }
2074 ],
2075 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002076 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002077 "line" : 22,
2078 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002079 "source_fragment" : "standard_metadata) { ..."
2080 }
2081 },
2082 {
2083 "op" : "assign",
2084 "parameters" : [
2085 {
2086 "type" : "field",
2087 "value" : ["standard_metadata_5", "mcast_grp"]
2088 },
2089 {
2090 "type" : "field",
2091 "value" : ["standard_metadata", "mcast_grp"]
2092 }
2093 ],
2094 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002095 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002096 "line" : 22,
2097 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002098 "source_fragment" : "standard_metadata) { ..."
2099 }
2100 },
2101 {
2102 "op" : "assign",
2103 "parameters" : [
2104 {
2105 "type" : "field",
2106 "value" : ["standard_metadata_5", "resubmit_flag"]
2107 },
2108 {
2109 "type" : "field",
2110 "value" : ["standard_metadata", "resubmit_flag"]
2111 }
2112 ],
2113 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002114 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002115 "line" : 22,
2116 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002117 "source_fragment" : "standard_metadata) { ..."
2118 }
2119 },
2120 {
2121 "op" : "assign",
2122 "parameters" : [
2123 {
2124 "type" : "field",
2125 "value" : ["standard_metadata_5", "egress_rid"]
2126 },
2127 {
2128 "type" : "field",
2129 "value" : ["standard_metadata", "egress_rid"]
2130 }
2131 ],
2132 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002133 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002134 "line" : 22,
2135 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002136 "source_fragment" : "standard_metadata) { ..."
2137 }
2138 },
2139 {
2140 "op" : "assign",
2141 "parameters" : [
2142 {
2143 "type" : "field",
2144 "value" : ["standard_metadata_5", "egress_spec"]
2145 },
2146 {
2147 "type" : "hexstr",
Yi Tsengb62509b2017-08-12 20:01:50 -07002148 "value" : "0x00ff"
Carmelo Casconec8e84982017-07-26 15:34:42 -04002149 }
2150 ],
2151 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002152 "filename" : "include/defines.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002153 "line" : 29,
2154 "column" : 24,
2155 "source_fragment" : "255; ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04002156 }
2157 },
2158 {
2159 "op" : "assign",
2160 "parameters" : [
2161 {
2162 "type" : "field",
2163 "value" : ["standard_metadata", "ingress_port"]
2164 },
2165 {
2166 "type" : "field",
2167 "value" : ["standard_metadata_5", "ingress_port"]
2168 }
2169 ],
2170 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002171 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002172 "line" : 22,
2173 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002174 "source_fragment" : "standard_metadata) { ..."
2175 }
2176 },
2177 {
2178 "op" : "assign",
2179 "parameters" : [
2180 {
2181 "type" : "field",
2182 "value" : ["standard_metadata", "egress_spec"]
2183 },
2184 {
2185 "type" : "field",
2186 "value" : ["standard_metadata_5", "egress_spec"]
2187 }
2188 ],
2189 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002190 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002191 "line" : 22,
2192 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002193 "source_fragment" : "standard_metadata) { ..."
2194 }
2195 },
2196 {
2197 "op" : "assign",
2198 "parameters" : [
2199 {
2200 "type" : "field",
2201 "value" : ["standard_metadata", "egress_port"]
2202 },
2203 {
2204 "type" : "field",
2205 "value" : ["standard_metadata_5", "egress_port"]
2206 }
2207 ],
2208 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002209 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002210 "line" : 22,
2211 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002212 "source_fragment" : "standard_metadata) { ..."
2213 }
2214 },
2215 {
2216 "op" : "assign",
2217 "parameters" : [
2218 {
2219 "type" : "field",
2220 "value" : ["standard_metadata", "clone_spec"]
2221 },
2222 {
2223 "type" : "field",
2224 "value" : ["standard_metadata_5", "clone_spec"]
2225 }
2226 ],
2227 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002228 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002229 "line" : 22,
2230 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002231 "source_fragment" : "standard_metadata) { ..."
2232 }
2233 },
2234 {
2235 "op" : "assign",
2236 "parameters" : [
2237 {
2238 "type" : "field",
2239 "value" : ["standard_metadata", "instance_type"]
2240 },
2241 {
2242 "type" : "field",
2243 "value" : ["standard_metadata_5", "instance_type"]
2244 }
2245 ],
2246 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002247 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002248 "line" : 22,
2249 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002250 "source_fragment" : "standard_metadata) { ..."
2251 }
2252 },
2253 {
2254 "op" : "assign",
2255 "parameters" : [
2256 {
2257 "type" : "field",
2258 "value" : ["standard_metadata", "drop"]
2259 },
2260 {
2261 "type" : "field",
2262 "value" : ["standard_metadata_5", "drop"]
2263 }
2264 ],
2265 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002266 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002267 "line" : 22,
2268 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002269 "source_fragment" : "standard_metadata) { ..."
2270 }
2271 },
2272 {
2273 "op" : "assign",
2274 "parameters" : [
2275 {
2276 "type" : "field",
2277 "value" : ["standard_metadata", "recirculate_port"]
2278 },
2279 {
2280 "type" : "field",
2281 "value" : ["standard_metadata_5", "recirculate_port"]
2282 }
2283 ],
2284 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002285 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002286 "line" : 22,
2287 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002288 "source_fragment" : "standard_metadata) { ..."
2289 }
2290 },
2291 {
2292 "op" : "assign",
2293 "parameters" : [
2294 {
2295 "type" : "field",
2296 "value" : ["standard_metadata", "packet_length"]
2297 },
2298 {
2299 "type" : "field",
2300 "value" : ["standard_metadata_5", "packet_length"]
2301 }
2302 ],
2303 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002304 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002305 "line" : 22,
2306 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002307 "source_fragment" : "standard_metadata) { ..."
2308 }
2309 },
2310 {
2311 "op" : "assign",
2312 "parameters" : [
2313 {
2314 "type" : "field",
2315 "value" : ["standard_metadata", "enq_timestamp"]
2316 },
2317 {
2318 "type" : "field",
2319 "value" : ["standard_metadata_5", "enq_timestamp"]
2320 }
2321 ],
2322 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002323 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002324 "line" : 22,
2325 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002326 "source_fragment" : "standard_metadata) { ..."
2327 }
2328 },
2329 {
2330 "op" : "assign",
2331 "parameters" : [
2332 {
2333 "type" : "field",
2334 "value" : ["standard_metadata", "enq_qdepth"]
2335 },
2336 {
2337 "type" : "field",
2338 "value" : ["standard_metadata_5", "enq_qdepth"]
2339 }
2340 ],
2341 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002342 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002343 "line" : 22,
2344 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002345 "source_fragment" : "standard_metadata) { ..."
2346 }
2347 },
2348 {
2349 "op" : "assign",
2350 "parameters" : [
2351 {
2352 "type" : "field",
2353 "value" : ["standard_metadata", "deq_timedelta"]
2354 },
2355 {
2356 "type" : "field",
2357 "value" : ["standard_metadata_5", "deq_timedelta"]
2358 }
2359 ],
2360 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002361 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002362 "line" : 22,
2363 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002364 "source_fragment" : "standard_metadata) { ..."
2365 }
2366 },
2367 {
2368 "op" : "assign",
2369 "parameters" : [
2370 {
2371 "type" : "field",
2372 "value" : ["standard_metadata", "deq_qdepth"]
2373 },
2374 {
2375 "type" : "field",
2376 "value" : ["standard_metadata_5", "deq_qdepth"]
2377 }
2378 ],
2379 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002380 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002381 "line" : 22,
2382 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002383 "source_fragment" : "standard_metadata) { ..."
2384 }
2385 },
2386 {
2387 "op" : "assign",
2388 "parameters" : [
2389 {
2390 "type" : "field",
2391 "value" : ["standard_metadata", "ingress_global_timestamp"]
2392 },
2393 {
2394 "type" : "field",
2395 "value" : ["standard_metadata_5", "ingress_global_timestamp"]
2396 }
2397 ],
2398 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002399 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002400 "line" : 22,
2401 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002402 "source_fragment" : "standard_metadata) { ..."
2403 }
2404 },
2405 {
2406 "op" : "assign",
2407 "parameters" : [
2408 {
2409 "type" : "field",
2410 "value" : ["standard_metadata", "lf_field_list"]
2411 },
2412 {
2413 "type" : "field",
2414 "value" : ["standard_metadata_5", "lf_field_list"]
2415 }
2416 ],
2417 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002418 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002419 "line" : 22,
2420 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002421 "source_fragment" : "standard_metadata) { ..."
2422 }
2423 },
2424 {
2425 "op" : "assign",
2426 "parameters" : [
2427 {
2428 "type" : "field",
2429 "value" : ["standard_metadata", "mcast_grp"]
2430 },
2431 {
2432 "type" : "field",
2433 "value" : ["standard_metadata_5", "mcast_grp"]
2434 }
2435 ],
2436 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002437 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002438 "line" : 22,
2439 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002440 "source_fragment" : "standard_metadata) { ..."
2441 }
2442 },
2443 {
2444 "op" : "assign",
2445 "parameters" : [
2446 {
2447 "type" : "field",
2448 "value" : ["standard_metadata", "resubmit_flag"]
2449 },
2450 {
2451 "type" : "field",
2452 "value" : ["standard_metadata_5", "resubmit_flag"]
2453 }
2454 ],
2455 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002456 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002457 "line" : 22,
2458 "column" : 45,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002459 "source_fragment" : "standard_metadata) { ..."
2460 }
2461 },
2462 {
2463 "op" : "assign",
2464 "parameters" : [
2465 {
2466 "type" : "field",
2467 "value" : ["standard_metadata", "egress_rid"]
2468 },
2469 {
2470 "type" : "field",
2471 "value" : ["standard_metadata_5", "egress_rid"]
2472 }
2473 ],
2474 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002475 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002476 "line" : 22,
2477 "column" : 45,
2478 "source_fragment" : "standard_metadata) { ..."
2479 }
2480 }
2481 ]
2482 },
2483 {
2484 "name" : "drop",
2485 "id" : 3,
2486 "runtime_data" : [],
2487 "primitives" : [
2488 {
2489 "op" : "assign",
2490 "parameters" : [
2491 {
2492 "type" : "field",
2493 "value" : ["standard_metadata_6", "ingress_port"]
2494 },
2495 {
2496 "type" : "field",
2497 "value" : ["standard_metadata", "ingress_port"]
2498 }
2499 ],
2500 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002501 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002502 "line" : 30,
2503 "column" : 38,
2504 "source_fragment" : "standard_metadata) { ..."
2505 }
2506 },
2507 {
2508 "op" : "assign",
2509 "parameters" : [
2510 {
2511 "type" : "field",
2512 "value" : ["standard_metadata_6", "egress_spec"]
2513 },
2514 {
2515 "type" : "field",
2516 "value" : ["standard_metadata", "egress_spec"]
2517 }
2518 ],
2519 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002520 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002521 "line" : 30,
2522 "column" : 38,
2523 "source_fragment" : "standard_metadata) { ..."
2524 }
2525 },
2526 {
2527 "op" : "assign",
2528 "parameters" : [
2529 {
2530 "type" : "field",
2531 "value" : ["standard_metadata_6", "egress_port"]
2532 },
2533 {
2534 "type" : "field",
2535 "value" : ["standard_metadata", "egress_port"]
2536 }
2537 ],
2538 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002539 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002540 "line" : 30,
2541 "column" : 38,
2542 "source_fragment" : "standard_metadata) { ..."
2543 }
2544 },
2545 {
2546 "op" : "assign",
2547 "parameters" : [
2548 {
2549 "type" : "field",
2550 "value" : ["standard_metadata_6", "clone_spec"]
2551 },
2552 {
2553 "type" : "field",
2554 "value" : ["standard_metadata", "clone_spec"]
2555 }
2556 ],
2557 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002558 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002559 "line" : 30,
2560 "column" : 38,
2561 "source_fragment" : "standard_metadata) { ..."
2562 }
2563 },
2564 {
2565 "op" : "assign",
2566 "parameters" : [
2567 {
2568 "type" : "field",
2569 "value" : ["standard_metadata_6", "instance_type"]
2570 },
2571 {
2572 "type" : "field",
2573 "value" : ["standard_metadata", "instance_type"]
2574 }
2575 ],
2576 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002577 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002578 "line" : 30,
2579 "column" : 38,
2580 "source_fragment" : "standard_metadata) { ..."
2581 }
2582 },
2583 {
2584 "op" : "assign",
2585 "parameters" : [
2586 {
2587 "type" : "field",
2588 "value" : ["standard_metadata_6", "drop"]
2589 },
2590 {
2591 "type" : "field",
2592 "value" : ["standard_metadata", "drop"]
2593 }
2594 ],
2595 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002596 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002597 "line" : 30,
2598 "column" : 38,
2599 "source_fragment" : "standard_metadata) { ..."
2600 }
2601 },
2602 {
2603 "op" : "assign",
2604 "parameters" : [
2605 {
2606 "type" : "field",
2607 "value" : ["standard_metadata_6", "recirculate_port"]
2608 },
2609 {
2610 "type" : "field",
2611 "value" : ["standard_metadata", "recirculate_port"]
2612 }
2613 ],
2614 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002615 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002616 "line" : 30,
2617 "column" : 38,
2618 "source_fragment" : "standard_metadata) { ..."
2619 }
2620 },
2621 {
2622 "op" : "assign",
2623 "parameters" : [
2624 {
2625 "type" : "field",
2626 "value" : ["standard_metadata_6", "packet_length"]
2627 },
2628 {
2629 "type" : "field",
2630 "value" : ["standard_metadata", "packet_length"]
2631 }
2632 ],
2633 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002634 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002635 "line" : 30,
2636 "column" : 38,
2637 "source_fragment" : "standard_metadata) { ..."
2638 }
2639 },
2640 {
2641 "op" : "assign",
2642 "parameters" : [
2643 {
2644 "type" : "field",
2645 "value" : ["standard_metadata_6", "enq_timestamp"]
2646 },
2647 {
2648 "type" : "field",
2649 "value" : ["standard_metadata", "enq_timestamp"]
2650 }
2651 ],
2652 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002653 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002654 "line" : 30,
2655 "column" : 38,
2656 "source_fragment" : "standard_metadata) { ..."
2657 }
2658 },
2659 {
2660 "op" : "assign",
2661 "parameters" : [
2662 {
2663 "type" : "field",
2664 "value" : ["standard_metadata_6", "enq_qdepth"]
2665 },
2666 {
2667 "type" : "field",
2668 "value" : ["standard_metadata", "enq_qdepth"]
2669 }
2670 ],
2671 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002672 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002673 "line" : 30,
2674 "column" : 38,
2675 "source_fragment" : "standard_metadata) { ..."
2676 }
2677 },
2678 {
2679 "op" : "assign",
2680 "parameters" : [
2681 {
2682 "type" : "field",
2683 "value" : ["standard_metadata_6", "deq_timedelta"]
2684 },
2685 {
2686 "type" : "field",
2687 "value" : ["standard_metadata", "deq_timedelta"]
2688 }
2689 ],
2690 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002691 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002692 "line" : 30,
2693 "column" : 38,
2694 "source_fragment" : "standard_metadata) { ..."
2695 }
2696 },
2697 {
2698 "op" : "assign",
2699 "parameters" : [
2700 {
2701 "type" : "field",
2702 "value" : ["standard_metadata_6", "deq_qdepth"]
2703 },
2704 {
2705 "type" : "field",
2706 "value" : ["standard_metadata", "deq_qdepth"]
2707 }
2708 ],
2709 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002710 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002711 "line" : 30,
2712 "column" : 38,
2713 "source_fragment" : "standard_metadata) { ..."
2714 }
2715 },
2716 {
2717 "op" : "assign",
2718 "parameters" : [
2719 {
2720 "type" : "field",
2721 "value" : ["standard_metadata_6", "ingress_global_timestamp"]
2722 },
2723 {
2724 "type" : "field",
2725 "value" : ["standard_metadata", "ingress_global_timestamp"]
2726 }
2727 ],
2728 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002729 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002730 "line" : 30,
2731 "column" : 38,
2732 "source_fragment" : "standard_metadata) { ..."
2733 }
2734 },
2735 {
2736 "op" : "assign",
2737 "parameters" : [
2738 {
2739 "type" : "field",
2740 "value" : ["standard_metadata_6", "lf_field_list"]
2741 },
2742 {
2743 "type" : "field",
2744 "value" : ["standard_metadata", "lf_field_list"]
2745 }
2746 ],
2747 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002748 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002749 "line" : 30,
2750 "column" : 38,
2751 "source_fragment" : "standard_metadata) { ..."
2752 }
2753 },
2754 {
2755 "op" : "assign",
2756 "parameters" : [
2757 {
2758 "type" : "field",
2759 "value" : ["standard_metadata_6", "mcast_grp"]
2760 },
2761 {
2762 "type" : "field",
2763 "value" : ["standard_metadata", "mcast_grp"]
2764 }
2765 ],
2766 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002767 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002768 "line" : 30,
2769 "column" : 38,
2770 "source_fragment" : "standard_metadata) { ..."
2771 }
2772 },
2773 {
2774 "op" : "assign",
2775 "parameters" : [
2776 {
2777 "type" : "field",
2778 "value" : ["standard_metadata_6", "resubmit_flag"]
2779 },
2780 {
2781 "type" : "field",
2782 "value" : ["standard_metadata", "resubmit_flag"]
2783 }
2784 ],
2785 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002786 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002787 "line" : 30,
2788 "column" : 38,
2789 "source_fragment" : "standard_metadata) { ..."
2790 }
2791 },
2792 {
2793 "op" : "assign",
2794 "parameters" : [
2795 {
2796 "type" : "field",
2797 "value" : ["standard_metadata_6", "egress_rid"]
2798 },
2799 {
2800 "type" : "field",
2801 "value" : ["standard_metadata", "egress_rid"]
2802 }
2803 ],
2804 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002805 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002806 "line" : 30,
2807 "column" : 38,
2808 "source_fragment" : "standard_metadata) { ..."
2809 }
2810 },
2811 {
2812 "op" : "assign",
2813 "parameters" : [
2814 {
2815 "type" : "field",
2816 "value" : ["standard_metadata_6", "egress_spec"]
2817 },
2818 {
2819 "type" : "hexstr",
2820 "value" : "0x01ff"
2821 }
2822 ],
2823 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002824 "filename" : "include/defines.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002825 "line" : 30,
2826 "column" : 25,
2827 "source_fragment" : "511; ..."
2828 }
2829 },
2830 {
2831 "op" : "assign",
2832 "parameters" : [
2833 {
2834 "type" : "field",
2835 "value" : ["standard_metadata", "ingress_port"]
2836 },
2837 {
2838 "type" : "field",
2839 "value" : ["standard_metadata_6", "ingress_port"]
2840 }
2841 ],
2842 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002843 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002844 "line" : 30,
2845 "column" : 38,
2846 "source_fragment" : "standard_metadata) { ..."
2847 }
2848 },
2849 {
2850 "op" : "assign",
2851 "parameters" : [
2852 {
2853 "type" : "field",
2854 "value" : ["standard_metadata", "egress_spec"]
2855 },
2856 {
2857 "type" : "field",
2858 "value" : ["standard_metadata_6", "egress_spec"]
2859 }
2860 ],
2861 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002862 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002863 "line" : 30,
2864 "column" : 38,
2865 "source_fragment" : "standard_metadata) { ..."
2866 }
2867 },
2868 {
2869 "op" : "assign",
2870 "parameters" : [
2871 {
2872 "type" : "field",
2873 "value" : ["standard_metadata", "egress_port"]
2874 },
2875 {
2876 "type" : "field",
2877 "value" : ["standard_metadata_6", "egress_port"]
2878 }
2879 ],
2880 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002881 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002882 "line" : 30,
2883 "column" : 38,
2884 "source_fragment" : "standard_metadata) { ..."
2885 }
2886 },
2887 {
2888 "op" : "assign",
2889 "parameters" : [
2890 {
2891 "type" : "field",
2892 "value" : ["standard_metadata", "clone_spec"]
2893 },
2894 {
2895 "type" : "field",
2896 "value" : ["standard_metadata_6", "clone_spec"]
2897 }
2898 ],
2899 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002900 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002901 "line" : 30,
2902 "column" : 38,
2903 "source_fragment" : "standard_metadata) { ..."
2904 }
2905 },
2906 {
2907 "op" : "assign",
2908 "parameters" : [
2909 {
2910 "type" : "field",
2911 "value" : ["standard_metadata", "instance_type"]
2912 },
2913 {
2914 "type" : "field",
2915 "value" : ["standard_metadata_6", "instance_type"]
2916 }
2917 ],
2918 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002919 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002920 "line" : 30,
2921 "column" : 38,
2922 "source_fragment" : "standard_metadata) { ..."
2923 }
2924 },
2925 {
2926 "op" : "assign",
2927 "parameters" : [
2928 {
2929 "type" : "field",
2930 "value" : ["standard_metadata", "drop"]
2931 },
2932 {
2933 "type" : "field",
2934 "value" : ["standard_metadata_6", "drop"]
2935 }
2936 ],
2937 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002938 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002939 "line" : 30,
2940 "column" : 38,
2941 "source_fragment" : "standard_metadata) { ..."
2942 }
2943 },
2944 {
2945 "op" : "assign",
2946 "parameters" : [
2947 {
2948 "type" : "field",
2949 "value" : ["standard_metadata", "recirculate_port"]
2950 },
2951 {
2952 "type" : "field",
2953 "value" : ["standard_metadata_6", "recirculate_port"]
2954 }
2955 ],
2956 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002957 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002958 "line" : 30,
2959 "column" : 38,
2960 "source_fragment" : "standard_metadata) { ..."
2961 }
2962 },
2963 {
2964 "op" : "assign",
2965 "parameters" : [
2966 {
2967 "type" : "field",
2968 "value" : ["standard_metadata", "packet_length"]
2969 },
2970 {
2971 "type" : "field",
2972 "value" : ["standard_metadata_6", "packet_length"]
2973 }
2974 ],
2975 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002976 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002977 "line" : 30,
2978 "column" : 38,
2979 "source_fragment" : "standard_metadata) { ..."
2980 }
2981 },
2982 {
2983 "op" : "assign",
2984 "parameters" : [
2985 {
2986 "type" : "field",
2987 "value" : ["standard_metadata", "enq_timestamp"]
2988 },
2989 {
2990 "type" : "field",
2991 "value" : ["standard_metadata_6", "enq_timestamp"]
2992 }
2993 ],
2994 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02002995 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07002996 "line" : 30,
2997 "column" : 38,
2998 "source_fragment" : "standard_metadata) { ..."
2999 }
3000 },
3001 {
3002 "op" : "assign",
3003 "parameters" : [
3004 {
3005 "type" : "field",
3006 "value" : ["standard_metadata", "enq_qdepth"]
3007 },
3008 {
3009 "type" : "field",
3010 "value" : ["standard_metadata_6", "enq_qdepth"]
3011 }
3012 ],
3013 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003014 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003015 "line" : 30,
3016 "column" : 38,
3017 "source_fragment" : "standard_metadata) { ..."
3018 }
3019 },
3020 {
3021 "op" : "assign",
3022 "parameters" : [
3023 {
3024 "type" : "field",
3025 "value" : ["standard_metadata", "deq_timedelta"]
3026 },
3027 {
3028 "type" : "field",
3029 "value" : ["standard_metadata_6", "deq_timedelta"]
3030 }
3031 ],
3032 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003033 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003034 "line" : 30,
3035 "column" : 38,
3036 "source_fragment" : "standard_metadata) { ..."
3037 }
3038 },
3039 {
3040 "op" : "assign",
3041 "parameters" : [
3042 {
3043 "type" : "field",
3044 "value" : ["standard_metadata", "deq_qdepth"]
3045 },
3046 {
3047 "type" : "field",
3048 "value" : ["standard_metadata_6", "deq_qdepth"]
3049 }
3050 ],
3051 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003052 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003053 "line" : 30,
3054 "column" : 38,
3055 "source_fragment" : "standard_metadata) { ..."
3056 }
3057 },
3058 {
3059 "op" : "assign",
3060 "parameters" : [
3061 {
3062 "type" : "field",
3063 "value" : ["standard_metadata", "ingress_global_timestamp"]
3064 },
3065 {
3066 "type" : "field",
3067 "value" : ["standard_metadata_6", "ingress_global_timestamp"]
3068 }
3069 ],
3070 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003071 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003072 "line" : 30,
3073 "column" : 38,
3074 "source_fragment" : "standard_metadata) { ..."
3075 }
3076 },
3077 {
3078 "op" : "assign",
3079 "parameters" : [
3080 {
3081 "type" : "field",
3082 "value" : ["standard_metadata", "lf_field_list"]
3083 },
3084 {
3085 "type" : "field",
3086 "value" : ["standard_metadata_6", "lf_field_list"]
3087 }
3088 ],
3089 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003090 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003091 "line" : 30,
3092 "column" : 38,
3093 "source_fragment" : "standard_metadata) { ..."
3094 }
3095 },
3096 {
3097 "op" : "assign",
3098 "parameters" : [
3099 {
3100 "type" : "field",
3101 "value" : ["standard_metadata", "mcast_grp"]
3102 },
3103 {
3104 "type" : "field",
3105 "value" : ["standard_metadata_6", "mcast_grp"]
3106 }
3107 ],
3108 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003109 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003110 "line" : 30,
3111 "column" : 38,
3112 "source_fragment" : "standard_metadata) { ..."
3113 }
3114 },
3115 {
3116 "op" : "assign",
3117 "parameters" : [
3118 {
3119 "type" : "field",
3120 "value" : ["standard_metadata", "resubmit_flag"]
3121 },
3122 {
3123 "type" : "field",
3124 "value" : ["standard_metadata_6", "resubmit_flag"]
3125 }
3126 ],
3127 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003128 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003129 "line" : 30,
3130 "column" : 38,
3131 "source_fragment" : "standard_metadata) { ..."
3132 }
3133 },
3134 {
3135 "op" : "assign",
3136 "parameters" : [
3137 {
3138 "type" : "field",
3139 "value" : ["standard_metadata", "egress_rid"]
3140 },
3141 {
3142 "type" : "field",
3143 "value" : ["standard_metadata_6", "egress_rid"]
3144 }
3145 ],
3146 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003147 "filename" : "include/actions.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003148 "line" : 30,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003149 "column" : 38,
3150 "source_fragment" : "standard_metadata) { ..."
3151 }
3152 }
3153 ]
3154 },
3155 {
3156 "name" : "NoAction",
Yi Tsengb62509b2017-08-12 20:01:50 -07003157 "id" : 4,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003158 "runtime_data" : [],
3159 "primitives" : []
3160 },
3161 {
Yi Tsengb62509b2017-08-12 20:01:50 -07003162 "name" : "do_ecmp",
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003163 "id" : 5,
Yi Tsengb62509b2017-08-12 20:01:50 -07003164 "runtime_data" : [
3165 {
3166 "name" : "ecmp_group_id",
3167 "bitwidth" : 8
3168 }
3169 ],
3170 "primitives" : [
3171 {
3172 "op" : "assign",
3173 "parameters" : [
3174 {
3175 "type" : "field",
Yi Tsengb62509b2017-08-12 20:01:50 -07003176 "value" : ["scalars", "metadata_t.ecmp_group_id"]
3177 },
3178 {
3179 "type" : "runtime_data",
3180 "value" : 0
3181 }
3182 ],
3183 "source_info" : {
3184 "filename" : "default.p4",
3185 "line" : 38,
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003186 "column" : 8,
3187 "source_fragment" : "meta.ecmp_group_id = ecmp_group_id"
Yi Tsengb62509b2017-08-12 20:01:50 -07003188 }
3189 }
3190 ]
3191 },
3192 {
Carmelo Casconec8e84982017-07-26 15:34:42 -04003193 "name" : "act",
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003194 "id" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003195 "runtime_data" : [],
3196 "primitives" : [
3197 {
3198 "op" : "assign",
3199 "parameters" : [
3200 {
3201 "type" : "field",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003202 "value" : ["standard_metadata", "egress_spec"]
3203 },
3204 {
3205 "type" : "field",
3206 "value" : ["packet_out", "egress_port"]
3207 }
3208 ],
3209 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003210 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003211 "line" : 23,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003212 "column" : 12,
3213 "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
3214 }
3215 }
3216 ]
3217 },
3218 {
3219 "name" : "act_0",
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003220 "id" : 7,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003221 "runtime_data" : [],
3222 "primitives" : [
3223 {
3224 "op" : "assign",
3225 "parameters" : [
3226 {
3227 "type" : "field",
Carmelo Casconec8e84982017-07-26 15:34:42 -04003228 "value" : ["scalars", "tmp"]
3229 },
3230 {
3231 "type" : "expression",
3232 "value" : {
3233 "type" : "expression",
3234 "value" : {
3235 "op" : "&",
3236 "left" : {
3237 "type" : "field",
3238 "value" : ["standard_metadata", "ingress_port"]
3239 },
3240 "right" : {
3241 "type" : "hexstr",
3242 "value" : "0xffffffff"
3243 }
3244 }
3245 }
3246 }
3247 ]
3248 },
3249 {
3250 "op" : "count",
3251 "parameters" : [
3252 {
3253 "type" : "counter_array",
3254 "value" : "port_counters_control.ingress_port_counter"
3255 },
3256 {
3257 "type" : "field",
3258 "value" : ["scalars", "tmp"]
3259 }
3260 ],
3261 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003262 "filename" : "include/port_counters.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003263 "line" : 27,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003264 "column" : 12,
3265 "source_fragment" : "ingress_port_counter.count((bit<32>)standard_metadata.ingress_port)"
3266 }
3267 },
3268 {
3269 "op" : "assign",
3270 "parameters" : [
3271 {
3272 "type" : "field",
3273 "value" : ["scalars", "tmp_0"]
3274 },
3275 {
3276 "type" : "expression",
3277 "value" : {
3278 "type" : "expression",
3279 "value" : {
3280 "op" : "&",
3281 "left" : {
3282 "type" : "field",
3283 "value" : ["standard_metadata", "egress_spec"]
3284 },
3285 "right" : {
3286 "type" : "hexstr",
3287 "value" : "0xffffffff"
3288 }
3289 }
3290 }
3291 }
3292 ]
3293 },
3294 {
3295 "op" : "count",
3296 "parameters" : [
3297 {
3298 "type" : "counter_array",
3299 "value" : "port_counters_control.egress_port_counter"
3300 },
3301 {
3302 "type" : "field",
3303 "value" : ["scalars", "tmp_0"]
3304 }
3305 ],
3306 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003307 "filename" : "include/port_counters.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003308 "line" : 28,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003309 "column" : 12,
3310 "source_fragment" : "egress_port_counter.count((bit<32>)standard_metadata.egress_spec)"
3311 }
3312 }
3313 ]
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003314 },
3315 {
3316 "name" : "act_1",
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003317 "id" : 8,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003318 "runtime_data" : [],
3319 "primitives" : [
3320 {
3321 "op" : "add_header",
3322 "parameters" : [
3323 {
3324 "type" : "header",
3325 "value" : "packet_in"
3326 }
3327 ],
3328 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003329 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003330 "line" : 32,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003331 "column" : 12,
3332 "source_fragment" : "hdr.packet_in.setValid()"
3333 }
3334 },
3335 {
3336 "op" : "assign",
3337 "parameters" : [
3338 {
3339 "type" : "field",
3340 "value" : ["packet_in", "ingress_port"]
3341 },
3342 {
3343 "type" : "field",
3344 "value" : ["standard_metadata", "ingress_port"]
3345 }
3346 ],
3347 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003348 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003349 "line" : 33,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003350 "column" : 12,
3351 "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
3352 }
3353 }
3354 ]
3355 },
3356 {
3357 "name" : "act_2",
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003358 "id" : 9,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003359 "runtime_data" : [],
3360 "primitives" : [
3361 {
3362 "op" : "remove_header",
3363 "parameters" : [
3364 {
3365 "type" : "header",
3366 "value" : "packet_out"
3367 }
3368 ],
3369 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003370 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003371 "line" : 30,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003372 "column" : 8,
3373 "source_fragment" : "hdr.packet_out.setInvalid()"
3374 }
3375 }
3376 ]
Carmelo Casconec8e84982017-07-26 15:34:42 -04003377 }
3378 ],
3379 "pipelines" : [
3380 {
3381 "name" : "ingress",
3382 "id" : 0,
3383 "source_info" : {
3384 "filename" : "default.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003385 "line" : 33,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003386 "column" : 8,
3387 "source_fragment" : "ingress"
3388 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003389 "init_table" : "node_2",
Carmelo Casconec8e84982017-07-26 15:34:42 -04003390 "tables" : [
3391 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003392 "name" : "tbl_act",
Carmelo Casconec8e84982017-07-26 15:34:42 -04003393 "id" : 0,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003394 "key" : [],
3395 "match_type" : "exact",
3396 "type" : "simple",
3397 "max_size" : 1024,
3398 "with_counters" : false,
3399 "support_timeout" : false,
3400 "direct_meters" : null,
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003401 "action_ids" : [6],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003402 "actions" : ["act"],
3403 "base_default_next" : "node_4",
3404 "next_tables" : {
3405 "act" : "node_4"
3406 },
3407 "default_entry" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003408 "action_id" : 6,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003409 "action_const" : true,
3410 "action_data" : [],
3411 "action_entry_const" : true
3412 }
3413 },
3414 {
3415 "name" : "table0",
3416 "id" : 1,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003417 "source_info" : {
3418 "filename" : "default.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003419 "line" : 41,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003420 "column" : 10,
3421 "source_fragment" : "table0"
3422 },
3423 "key" : [
3424 {
3425 "match_type" : "ternary",
3426 "target" : ["standard_metadata", "ingress_port"],
3427 "mask" : null
3428 },
3429 {
3430 "match_type" : "ternary",
3431 "target" : ["ethernet", "dstAddr"],
3432 "mask" : null
3433 },
3434 {
3435 "match_type" : "ternary",
3436 "target" : ["ethernet", "srcAddr"],
3437 "mask" : null
3438 },
3439 {
3440 "match_type" : "ternary",
3441 "target" : ["ethernet", "etherType"],
3442 "mask" : null
3443 }
3444 ],
3445 "match_type" : "ternary",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003446 "type" : "simple",
Carmelo Casconec8e84982017-07-26 15:34:42 -04003447 "max_size" : 1024,
3448 "support_timeout" : false,
3449 "direct_meters" : null,
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003450 "action_ids" : [0, 2, 5, 3],
3451 "actions" : ["set_egress_port", "send_to_cpu", "do_ecmp", "drop"],
Yi Tsengb62509b2017-08-12 20:01:50 -07003452 "base_default_next" : "node_7",
Carmelo Casconec8e84982017-07-26 15:34:42 -04003453 "next_tables" : {
Yi Tsengb62509b2017-08-12 20:01:50 -07003454 "do_ecmp" : "ecmp",
3455 "set_egress_port" : "node_7",
3456 "send_to_cpu" : "node_7",
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003457 "drop" : "node_7"
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003458 },
3459 "default_entry" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003460 "action_id" : 3,
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003461 "action_const" : false,
3462 "action_data" : [],
3463 "action_entry_const" : false
Carmelo Casconec8e84982017-07-26 15:34:42 -04003464 }
3465 },
3466 {
Yi Tsengb62509b2017-08-12 20:01:50 -07003467 "name" : "ecmp",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003468 "id" : 2,
Yi Tsengb62509b2017-08-12 20:01:50 -07003469 "source_info" : {
3470 "filename" : "default.p4",
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003471 "line" : 64,
Yi Tsengb62509b2017-08-12 20:01:50 -07003472 "column" : 10,
3473 "source_fragment" : "ecmp"
3474 },
3475 "key" : [
3476 {
3477 "match_type" : "exact",
3478 "target" : ["scalars", "metadata_t.ecmp_group_id"],
3479 "mask" : null
3480 }
3481 ],
3482 "match_type" : "exact",
3483 "type" : "indirect_ws",
3484 "action_profile" : "ecmp_selector",
3485 "max_size" : 1024,
3486 "support_timeout" : false,
3487 "direct_meters" : null,
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003488 "action_ids" : [1, 4],
Yi Tsengb62509b2017-08-12 20:01:50 -07003489 "actions" : ["set_egress_port", "NoAction"],
3490 "base_default_next" : "node_7",
3491 "next_tables" : {
3492 "set_egress_port" : "node_7",
3493 "NoAction" : "node_7"
3494 }
3495 },
3496 {
3497 "name" : "tbl_act_0",
3498 "id" : 3,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003499 "key" : [],
3500 "match_type" : "exact",
3501 "type" : "simple",
3502 "max_size" : 1024,
3503 "with_counters" : false,
3504 "support_timeout" : false,
3505 "direct_meters" : null,
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003506 "action_ids" : [7],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003507 "actions" : ["act_0"],
Carmelo Casconec8e84982017-07-26 15:34:42 -04003508 "base_default_next" : null,
3509 "next_tables" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003510 "act_0" : null
Carmelo Casconec8e84982017-07-26 15:34:42 -04003511 },
3512 "default_entry" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003513 "action_id" : 7,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003514 "action_const" : true,
3515 "action_data" : [],
3516 "action_entry_const" : true
3517 }
3518 }
3519 ],
Yi Tsengb62509b2017-08-12 20:01:50 -07003520 "action_profiles" : [
3521 {
3522 "name" : "ecmp_selector",
3523 "id" : 0,
3524 "max_size" : 64,
3525 "selector" : {
3526 "algo" : "crc16",
3527 "input" : [
3528 {
3529 "type" : "field",
3530 "value" : ["ipv4", "srcAddr"]
3531 },
3532 {
3533 "type" : "field",
3534 "value" : ["ipv4", "dstAddr"]
3535 },
3536 {
3537 "type" : "field",
3538 "value" : ["ipv4", "protocol"]
3539 },
3540 {
3541 "type" : "field",
3542 "value" : ["tcp", "srcPort"]
3543 },
3544 {
3545 "type" : "field",
3546 "value" : ["tcp", "dstPort"]
3547 },
3548 {
3549 "type" : "field",
3550 "value" : ["udp", "srcPort"]
3551 },
3552 {
3553 "type" : "field",
3554 "value" : ["udp", "dstPort"]
3555 }
3556 ]
3557 }
3558 }
3559 ],
Carmelo Casconec8e84982017-07-26 15:34:42 -04003560 "conditionals" : [
3561 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003562 "name" : "node_2",
Carmelo Casconec8e84982017-07-26 15:34:42 -04003563 "id" : 0,
3564 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003565 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003566 "line" : 22,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003567 "column" : 12,
3568 "source_fragment" : "hdr.packet_out.isValid()"
3569 },
3570 "expression" : {
3571 "type" : "expression",
3572 "value" : {
3573 "op" : "==",
3574 "left" : {
3575 "type" : "field",
3576 "value" : ["packet_out", "$valid$"]
3577 },
3578 "right" : {
3579 "type" : "hexstr",
3580 "value" : "0x01"
3581 }
3582 }
3583 },
3584 "true_next" : "tbl_act",
3585 "false_next" : "node_4"
3586 },
3587 {
3588 "name" : "node_4",
3589 "id" : 1,
3590 "source_info" : {
3591 "filename" : "default.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003592 "line" : 90,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003593 "column" : 13,
3594 "source_fragment" : "hdr.packet_out.isValid()"
3595 },
3596 "expression" : {
3597 "type" : "expression",
3598 "value" : {
3599 "op" : "!=",
3600 "left" : {
3601 "type" : "field",
3602 "value" : ["packet_out", "$valid$"]
3603 },
3604 "right" : {
3605 "type" : "hexstr",
3606 "value" : "0x01"
3607 }
3608 }
3609 },
3610 "true_next" : "table0",
Yi Tsengb62509b2017-08-12 20:01:50 -07003611 "false_next" : "node_7"
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003612 },
3613 {
Yi Tsengb62509b2017-08-12 20:01:50 -07003614 "name" : "node_7",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003615 "id" : 2,
3616 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003617 "filename" : "include/port_counters.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003618 "line" : 26,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003619 "column" : 12,
3620 "source_fragment" : "standard_metadata.egress_spec < 254"
3621 },
3622 "expression" : {
3623 "type" : "expression",
3624 "value" : {
3625 "op" : "<",
3626 "left" : {
3627 "type" : "field",
3628 "value" : ["standard_metadata", "egress_spec"]
3629 },
3630 "right" : {
3631 "type" : "hexstr",
3632 "value" : "0x00fe"
3633 }
3634 }
3635 },
3636 "false_next" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003637 "true_next" : "tbl_act_0"
Carmelo Casconec8e84982017-07-26 15:34:42 -04003638 }
3639 ]
3640 },
3641 {
3642 "name" : "egress",
3643 "id" : 1,
3644 "source_info" : {
3645 "filename" : "default.p4",
Yi Tsengb62509b2017-08-12 20:01:50 -07003646 "line" : 102,
Carmelo Casconec8e84982017-07-26 15:34:42 -04003647 "column" : 8,
3648 "source_fragment" : "egress"
3649 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003650 "init_table" : "tbl_act_1",
3651 "tables" : [
3652 {
3653 "name" : "tbl_act_1",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003654 "id" : 4,
3655 "key" : [],
3656 "match_type" : "exact",
3657 "type" : "simple",
3658 "max_size" : 1024,
3659 "with_counters" : false,
3660 "support_timeout" : false,
3661 "direct_meters" : null,
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003662 "action_ids" : [9],
Yi Tsengb62509b2017-08-12 20:01:50 -07003663 "actions" : ["act_2"],
3664 "base_default_next" : "node_12",
3665 "next_tables" : {
3666 "act_2" : "node_12"
3667 },
3668 "default_entry" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003669 "action_id" : 9,
Yi Tsengb62509b2017-08-12 20:01:50 -07003670 "action_const" : true,
3671 "action_data" : [],
3672 "action_entry_const" : true
3673 }
3674 },
3675 {
3676 "name" : "tbl_act_2",
3677 "id" : 5,
3678 "key" : [],
3679 "match_type" : "exact",
3680 "type" : "simple",
3681 "max_size" : 1024,
3682 "with_counters" : false,
3683 "support_timeout" : false,
3684 "direct_meters" : null,
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003685 "action_ids" : [8],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003686 "actions" : ["act_1"],
3687 "base_default_next" : null,
3688 "next_tables" : {
3689 "act_1" : null
3690 },
3691 "default_entry" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003692 "action_id" : 8,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003693 "action_const" : true,
3694 "action_data" : [],
3695 "action_entry_const" : true
3696 }
3697 }
3698 ],
Carmelo Casconec8e84982017-07-26 15:34:42 -04003699 "action_profiles" : [],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003700 "conditionals" : [
3701 {
Yi Tsengb62509b2017-08-12 20:01:50 -07003702 "name" : "node_12",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003703 "id" : 3,
3704 "source_info" : {
Carmelo Casconeb605cf02017-08-24 13:27:49 +02003705 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003706 "line" : 31,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003707 "column" : 12,
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003708 "source_fragment" : "standard_metadata.egress_port == CPU_PORT"
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003709 },
3710 "expression" : {
3711 "type" : "expression",
3712 "value" : {
3713 "op" : "==",
3714 "left" : {
3715 "type" : "field",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02003716 "value" : ["standard_metadata", "egress_port"]
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04003717 },
3718 "right" : {
3719 "type" : "hexstr",
3720 "value" : "0x00ff"
3721 }
3722 }
3723 },
3724 "false_next" : null,
3725 "true_next" : "tbl_act_2"
3726 }
3727 ]
Carmelo Casconec8e84982017-07-26 15:34:42 -04003728 }
3729 ],
3730 "checksums" : [],
3731 "force_arith" : [],
3732 "extern_instances" : [],
3733 "field_aliases" : [
3734 [
3735 "queueing_metadata.enq_timestamp",
3736 ["standard_metadata", "enq_timestamp"]
3737 ],
3738 [
3739 "queueing_metadata.enq_qdepth",
3740 ["standard_metadata", "enq_qdepth"]
3741 ],
3742 [
3743 "queueing_metadata.deq_timedelta",
3744 ["standard_metadata", "deq_timedelta"]
3745 ],
3746 [
3747 "queueing_metadata.deq_qdepth",
3748 ["standard_metadata", "deq_qdepth"]
3749 ],
3750 [
3751 "intrinsic_metadata.ingress_global_timestamp",
3752 ["standard_metadata", "ingress_global_timestamp"]
3753 ],
3754 [
3755 "intrinsic_metadata.lf_field_list",
3756 ["standard_metadata", "lf_field_list"]
3757 ],
3758 [
3759 "intrinsic_metadata.mcast_grp",
3760 ["standard_metadata", "mcast_grp"]
3761 ],
3762 [
3763 "intrinsic_metadata.resubmit_flag",
3764 ["standard_metadata", "resubmit_flag"]
3765 ],
3766 [
3767 "intrinsic_metadata.egress_rid",
3768 ["standard_metadata", "egress_rid"]
3769 ]
3770 ]
3771}