blob: 8b9070c0830171123261822ba12de57552cf7211 [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],
13 ["tmp_0", 32, false]
14 ]
15 },
16 {
17 "name" : "standard_metadata",
18 "id" : 1,
19 "fields" : [
20 ["ingress_port", 9, false],
21 ["egress_spec", 9, false],
22 ["egress_port", 9, false],
23 ["clone_spec", 32, false],
24 ["instance_type", 32, false],
25 ["drop", 1, false],
26 ["recirculate_port", 16, false],
27 ["packet_length", 32, false],
28 ["enq_timestamp", 32, false],
29 ["enq_qdepth", 19, false],
30 ["deq_timedelta", 32, false],
31 ["deq_qdepth", 19, false],
32 ["ingress_global_timestamp", 48, false],
33 ["lf_field_list", 32, false],
34 ["mcast_grp", 16, false],
35 ["resubmit_flag", 1, false],
36 ["egress_rid", 16, false],
37 ["_padding", 5, false]
38 ]
39 },
40 {
41 "name" : "ethernet_t",
42 "id" : 2,
43 "fields" : [
44 ["dstAddr", 48, false],
45 ["srcAddr", 48, false],
46 ["etherType", 16, false]
47 ]
48 },
49 {
50 "name" : "ipv4_t",
51 "id" : 3,
52 "fields" : [
53 ["version", 4, false],
54 ["ihl", 4, false],
55 ["diffserv", 8, false],
56 ["totalLen", 16, false],
57 ["identification", 16, false],
58 ["flags", 3, false],
59 ["fragOffset", 13, false],
60 ["ttl", 8, false],
61 ["protocol", 8, false],
62 ["hdrChecksum", 16, false],
63 ["srcAddr", 32, false],
64 ["dstAddr", 32, false]
65 ]
66 },
67 {
68 "name" : "tcp_t",
69 "id" : 4,
70 "fields" : [
71 ["srcPort", 16, false],
72 ["dstPort", 16, false],
73 ["seqNo", 32, false],
74 ["ackNo", 32, false],
75 ["dataOffset", 4, false],
76 ["res", 3, false],
77 ["ecn", 3, false],
78 ["ctrl", 6, false],
79 ["window", 16, false],
80 ["checksum", 16, false],
81 ["urgentPtr", 16, false]
82 ]
83 },
84 {
85 "name" : "udp_t",
86 "id" : 5,
87 "fields" : [
88 ["srcPort", 16, false],
89 ["dstPort", 16, false],
90 ["length_", 16, false],
91 ["checksum", 16, false]
92 ]
93 },
94 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -040095 "name" : "packet_out_header_t",
Carmelo Casconec8e84982017-07-26 15:34:42 -040096 "id" : 6,
97 "fields" : [
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -040098 ["egress_port", 9, false],
99 ["_padding_0", 7, false]
100 ]
101 },
102 {
103 "name" : "packet_in_header_t",
104 "id" : 7,
105 "fields" : [
106 ["ingress_port", 9, false],
107 ["_padding_1", 7, false]
108 ]
109 },
110 {
111 "name" : "ecmp_metadata_t",
112 "id" : 8,
113 "fields" : [
114 ["group_id", 16, false],
Carmelo Casconec8e84982017-07-26 15:34:42 -0400115 ["selector", 16, false]
116 ]
117 },
118 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400119 "name" : "wcmp_metadata_t",
120 "id" : 9,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400121 "fields" : [
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400122 ["group_id", 16, false],
Carmelo Casconec8e84982017-07-26 15:34:42 -0400123 ["numBits", 8, false],
124 ["selector", 64, false]
125 ]
126 },
127 {
128 "name" : "intrinsic_metadata_t",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400129 "id" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400130 "fields" : [
131 ["ingress_global_timestamp", 32, false],
132 ["lf_field_list", 32, false],
133 ["mcast_grp", 16, false],
134 ["egress_rid", 16, false]
135 ]
136 }
137 ],
138 "headers" : [
139 {
140 "name" : "standard_metadata_3",
141 "id" : 0,
142 "header_type" : "standard_metadata",
143 "metadata" : true,
144 "pi_omit" : true
145 },
146 {
147 "name" : "standard_metadata_4",
148 "id" : 1,
149 "header_type" : "standard_metadata",
150 "metadata" : true,
151 "pi_omit" : true
152 },
153 {
154 "name" : "standard_metadata_5",
155 "id" : 2,
156 "header_type" : "standard_metadata",
157 "metadata" : true,
158 "pi_omit" : true
159 },
160 {
161 "name" : "scalars",
162 "id" : 3,
163 "header_type" : "scalars_0",
164 "metadata" : true,
165 "pi_omit" : true
166 },
167 {
168 "name" : "standard_metadata",
169 "id" : 4,
170 "header_type" : "standard_metadata",
171 "metadata" : true,
172 "pi_omit" : true
173 },
174 {
175 "name" : "ethernet",
176 "id" : 5,
177 "header_type" : "ethernet_t",
178 "metadata" : false,
179 "pi_omit" : true
180 },
181 {
182 "name" : "ipv4",
183 "id" : 6,
184 "header_type" : "ipv4_t",
185 "metadata" : false,
186 "pi_omit" : true
187 },
188 {
189 "name" : "tcp",
190 "id" : 7,
191 "header_type" : "tcp_t",
192 "metadata" : false,
193 "pi_omit" : true
194 },
195 {
196 "name" : "udp",
197 "id" : 8,
198 "header_type" : "udp_t",
199 "metadata" : false,
200 "pi_omit" : true
201 },
202 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400203 "name" : "packet_out",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400204 "id" : 9,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400205 "header_type" : "packet_out_header_t",
206 "metadata" : false,
207 "pi_omit" : true
208 },
209 {
210 "name" : "packet_in",
211 "id" : 10,
212 "header_type" : "packet_in_header_t",
213 "metadata" : false,
214 "pi_omit" : true
215 },
216 {
217 "name" : "ecmp_metadata",
218 "id" : 11,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400219 "header_type" : "ecmp_metadata_t",
220 "metadata" : true,
221 "pi_omit" : true
222 },
223 {
224 "name" : "wcmp_meta",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400225 "id" : 12,
226 "header_type" : "wcmp_metadata_t",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400227 "metadata" : true,
228 "pi_omit" : true
229 },
230 {
231 "name" : "intrinsic_metadata",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400232 "id" : 13,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400233 "header_type" : "intrinsic_metadata_t",
234 "metadata" : true,
235 "pi_omit" : true
236 }
237 ],
238 "header_stacks" : [],
239 "header_union_types" : [],
240 "header_unions" : [],
241 "header_union_stacks" : [],
242 "field_lists" : [],
243 "errors" : [
244 ["NoError", 1],
245 ["PacketTooShort", 2],
246 ["NoMatch", 3],
247 ["StackOutOfBounds", 4],
248 ["HeaderTooShort", 5],
249 ["ParserTimeout", 6]
250 ],
251 "enums" : [],
252 "parsers" : [
253 {
254 "name" : "parser",
255 "id" : 0,
256 "init_state" : "start",
257 "parse_states" : [
258 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400259 "name" : "parse_packet_out",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400260 "id" : 0,
261 "parser_ops" : [
262 {
263 "parameters" : [
264 {
265 "type" : "regular",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400266 "value" : "packet_out"
267 }
268 ],
269 "op" : "extract"
270 }
271 ],
272 "transitions" : [
273 {
274 "value" : "default",
275 "mask" : null,
276 "next_state" : "parse_ethernet"
277 }
278 ],
279 "transition_key" : []
280 },
281 {
282 "name" : "parse_ethernet",
283 "id" : 1,
284 "parser_ops" : [
285 {
286 "parameters" : [
287 {
288 "type" : "regular",
289 "value" : "ethernet"
290 }
291 ],
292 "op" : "extract"
293 }
294 ],
295 "transitions" : [
296 {
297 "value" : "0x0800",
298 "mask" : null,
299 "next_state" : "parse_ipv4"
300 },
301 {
302 "value" : "default",
303 "mask" : null,
304 "next_state" : null
305 }
306 ],
307 "transition_key" : [
308 {
309 "type" : "field",
310 "value" : ["ethernet", "etherType"]
311 }
312 ]
313 },
314 {
315 "name" : "parse_ipv4",
316 "id" : 2,
317 "parser_ops" : [
318 {
319 "parameters" : [
320 {
321 "type" : "regular",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400322 "value" : "ipv4"
323 }
324 ],
325 "op" : "extract"
326 }
327 ],
328 "transitions" : [
329 {
330 "value" : "0x06",
331 "mask" : null,
332 "next_state" : "parse_tcp"
333 },
334 {
335 "value" : "0x11",
336 "mask" : null,
337 "next_state" : "parse_udp"
338 },
339 {
340 "value" : "default",
341 "mask" : null,
342 "next_state" : null
343 }
344 ],
345 "transition_key" : [
346 {
347 "type" : "field",
348 "value" : ["ipv4", "protocol"]
349 }
350 ]
351 },
352 {
353 "name" : "parse_tcp",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400354 "id" : 3,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400355 "parser_ops" : [
356 {
357 "parameters" : [
358 {
359 "type" : "regular",
360 "value" : "tcp"
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" : "parse_udp",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400377 "id" : 4,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400378 "parser_ops" : [
379 {
380 "parameters" : [
381 {
382 "type" : "regular",
383 "value" : "udp"
384 }
385 ],
386 "op" : "extract"
387 }
388 ],
389 "transitions" : [
390 {
391 "value" : "default",
392 "mask" : null,
393 "next_state" : null
394 }
395 ],
396 "transition_key" : []
397 },
398 {
399 "name" : "start",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400400 "id" : 5,
401 "parser_ops" : [],
Carmelo Casconec8e84982017-07-26 15:34:42 -0400402 "transitions" : [
403 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400404 "value" : "0xff",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400405 "mask" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400406 "next_state" : "parse_packet_out"
Carmelo Casconec8e84982017-07-26 15:34:42 -0400407 },
408 {
409 "value" : "default",
410 "mask" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400411 "next_state" : "parse_ethernet"
Carmelo Casconec8e84982017-07-26 15:34:42 -0400412 }
413 ],
414 "transition_key" : [
415 {
416 "type" : "field",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400417 "value" : ["standard_metadata", "ingress_port"]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400418 }
419 ]
420 }
421 ]
422 }
423 ],
424 "deparsers" : [
425 {
426 "name" : "deparser",
427 "id" : 0,
428 "source_info" : {
429 "filename" : "include/parsers.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400430 "line" : 49,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400431 "column" : 8,
432 "source_fragment" : "DeparserImpl"
433 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400434 "order" : ["packet_in", "ethernet", "ipv4", "udp", "tcp"]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400435 }
436 ],
437 "meter_arrays" : [],
438 "counter_arrays" : [
439 {
440 "name" : "table0_counter",
441 "id" : 0,
442 "is_direct" : true,
443 "binding" : "table0"
444 },
445 {
446 "name" : "port_counters_control.egress_port_counter",
447 "id" : 1,
448 "source_info" : {
449 "filename" : "include/port_counters.p4",
450 "line" : 6,
451 "column" : 38,
452 "source_fragment" : "egress_port_counter"
453 },
454 "size" : 254,
455 "is_direct" : false
456 },
457 {
458 "name" : "port_counters_control.ingress_port_counter",
459 "id" : 2,
460 "source_info" : {
461 "filename" : "include/port_counters.p4",
462 "line" : 7,
463 "column" : 38,
464 "source_fragment" : "ingress_port_counter"
465 },
466 "size" : 254,
467 "is_direct" : false
468 }
469 ],
470 "register_arrays" : [],
471 "calculations" : [],
472 "learn_lists" : [],
473 "actions" : [
474 {
475 "name" : "set_egress_port",
476 "id" : 0,
477 "runtime_data" : [
478 {
479 "name" : "port",
480 "bitwidth" : 9
481 }
482 ],
483 "primitives" : [
484 {
485 "op" : "assign",
486 "parameters" : [
487 {
488 "type" : "field",
489 "value" : ["standard_metadata_3", "ingress_port"]
490 },
491 {
492 "type" : "field",
493 "value" : ["standard_metadata", "ingress_port"]
494 }
495 ],
496 "source_info" : {
497 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400498 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400499 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400500 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400501 }
502 },
503 {
504 "op" : "assign",
505 "parameters" : [
506 {
507 "type" : "field",
508 "value" : ["standard_metadata_3", "egress_spec"]
509 },
510 {
511 "type" : "field",
512 "value" : ["standard_metadata", "egress_spec"]
513 }
514 ],
515 "source_info" : {
516 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400517 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400518 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400519 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400520 }
521 },
522 {
523 "op" : "assign",
524 "parameters" : [
525 {
526 "type" : "field",
527 "value" : ["standard_metadata_3", "egress_port"]
528 },
529 {
530 "type" : "field",
531 "value" : ["standard_metadata", "egress_port"]
532 }
533 ],
534 "source_info" : {
535 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400536 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400537 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400538 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400539 }
540 },
541 {
542 "op" : "assign",
543 "parameters" : [
544 {
545 "type" : "field",
546 "value" : ["standard_metadata_3", "clone_spec"]
547 },
548 {
549 "type" : "field",
550 "value" : ["standard_metadata", "clone_spec"]
551 }
552 ],
553 "source_info" : {
554 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400555 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400556 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400557 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400558 }
559 },
560 {
561 "op" : "assign",
562 "parameters" : [
563 {
564 "type" : "field",
565 "value" : ["standard_metadata_3", "instance_type"]
566 },
567 {
568 "type" : "field",
569 "value" : ["standard_metadata", "instance_type"]
570 }
571 ],
572 "source_info" : {
573 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400574 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400575 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400576 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400577 }
578 },
579 {
580 "op" : "assign",
581 "parameters" : [
582 {
583 "type" : "field",
584 "value" : ["standard_metadata_3", "drop"]
585 },
586 {
587 "type" : "field",
588 "value" : ["standard_metadata", "drop"]
589 }
590 ],
591 "source_info" : {
592 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400593 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400594 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400595 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400596 }
597 },
598 {
599 "op" : "assign",
600 "parameters" : [
601 {
602 "type" : "field",
603 "value" : ["standard_metadata_3", "recirculate_port"]
604 },
605 {
606 "type" : "field",
607 "value" : ["standard_metadata", "recirculate_port"]
608 }
609 ],
610 "source_info" : {
611 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400612 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400613 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400614 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400615 }
616 },
617 {
618 "op" : "assign",
619 "parameters" : [
620 {
621 "type" : "field",
622 "value" : ["standard_metadata_3", "packet_length"]
623 },
624 {
625 "type" : "field",
626 "value" : ["standard_metadata", "packet_length"]
627 }
628 ],
629 "source_info" : {
630 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400631 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400632 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400633 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400634 }
635 },
636 {
637 "op" : "assign",
638 "parameters" : [
639 {
640 "type" : "field",
641 "value" : ["standard_metadata_3", "enq_timestamp"]
642 },
643 {
644 "type" : "field",
645 "value" : ["standard_metadata", "enq_timestamp"]
646 }
647 ],
648 "source_info" : {
649 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400650 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400651 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400652 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400653 }
654 },
655 {
656 "op" : "assign",
657 "parameters" : [
658 {
659 "type" : "field",
660 "value" : ["standard_metadata_3", "enq_qdepth"]
661 },
662 {
663 "type" : "field",
664 "value" : ["standard_metadata", "enq_qdepth"]
665 }
666 ],
667 "source_info" : {
668 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400669 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400670 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400671 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400672 }
673 },
674 {
675 "op" : "assign",
676 "parameters" : [
677 {
678 "type" : "field",
679 "value" : ["standard_metadata_3", "deq_timedelta"]
680 },
681 {
682 "type" : "field",
683 "value" : ["standard_metadata", "deq_timedelta"]
684 }
685 ],
686 "source_info" : {
687 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400688 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400689 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400690 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400691 }
692 },
693 {
694 "op" : "assign",
695 "parameters" : [
696 {
697 "type" : "field",
698 "value" : ["standard_metadata_3", "deq_qdepth"]
699 },
700 {
701 "type" : "field",
702 "value" : ["standard_metadata", "deq_qdepth"]
703 }
704 ],
705 "source_info" : {
706 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400707 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400708 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400709 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400710 }
711 },
712 {
713 "op" : "assign",
714 "parameters" : [
715 {
716 "type" : "field",
717 "value" : ["standard_metadata_3", "ingress_global_timestamp"]
718 },
719 {
720 "type" : "field",
721 "value" : ["standard_metadata", "ingress_global_timestamp"]
722 }
723 ],
724 "source_info" : {
725 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400726 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400727 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400728 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400729 }
730 },
731 {
732 "op" : "assign",
733 "parameters" : [
734 {
735 "type" : "field",
736 "value" : ["standard_metadata_3", "lf_field_list"]
737 },
738 {
739 "type" : "field",
740 "value" : ["standard_metadata", "lf_field_list"]
741 }
742 ],
743 "source_info" : {
744 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400745 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400746 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400747 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400748 }
749 },
750 {
751 "op" : "assign",
752 "parameters" : [
753 {
754 "type" : "field",
755 "value" : ["standard_metadata_3", "mcast_grp"]
756 },
757 {
758 "type" : "field",
759 "value" : ["standard_metadata", "mcast_grp"]
760 }
761 ],
762 "source_info" : {
763 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400764 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400765 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400766 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400767 }
768 },
769 {
770 "op" : "assign",
771 "parameters" : [
772 {
773 "type" : "field",
774 "value" : ["standard_metadata_3", "resubmit_flag"]
775 },
776 {
777 "type" : "field",
778 "value" : ["standard_metadata", "resubmit_flag"]
779 }
780 ],
781 "source_info" : {
782 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400783 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400784 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400785 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400786 }
787 },
788 {
789 "op" : "assign",
790 "parameters" : [
791 {
792 "type" : "field",
793 "value" : ["standard_metadata_3", "egress_rid"]
794 },
795 {
796 "type" : "field",
797 "value" : ["standard_metadata", "egress_rid"]
798 }
799 ],
800 "source_info" : {
801 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400802 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400803 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400804 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400805 }
806 },
807 {
808 "op" : "assign",
809 "parameters" : [
810 {
811 "type" : "field",
812 "value" : ["standard_metadata_3", "egress_spec"]
813 },
814 {
815 "type" : "runtime_data",
816 "value" : 0
817 }
818 ],
819 "source_info" : {
820 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400821 "line" : 11,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400822 "column" : 4,
823 "source_fragment" : "standard_metadata.egress_spec = port"
824 }
825 },
826 {
827 "op" : "assign",
828 "parameters" : [
829 {
830 "type" : "field",
831 "value" : ["standard_metadata", "ingress_port"]
832 },
833 {
834 "type" : "field",
835 "value" : ["standard_metadata_3", "ingress_port"]
836 }
837 ],
838 "source_info" : {
839 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400840 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400841 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400842 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400843 }
844 },
845 {
846 "op" : "assign",
847 "parameters" : [
848 {
849 "type" : "field",
850 "value" : ["standard_metadata", "egress_spec"]
851 },
852 {
853 "type" : "field",
854 "value" : ["standard_metadata_3", "egress_spec"]
855 }
856 ],
857 "source_info" : {
858 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400859 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400860 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400861 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400862 }
863 },
864 {
865 "op" : "assign",
866 "parameters" : [
867 {
868 "type" : "field",
869 "value" : ["standard_metadata", "egress_port"]
870 },
871 {
872 "type" : "field",
873 "value" : ["standard_metadata_3", "egress_port"]
874 }
875 ],
876 "source_info" : {
877 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400878 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400879 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400880 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400881 }
882 },
883 {
884 "op" : "assign",
885 "parameters" : [
886 {
887 "type" : "field",
888 "value" : ["standard_metadata", "clone_spec"]
889 },
890 {
891 "type" : "field",
892 "value" : ["standard_metadata_3", "clone_spec"]
893 }
894 ],
895 "source_info" : {
896 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400897 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400898 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400899 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400900 }
901 },
902 {
903 "op" : "assign",
904 "parameters" : [
905 {
906 "type" : "field",
907 "value" : ["standard_metadata", "instance_type"]
908 },
909 {
910 "type" : "field",
911 "value" : ["standard_metadata_3", "instance_type"]
912 }
913 ],
914 "source_info" : {
915 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400916 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400917 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400918 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400919 }
920 },
921 {
922 "op" : "assign",
923 "parameters" : [
924 {
925 "type" : "field",
926 "value" : ["standard_metadata", "drop"]
927 },
928 {
929 "type" : "field",
930 "value" : ["standard_metadata_3", "drop"]
931 }
932 ],
933 "source_info" : {
934 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400935 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400936 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400937 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400938 }
939 },
940 {
941 "op" : "assign",
942 "parameters" : [
943 {
944 "type" : "field",
945 "value" : ["standard_metadata", "recirculate_port"]
946 },
947 {
948 "type" : "field",
949 "value" : ["standard_metadata_3", "recirculate_port"]
950 }
951 ],
952 "source_info" : {
953 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400954 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400955 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400956 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400957 }
958 },
959 {
960 "op" : "assign",
961 "parameters" : [
962 {
963 "type" : "field",
964 "value" : ["standard_metadata", "packet_length"]
965 },
966 {
967 "type" : "field",
968 "value" : ["standard_metadata_3", "packet_length"]
969 }
970 ],
971 "source_info" : {
972 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400973 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400974 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400975 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400976 }
977 },
978 {
979 "op" : "assign",
980 "parameters" : [
981 {
982 "type" : "field",
983 "value" : ["standard_metadata", "enq_timestamp"]
984 },
985 {
986 "type" : "field",
987 "value" : ["standard_metadata_3", "enq_timestamp"]
988 }
989 ],
990 "source_info" : {
991 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400992 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400993 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400994 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400995 }
996 },
997 {
998 "op" : "assign",
999 "parameters" : [
1000 {
1001 "type" : "field",
1002 "value" : ["standard_metadata", "enq_qdepth"]
1003 },
1004 {
1005 "type" : "field",
1006 "value" : ["standard_metadata_3", "enq_qdepth"]
1007 }
1008 ],
1009 "source_info" : {
1010 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001011 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001012 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001013 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001014 }
1015 },
1016 {
1017 "op" : "assign",
1018 "parameters" : [
1019 {
1020 "type" : "field",
1021 "value" : ["standard_metadata", "deq_timedelta"]
1022 },
1023 {
1024 "type" : "field",
1025 "value" : ["standard_metadata_3", "deq_timedelta"]
1026 }
1027 ],
1028 "source_info" : {
1029 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001030 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001031 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001032 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001033 }
1034 },
1035 {
1036 "op" : "assign",
1037 "parameters" : [
1038 {
1039 "type" : "field",
1040 "value" : ["standard_metadata", "deq_qdepth"]
1041 },
1042 {
1043 "type" : "field",
1044 "value" : ["standard_metadata_3", "deq_qdepth"]
1045 }
1046 ],
1047 "source_info" : {
1048 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001049 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001050 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001051 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001052 }
1053 },
1054 {
1055 "op" : "assign",
1056 "parameters" : [
1057 {
1058 "type" : "field",
1059 "value" : ["standard_metadata", "ingress_global_timestamp"]
1060 },
1061 {
1062 "type" : "field",
1063 "value" : ["standard_metadata_3", "ingress_global_timestamp"]
1064 }
1065 ],
1066 "source_info" : {
1067 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001068 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001069 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001070 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001071 }
1072 },
1073 {
1074 "op" : "assign",
1075 "parameters" : [
1076 {
1077 "type" : "field",
1078 "value" : ["standard_metadata", "lf_field_list"]
1079 },
1080 {
1081 "type" : "field",
1082 "value" : ["standard_metadata_3", "lf_field_list"]
1083 }
1084 ],
1085 "source_info" : {
1086 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001087 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001088 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001089 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001090 }
1091 },
1092 {
1093 "op" : "assign",
1094 "parameters" : [
1095 {
1096 "type" : "field",
1097 "value" : ["standard_metadata", "mcast_grp"]
1098 },
1099 {
1100 "type" : "field",
1101 "value" : ["standard_metadata_3", "mcast_grp"]
1102 }
1103 ],
1104 "source_info" : {
1105 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001106 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001107 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001108 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001109 }
1110 },
1111 {
1112 "op" : "assign",
1113 "parameters" : [
1114 {
1115 "type" : "field",
1116 "value" : ["standard_metadata", "resubmit_flag"]
1117 },
1118 {
1119 "type" : "field",
1120 "value" : ["standard_metadata_3", "resubmit_flag"]
1121 }
1122 ],
1123 "source_info" : {
1124 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001125 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001126 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001127 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001128 }
1129 },
1130 {
1131 "op" : "assign",
1132 "parameters" : [
1133 {
1134 "type" : "field",
1135 "value" : ["standard_metadata", "egress_rid"]
1136 },
1137 {
1138 "type" : "field",
1139 "value" : ["standard_metadata_3", "egress_rid"]
1140 }
1141 ],
1142 "source_info" : {
1143 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001144 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001145 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001146 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001147 }
1148 }
1149 ]
1150 },
1151 {
1152 "name" : "send_to_cpu",
1153 "id" : 1,
1154 "runtime_data" : [],
1155 "primitives" : [
1156 {
1157 "op" : "assign",
1158 "parameters" : [
1159 {
1160 "type" : "field",
1161 "value" : ["standard_metadata_4", "ingress_port"]
1162 },
1163 {
1164 "type" : "field",
1165 "value" : ["standard_metadata", "ingress_port"]
1166 }
1167 ],
1168 "source_info" : {
1169 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001170 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001171 "column" : 45,
1172 "source_fragment" : "standard_metadata) { ..."
1173 }
1174 },
1175 {
1176 "op" : "assign",
1177 "parameters" : [
1178 {
1179 "type" : "field",
1180 "value" : ["standard_metadata_4", "egress_spec"]
1181 },
1182 {
1183 "type" : "field",
1184 "value" : ["standard_metadata", "egress_spec"]
1185 }
1186 ],
1187 "source_info" : {
1188 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001189 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001190 "column" : 45,
1191 "source_fragment" : "standard_metadata) { ..."
1192 }
1193 },
1194 {
1195 "op" : "assign",
1196 "parameters" : [
1197 {
1198 "type" : "field",
1199 "value" : ["standard_metadata_4", "egress_port"]
1200 },
1201 {
1202 "type" : "field",
1203 "value" : ["standard_metadata", "egress_port"]
1204 }
1205 ],
1206 "source_info" : {
1207 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001208 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001209 "column" : 45,
1210 "source_fragment" : "standard_metadata) { ..."
1211 }
1212 },
1213 {
1214 "op" : "assign",
1215 "parameters" : [
1216 {
1217 "type" : "field",
1218 "value" : ["standard_metadata_4", "clone_spec"]
1219 },
1220 {
1221 "type" : "field",
1222 "value" : ["standard_metadata", "clone_spec"]
1223 }
1224 ],
1225 "source_info" : {
1226 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001227 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001228 "column" : 45,
1229 "source_fragment" : "standard_metadata) { ..."
1230 }
1231 },
1232 {
1233 "op" : "assign",
1234 "parameters" : [
1235 {
1236 "type" : "field",
1237 "value" : ["standard_metadata_4", "instance_type"]
1238 },
1239 {
1240 "type" : "field",
1241 "value" : ["standard_metadata", "instance_type"]
1242 }
1243 ],
1244 "source_info" : {
1245 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001246 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001247 "column" : 45,
1248 "source_fragment" : "standard_metadata) { ..."
1249 }
1250 },
1251 {
1252 "op" : "assign",
1253 "parameters" : [
1254 {
1255 "type" : "field",
1256 "value" : ["standard_metadata_4", "drop"]
1257 },
1258 {
1259 "type" : "field",
1260 "value" : ["standard_metadata", "drop"]
1261 }
1262 ],
1263 "source_info" : {
1264 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001265 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001266 "column" : 45,
1267 "source_fragment" : "standard_metadata) { ..."
1268 }
1269 },
1270 {
1271 "op" : "assign",
1272 "parameters" : [
1273 {
1274 "type" : "field",
1275 "value" : ["standard_metadata_4", "recirculate_port"]
1276 },
1277 {
1278 "type" : "field",
1279 "value" : ["standard_metadata", "recirculate_port"]
1280 }
1281 ],
1282 "source_info" : {
1283 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001284 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001285 "column" : 45,
1286 "source_fragment" : "standard_metadata) { ..."
1287 }
1288 },
1289 {
1290 "op" : "assign",
1291 "parameters" : [
1292 {
1293 "type" : "field",
1294 "value" : ["standard_metadata_4", "packet_length"]
1295 },
1296 {
1297 "type" : "field",
1298 "value" : ["standard_metadata", "packet_length"]
1299 }
1300 ],
1301 "source_info" : {
1302 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001303 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001304 "column" : 45,
1305 "source_fragment" : "standard_metadata) { ..."
1306 }
1307 },
1308 {
1309 "op" : "assign",
1310 "parameters" : [
1311 {
1312 "type" : "field",
1313 "value" : ["standard_metadata_4", "enq_timestamp"]
1314 },
1315 {
1316 "type" : "field",
1317 "value" : ["standard_metadata", "enq_timestamp"]
1318 }
1319 ],
1320 "source_info" : {
1321 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001322 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001323 "column" : 45,
1324 "source_fragment" : "standard_metadata) { ..."
1325 }
1326 },
1327 {
1328 "op" : "assign",
1329 "parameters" : [
1330 {
1331 "type" : "field",
1332 "value" : ["standard_metadata_4", "enq_qdepth"]
1333 },
1334 {
1335 "type" : "field",
1336 "value" : ["standard_metadata", "enq_qdepth"]
1337 }
1338 ],
1339 "source_info" : {
1340 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001341 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001342 "column" : 45,
1343 "source_fragment" : "standard_metadata) { ..."
1344 }
1345 },
1346 {
1347 "op" : "assign",
1348 "parameters" : [
1349 {
1350 "type" : "field",
1351 "value" : ["standard_metadata_4", "deq_timedelta"]
1352 },
1353 {
1354 "type" : "field",
1355 "value" : ["standard_metadata", "deq_timedelta"]
1356 }
1357 ],
1358 "source_info" : {
1359 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001360 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001361 "column" : 45,
1362 "source_fragment" : "standard_metadata) { ..."
1363 }
1364 },
1365 {
1366 "op" : "assign",
1367 "parameters" : [
1368 {
1369 "type" : "field",
1370 "value" : ["standard_metadata_4", "deq_qdepth"]
1371 },
1372 {
1373 "type" : "field",
1374 "value" : ["standard_metadata", "deq_qdepth"]
1375 }
1376 ],
1377 "source_info" : {
1378 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001379 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001380 "column" : 45,
1381 "source_fragment" : "standard_metadata) { ..."
1382 }
1383 },
1384 {
1385 "op" : "assign",
1386 "parameters" : [
1387 {
1388 "type" : "field",
1389 "value" : ["standard_metadata_4", "ingress_global_timestamp"]
1390 },
1391 {
1392 "type" : "field",
1393 "value" : ["standard_metadata", "ingress_global_timestamp"]
1394 }
1395 ],
1396 "source_info" : {
1397 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001398 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001399 "column" : 45,
1400 "source_fragment" : "standard_metadata) { ..."
1401 }
1402 },
1403 {
1404 "op" : "assign",
1405 "parameters" : [
1406 {
1407 "type" : "field",
1408 "value" : ["standard_metadata_4", "lf_field_list"]
1409 },
1410 {
1411 "type" : "field",
1412 "value" : ["standard_metadata", "lf_field_list"]
1413 }
1414 ],
1415 "source_info" : {
1416 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001417 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001418 "column" : 45,
1419 "source_fragment" : "standard_metadata) { ..."
1420 }
1421 },
1422 {
1423 "op" : "assign",
1424 "parameters" : [
1425 {
1426 "type" : "field",
1427 "value" : ["standard_metadata_4", "mcast_grp"]
1428 },
1429 {
1430 "type" : "field",
1431 "value" : ["standard_metadata", "mcast_grp"]
1432 }
1433 ],
1434 "source_info" : {
1435 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001436 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001437 "column" : 45,
1438 "source_fragment" : "standard_metadata) { ..."
1439 }
1440 },
1441 {
1442 "op" : "assign",
1443 "parameters" : [
1444 {
1445 "type" : "field",
1446 "value" : ["standard_metadata_4", "resubmit_flag"]
1447 },
1448 {
1449 "type" : "field",
1450 "value" : ["standard_metadata", "resubmit_flag"]
1451 }
1452 ],
1453 "source_info" : {
1454 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001455 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001456 "column" : 45,
1457 "source_fragment" : "standard_metadata) { ..."
1458 }
1459 },
1460 {
1461 "op" : "assign",
1462 "parameters" : [
1463 {
1464 "type" : "field",
1465 "value" : ["standard_metadata_4", "egress_rid"]
1466 },
1467 {
1468 "type" : "field",
1469 "value" : ["standard_metadata", "egress_rid"]
1470 }
1471 ],
1472 "source_info" : {
1473 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001474 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001475 "column" : 45,
1476 "source_fragment" : "standard_metadata) { ..."
1477 }
1478 },
1479 {
1480 "op" : "assign",
1481 "parameters" : [
1482 {
1483 "type" : "field",
1484 "value" : ["standard_metadata_4", "egress_spec"]
1485 },
1486 {
1487 "type" : "hexstr",
1488 "value" : "0x00ff"
1489 }
1490 ],
1491 "source_info" : {
1492 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001493 "line" : 7,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001494 "column" : 4,
1495 "source_fragment" : "standard_metadata.egress_spec = 9w255"
1496 }
1497 },
1498 {
1499 "op" : "assign",
1500 "parameters" : [
1501 {
1502 "type" : "field",
1503 "value" : ["standard_metadata", "ingress_port"]
1504 },
1505 {
1506 "type" : "field",
1507 "value" : ["standard_metadata_4", "ingress_port"]
1508 }
1509 ],
1510 "source_info" : {
1511 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001512 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001513 "column" : 45,
1514 "source_fragment" : "standard_metadata) { ..."
1515 }
1516 },
1517 {
1518 "op" : "assign",
1519 "parameters" : [
1520 {
1521 "type" : "field",
1522 "value" : ["standard_metadata", "egress_spec"]
1523 },
1524 {
1525 "type" : "field",
1526 "value" : ["standard_metadata_4", "egress_spec"]
1527 }
1528 ],
1529 "source_info" : {
1530 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001531 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001532 "column" : 45,
1533 "source_fragment" : "standard_metadata) { ..."
1534 }
1535 },
1536 {
1537 "op" : "assign",
1538 "parameters" : [
1539 {
1540 "type" : "field",
1541 "value" : ["standard_metadata", "egress_port"]
1542 },
1543 {
1544 "type" : "field",
1545 "value" : ["standard_metadata_4", "egress_port"]
1546 }
1547 ],
1548 "source_info" : {
1549 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001550 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001551 "column" : 45,
1552 "source_fragment" : "standard_metadata) { ..."
1553 }
1554 },
1555 {
1556 "op" : "assign",
1557 "parameters" : [
1558 {
1559 "type" : "field",
1560 "value" : ["standard_metadata", "clone_spec"]
1561 },
1562 {
1563 "type" : "field",
1564 "value" : ["standard_metadata_4", "clone_spec"]
1565 }
1566 ],
1567 "source_info" : {
1568 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001569 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001570 "column" : 45,
1571 "source_fragment" : "standard_metadata) { ..."
1572 }
1573 },
1574 {
1575 "op" : "assign",
1576 "parameters" : [
1577 {
1578 "type" : "field",
1579 "value" : ["standard_metadata", "instance_type"]
1580 },
1581 {
1582 "type" : "field",
1583 "value" : ["standard_metadata_4", "instance_type"]
1584 }
1585 ],
1586 "source_info" : {
1587 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001588 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001589 "column" : 45,
1590 "source_fragment" : "standard_metadata) { ..."
1591 }
1592 },
1593 {
1594 "op" : "assign",
1595 "parameters" : [
1596 {
1597 "type" : "field",
1598 "value" : ["standard_metadata", "drop"]
1599 },
1600 {
1601 "type" : "field",
1602 "value" : ["standard_metadata_4", "drop"]
1603 }
1604 ],
1605 "source_info" : {
1606 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001607 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001608 "column" : 45,
1609 "source_fragment" : "standard_metadata) { ..."
1610 }
1611 },
1612 {
1613 "op" : "assign",
1614 "parameters" : [
1615 {
1616 "type" : "field",
1617 "value" : ["standard_metadata", "recirculate_port"]
1618 },
1619 {
1620 "type" : "field",
1621 "value" : ["standard_metadata_4", "recirculate_port"]
1622 }
1623 ],
1624 "source_info" : {
1625 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001626 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001627 "column" : 45,
1628 "source_fragment" : "standard_metadata) { ..."
1629 }
1630 },
1631 {
1632 "op" : "assign",
1633 "parameters" : [
1634 {
1635 "type" : "field",
1636 "value" : ["standard_metadata", "packet_length"]
1637 },
1638 {
1639 "type" : "field",
1640 "value" : ["standard_metadata_4", "packet_length"]
1641 }
1642 ],
1643 "source_info" : {
1644 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001645 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001646 "column" : 45,
1647 "source_fragment" : "standard_metadata) { ..."
1648 }
1649 },
1650 {
1651 "op" : "assign",
1652 "parameters" : [
1653 {
1654 "type" : "field",
1655 "value" : ["standard_metadata", "enq_timestamp"]
1656 },
1657 {
1658 "type" : "field",
1659 "value" : ["standard_metadata_4", "enq_timestamp"]
1660 }
1661 ],
1662 "source_info" : {
1663 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001664 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001665 "column" : 45,
1666 "source_fragment" : "standard_metadata) { ..."
1667 }
1668 },
1669 {
1670 "op" : "assign",
1671 "parameters" : [
1672 {
1673 "type" : "field",
1674 "value" : ["standard_metadata", "enq_qdepth"]
1675 },
1676 {
1677 "type" : "field",
1678 "value" : ["standard_metadata_4", "enq_qdepth"]
1679 }
1680 ],
1681 "source_info" : {
1682 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001683 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001684 "column" : 45,
1685 "source_fragment" : "standard_metadata) { ..."
1686 }
1687 },
1688 {
1689 "op" : "assign",
1690 "parameters" : [
1691 {
1692 "type" : "field",
1693 "value" : ["standard_metadata", "deq_timedelta"]
1694 },
1695 {
1696 "type" : "field",
1697 "value" : ["standard_metadata_4", "deq_timedelta"]
1698 }
1699 ],
1700 "source_info" : {
1701 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001702 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001703 "column" : 45,
1704 "source_fragment" : "standard_metadata) { ..."
1705 }
1706 },
1707 {
1708 "op" : "assign",
1709 "parameters" : [
1710 {
1711 "type" : "field",
1712 "value" : ["standard_metadata", "deq_qdepth"]
1713 },
1714 {
1715 "type" : "field",
1716 "value" : ["standard_metadata_4", "deq_qdepth"]
1717 }
1718 ],
1719 "source_info" : {
1720 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001721 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001722 "column" : 45,
1723 "source_fragment" : "standard_metadata) { ..."
1724 }
1725 },
1726 {
1727 "op" : "assign",
1728 "parameters" : [
1729 {
1730 "type" : "field",
1731 "value" : ["standard_metadata", "ingress_global_timestamp"]
1732 },
1733 {
1734 "type" : "field",
1735 "value" : ["standard_metadata_4", "ingress_global_timestamp"]
1736 }
1737 ],
1738 "source_info" : {
1739 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001740 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001741 "column" : 45,
1742 "source_fragment" : "standard_metadata) { ..."
1743 }
1744 },
1745 {
1746 "op" : "assign",
1747 "parameters" : [
1748 {
1749 "type" : "field",
1750 "value" : ["standard_metadata", "lf_field_list"]
1751 },
1752 {
1753 "type" : "field",
1754 "value" : ["standard_metadata_4", "lf_field_list"]
1755 }
1756 ],
1757 "source_info" : {
1758 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001759 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001760 "column" : 45,
1761 "source_fragment" : "standard_metadata) { ..."
1762 }
1763 },
1764 {
1765 "op" : "assign",
1766 "parameters" : [
1767 {
1768 "type" : "field",
1769 "value" : ["standard_metadata", "mcast_grp"]
1770 },
1771 {
1772 "type" : "field",
1773 "value" : ["standard_metadata_4", "mcast_grp"]
1774 }
1775 ],
1776 "source_info" : {
1777 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001778 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001779 "column" : 45,
1780 "source_fragment" : "standard_metadata) { ..."
1781 }
1782 },
1783 {
1784 "op" : "assign",
1785 "parameters" : [
1786 {
1787 "type" : "field",
1788 "value" : ["standard_metadata", "resubmit_flag"]
1789 },
1790 {
1791 "type" : "field",
1792 "value" : ["standard_metadata_4", "resubmit_flag"]
1793 }
1794 ],
1795 "source_info" : {
1796 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001797 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001798 "column" : 45,
1799 "source_fragment" : "standard_metadata) { ..."
1800 }
1801 },
1802 {
1803 "op" : "assign",
1804 "parameters" : [
1805 {
1806 "type" : "field",
1807 "value" : ["standard_metadata", "egress_rid"]
1808 },
1809 {
1810 "type" : "field",
1811 "value" : ["standard_metadata_4", "egress_rid"]
1812 }
1813 ],
1814 "source_info" : {
1815 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001816 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001817 "column" : 45,
1818 "source_fragment" : "standard_metadata) { ..."
1819 }
1820 }
1821 ]
1822 },
1823 {
1824 "name" : "drop",
1825 "id" : 2,
1826 "runtime_data" : [],
1827 "primitives" : [
1828 {
1829 "op" : "assign",
1830 "parameters" : [
1831 {
1832 "type" : "field",
1833 "value" : ["standard_metadata_5", "ingress_port"]
1834 },
1835 {
1836 "type" : "field",
1837 "value" : ["standard_metadata", "ingress_port"]
1838 }
1839 ],
1840 "source_info" : {
1841 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001842 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001843 "column" : 38,
1844 "source_fragment" : "standard_metadata) { ..."
1845 }
1846 },
1847 {
1848 "op" : "assign",
1849 "parameters" : [
1850 {
1851 "type" : "field",
1852 "value" : ["standard_metadata_5", "egress_spec"]
1853 },
1854 {
1855 "type" : "field",
1856 "value" : ["standard_metadata", "egress_spec"]
1857 }
1858 ],
1859 "source_info" : {
1860 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001861 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001862 "column" : 38,
1863 "source_fragment" : "standard_metadata) { ..."
1864 }
1865 },
1866 {
1867 "op" : "assign",
1868 "parameters" : [
1869 {
1870 "type" : "field",
1871 "value" : ["standard_metadata_5", "egress_port"]
1872 },
1873 {
1874 "type" : "field",
1875 "value" : ["standard_metadata", "egress_port"]
1876 }
1877 ],
1878 "source_info" : {
1879 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001880 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001881 "column" : 38,
1882 "source_fragment" : "standard_metadata) { ..."
1883 }
1884 },
1885 {
1886 "op" : "assign",
1887 "parameters" : [
1888 {
1889 "type" : "field",
1890 "value" : ["standard_metadata_5", "clone_spec"]
1891 },
1892 {
1893 "type" : "field",
1894 "value" : ["standard_metadata", "clone_spec"]
1895 }
1896 ],
1897 "source_info" : {
1898 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001899 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001900 "column" : 38,
1901 "source_fragment" : "standard_metadata) { ..."
1902 }
1903 },
1904 {
1905 "op" : "assign",
1906 "parameters" : [
1907 {
1908 "type" : "field",
1909 "value" : ["standard_metadata_5", "instance_type"]
1910 },
1911 {
1912 "type" : "field",
1913 "value" : ["standard_metadata", "instance_type"]
1914 }
1915 ],
1916 "source_info" : {
1917 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001918 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001919 "column" : 38,
1920 "source_fragment" : "standard_metadata) { ..."
1921 }
1922 },
1923 {
1924 "op" : "assign",
1925 "parameters" : [
1926 {
1927 "type" : "field",
1928 "value" : ["standard_metadata_5", "drop"]
1929 },
1930 {
1931 "type" : "field",
1932 "value" : ["standard_metadata", "drop"]
1933 }
1934 ],
1935 "source_info" : {
1936 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001937 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001938 "column" : 38,
1939 "source_fragment" : "standard_metadata) { ..."
1940 }
1941 },
1942 {
1943 "op" : "assign",
1944 "parameters" : [
1945 {
1946 "type" : "field",
1947 "value" : ["standard_metadata_5", "recirculate_port"]
1948 },
1949 {
1950 "type" : "field",
1951 "value" : ["standard_metadata", "recirculate_port"]
1952 }
1953 ],
1954 "source_info" : {
1955 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001956 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001957 "column" : 38,
1958 "source_fragment" : "standard_metadata) { ..."
1959 }
1960 },
1961 {
1962 "op" : "assign",
1963 "parameters" : [
1964 {
1965 "type" : "field",
1966 "value" : ["standard_metadata_5", "packet_length"]
1967 },
1968 {
1969 "type" : "field",
1970 "value" : ["standard_metadata", "packet_length"]
1971 }
1972 ],
1973 "source_info" : {
1974 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001975 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001976 "column" : 38,
1977 "source_fragment" : "standard_metadata) { ..."
1978 }
1979 },
1980 {
1981 "op" : "assign",
1982 "parameters" : [
1983 {
1984 "type" : "field",
1985 "value" : ["standard_metadata_5", "enq_timestamp"]
1986 },
1987 {
1988 "type" : "field",
1989 "value" : ["standard_metadata", "enq_timestamp"]
1990 }
1991 ],
1992 "source_info" : {
1993 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001994 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001995 "column" : 38,
1996 "source_fragment" : "standard_metadata) { ..."
1997 }
1998 },
1999 {
2000 "op" : "assign",
2001 "parameters" : [
2002 {
2003 "type" : "field",
2004 "value" : ["standard_metadata_5", "enq_qdepth"]
2005 },
2006 {
2007 "type" : "field",
2008 "value" : ["standard_metadata", "enq_qdepth"]
2009 }
2010 ],
2011 "source_info" : {
2012 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002013 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002014 "column" : 38,
2015 "source_fragment" : "standard_metadata) { ..."
2016 }
2017 },
2018 {
2019 "op" : "assign",
2020 "parameters" : [
2021 {
2022 "type" : "field",
2023 "value" : ["standard_metadata_5", "deq_timedelta"]
2024 },
2025 {
2026 "type" : "field",
2027 "value" : ["standard_metadata", "deq_timedelta"]
2028 }
2029 ],
2030 "source_info" : {
2031 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002032 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002033 "column" : 38,
2034 "source_fragment" : "standard_metadata) { ..."
2035 }
2036 },
2037 {
2038 "op" : "assign",
2039 "parameters" : [
2040 {
2041 "type" : "field",
2042 "value" : ["standard_metadata_5", "deq_qdepth"]
2043 },
2044 {
2045 "type" : "field",
2046 "value" : ["standard_metadata", "deq_qdepth"]
2047 }
2048 ],
2049 "source_info" : {
2050 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002051 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002052 "column" : 38,
2053 "source_fragment" : "standard_metadata) { ..."
2054 }
2055 },
2056 {
2057 "op" : "assign",
2058 "parameters" : [
2059 {
2060 "type" : "field",
2061 "value" : ["standard_metadata_5", "ingress_global_timestamp"]
2062 },
2063 {
2064 "type" : "field",
2065 "value" : ["standard_metadata", "ingress_global_timestamp"]
2066 }
2067 ],
2068 "source_info" : {
2069 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002070 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002071 "column" : 38,
2072 "source_fragment" : "standard_metadata) { ..."
2073 }
2074 },
2075 {
2076 "op" : "assign",
2077 "parameters" : [
2078 {
2079 "type" : "field",
2080 "value" : ["standard_metadata_5", "lf_field_list"]
2081 },
2082 {
2083 "type" : "field",
2084 "value" : ["standard_metadata", "lf_field_list"]
2085 }
2086 ],
2087 "source_info" : {
2088 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002089 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002090 "column" : 38,
2091 "source_fragment" : "standard_metadata) { ..."
2092 }
2093 },
2094 {
2095 "op" : "assign",
2096 "parameters" : [
2097 {
2098 "type" : "field",
2099 "value" : ["standard_metadata_5", "mcast_grp"]
2100 },
2101 {
2102 "type" : "field",
2103 "value" : ["standard_metadata", "mcast_grp"]
2104 }
2105 ],
2106 "source_info" : {
2107 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002108 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002109 "column" : 38,
2110 "source_fragment" : "standard_metadata) { ..."
2111 }
2112 },
2113 {
2114 "op" : "assign",
2115 "parameters" : [
2116 {
2117 "type" : "field",
2118 "value" : ["standard_metadata_5", "resubmit_flag"]
2119 },
2120 {
2121 "type" : "field",
2122 "value" : ["standard_metadata", "resubmit_flag"]
2123 }
2124 ],
2125 "source_info" : {
2126 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002127 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002128 "column" : 38,
2129 "source_fragment" : "standard_metadata) { ..."
2130 }
2131 },
2132 {
2133 "op" : "assign",
2134 "parameters" : [
2135 {
2136 "type" : "field",
2137 "value" : ["standard_metadata_5", "egress_rid"]
2138 },
2139 {
2140 "type" : "field",
2141 "value" : ["standard_metadata", "egress_rid"]
2142 }
2143 ],
2144 "source_info" : {
2145 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002146 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002147 "column" : 38,
2148 "source_fragment" : "standard_metadata) { ..."
2149 }
2150 },
2151 {
2152 "op" : "assign",
2153 "parameters" : [
2154 {
2155 "type" : "field",
2156 "value" : ["standard_metadata_5", "egress_spec"]
2157 },
2158 {
2159 "type" : "hexstr",
2160 "value" : "0x01ff"
2161 }
2162 ],
2163 "source_info" : {
2164 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002165 "line" : 15,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002166 "column" : 4,
2167 "source_fragment" : "standard_metadata.egress_spec = 9w511"
2168 }
2169 },
2170 {
2171 "op" : "assign",
2172 "parameters" : [
2173 {
2174 "type" : "field",
2175 "value" : ["standard_metadata", "ingress_port"]
2176 },
2177 {
2178 "type" : "field",
2179 "value" : ["standard_metadata_5", "ingress_port"]
2180 }
2181 ],
2182 "source_info" : {
2183 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002184 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002185 "column" : 38,
2186 "source_fragment" : "standard_metadata) { ..."
2187 }
2188 },
2189 {
2190 "op" : "assign",
2191 "parameters" : [
2192 {
2193 "type" : "field",
2194 "value" : ["standard_metadata", "egress_spec"]
2195 },
2196 {
2197 "type" : "field",
2198 "value" : ["standard_metadata_5", "egress_spec"]
2199 }
2200 ],
2201 "source_info" : {
2202 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002203 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002204 "column" : 38,
2205 "source_fragment" : "standard_metadata) { ..."
2206 }
2207 },
2208 {
2209 "op" : "assign",
2210 "parameters" : [
2211 {
2212 "type" : "field",
2213 "value" : ["standard_metadata", "egress_port"]
2214 },
2215 {
2216 "type" : "field",
2217 "value" : ["standard_metadata_5", "egress_port"]
2218 }
2219 ],
2220 "source_info" : {
2221 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002222 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002223 "column" : 38,
2224 "source_fragment" : "standard_metadata) { ..."
2225 }
2226 },
2227 {
2228 "op" : "assign",
2229 "parameters" : [
2230 {
2231 "type" : "field",
2232 "value" : ["standard_metadata", "clone_spec"]
2233 },
2234 {
2235 "type" : "field",
2236 "value" : ["standard_metadata_5", "clone_spec"]
2237 }
2238 ],
2239 "source_info" : {
2240 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002241 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002242 "column" : 38,
2243 "source_fragment" : "standard_metadata) { ..."
2244 }
2245 },
2246 {
2247 "op" : "assign",
2248 "parameters" : [
2249 {
2250 "type" : "field",
2251 "value" : ["standard_metadata", "instance_type"]
2252 },
2253 {
2254 "type" : "field",
2255 "value" : ["standard_metadata_5", "instance_type"]
2256 }
2257 ],
2258 "source_info" : {
2259 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002260 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002261 "column" : 38,
2262 "source_fragment" : "standard_metadata) { ..."
2263 }
2264 },
2265 {
2266 "op" : "assign",
2267 "parameters" : [
2268 {
2269 "type" : "field",
2270 "value" : ["standard_metadata", "drop"]
2271 },
2272 {
2273 "type" : "field",
2274 "value" : ["standard_metadata_5", "drop"]
2275 }
2276 ],
2277 "source_info" : {
2278 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002279 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002280 "column" : 38,
2281 "source_fragment" : "standard_metadata) { ..."
2282 }
2283 },
2284 {
2285 "op" : "assign",
2286 "parameters" : [
2287 {
2288 "type" : "field",
2289 "value" : ["standard_metadata", "recirculate_port"]
2290 },
2291 {
2292 "type" : "field",
2293 "value" : ["standard_metadata_5", "recirculate_port"]
2294 }
2295 ],
2296 "source_info" : {
2297 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002298 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002299 "column" : 38,
2300 "source_fragment" : "standard_metadata) { ..."
2301 }
2302 },
2303 {
2304 "op" : "assign",
2305 "parameters" : [
2306 {
2307 "type" : "field",
2308 "value" : ["standard_metadata", "packet_length"]
2309 },
2310 {
2311 "type" : "field",
2312 "value" : ["standard_metadata_5", "packet_length"]
2313 }
2314 ],
2315 "source_info" : {
2316 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002317 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002318 "column" : 38,
2319 "source_fragment" : "standard_metadata) { ..."
2320 }
2321 },
2322 {
2323 "op" : "assign",
2324 "parameters" : [
2325 {
2326 "type" : "field",
2327 "value" : ["standard_metadata", "enq_timestamp"]
2328 },
2329 {
2330 "type" : "field",
2331 "value" : ["standard_metadata_5", "enq_timestamp"]
2332 }
2333 ],
2334 "source_info" : {
2335 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002336 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002337 "column" : 38,
2338 "source_fragment" : "standard_metadata) { ..."
2339 }
2340 },
2341 {
2342 "op" : "assign",
2343 "parameters" : [
2344 {
2345 "type" : "field",
2346 "value" : ["standard_metadata", "enq_qdepth"]
2347 },
2348 {
2349 "type" : "field",
2350 "value" : ["standard_metadata_5", "enq_qdepth"]
2351 }
2352 ],
2353 "source_info" : {
2354 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002355 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002356 "column" : 38,
2357 "source_fragment" : "standard_metadata) { ..."
2358 }
2359 },
2360 {
2361 "op" : "assign",
2362 "parameters" : [
2363 {
2364 "type" : "field",
2365 "value" : ["standard_metadata", "deq_timedelta"]
2366 },
2367 {
2368 "type" : "field",
2369 "value" : ["standard_metadata_5", "deq_timedelta"]
2370 }
2371 ],
2372 "source_info" : {
2373 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002374 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002375 "column" : 38,
2376 "source_fragment" : "standard_metadata) { ..."
2377 }
2378 },
2379 {
2380 "op" : "assign",
2381 "parameters" : [
2382 {
2383 "type" : "field",
2384 "value" : ["standard_metadata", "deq_qdepth"]
2385 },
2386 {
2387 "type" : "field",
2388 "value" : ["standard_metadata_5", "deq_qdepth"]
2389 }
2390 ],
2391 "source_info" : {
2392 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002393 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002394 "column" : 38,
2395 "source_fragment" : "standard_metadata) { ..."
2396 }
2397 },
2398 {
2399 "op" : "assign",
2400 "parameters" : [
2401 {
2402 "type" : "field",
2403 "value" : ["standard_metadata", "ingress_global_timestamp"]
2404 },
2405 {
2406 "type" : "field",
2407 "value" : ["standard_metadata_5", "ingress_global_timestamp"]
2408 }
2409 ],
2410 "source_info" : {
2411 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002412 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002413 "column" : 38,
2414 "source_fragment" : "standard_metadata) { ..."
2415 }
2416 },
2417 {
2418 "op" : "assign",
2419 "parameters" : [
2420 {
2421 "type" : "field",
2422 "value" : ["standard_metadata", "lf_field_list"]
2423 },
2424 {
2425 "type" : "field",
2426 "value" : ["standard_metadata_5", "lf_field_list"]
2427 }
2428 ],
2429 "source_info" : {
2430 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002431 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002432 "column" : 38,
2433 "source_fragment" : "standard_metadata) { ..."
2434 }
2435 },
2436 {
2437 "op" : "assign",
2438 "parameters" : [
2439 {
2440 "type" : "field",
2441 "value" : ["standard_metadata", "mcast_grp"]
2442 },
2443 {
2444 "type" : "field",
2445 "value" : ["standard_metadata_5", "mcast_grp"]
2446 }
2447 ],
2448 "source_info" : {
2449 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002450 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002451 "column" : 38,
2452 "source_fragment" : "standard_metadata) { ..."
2453 }
2454 },
2455 {
2456 "op" : "assign",
2457 "parameters" : [
2458 {
2459 "type" : "field",
2460 "value" : ["standard_metadata", "resubmit_flag"]
2461 },
2462 {
2463 "type" : "field",
2464 "value" : ["standard_metadata_5", "resubmit_flag"]
2465 }
2466 ],
2467 "source_info" : {
2468 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002469 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002470 "column" : 38,
2471 "source_fragment" : "standard_metadata) { ..."
2472 }
2473 },
2474 {
2475 "op" : "assign",
2476 "parameters" : [
2477 {
2478 "type" : "field",
2479 "value" : ["standard_metadata", "egress_rid"]
2480 },
2481 {
2482 "type" : "field",
2483 "value" : ["standard_metadata_5", "egress_rid"]
2484 }
2485 ],
2486 "source_info" : {
2487 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002488 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002489 "column" : 38,
2490 "source_fragment" : "standard_metadata) { ..."
2491 }
2492 }
2493 ]
2494 },
2495 {
2496 "name" : "NoAction",
2497 "id" : 3,
2498 "runtime_data" : [],
2499 "primitives" : []
2500 },
2501 {
2502 "name" : "act",
2503 "id" : 4,
2504 "runtime_data" : [],
2505 "primitives" : [
2506 {
2507 "op" : "assign",
2508 "parameters" : [
2509 {
2510 "type" : "field",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002511 "value" : ["standard_metadata", "egress_spec"]
2512 },
2513 {
2514 "type" : "field",
2515 "value" : ["packet_out", "egress_port"]
2516 }
2517 ],
2518 "source_info" : {
2519 "filename" : "include/packet_io.p4",
2520 "line" : 7,
2521 "column" : 12,
2522 "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
2523 }
2524 }
2525 ]
2526 },
2527 {
2528 "name" : "act_0",
2529 "id" : 5,
2530 "runtime_data" : [],
2531 "primitives" : [
2532 {
2533 "op" : "assign",
2534 "parameters" : [
2535 {
2536 "type" : "field",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002537 "value" : ["scalars", "tmp"]
2538 },
2539 {
2540 "type" : "expression",
2541 "value" : {
2542 "type" : "expression",
2543 "value" : {
2544 "op" : "&",
2545 "left" : {
2546 "type" : "field",
2547 "value" : ["standard_metadata", "ingress_port"]
2548 },
2549 "right" : {
2550 "type" : "hexstr",
2551 "value" : "0xffffffff"
2552 }
2553 }
2554 }
2555 }
2556 ]
2557 },
2558 {
2559 "op" : "count",
2560 "parameters" : [
2561 {
2562 "type" : "counter_array",
2563 "value" : "port_counters_control.ingress_port_counter"
2564 },
2565 {
2566 "type" : "field",
2567 "value" : ["scalars", "tmp"]
2568 }
2569 ],
2570 "source_info" : {
2571 "filename" : "include/port_counters.p4",
2572 "line" : 11,
2573 "column" : 12,
2574 "source_fragment" : "ingress_port_counter.count((bit<32>)standard_metadata.ingress_port)"
2575 }
2576 },
2577 {
2578 "op" : "assign",
2579 "parameters" : [
2580 {
2581 "type" : "field",
2582 "value" : ["scalars", "tmp_0"]
2583 },
2584 {
2585 "type" : "expression",
2586 "value" : {
2587 "type" : "expression",
2588 "value" : {
2589 "op" : "&",
2590 "left" : {
2591 "type" : "field",
2592 "value" : ["standard_metadata", "egress_spec"]
2593 },
2594 "right" : {
2595 "type" : "hexstr",
2596 "value" : "0xffffffff"
2597 }
2598 }
2599 }
2600 }
2601 ]
2602 },
2603 {
2604 "op" : "count",
2605 "parameters" : [
2606 {
2607 "type" : "counter_array",
2608 "value" : "port_counters_control.egress_port_counter"
2609 },
2610 {
2611 "type" : "field",
2612 "value" : ["scalars", "tmp_0"]
2613 }
2614 ],
2615 "source_info" : {
2616 "filename" : "include/port_counters.p4",
2617 "line" : 12,
2618 "column" : 12,
2619 "source_fragment" : "egress_port_counter.count((bit<32>)standard_metadata.egress_spec)"
2620 }
2621 }
2622 ]
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002623 },
2624 {
2625 "name" : "act_1",
2626 "id" : 6,
2627 "runtime_data" : [],
2628 "primitives" : [
2629 {
2630 "op" : "add_header",
2631 "parameters" : [
2632 {
2633 "type" : "header",
2634 "value" : "packet_in"
2635 }
2636 ],
2637 "source_info" : {
2638 "filename" : "include/packet_io.p4",
2639 "line" : 16,
2640 "column" : 12,
2641 "source_fragment" : "hdr.packet_in.setValid()"
2642 }
2643 },
2644 {
2645 "op" : "assign",
2646 "parameters" : [
2647 {
2648 "type" : "field",
2649 "value" : ["packet_in", "ingress_port"]
2650 },
2651 {
2652 "type" : "field",
2653 "value" : ["standard_metadata", "ingress_port"]
2654 }
2655 ],
2656 "source_info" : {
2657 "filename" : "include/packet_io.p4",
2658 "line" : 17,
2659 "column" : 12,
2660 "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
2661 }
2662 }
2663 ]
2664 },
2665 {
2666 "name" : "act_2",
2667 "id" : 7,
2668 "runtime_data" : [],
2669 "primitives" : [
2670 {
2671 "op" : "remove_header",
2672 "parameters" : [
2673 {
2674 "type" : "header",
2675 "value" : "packet_out"
2676 }
2677 ],
2678 "source_info" : {
2679 "filename" : "include/packet_io.p4",
2680 "line" : 14,
2681 "column" : 8,
2682 "source_fragment" : "hdr.packet_out.setInvalid()"
2683 }
2684 }
2685 ]
Carmelo Casconec8e84982017-07-26 15:34:42 -04002686 }
2687 ],
2688 "pipelines" : [
2689 {
2690 "name" : "ingress",
2691 "id" : 0,
2692 "source_info" : {
2693 "filename" : "default.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002694 "line" : 11,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002695 "column" : 8,
2696 "source_fragment" : "ingress"
2697 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002698 "init_table" : "node_2",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002699 "tables" : [
2700 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002701 "name" : "tbl_act",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002702 "id" : 0,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002703 "key" : [],
2704 "match_type" : "exact",
2705 "type" : "simple",
2706 "max_size" : 1024,
2707 "with_counters" : false,
2708 "support_timeout" : false,
2709 "direct_meters" : null,
2710 "action_ids" : [4],
2711 "actions" : ["act"],
2712 "base_default_next" : "node_4",
2713 "next_tables" : {
2714 "act" : "node_4"
2715 },
2716 "default_entry" : {
2717 "action_id" : 4,
2718 "action_const" : true,
2719 "action_data" : [],
2720 "action_entry_const" : true
2721 }
2722 },
2723 {
2724 "name" : "table0",
2725 "id" : 1,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002726 "source_info" : {
2727 "filename" : "default.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002728 "line" : 16,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002729 "column" : 10,
2730 "source_fragment" : "table0"
2731 },
2732 "key" : [
2733 {
2734 "match_type" : "ternary",
2735 "target" : ["standard_metadata", "ingress_port"],
2736 "mask" : null
2737 },
2738 {
2739 "match_type" : "ternary",
2740 "target" : ["ethernet", "dstAddr"],
2741 "mask" : null
2742 },
2743 {
2744 "match_type" : "ternary",
2745 "target" : ["ethernet", "srcAddr"],
2746 "mask" : null
2747 },
2748 {
2749 "match_type" : "ternary",
2750 "target" : ["ethernet", "etherType"],
2751 "mask" : null
2752 }
2753 ],
2754 "match_type" : "ternary",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002755 "type" : "indirect_ws",
2756 "action_profile" : "ecmp_selector",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002757 "max_size" : 1024,
2758 "support_timeout" : false,
2759 "direct_meters" : null,
2760 "action_ids" : [0, 1, 2, 3],
2761 "actions" : ["set_egress_port", "send_to_cpu", "drop", "NoAction"],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002762 "base_default_next" : "node_6",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002763 "next_tables" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002764 "set_egress_port" : "node_6",
2765 "send_to_cpu" : "node_6",
2766 "drop" : "node_6",
2767 "NoAction" : "node_6"
Carmelo Casconec8e84982017-07-26 15:34:42 -04002768 }
2769 },
2770 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002771 "name" : "tbl_act_0",
2772 "id" : 2,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002773 "key" : [],
2774 "match_type" : "exact",
2775 "type" : "simple",
2776 "max_size" : 1024,
2777 "with_counters" : false,
2778 "support_timeout" : false,
2779 "direct_meters" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002780 "action_ids" : [5],
2781 "actions" : ["act_0"],
Carmelo Casconec8e84982017-07-26 15:34:42 -04002782 "base_default_next" : null,
2783 "next_tables" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002784 "act_0" : null
Carmelo Casconec8e84982017-07-26 15:34:42 -04002785 },
2786 "default_entry" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002787 "action_id" : 5,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002788 "action_const" : true,
2789 "action_data" : [],
2790 "action_entry_const" : true
2791 }
2792 }
2793 ],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002794 "action_profiles" : [
2795 {
2796 "name" : "ecmp_selector",
2797 "id" : 0,
2798 "max_size" : 64,
2799 "selector" : {
2800 "algo" : "crc16",
2801 "input" : [
2802 {
2803 "type" : "field",
2804 "value" : ["ipv4", "srcAddr"]
2805 },
2806 {
2807 "type" : "field",
2808 "value" : ["ipv4", "dstAddr"]
2809 },
2810 {
2811 "type" : "field",
2812 "value" : ["ipv4", "protocol"]
2813 },
2814 {
2815 "type" : "field",
2816 "value" : ["tcp", "srcPort"]
2817 },
2818 {
2819 "type" : "field",
2820 "value" : ["tcp", "dstPort"]
2821 },
2822 {
2823 "type" : "field",
2824 "value" : ["udp", "srcPort"]
2825 },
2826 {
2827 "type" : "field",
2828 "value" : ["udp", "dstPort"]
2829 }
2830 ]
2831 }
2832 }
2833 ],
Carmelo Casconec8e84982017-07-26 15:34:42 -04002834 "conditionals" : [
2835 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002836 "name" : "node_2",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002837 "id" : 0,
2838 "source_info" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002839 "filename" : "include/packet_io.p4",
2840 "line" : 6,
2841 "column" : 12,
2842 "source_fragment" : "hdr.packet_out.isValid()"
2843 },
2844 "expression" : {
2845 "type" : "expression",
2846 "value" : {
2847 "op" : "==",
2848 "left" : {
2849 "type" : "field",
2850 "value" : ["packet_out", "$valid$"]
2851 },
2852 "right" : {
2853 "type" : "hexstr",
2854 "value" : "0x01"
2855 }
2856 }
2857 },
2858 "true_next" : "tbl_act",
2859 "false_next" : "node_4"
2860 },
2861 {
2862 "name" : "node_4",
2863 "id" : 1,
2864 "source_info" : {
2865 "filename" : "default.p4",
2866 "line" : 47,
2867 "column" : 13,
2868 "source_fragment" : "hdr.packet_out.isValid()"
2869 },
2870 "expression" : {
2871 "type" : "expression",
2872 "value" : {
2873 "op" : "!=",
2874 "left" : {
2875 "type" : "field",
2876 "value" : ["packet_out", "$valid$"]
2877 },
2878 "right" : {
2879 "type" : "hexstr",
2880 "value" : "0x01"
2881 }
2882 }
2883 },
2884 "true_next" : "table0",
2885 "false_next" : "node_6"
2886 },
2887 {
2888 "name" : "node_6",
2889 "id" : 2,
2890 "source_info" : {
Carmelo Casconec8e84982017-07-26 15:34:42 -04002891 "filename" : "include/port_counters.p4",
2892 "line" : 10,
2893 "column" : 12,
2894 "source_fragment" : "standard_metadata.egress_spec < 254"
2895 },
2896 "expression" : {
2897 "type" : "expression",
2898 "value" : {
2899 "op" : "<",
2900 "left" : {
2901 "type" : "field",
2902 "value" : ["standard_metadata", "egress_spec"]
2903 },
2904 "right" : {
2905 "type" : "hexstr",
2906 "value" : "0x00fe"
2907 }
2908 }
2909 },
2910 "false_next" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002911 "true_next" : "tbl_act_0"
Carmelo Casconec8e84982017-07-26 15:34:42 -04002912 }
2913 ]
2914 },
2915 {
2916 "name" : "egress",
2917 "id" : 1,
2918 "source_info" : {
2919 "filename" : "default.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002920 "line" : 55,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002921 "column" : 8,
2922 "source_fragment" : "egress"
2923 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002924 "init_table" : "tbl_act_1",
2925 "tables" : [
2926 {
2927 "name" : "tbl_act_1",
2928 "id" : 3,
2929 "key" : [],
2930 "match_type" : "exact",
2931 "type" : "simple",
2932 "max_size" : 1024,
2933 "with_counters" : false,
2934 "support_timeout" : false,
2935 "direct_meters" : null,
2936 "action_ids" : [7],
2937 "actions" : ["act_2"],
2938 "base_default_next" : "node_11",
2939 "next_tables" : {
2940 "act_2" : "node_11"
2941 },
2942 "default_entry" : {
2943 "action_id" : 7,
2944 "action_const" : true,
2945 "action_data" : [],
2946 "action_entry_const" : true
2947 }
2948 },
2949 {
2950 "name" : "tbl_act_2",
2951 "id" : 4,
2952 "key" : [],
2953 "match_type" : "exact",
2954 "type" : "simple",
2955 "max_size" : 1024,
2956 "with_counters" : false,
2957 "support_timeout" : false,
2958 "direct_meters" : null,
2959 "action_ids" : [6],
2960 "actions" : ["act_1"],
2961 "base_default_next" : null,
2962 "next_tables" : {
2963 "act_1" : null
2964 },
2965 "default_entry" : {
2966 "action_id" : 6,
2967 "action_const" : true,
2968 "action_data" : [],
2969 "action_entry_const" : true
2970 }
2971 }
2972 ],
Carmelo Casconec8e84982017-07-26 15:34:42 -04002973 "action_profiles" : [],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002974 "conditionals" : [
2975 {
2976 "name" : "node_11",
2977 "id" : 3,
2978 "source_info" : {
2979 "filename" : "include/packet_io.p4",
2980 "line" : 15,
2981 "column" : 12,
2982 "source_fragment" : "standard_metadata.egress_spec == 9w255"
2983 },
2984 "expression" : {
2985 "type" : "expression",
2986 "value" : {
2987 "op" : "==",
2988 "left" : {
2989 "type" : "field",
2990 "value" : ["standard_metadata", "egress_spec"]
2991 },
2992 "right" : {
2993 "type" : "hexstr",
2994 "value" : "0x00ff"
2995 }
2996 }
2997 },
2998 "false_next" : null,
2999 "true_next" : "tbl_act_2"
3000 }
3001 ]
Carmelo Casconec8e84982017-07-26 15:34:42 -04003002 }
3003 ],
3004 "checksums" : [],
3005 "force_arith" : [],
3006 "extern_instances" : [],
3007 "field_aliases" : [
3008 [
3009 "queueing_metadata.enq_timestamp",
3010 ["standard_metadata", "enq_timestamp"]
3011 ],
3012 [
3013 "queueing_metadata.enq_qdepth",
3014 ["standard_metadata", "enq_qdepth"]
3015 ],
3016 [
3017 "queueing_metadata.deq_timedelta",
3018 ["standard_metadata", "deq_timedelta"]
3019 ],
3020 [
3021 "queueing_metadata.deq_qdepth",
3022 ["standard_metadata", "deq_qdepth"]
3023 ],
3024 [
3025 "intrinsic_metadata.ingress_global_timestamp",
3026 ["standard_metadata", "ingress_global_timestamp"]
3027 ],
3028 [
3029 "intrinsic_metadata.lf_field_list",
3030 ["standard_metadata", "lf_field_list"]
3031 ],
3032 [
3033 "intrinsic_metadata.mcast_grp",
3034 ["standard_metadata", "mcast_grp"]
3035 ],
3036 [
3037 "intrinsic_metadata.resubmit_flag",
3038 ["standard_metadata", "resubmit_flag"]
3039 ],
3040 [
3041 "intrinsic_metadata.egress_rid",
3042 ["standard_metadata", "egress_rid"]
3043 ]
3044 ]
3045}