blob: 13a1d41a458cf281b3ddf0862f693bf778e9cb61 [file] [log] [blame]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001{
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002 "header_types" : [
3 {
4 "name" : "scalars_0",
5 "id" : 0,
6 "fields" : [
Jonghwan Hyun8be03392017-12-04 15:48:44 -08007 ["tmp", 1, false],
8 ["tmp_0", 1, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08009 ["tmp_1", 32, false],
Jonghwan Hyun8be03392017-12-04 15:48:44 -080010 ["tmp_2", 32, false],
11 ["tmp_3", 32, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080012 ["local_metadata_t.l4_src_port", 16, false],
13 ["local_metadata_t.l4_dst_port", 16, false],
14 ["local_metadata_t.next_hop_id", 16, false],
Jonghwan Hyun8be03392017-12-04 15:48:44 -080015 ["local_metadata_t.selector", 16, false],
Keesjan Karsten23368892018-05-22 10:46:01 +000016 ["_padding_2", 6, false]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080017 ]
18 },
19 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080020 "name" : "standard_metadata",
Carmelo Cascone6af4e172018-06-15 16:01:30 +020021 "id" : 1,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080022 "fields" : [
23 ["ingress_port", 9, false],
24 ["egress_spec", 9, false],
25 ["egress_port", 9, false],
26 ["clone_spec", 32, false],
27 ["instance_type", 32, false],
28 ["drop", 1, false],
29 ["recirculate_port", 16, false],
30 ["packet_length", 32, false],
31 ["enq_timestamp", 32, false],
32 ["enq_qdepth", 19, false],
33 ["deq_timedelta", 32, false],
34 ["deq_qdepth", 19, false],
35 ["ingress_global_timestamp", 48, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070036 ["egress_global_timestamp", 48, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080037 ["lf_field_list", 32, false],
38 ["mcast_grp", 16, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070039 ["resubmit_flag", 32, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080040 ["egress_rid", 16, false],
41 ["checksum_error", 1, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -070042 ["recirculate_flag", 32, false],
Carmelo Cascone6af4e172018-06-15 16:01:30 +020043 ["_padding_0", 5, false]
44 ]
45 },
46 {
47 "name" : "packet_out_header_t",
48 "id" : 2,
49 "fields" : [
50 ["egress_port", 9, false],
51 ["_padding", 7, false]
52 ]
53 },
54 {
55 "name" : "packet_in_header_t",
56 "id" : 3,
57 "fields" : [
58 ["ingress_port", 9, false],
59 ["_padding", 7, false]
60 ]
61 },
62 {
63 "name" : "ethernet_t",
64 "id" : 4,
65 "fields" : [
66 ["dst_addr", 48, false],
67 ["src_addr", 48, false],
68 ["ether_type", 16, false]
69 ]
70 },
71 {
72 "name" : "ipv4_t",
73 "id" : 5,
74 "fields" : [
75 ["version", 4, false],
76 ["ihl", 4, false],
77 ["dscp", 6, false],
78 ["ecn", 2, false],
79 ["len", 16, false],
80 ["identification", 16, false],
81 ["flags", 3, false],
82 ["frag_offset", 13, false],
83 ["ttl", 8, false],
84 ["protocol", 8, false],
85 ["hdr_checksum", 16, false],
86 ["src_addr", 32, false],
87 ["dst_addr", 32, false]
88 ]
89 },
90 {
91 "name" : "tcp_t",
92 "id" : 6,
93 "fields" : [
94 ["src_port", 16, false],
95 ["dst_port", 16, false],
96 ["seq_no", 32, false],
97 ["ack_no", 32, false],
98 ["data_offset", 4, false],
99 ["res", 3, false],
100 ["ecn", 3, false],
101 ["ctrl", 6, false],
102 ["window", 16, false],
103 ["checksum", 16, false],
104 ["urgent_ptr", 16, false]
105 ]
106 },
107 {
108 "name" : "udp_t",
109 "id" : 7,
110 "fields" : [
111 ["src_port", 16, false],
112 ["dst_port", 16, false],
113 ["length_", 16, false],
114 ["checksum", 16, false]
115 ]
116 },
117 {
118 "name" : "intl4_shim_t",
119 "id" : 8,
120 "fields" : [
121 ["int_type", 8, false],
122 ["rsvd1", 8, false],
123 ["len", 8, false],
124 ["rsvd2", 8, false]
125 ]
126 },
127 {
128 "name" : "int_header_t",
129 "id" : 9,
130 "fields" : [
131 ["ver", 2, false],
132 ["rep", 2, false],
133 ["c", 1, false],
134 ["e", 1, false],
135 ["rsvd1", 5, false],
136 ["ins_cnt", 5, false],
137 ["max_hop_cnt", 8, false],
138 ["total_hop_cnt", 8, false],
139 ["instruction_mask_0003", 4, false],
140 ["instruction_mask_0407", 4, false],
141 ["instruction_mask_0811", 4, false],
142 ["instruction_mask_1215", 4, false],
143 ["rsvd2", 16, false]
144 ]
145 },
146 {
147 "name" : "int_data_t",
148 "id" : 10,
149 "fields" : [
150 ["data", "*"]
151 ],
152 "max_length" : 1004
153 },
154 {
155 "name" : "int_switch_id_t",
156 "id" : 11,
157 "fields" : [
158 ["switch_id", 32, false]
159 ]
160 },
161 {
162 "name" : "int_port_ids_t",
163 "id" : 12,
164 "fields" : [
165 ["ingress_port_id", 16, false],
166 ["egress_port_id", 16, false]
167 ]
168 },
169 {
170 "name" : "int_hop_latency_t",
171 "id" : 13,
172 "fields" : [
173 ["hop_latency", 32, false]
174 ]
175 },
176 {
177 "name" : "int_q_occupancy_t",
178 "id" : 14,
179 "fields" : [
180 ["q_id", 8, false],
181 ["q_occupancy", 24, false]
182 ]
183 },
184 {
185 "name" : "int_ingress_tstamp_t",
186 "id" : 15,
187 "fields" : [
188 ["ingress_tstamp", 32, false]
189 ]
190 },
191 {
192 "name" : "int_egress_tstamp_t",
193 "id" : 16,
194 "fields" : [
195 ["egress_tstamp", 32, false]
196 ]
197 },
198 {
199 "name" : "int_q_congestion_t",
200 "id" : 17,
201 "fields" : [
202 ["q_id", 8, false],
203 ["q_congestion", 24, false]
204 ]
205 },
206 {
207 "name" : "int_egress_port_tx_util_t",
208 "id" : 18,
209 "fields" : [
210 ["egress_port_tx_util", 32, false]
211 ]
212 },
213 {
214 "name" : "intl4_tail_t",
215 "id" : 19,
216 "fields" : [
217 ["next_proto", 8, false],
218 ["dest_port", 16, false],
219 ["dscp", 8, false]
220 ]
221 },
222 {
223 "name" : "int_metadata_t",
224 "id" : 20,
225 "fields" : [
226 ["switch_id", 32, false],
227 ["insert_byte_cnt", 16, false],
228 ["source", 1, false],
229 ["sink", 1, false],
230 ["mirror_id", 8, false],
231 ["flow_id", 16, false],
232 ["metadata_len", 8, false],
233 ["_padding_1", 6, false]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800234 ]
235 }
236 ],
237 "headers" : [
238 {
239 "name" : "scalars",
240 "id" : 0,
241 "header_type" : "scalars_0",
242 "metadata" : true,
243 "pi_omit" : true
244 },
245 {
246 "name" : "standard_metadata",
247 "id" : 1,
248 "header_type" : "standard_metadata",
249 "metadata" : true,
250 "pi_omit" : true
251 },
252 {
253 "name" : "packet_out",
254 "id" : 2,
255 "header_type" : "packet_out_header_t",
256 "metadata" : false,
257 "pi_omit" : true
258 },
259 {
260 "name" : "packet_in",
261 "id" : 3,
262 "header_type" : "packet_in_header_t",
263 "metadata" : false,
264 "pi_omit" : true
265 },
266 {
267 "name" : "ethernet",
268 "id" : 4,
269 "header_type" : "ethernet_t",
270 "metadata" : false,
271 "pi_omit" : true
272 },
273 {
274 "name" : "ipv4",
275 "id" : 5,
276 "header_type" : "ipv4_t",
277 "metadata" : false,
278 "pi_omit" : true
279 },
280 {
281 "name" : "tcp",
282 "id" : 6,
283 "header_type" : "tcp_t",
284 "metadata" : false,
285 "pi_omit" : true
286 },
287 {
288 "name" : "udp",
289 "id" : 7,
290 "header_type" : "udp_t",
291 "metadata" : false,
292 "pi_omit" : true
293 },
294 {
295 "name" : "intl4_shim",
296 "id" : 8,
297 "header_type" : "intl4_shim_t",
298 "metadata" : false,
299 "pi_omit" : true
300 },
301 {
302 "name" : "int_header",
303 "id" : 9,
304 "header_type" : "int_header_t",
305 "metadata" : false,
306 "pi_omit" : true
307 },
308 {
309 "name" : "int_data",
310 "id" : 10,
311 "header_type" : "int_data_t",
312 "metadata" : false,
313 "pi_omit" : true
314 },
315 {
316 "name" : "int_switch_id",
317 "id" : 11,
318 "header_type" : "int_switch_id_t",
319 "metadata" : false,
320 "pi_omit" : true
321 },
322 {
323 "name" : "int_port_ids",
324 "id" : 12,
325 "header_type" : "int_port_ids_t",
326 "metadata" : false,
327 "pi_omit" : true
328 },
329 {
330 "name" : "int_hop_latency",
331 "id" : 13,
332 "header_type" : "int_hop_latency_t",
333 "metadata" : false,
334 "pi_omit" : true
335 },
336 {
337 "name" : "int_q_occupancy",
338 "id" : 14,
339 "header_type" : "int_q_occupancy_t",
340 "metadata" : false,
341 "pi_omit" : true
342 },
343 {
344 "name" : "int_ingress_tstamp",
345 "id" : 15,
346 "header_type" : "int_ingress_tstamp_t",
347 "metadata" : false,
348 "pi_omit" : true
349 },
350 {
351 "name" : "int_egress_tstamp",
352 "id" : 16,
353 "header_type" : "int_egress_tstamp_t",
354 "metadata" : false,
355 "pi_omit" : true
356 },
357 {
358 "name" : "int_q_congestion",
359 "id" : 17,
360 "header_type" : "int_q_congestion_t",
361 "metadata" : false,
362 "pi_omit" : true
363 },
364 {
365 "name" : "int_egress_tx_util",
366 "id" : 18,
367 "header_type" : "int_egress_port_tx_util_t",
368 "metadata" : false,
369 "pi_omit" : true
370 },
371 {
372 "name" : "intl4_tail",
373 "id" : 19,
374 "header_type" : "intl4_tail_t",
375 "metadata" : false,
376 "pi_omit" : true
377 },
378 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700379 "name" : "userMetadata.int_meta",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800380 "id" : 20,
381 "header_type" : "int_metadata_t",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800382 "metadata" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800383 "pi_omit" : true
384 }
385 ],
386 "header_stacks" : [],
387 "header_union_types" : [],
388 "header_unions" : [],
389 "header_union_stacks" : [],
390 "field_lists" : [],
Carmelo Cascone6af4e172018-06-15 16:01:30 +0200391 "errors" : [],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800392 "enums" : [],
393 "parsers" : [
394 {
395 "name" : "parser",
396 "id" : 0,
397 "init_state" : "start",
398 "parse_states" : [
399 {
400 "name" : "start",
401 "id" : 0,
402 "parser_ops" : [],
403 "transitions" : [
404 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700405 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800406 "value" : "0x00ff",
407 "mask" : null,
408 "next_state" : "parse_packet_out"
409 },
410 {
411 "value" : "default",
412 "mask" : null,
413 "next_state" : "parse_ethernet"
414 }
415 ],
416 "transition_key" : [
417 {
418 "type" : "field",
419 "value" : ["standard_metadata", "ingress_port"]
420 }
421 ]
422 },
423 {
424 "name" : "parse_packet_out",
425 "id" : 1,
426 "parser_ops" : [
427 {
428 "parameters" : [
429 {
430 "type" : "regular",
431 "value" : "packet_out"
432 }
433 ],
434 "op" : "extract"
435 }
436 ],
437 "transitions" : [
438 {
439 "value" : "default",
440 "mask" : null,
441 "next_state" : "parse_ethernet"
442 }
443 ],
444 "transition_key" : []
445 },
446 {
447 "name" : "parse_ethernet",
448 "id" : 2,
449 "parser_ops" : [
450 {
451 "parameters" : [
452 {
453 "type" : "regular",
454 "value" : "ethernet"
455 }
456 ],
457 "op" : "extract"
458 }
459 ],
460 "transitions" : [
461 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700462 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800463 "value" : "0x0800",
464 "mask" : null,
465 "next_state" : "parse_ipv4"
466 },
467 {
468 "value" : "default",
469 "mask" : null,
470 "next_state" : null
471 }
472 ],
473 "transition_key" : [
474 {
475 "type" : "field",
476 "value" : ["ethernet", "ether_type"]
477 }
478 ]
479 },
480 {
481 "name" : "parse_ipv4",
482 "id" : 3,
483 "parser_ops" : [
484 {
485 "parameters" : [
486 {
487 "type" : "regular",
488 "value" : "ipv4"
489 }
490 ],
491 "op" : "extract"
492 }
493 ],
494 "transitions" : [
495 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700496 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800497 "value" : "0x06",
498 "mask" : null,
499 "next_state" : "parse_tcp"
500 },
501 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700502 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800503 "value" : "0x11",
504 "mask" : null,
505 "next_state" : "parse_udp"
506 },
507 {
508 "value" : "default",
509 "mask" : null,
510 "next_state" : null
511 }
512 ],
513 "transition_key" : [
514 {
515 "type" : "field",
516 "value" : ["ipv4", "protocol"]
517 }
518 ]
519 },
520 {
521 "name" : "parse_tcp",
522 "id" : 4,
523 "parser_ops" : [
524 {
525 "parameters" : [
526 {
527 "type" : "regular",
528 "value" : "tcp"
529 }
530 ],
531 "op" : "extract"
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800532 },
533 {
534 "parameters" : [
535 {
536 "type" : "field",
537 "value" : ["scalars", "local_metadata_t.l4_src_port"]
538 },
539 {
540 "type" : "field",
541 "value" : ["tcp", "src_port"]
542 }
543 ],
544 "op" : "set"
545 },
546 {
547 "parameters" : [
548 {
549 "type" : "field",
550 "value" : ["scalars", "local_metadata_t.l4_dst_port"]
551 },
552 {
553 "type" : "field",
554 "value" : ["tcp", "dst_port"]
555 }
556 ],
557 "op" : "set"
558 },
559 {
560 "parameters" : [
561 {
562 "type" : "field",
563 "value" : ["scalars", "tmp"]
564 },
565 {
566 "type" : "expression",
567 "value" : {
568 "type" : "expression",
569 "value" : {
570 "op" : "?",
571 "left" : {
572 "type" : "hexstr",
573 "value" : "0x01"
574 },
575 "right" : {
576 "type" : "hexstr",
577 "value" : "0x00"
578 },
579 "cond" : {
580 "type" : "expression",
581 "value" : {
582 "op" : "==",
583 "left" : {
584 "type" : "expression",
585 "value" : {
586 "op" : "&",
587 "left" : {
588 "type" : "field",
589 "value" : ["ipv4", "dscp"]
590 },
591 "right" : {
592 "type" : "hexstr",
593 "value" : "0x01"
594 }
595 }
596 },
597 "right" : {
598 "type" : "hexstr",
599 "value" : "0x01"
600 }
601 }
602 }
603 }
604 }
605 }
606 ],
607 "op" : "set"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800608 }
609 ],
610 "transitions" : [
611 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700612 "type" : "hexstr",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800613 "value" : "0x01",
614 "mask" : null,
615 "next_state" : "parse_intl4_shim"
616 },
617 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800618 "value" : "default",
619 "mask" : null,
620 "next_state" : null
621 }
622 ],
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800623 "transition_key" : [
624 {
625 "type" : "field",
626 "value" : ["scalars", "tmp"]
627 }
628 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800629 },
630 {
631 "name" : "parse_udp",
632 "id" : 5,
633 "parser_ops" : [
634 {
635 "parameters" : [
636 {
637 "type" : "regular",
638 "value" : "udp"
639 }
640 ],
641 "op" : "extract"
642 },
643 {
644 "parameters" : [
645 {
646 "type" : "field",
647 "value" : ["scalars", "local_metadata_t.l4_src_port"]
648 },
649 {
650 "type" : "field",
651 "value" : ["udp", "src_port"]
652 }
653 ],
654 "op" : "set"
655 },
656 {
657 "parameters" : [
658 {
659 "type" : "field",
660 "value" : ["scalars", "local_metadata_t.l4_dst_port"]
661 },
662 {
663 "type" : "field",
664 "value" : ["udp", "dst_port"]
665 }
666 ],
667 "op" : "set"
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800668 },
669 {
670 "parameters" : [
671 {
672 "type" : "field",
673 "value" : ["scalars", "tmp_0"]
674 },
675 {
676 "type" : "expression",
677 "value" : {
678 "type" : "expression",
679 "value" : {
680 "op" : "?",
681 "left" : {
682 "type" : "hexstr",
683 "value" : "0x01"
684 },
685 "right" : {
686 "type" : "hexstr",
687 "value" : "0x00"
688 },
689 "cond" : {
690 "type" : "expression",
691 "value" : {
692 "op" : "==",
693 "left" : {
694 "type" : "expression",
695 "value" : {
696 "op" : "&",
697 "left" : {
698 "type" : "field",
699 "value" : ["ipv4", "dscp"]
700 },
701 "right" : {
702 "type" : "hexstr",
703 "value" : "0x01"
704 }
705 }
706 },
707 "right" : {
708 "type" : "hexstr",
709 "value" : "0x01"
710 }
711 }
712 }
713 }
714 }
715 }
716 ],
717 "op" : "set"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800718 }
719 ],
720 "transitions" : [
721 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700722 "type" : "hexstr",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800723 "value" : "0x01",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800724 "mask" : null,
725 "next_state" : "parse_intl4_shim"
726 },
727 {
728 "value" : "default",
729 "mask" : null,
730 "next_state" : null
731 }
732 ],
733 "transition_key" : [
734 {
735 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800736 "value" : ["scalars", "tmp_0"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800737 }
738 ]
739 },
740 {
741 "name" : "parse_intl4_shim",
742 "id" : 6,
743 "parser_ops" : [
744 {
745 "parameters" : [
746 {
747 "type" : "regular",
748 "value" : "intl4_shim"
749 }
750 ],
751 "op" : "extract"
752 },
753 {
754 "parameters" : [
755 {
756 "type" : "regular",
757 "value" : "int_header"
758 }
759 ],
760 "op" : "extract"
761 },
762 {
763 "parameters" : [
764 {
765 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700766 "value" : ["userMetadata.int_meta", "metadata_len"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800767 },
768 {
769 "type" : "expression",
770 "value" : {
771 "type" : "expression",
772 "value" : {
773 "op" : "&",
774 "left" : {
775 "type" : "expression",
776 "value" : {
777 "op" : "+",
778 "left" : {
779 "type" : "field",
780 "value" : ["intl4_shim", "len"]
781 },
782 "right" : {
783 "type" : "hexstr",
784 "value" : "0xfc"
785 }
786 }
787 },
788 "right" : {
789 "type" : "hexstr",
790 "value" : "0xff"
791 }
792 }
793 }
794 }
795 ],
796 "op" : "set"
797 }
798 ],
799 "transitions" : [
800 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700801 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800802 "value" : "0x00",
803 "mask" : null,
804 "next_state" : "parse_intl4_tail"
805 },
806 {
807 "value" : "default",
808 "mask" : null,
809 "next_state" : "parse_int_data"
810 }
811 ],
812 "transition_key" : [
813 {
814 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700815 "value" : ["userMetadata.int_meta", "metadata_len"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800816 }
817 ]
818 },
819 {
820 "name" : "parse_int_data",
821 "id" : 7,
822 "parser_ops" : [
823 {
824 "parameters" : [
825 {
826 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800827 "value" : ["scalars", "tmp_1"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800828 },
829 {
830 "type" : "expression",
831 "value" : {
832 "type" : "expression",
833 "value" : {
834 "op" : "&",
835 "left" : {
836 "type" : "expression",
837 "value" : {
838 "op" : "&",
839 "left" : {
840 "type" : "expression",
841 "value" : {
842 "op" : "<<",
843 "left" : {
844 "type" : "expression",
845 "value" : {
846 "op" : "&",
847 "left" : {
848 "type" : "expression",
849 "value" : {
850 "op" : "+",
851 "left" : {
852 "type" : "field",
853 "value" : ["intl4_shim", "len"]
854 },
855 "right" : {
856 "type" : "hexstr",
857 "value" : "0xfc"
858 }
859 }
860 },
861 "right" : {
862 "type" : "hexstr",
863 "value" : "0xff"
864 }
865 }
866 },
867 "right" : {
868 "type" : "hexstr",
869 "value" : "0x5"
870 }
871 }
872 },
873 "right" : {
874 "type" : "hexstr",
875 "value" : "0xff"
876 }
877 }
878 },
879 "right" : {
880 "type" : "hexstr",
881 "value" : "0xffffffff"
882 }
883 }
884 }
885 }
886 ],
887 "op" : "set"
888 },
889 {
890 "parameters" : [
891 {
892 "type" : "regular",
893 "value" : "int_data"
894 },
895 {
896 "type" : "expression",
897 "value" : {
898 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800899 "value" : ["scalars", "tmp_1"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800900 }
901 }
902 ],
903 "op" : "extract_VL"
904 }
905 ],
906 "transitions" : [
907 {
908 "value" : "default",
909 "mask" : null,
910 "next_state" : "parse_intl4_tail"
911 }
912 ],
913 "transition_key" : []
914 },
915 {
916 "name" : "parse_intl4_tail",
917 "id" : 8,
918 "parser_ops" : [
919 {
920 "parameters" : [
921 {
922 "type" : "regular",
923 "value" : "intl4_tail"
924 }
925 ],
926 "op" : "extract"
927 }
928 ],
929 "transitions" : [
930 {
931 "value" : "default",
932 "mask" : null,
933 "next_state" : null
934 }
935 ],
936 "transition_key" : []
937 }
938 ]
939 }
940 ],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700941 "parse_vsets" : [],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800942 "deparsers" : [
943 {
944 "name" : "deparser",
945 "id" : 0,
946 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700947 "filename" : "include/int_parser.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800948 "line" : 104,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800949 "column" : 8,
950 "source_fragment" : "int_deparser"
951 },
952 "order" : ["packet_in", "ethernet", "ipv4", "tcp", "udp", "intl4_shim", "int_header", "int_switch_id", "int_port_ids", "int_hop_latency", "int_q_occupancy", "int_ingress_tstamp", "int_egress_tstamp", "int_q_congestion", "int_egress_tx_util", "int_data", "intl4_tail"]
953 }
954 ],
955 "meter_arrays" : [],
956 "counter_arrays" : [
957 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700958 "name" : "ingress.port_counters_ingress.ingress_port_counter",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800959 "id" : 0,
960 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700961 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800962 "line" : 26,
963 "column" : 38,
964 "source_fragment" : "ingress_port_counter"
965 },
966 "size" : 511,
967 "is_direct" : false
968 },
969 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700970 "name" : "ingress.table0_control.table0_counter",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800971 "id" : 1,
972 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700973 "binding" : "ingress.table0_control.table0"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800974 },
975 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700976 "name" : "egress.process_set_source_sink.counter_set_source",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800977 "id" : 2,
978 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700979 "binding" : "egress.process_set_source_sink.tb_set_source"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800980 },
981 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700982 "name" : "egress.process_set_source_sink.counter_set_sink",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800983 "id" : 3,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800984 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700985 "binding" : "egress.process_set_source_sink.tb_set_sink"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800986 },
987 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700988 "name" : "egress.process_int_source.counter_int_source",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800989 "id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800990 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700991 "binding" : "egress.process_int_source.tb_int_source"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800992 },
993 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700994 "name" : "egress.process_int_transit.counter_int_insert",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800995 "id" : 5,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800996 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700997 "binding" : "egress.process_int_transit.tb_int_insert"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800998 },
999 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001000 "name" : "egress.process_int_transit.counter_int_inst_0003",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001001 "id" : 6,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001002 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001003 "binding" : "egress.process_int_transit.tb_int_inst_0003"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001004 },
1005 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001006 "name" : "egress.process_int_transit.counter_int_inst_0407",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001007 "id" : 7,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001008 "is_direct" : true,
1009 "binding" : "egress.process_int_transit.tb_int_inst_0407"
1010 },
1011 {
1012 "name" : "egress.port_counters_egress.egress_port_counter",
1013 "id" : 8,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001014 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001015 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001016 "line" : 36,
1017 "column" : 38,
1018 "source_fragment" : "egress_port_counter"
1019 },
1020 "size" : 511,
1021 "is_direct" : false
1022 }
1023 ],
1024 "register_arrays" : [],
1025 "calculations" : [],
1026 "learn_lists" : [],
1027 "actions" : [
1028 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001029 "name" : "_drop",
Keesjan Karsten23368892018-05-22 10:46:01 +00001030 "id" : 0,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001031 "runtime_data" : [],
1032 "primitives" : [
1033 {
1034 "op" : "drop",
1035 "parameters" : [],
1036 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001037 "filename" : "include/actions.p4",
Keesjan Karsten23368892018-05-22 10:46:01 +00001038 "line" : 24,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001039 "column" : 4,
1040 "source_fragment" : "mark_to_drop()"
1041 }
1042 }
1043 ]
1044 },
1045 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001046 "name" : "ingress.table0_control.set_next_hop_id",
Keesjan Karsten23368892018-05-22 10:46:01 +00001047 "id" : 1,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001048 "runtime_data" : [
1049 {
1050 "name" : "next_hop_id",
1051 "bitwidth" : 16
1052 }
1053 ],
1054 "primitives" : [
1055 {
1056 "op" : "assign",
1057 "parameters" : [
1058 {
1059 "type" : "field",
1060 "value" : ["scalars", "local_metadata_t.next_hop_id"]
1061 },
1062 {
1063 "type" : "runtime_data",
1064 "value" : 0
1065 }
1066 ],
1067 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001068 "filename" : "include/table0.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001069 "line" : 30,
1070 "column" : 8,
1071 "source_fragment" : "local_metadata.next_hop_id = next_hop_id"
1072 }
1073 }
1074 ]
1075 },
1076 {
Keesjan Karsten23368892018-05-22 10:46:01 +00001077 "name" : "ingress.table0_control.send_to_cpu",
1078 "id" : 2,
1079 "runtime_data" : [],
1080 "primitives" : [
1081 {
1082 "op" : "assign",
1083 "parameters" : [
1084 {
1085 "type" : "field",
1086 "value" : ["standard_metadata", "egress_spec"]
1087 },
1088 {
1089 "type" : "hexstr",
1090 "value" : "0x00ff"
1091 }
1092 ],
1093 "source_info" : {
1094 "filename" : "include/defines.p4",
1095 "line" : 28,
1096 "column" : 24,
1097 "source_fragment" : "255; ..."
1098 }
1099 }
1100 ]
1101 },
1102 {
1103 "name" : "ingress.table0_control.set_egress_port",
1104 "id" : 3,
1105 "runtime_data" : [
1106 {
1107 "name" : "port",
1108 "bitwidth" : 9
1109 }
1110 ],
1111 "primitives" : [
1112 {
1113 "op" : "assign",
1114 "parameters" : [
1115 {
1116 "type" : "field",
1117 "value" : ["standard_metadata", "egress_spec"]
1118 },
1119 {
1120 "type" : "runtime_data",
1121 "value" : 0
1122 }
1123 ],
1124 "source_info" : {
1125 "filename" : "include/table0.p4",
1126 "line" : 38,
1127 "column" : 8,
1128 "source_fragment" : "standard_metadata.egress_spec = port"
1129 }
1130 }
1131 ]
1132 },
1133 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001134 "name" : "act",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001135 "id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001136 "runtime_data" : [],
1137 "primitives" : [
1138 {
1139 "op" : "assign",
1140 "parameters" : [
1141 {
1142 "type" : "field",
1143 "value" : ["standard_metadata", "egress_spec"]
1144 },
1145 {
1146 "type" : "field",
1147 "value" : ["packet_out", "egress_port"]
1148 }
1149 ],
1150 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001151 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001152 "line" : 27,
1153 "column" : 12,
1154 "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
1155 }
1156 },
1157 {
1158 "op" : "remove_header",
1159 "parameters" : [
1160 {
1161 "type" : "header",
1162 "value" : "packet_out"
1163 }
1164 ],
1165 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001166 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001167 "line" : 28,
1168 "column" : 12,
1169 "source_fragment" : "hdr.packet_out.setInvalid()"
1170 }
1171 }
1172 ]
1173 },
1174 {
1175 "name" : "act_0",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001176 "id" : 5,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001177 "runtime_data" : [],
1178 "primitives" : [
1179 {
1180 "op" : "assign",
1181 "parameters" : [
1182 {
1183 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001184 "value" : ["scalars", "tmp_2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001185 },
1186 {
1187 "type" : "expression",
1188 "value" : {
1189 "type" : "expression",
1190 "value" : {
1191 "op" : "&",
1192 "left" : {
1193 "type" : "field",
1194 "value" : ["standard_metadata", "ingress_port"]
1195 },
1196 "right" : {
1197 "type" : "hexstr",
1198 "value" : "0xffffffff"
1199 }
1200 }
1201 }
1202 }
Carmelo Cascone6af4e172018-06-15 16:01:30 +02001203 ],
1204 "source_info" : {
1205 "filename" : "include/port_counters.p4",
1206 "line" : 29,
1207 "column" : 35,
1208 "source_fragment" : "(bit<32>) standard_metadata.ingress_port"
1209 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001210 },
1211 {
1212 "op" : "count",
1213 "parameters" : [
1214 {
1215 "type" : "counter_array",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001216 "value" : "ingress.port_counters_ingress.ingress_port_counter"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001217 },
1218 {
1219 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001220 "value" : ["scalars", "tmp_2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001221 }
1222 ],
1223 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001224 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001225 "line" : 29,
1226 "column" : 8,
1227 "source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)"
1228 }
1229 }
1230 ]
1231 },
1232 {
1233 "name" : "NoAction",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001234 "id" : 6,
1235 "runtime_data" : [],
1236 "primitives" : []
1237 },
1238 {
1239 "name" : "NoAction",
1240 "id" : 7,
1241 "runtime_data" : [],
1242 "primitives" : []
1243 },
1244 {
1245 "name" : "NoAction",
1246 "id" : 8,
1247 "runtime_data" : [],
1248 "primitives" : []
1249 },
1250 {
1251 "name" : "NoAction",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001252 "id" : 9,
1253 "runtime_data" : [],
1254 "primitives" : []
1255 },
1256 {
1257 "name" : "NoAction",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001258 "id" : 10,
1259 "runtime_data" : [],
1260 "primitives" : []
1261 },
1262 {
1263 "name" : "NoAction",
1264 "id" : 11,
1265 "runtime_data" : [],
1266 "primitives" : []
1267 },
1268 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001269 "name" : "egress.process_set_source_sink.int_set_source",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001270 "id" : 12,
1271 "runtime_data" : [],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001272 "primitives" : [
1273 {
1274 "op" : "assign",
1275 "parameters" : [
1276 {
1277 "type" : "field",
1278 "value" : ["userMetadata.int_meta", "source"]
1279 },
1280 {
1281 "type" : "hexstr",
1282 "value" : "0x01"
1283 }
1284 ],
1285 "source_info" : {
1286 "filename" : "include/int_source.p4",
1287 "line" : 94,
1288 "column" : 8,
1289 "source_fragment" : "local_metadata.int_meta.source = 1"
1290 }
1291 }
1292 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001293 },
1294 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001295 "name" : "egress.process_set_source_sink.int_set_sink",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001296 "id" : 13,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001297 "runtime_data" : [],
1298 "primitives" : [
1299 {
1300 "op" : "assign",
1301 "parameters" : [
1302 {
1303 "type" : "field",
1304 "value" : ["userMetadata.int_meta", "sink"]
1305 },
1306 {
1307 "type" : "hexstr",
1308 "value" : "0x01"
1309 }
1310 ],
1311 "source_info" : {
1312 "filename" : "include/int_source.p4",
1313 "line" : 98,
1314 "column" : 8,
1315 "source_fragment" : "local_metadata.int_meta.sink = 1"
1316 }
1317 }
1318 ]
1319 },
1320 {
1321 "name" : "egress.process_int_source.int_source_dscp",
1322 "id" : 14,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001323 "runtime_data" : [
1324 {
1325 "name" : "max_hop",
1326 "bitwidth" : 8
1327 },
1328 {
1329 "name" : "ins_cnt",
1330 "bitwidth" : 5
1331 },
1332 {
1333 "name" : "ins_mask0003",
1334 "bitwidth" : 4
1335 },
1336 {
1337 "name" : "ins_mask0407",
1338 "bitwidth" : 4
1339 }
1340 ],
1341 "primitives" : [
1342 {
1343 "op" : "add_header",
1344 "parameters" : [
1345 {
1346 "type" : "header",
1347 "value" : "intl4_shim"
1348 }
1349 ],
1350 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001351 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001352 "line" : 31,
1353 "column" : 8,
1354 "source_fragment" : "hdr.intl4_shim.setValid()"
1355 }
1356 },
1357 {
1358 "op" : "assign",
1359 "parameters" : [
1360 {
1361 "type" : "field",
1362 "value" : ["intl4_shim", "int_type"]
1363 },
1364 {
1365 "type" : "hexstr",
1366 "value" : "0x01"
1367 }
1368 ],
1369 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001370 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001371 "line" : 33,
1372 "column" : 8,
1373 "source_fragment" : "hdr.intl4_shim.int_type = 1"
1374 }
1375 },
1376 {
1377 "op" : "assign",
1378 "parameters" : [
1379 {
1380 "type" : "field",
1381 "value" : ["intl4_shim", "len"]
1382 },
1383 {
1384 "type" : "hexstr",
1385 "value" : "0x04"
1386 }
1387 ],
1388 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001389 "filename" : "include/int_definitions.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001390 "line" : 29,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001391 "column" : 35,
1392 "source_fragment" : "4; ..."
1393 }
1394 },
1395 {
1396 "op" : "add_header",
1397 "parameters" : [
1398 {
1399 "type" : "header",
1400 "value" : "int_header"
1401 }
1402 ],
1403 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001404 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001405 "line" : 37,
1406 "column" : 8,
1407 "source_fragment" : "hdr.int_header.setValid()"
1408 }
1409 },
1410 {
1411 "op" : "assign",
1412 "parameters" : [
1413 {
1414 "type" : "field",
1415 "value" : ["int_header", "ver"]
1416 },
1417 {
1418 "type" : "hexstr",
1419 "value" : "0x00"
1420 }
1421 ],
1422 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001423 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001424 "line" : 38,
1425 "column" : 8,
1426 "source_fragment" : "hdr.int_header.ver = 0"
1427 }
1428 },
1429 {
1430 "op" : "assign",
1431 "parameters" : [
1432 {
1433 "type" : "field",
1434 "value" : ["int_header", "rep"]
1435 },
1436 {
1437 "type" : "hexstr",
1438 "value" : "0x00"
1439 }
1440 ],
1441 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001442 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001443 "line" : 39,
1444 "column" : 8,
1445 "source_fragment" : "hdr.int_header.rep = 0"
1446 }
1447 },
1448 {
1449 "op" : "assign",
1450 "parameters" : [
1451 {
1452 "type" : "field",
1453 "value" : ["int_header", "c"]
1454 },
1455 {
1456 "type" : "hexstr",
1457 "value" : "0x00"
1458 }
1459 ],
1460 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001461 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001462 "line" : 40,
1463 "column" : 8,
1464 "source_fragment" : "hdr.int_header.c = 0"
1465 }
1466 },
1467 {
1468 "op" : "assign",
1469 "parameters" : [
1470 {
1471 "type" : "field",
1472 "value" : ["int_header", "e"]
1473 },
1474 {
1475 "type" : "hexstr",
1476 "value" : "0x00"
1477 }
1478 ],
1479 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001480 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001481 "line" : 41,
1482 "column" : 8,
1483 "source_fragment" : "hdr.int_header.e = 0"
1484 }
1485 },
1486 {
1487 "op" : "assign",
1488 "parameters" : [
1489 {
1490 "type" : "field",
1491 "value" : ["int_header", "rsvd1"]
1492 },
1493 {
1494 "type" : "hexstr",
1495 "value" : "0x00"
1496 }
1497 ],
1498 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001499 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001500 "line" : 42,
1501 "column" : 8,
1502 "source_fragment" : "hdr.int_header.rsvd1 = 0"
1503 }
1504 },
1505 {
1506 "op" : "assign",
1507 "parameters" : [
1508 {
1509 "type" : "field",
1510 "value" : ["int_header", "ins_cnt"]
1511 },
1512 {
1513 "type" : "runtime_data",
1514 "value" : 1
1515 }
1516 ],
1517 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001518 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001519 "line" : 43,
1520 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001521 "source_fragment" : "hdr.int_header.ins_cnt = ins_cnt; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001522 }
1523 },
1524 {
1525 "op" : "assign",
1526 "parameters" : [
1527 {
1528 "type" : "field",
1529 "value" : ["int_header", "max_hop_cnt"]
1530 },
1531 {
1532 "type" : "runtime_data",
1533 "value" : 0
1534 }
1535 ],
1536 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001537 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001538 "line" : 44,
1539 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001540 "source_fragment" : "hdr.int_header.max_hop_cnt = max_hop; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001541 }
1542 },
1543 {
1544 "op" : "assign",
1545 "parameters" : [
1546 {
1547 "type" : "field",
1548 "value" : ["int_header", "total_hop_cnt"]
1549 },
1550 {
1551 "type" : "hexstr",
1552 "value" : "0x00"
1553 }
1554 ],
1555 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001556 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001557 "line" : 45,
1558 "column" : 8,
1559 "source_fragment" : "hdr.int_header.total_hop_cnt = 0"
1560 }
1561 },
1562 {
1563 "op" : "assign",
1564 "parameters" : [
1565 {
1566 "type" : "field",
1567 "value" : ["int_header", "instruction_mask_0003"]
1568 },
1569 {
1570 "type" : "runtime_data",
1571 "value" : 2
1572 }
1573 ],
1574 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001575 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001576 "line" : 46,
1577 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001578 "source_fragment" : "hdr.int_header.instruction_mask_0003 = ins_mask0003; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001579 }
1580 },
1581 {
1582 "op" : "assign",
1583 "parameters" : [
1584 {
1585 "type" : "field",
1586 "value" : ["int_header", "instruction_mask_0407"]
1587 },
1588 {
1589 "type" : "runtime_data",
1590 "value" : 3
1591 }
1592 ],
1593 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001594 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001595 "line" : 47,
1596 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001597 "source_fragment" : "hdr.int_header.instruction_mask_0407 = ins_mask0407; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001598 }
1599 },
1600 {
1601 "op" : "assign",
1602 "parameters" : [
1603 {
1604 "type" : "field",
1605 "value" : ["int_header", "instruction_mask_0811"]
1606 },
1607 {
1608 "type" : "hexstr",
1609 "value" : "0x00"
1610 }
1611 ],
1612 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001613 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001614 "line" : 48,
1615 "column" : 8,
1616 "source_fragment" : "hdr.int_header.instruction_mask_0811 = 0"
1617 }
1618 },
1619 {
1620 "op" : "assign",
1621 "parameters" : [
1622 {
1623 "type" : "field",
1624 "value" : ["int_header", "instruction_mask_1215"]
1625 },
1626 {
1627 "type" : "hexstr",
1628 "value" : "0x00"
1629 }
1630 ],
1631 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001632 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001633 "line" : 49,
1634 "column" : 8,
1635 "source_fragment" : "hdr.int_header.instruction_mask_1215 = 0"
1636 }
1637 },
1638 {
1639 "op" : "add_header",
1640 "parameters" : [
1641 {
1642 "type" : "header",
1643 "value" : "intl4_tail"
1644 }
1645 ],
1646 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001647 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001648 "line" : 52,
1649 "column" : 8,
1650 "source_fragment" : "hdr.intl4_tail.setValid()"
1651 }
1652 },
1653 {
1654 "op" : "assign",
1655 "parameters" : [
1656 {
1657 "type" : "field",
1658 "value" : ["intl4_tail", "next_proto"]
1659 },
1660 {
1661 "type" : "field",
1662 "value" : ["ipv4", "protocol"]
1663 }
1664 ],
1665 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001666 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001667 "line" : 53,
1668 "column" : 8,
1669 "source_fragment" : "hdr.intl4_tail.next_proto = hdr.ipv4.protocol"
1670 }
1671 },
1672 {
1673 "op" : "assign",
1674 "parameters" : [
1675 {
1676 "type" : "field",
1677 "value" : ["intl4_tail", "dest_port"]
1678 },
1679 {
1680 "type" : "field",
1681 "value" : ["scalars", "local_metadata_t.l4_dst_port"]
1682 }
1683 ],
1684 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001685 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001686 "line" : 54,
1687 "column" : 8,
1688 "source_fragment" : "hdr.intl4_tail.dest_port = local_metadata.l4_dst_port"
1689 }
1690 },
1691 {
1692 "op" : "assign",
1693 "parameters" : [
1694 {
1695 "type" : "field",
1696 "value" : ["intl4_tail", "dscp"]
1697 },
1698 {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001699 "type" : "expression",
1700 "value" : {
1701 "type" : "expression",
1702 "value" : {
1703 "op" : "&",
1704 "left" : {
1705 "type" : "field",
1706 "value" : ["ipv4", "dscp"]
1707 },
1708 "right" : {
1709 "type" : "hexstr",
1710 "value" : "0xff"
1711 }
1712 }
1713 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001714 }
1715 ],
1716 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001717 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001718 "line" : 55,
1719 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001720 "source_fragment" : "hdr.intl4_tail.dscp = (bit<8>) hdr.ipv4.dscp"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001721 }
1722 },
1723 {
1724 "op" : "assign",
1725 "parameters" : [
1726 {
1727 "type" : "field",
1728 "value" : ["ipv4", "len"]
1729 },
1730 {
1731 "type" : "expression",
1732 "value" : {
1733 "type" : "expression",
1734 "value" : {
1735 "op" : "&",
1736 "left" : {
1737 "type" : "expression",
1738 "value" : {
1739 "op" : "+",
1740 "left" : {
1741 "type" : "field",
1742 "value" : ["ipv4", "len"]
1743 },
1744 "right" : {
1745 "type" : "hexstr",
1746 "value" : "0x0010"
1747 }
1748 }
1749 },
1750 "right" : {
1751 "type" : "hexstr",
1752 "value" : "0xffff"
1753 }
1754 }
1755 }
1756 }
1757 ],
1758 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001759 "filename" : "include/int_source.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001760 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001761 "column" : 8,
1762 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + 16"
1763 }
1764 },
1765 {
1766 "op" : "assign",
1767 "parameters" : [
1768 {
1769 "type" : "field",
1770 "value" : ["udp", "length_"]
1771 },
1772 {
1773 "type" : "expression",
1774 "value" : {
1775 "type" : "expression",
1776 "value" : {
1777 "op" : "&",
1778 "left" : {
1779 "type" : "expression",
1780 "value" : {
1781 "op" : "+",
1782 "left" : {
1783 "type" : "field",
1784 "value" : ["udp", "length_"]
1785 },
1786 "right" : {
1787 "type" : "hexstr",
1788 "value" : "0x0010"
1789 }
1790 }
1791 },
1792 "right" : {
1793 "type" : "hexstr",
1794 "value" : "0xffff"
1795 }
1796 }
1797 }
1798 }
1799 ],
1800 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001801 "filename" : "include/int_source.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001802 "line" : 59,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001803 "column" : 8,
1804 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + 16"
1805 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001806 },
1807 {
1808 "op" : "assign",
1809 "parameters" : [
1810 {
1811 "type" : "field",
1812 "value" : ["ipv4", "dscp"]
1813 },
1814 {
1815 "type" : "hexstr",
1816 "value" : "0x01"
1817 }
1818 ],
1819 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001820 "filename" : "include/int_definitions.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001821 "line" : 24,
1822 "column" : 24,
1823 "source_fragment" : "0x1; ..."
1824 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001825 }
1826 ]
1827 },
1828 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001829 "name" : "egress.process_int_transit.int_update_total_hop_cnt",
1830 "id" : 15,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001831 "runtime_data" : [],
1832 "primitives" : [
1833 {
1834 "op" : "assign",
1835 "parameters" : [
1836 {
1837 "type" : "field",
1838 "value" : ["int_header", "total_hop_cnt"]
1839 },
1840 {
1841 "type" : "expression",
1842 "value" : {
1843 "type" : "expression",
1844 "value" : {
1845 "op" : "&",
1846 "left" : {
1847 "type" : "expression",
1848 "value" : {
1849 "op" : "+",
1850 "left" : {
1851 "type" : "field",
1852 "value" : ["int_header", "total_hop_cnt"]
1853 },
1854 "right" : {
1855 "type" : "hexstr",
1856 "value" : "0x01"
1857 }
1858 }
1859 },
1860 "right" : {
1861 "type" : "hexstr",
1862 "value" : "0xff"
1863 }
1864 }
1865 }
1866 }
1867 ],
1868 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001869 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001870 "line" : 30,
1871 "column" : 8,
1872 "source_fragment" : "hdr.int_header.total_hop_cnt = hdr.int_header.total_hop_cnt + 1"
1873 }
1874 }
1875 ]
1876 },
1877 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001878 "name" : "egress.process_int_transit.int_transit",
1879 "id" : 16,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001880 "runtime_data" : [
1881 {
1882 "name" : "switch_id",
1883 "bitwidth" : 32
1884 }
1885 ],
1886 "primitives" : [
1887 {
1888 "op" : "assign",
1889 "parameters" : [
1890 {
1891 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001892 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001893 },
1894 {
1895 "type" : "runtime_data",
1896 "value" : 0
1897 }
1898 ],
1899 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001900 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001901 "line" : 34,
1902 "column" : 8,
1903 "source_fragment" : "local_metadata.int_meta.switch_id = switch_id"
1904 }
1905 },
1906 {
1907 "op" : "assign",
1908 "parameters" : [
1909 {
1910 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001911 "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001912 },
1913 {
1914 "type" : "expression",
1915 "value" : {
1916 "type" : "expression",
1917 "value" : {
1918 "op" : "&",
1919 "left" : {
1920 "type" : "expression",
1921 "value" : {
1922 "op" : "<<",
1923 "left" : {
1924 "type" : "expression",
1925 "value" : {
1926 "op" : "&",
1927 "left" : {
1928 "type" : "field",
1929 "value" : ["int_header", "ins_cnt"]
1930 },
1931 "right" : {
1932 "type" : "hexstr",
1933 "value" : "0xffff"
1934 }
1935 }
1936 },
1937 "right" : {
1938 "type" : "hexstr",
1939 "value" : "0x2"
1940 }
1941 }
1942 },
1943 "right" : {
1944 "type" : "hexstr",
1945 "value" : "0xffff"
1946 }
1947 }
1948 }
1949 }
1950 ],
1951 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001952 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001953 "line" : 35,
1954 "column" : 8,
1955 "source_fragment" : "local_metadata.int_meta.insert_byte_cnt = (bit<16>) hdr.int_header.ins_cnt << 2"
1956 }
1957 }
1958 ]
1959 },
1960 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001961 "name" : "egress.process_int_transit.int_set_header_0003_i0",
1962 "id" : 17,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001963 "runtime_data" : [],
1964 "primitives" : []
1965 },
1966 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001967 "name" : "egress.process_int_transit.int_set_header_0003_i1",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001968 "id" : 18,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001969 "runtime_data" : [],
1970 "primitives" : [
1971 {
1972 "op" : "add_header",
1973 "parameters" : [
1974 {
1975 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001976 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001977 }
1978 ],
1979 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001980 "filename" : "include/int_transit.p4",
1981 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001982 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001983 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001984 }
1985 },
1986 {
1987 "op" : "assign",
1988 "parameters" : [
1989 {
1990 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001991 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001992 },
1993 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001994 "type" : "hexstr",
1995 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001996 }
1997 ],
1998 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001999 "filename" : "include/int_transit.p4",
2000 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002001 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002002 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2003 }
2004 },
2005 {
2006 "op" : "assign",
2007 "parameters" : [
2008 {
2009 "type" : "field",
2010 "value" : ["int_q_occupancy", "q_occupancy"]
2011 },
2012 {
2013 "type" : "expression",
2014 "value" : {
2015 "type" : "expression",
2016 "value" : {
2017 "op" : "&",
2018 "left" : {
2019 "type" : "field",
2020 "value" : ["standard_metadata", "deq_qdepth"]
2021 },
2022 "right" : {
2023 "type" : "hexstr",
2024 "value" : "0xffffff"
2025 }
2026 }
2027 }
2028 }
2029 ],
2030 "source_info" : {
2031 "filename" : "include/int_transit.p4",
2032 "line" : 61,
2033 "column" : 8,
2034 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002035 }
2036 }
2037 ]
2038 },
2039 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002040 "name" : "egress.process_int_transit.int_set_header_0003_i2",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002041 "id" : 19,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002042 "runtime_data" : [],
2043 "primitives" : [
2044 {
2045 "op" : "add_header",
2046 "parameters" : [
2047 {
2048 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002049 "value" : "int_hop_latency"
2050 }
2051 ],
2052 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002053 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002054 "line" : 51,
2055 "column" : 8,
2056 "source_fragment" : "hdr.int_hop_latency.setValid()"
2057 }
2058 },
2059 {
2060 "op" : "assign",
2061 "parameters" : [
2062 {
2063 "type" : "field",
2064 "value" : ["int_hop_latency", "hop_latency"]
2065 },
2066 {
2067 "type" : "field",
2068 "value" : ["standard_metadata", "deq_timedelta"]
2069 }
2070 ],
2071 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002072 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002073 "line" : 52,
2074 "column" : 8,
2075 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2076 }
2077 }
2078 ]
2079 },
2080 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002081 "name" : "egress.process_int_transit.int_set_header_0003_i3",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002082 "id" : 20,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002083 "runtime_data" : [],
2084 "primitives" : [
2085 {
2086 "op" : "add_header",
2087 "parameters" : [
2088 {
2089 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002090 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002091 }
2092 ],
2093 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002094 "filename" : "include/int_transit.p4",
2095 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002096 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002097 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002098 }
2099 },
2100 {
2101 "op" : "assign",
2102 "parameters" : [
2103 {
2104 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002105 "value" : ["int_q_occupancy", "q_id"]
2106 },
2107 {
2108 "type" : "hexstr",
2109 "value" : "0x00"
2110 }
2111 ],
2112 "source_info" : {
2113 "filename" : "include/int_transit.p4",
2114 "line" : 58,
2115 "column" : 8,
2116 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2117 }
2118 },
2119 {
2120 "op" : "assign",
2121 "parameters" : [
2122 {
2123 "type" : "field",
2124 "value" : ["int_q_occupancy", "q_occupancy"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002125 },
2126 {
2127 "type" : "expression",
2128 "value" : {
2129 "type" : "expression",
2130 "value" : {
2131 "op" : "&",
2132 "left" : {
2133 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002134 "value" : ["standard_metadata", "deq_qdepth"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002135 },
2136 "right" : {
2137 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002138 "value" : "0xffffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002139 }
2140 }
2141 }
2142 }
2143 ],
2144 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002145 "filename" : "include/int_transit.p4",
2146 "line" : 61,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002147 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002148 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
2149 }
2150 },
2151 {
2152 "op" : "add_header",
2153 "parameters" : [
2154 {
2155 "type" : "header",
2156 "value" : "int_hop_latency"
2157 }
2158 ],
2159 "source_info" : {
2160 "filename" : "include/int_transit.p4",
2161 "line" : 51,
2162 "column" : 8,
2163 "source_fragment" : "hdr.int_hop_latency.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002164 }
2165 },
2166 {
2167 "op" : "assign",
2168 "parameters" : [
2169 {
2170 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002171 "value" : ["int_hop_latency", "hop_latency"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002172 },
2173 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002174 "type" : "field",
2175 "value" : ["standard_metadata", "deq_timedelta"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002176 }
2177 ],
2178 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002179 "filename" : "include/int_transit.p4",
2180 "line" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002181 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002182 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002183 }
2184 }
2185 ]
2186 },
2187 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002188 "name" : "egress.process_int_transit.int_set_header_0003_i4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002189 "id" : 21,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002190 "runtime_data" : [],
2191 "primitives" : [
2192 {
2193 "op" : "add_header",
2194 "parameters" : [
2195 {
2196 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002197 "value" : "int_port_ids"
2198 }
2199 ],
2200 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002201 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002202 "line" : 44,
2203 "column" : 8,
2204 "source_fragment" : "hdr.int_port_ids.setValid()"
2205 }
2206 },
2207 {
2208 "op" : "assign",
2209 "parameters" : [
2210 {
2211 "type" : "field",
2212 "value" : ["int_port_ids", "ingress_port_id"]
2213 },
2214 {
2215 "type" : "expression",
2216 "value" : {
2217 "type" : "expression",
2218 "value" : {
2219 "op" : "&",
2220 "left" : {
2221 "type" : "field",
2222 "value" : ["standard_metadata", "ingress_port"]
2223 },
2224 "right" : {
2225 "type" : "hexstr",
2226 "value" : "0xffff"
2227 }
2228 }
2229 }
2230 }
2231 ],
2232 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002233 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002234 "line" : 45,
2235 "column" : 8,
2236 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2237 }
2238 },
2239 {
2240 "op" : "assign",
2241 "parameters" : [
2242 {
2243 "type" : "field",
2244 "value" : ["int_port_ids", "egress_port_id"]
2245 },
2246 {
2247 "type" : "expression",
2248 "value" : {
2249 "type" : "expression",
2250 "value" : {
2251 "op" : "&",
2252 "left" : {
2253 "type" : "field",
2254 "value" : ["standard_metadata", "egress_port"]
2255 },
2256 "right" : {
2257 "type" : "hexstr",
2258 "value" : "0xffff"
2259 }
2260 }
2261 }
2262 }
2263 ],
2264 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002265 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002266 "line" : 47,
2267 "column" : 8,
2268 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
2269 }
2270 }
2271 ]
2272 },
2273 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002274 "name" : "egress.process_int_transit.int_set_header_0003_i5",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002275 "id" : 22,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002276 "runtime_data" : [],
2277 "primitives" : [
2278 {
2279 "op" : "add_header",
2280 "parameters" : [
2281 {
2282 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002283 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002284 }
2285 ],
2286 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002287 "filename" : "include/int_transit.p4",
2288 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002289 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002290 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002291 }
2292 },
2293 {
2294 "op" : "assign",
2295 "parameters" : [
2296 {
2297 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002298 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002299 },
2300 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002301 "type" : "hexstr",
2302 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002303 }
2304 ],
2305 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002306 "filename" : "include/int_transit.p4",
2307 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002308 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002309 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2310 }
2311 },
2312 {
2313 "op" : "assign",
2314 "parameters" : [
2315 {
2316 "type" : "field",
2317 "value" : ["int_q_occupancy", "q_occupancy"]
2318 },
2319 {
2320 "type" : "expression",
2321 "value" : {
2322 "type" : "expression",
2323 "value" : {
2324 "op" : "&",
2325 "left" : {
2326 "type" : "field",
2327 "value" : ["standard_metadata", "deq_qdepth"]
2328 },
2329 "right" : {
2330 "type" : "hexstr",
2331 "value" : "0xffffff"
2332 }
2333 }
2334 }
2335 }
2336 ],
2337 "source_info" : {
2338 "filename" : "include/int_transit.p4",
2339 "line" : 61,
2340 "column" : 8,
2341 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002342 }
2343 },
2344 {
2345 "op" : "add_header",
2346 "parameters" : [
2347 {
2348 "type" : "header",
2349 "value" : "int_port_ids"
2350 }
2351 ],
2352 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002353 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002354 "line" : 44,
2355 "column" : 8,
2356 "source_fragment" : "hdr.int_port_ids.setValid()"
2357 }
2358 },
2359 {
2360 "op" : "assign",
2361 "parameters" : [
2362 {
2363 "type" : "field",
2364 "value" : ["int_port_ids", "ingress_port_id"]
2365 },
2366 {
2367 "type" : "expression",
2368 "value" : {
2369 "type" : "expression",
2370 "value" : {
2371 "op" : "&",
2372 "left" : {
2373 "type" : "field",
2374 "value" : ["standard_metadata", "ingress_port"]
2375 },
2376 "right" : {
2377 "type" : "hexstr",
2378 "value" : "0xffff"
2379 }
2380 }
2381 }
2382 }
2383 ],
2384 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002385 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002386 "line" : 45,
2387 "column" : 8,
2388 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2389 }
2390 },
2391 {
2392 "op" : "assign",
2393 "parameters" : [
2394 {
2395 "type" : "field",
2396 "value" : ["int_port_ids", "egress_port_id"]
2397 },
2398 {
2399 "type" : "expression",
2400 "value" : {
2401 "type" : "expression",
2402 "value" : {
2403 "op" : "&",
2404 "left" : {
2405 "type" : "field",
2406 "value" : ["standard_metadata", "egress_port"]
2407 },
2408 "right" : {
2409 "type" : "hexstr",
2410 "value" : "0xffff"
2411 }
2412 }
2413 }
2414 }
2415 ],
2416 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002417 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002418 "line" : 47,
2419 "column" : 8,
2420 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
2421 }
2422 }
2423 ]
2424 },
2425 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002426 "name" : "egress.process_int_transit.int_set_header_0003_i6",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002427 "id" : 23,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002428 "runtime_data" : [],
2429 "primitives" : [
2430 {
2431 "op" : "add_header",
2432 "parameters" : [
2433 {
2434 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002435 "value" : "int_hop_latency"
2436 }
2437 ],
2438 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002439 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002440 "line" : 51,
2441 "column" : 8,
2442 "source_fragment" : "hdr.int_hop_latency.setValid()"
2443 }
2444 },
2445 {
2446 "op" : "assign",
2447 "parameters" : [
2448 {
2449 "type" : "field",
2450 "value" : ["int_hop_latency", "hop_latency"]
2451 },
2452 {
2453 "type" : "field",
2454 "value" : ["standard_metadata", "deq_timedelta"]
2455 }
2456 ],
2457 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002458 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002459 "line" : 52,
2460 "column" : 8,
2461 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2462 }
2463 },
2464 {
2465 "op" : "add_header",
2466 "parameters" : [
2467 {
2468 "type" : "header",
2469 "value" : "int_port_ids"
2470 }
2471 ],
2472 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002473 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002474 "line" : 44,
2475 "column" : 8,
2476 "source_fragment" : "hdr.int_port_ids.setValid()"
2477 }
2478 },
2479 {
2480 "op" : "assign",
2481 "parameters" : [
2482 {
2483 "type" : "field",
2484 "value" : ["int_port_ids", "ingress_port_id"]
2485 },
2486 {
2487 "type" : "expression",
2488 "value" : {
2489 "type" : "expression",
2490 "value" : {
2491 "op" : "&",
2492 "left" : {
2493 "type" : "field",
2494 "value" : ["standard_metadata", "ingress_port"]
2495 },
2496 "right" : {
2497 "type" : "hexstr",
2498 "value" : "0xffff"
2499 }
2500 }
2501 }
2502 }
2503 ],
2504 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002505 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002506 "line" : 45,
2507 "column" : 8,
2508 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2509 }
2510 },
2511 {
2512 "op" : "assign",
2513 "parameters" : [
2514 {
2515 "type" : "field",
2516 "value" : ["int_port_ids", "egress_port_id"]
2517 },
2518 {
2519 "type" : "expression",
2520 "value" : {
2521 "type" : "expression",
2522 "value" : {
2523 "op" : "&",
2524 "left" : {
2525 "type" : "field",
2526 "value" : ["standard_metadata", "egress_port"]
2527 },
2528 "right" : {
2529 "type" : "hexstr",
2530 "value" : "0xffff"
2531 }
2532 }
2533 }
2534 }
2535 ],
2536 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002537 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002538 "line" : 47,
2539 "column" : 8,
2540 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
2541 }
2542 }
2543 ]
2544 },
2545 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002546 "name" : "egress.process_int_transit.int_set_header_0003_i7",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002547 "id" : 24,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002548 "runtime_data" : [],
2549 "primitives" : [
2550 {
2551 "op" : "add_header",
2552 "parameters" : [
2553 {
2554 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002555 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002556 }
2557 ],
2558 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002559 "filename" : "include/int_transit.p4",
2560 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002561 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002562 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002563 }
2564 },
2565 {
2566 "op" : "assign",
2567 "parameters" : [
2568 {
2569 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002570 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002571 },
2572 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002573 "type" : "hexstr",
2574 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002575 }
2576 ],
2577 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002578 "filename" : "include/int_transit.p4",
2579 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002580 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002581 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2582 }
2583 },
2584 {
2585 "op" : "assign",
2586 "parameters" : [
2587 {
2588 "type" : "field",
2589 "value" : ["int_q_occupancy", "q_occupancy"]
2590 },
2591 {
2592 "type" : "expression",
2593 "value" : {
2594 "type" : "expression",
2595 "value" : {
2596 "op" : "&",
2597 "left" : {
2598 "type" : "field",
2599 "value" : ["standard_metadata", "deq_qdepth"]
2600 },
2601 "right" : {
2602 "type" : "hexstr",
2603 "value" : "0xffffff"
2604 }
2605 }
2606 }
2607 }
2608 ],
2609 "source_info" : {
2610 "filename" : "include/int_transit.p4",
2611 "line" : 61,
2612 "column" : 8,
2613 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
2614 }
2615 },
2616 {
2617 "op" : "add_header",
2618 "parameters" : [
2619 {
2620 "type" : "header",
2621 "value" : "int_hop_latency"
2622 }
2623 ],
2624 "source_info" : {
2625 "filename" : "include/int_transit.p4",
2626 "line" : 51,
2627 "column" : 8,
2628 "source_fragment" : "hdr.int_hop_latency.setValid()"
2629 }
2630 },
2631 {
2632 "op" : "assign",
2633 "parameters" : [
2634 {
2635 "type" : "field",
2636 "value" : ["int_hop_latency", "hop_latency"]
2637 },
2638 {
2639 "type" : "field",
2640 "value" : ["standard_metadata", "deq_timedelta"]
2641 }
2642 ],
2643 "source_info" : {
2644 "filename" : "include/int_transit.p4",
2645 "line" : 52,
2646 "column" : 8,
2647 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2648 }
2649 },
2650 {
2651 "op" : "add_header",
2652 "parameters" : [
2653 {
2654 "type" : "header",
2655 "value" : "int_port_ids"
2656 }
2657 ],
2658 "source_info" : {
2659 "filename" : "include/int_transit.p4",
2660 "line" : 44,
2661 "column" : 8,
2662 "source_fragment" : "hdr.int_port_ids.setValid()"
2663 }
2664 },
2665 {
2666 "op" : "assign",
2667 "parameters" : [
2668 {
2669 "type" : "field",
2670 "value" : ["int_port_ids", "ingress_port_id"]
2671 },
2672 {
2673 "type" : "expression",
2674 "value" : {
2675 "type" : "expression",
2676 "value" : {
2677 "op" : "&",
2678 "left" : {
2679 "type" : "field",
2680 "value" : ["standard_metadata", "ingress_port"]
2681 },
2682 "right" : {
2683 "type" : "hexstr",
2684 "value" : "0xffff"
2685 }
2686 }
2687 }
2688 }
2689 ],
2690 "source_info" : {
2691 "filename" : "include/int_transit.p4",
2692 "line" : 45,
2693 "column" : 8,
2694 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2695 }
2696 },
2697 {
2698 "op" : "assign",
2699 "parameters" : [
2700 {
2701 "type" : "field",
2702 "value" : ["int_port_ids", "egress_port_id"]
2703 },
2704 {
2705 "type" : "expression",
2706 "value" : {
2707 "type" : "expression",
2708 "value" : {
2709 "op" : "&",
2710 "left" : {
2711 "type" : "field",
2712 "value" : ["standard_metadata", "egress_port"]
2713 },
2714 "right" : {
2715 "type" : "hexstr",
2716 "value" : "0xffff"
2717 }
2718 }
2719 }
2720 }
2721 ],
2722 "source_info" : {
2723 "filename" : "include/int_transit.p4",
2724 "line" : 47,
2725 "column" : 8,
2726 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002727 }
2728 }
2729 ]
2730 },
2731 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002732 "name" : "egress.process_int_transit.int_set_header_0003_i8",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002733 "id" : 25,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002734 "runtime_data" : [],
2735 "primitives" : [
2736 {
2737 "op" : "add_header",
2738 "parameters" : [
2739 {
2740 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002741 "value" : "int_switch_id"
2742 }
2743 ],
2744 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002745 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002746 "line" : 40,
2747 "column" : 8,
2748 "source_fragment" : "hdr.int_switch_id.setValid()"
2749 }
2750 },
2751 {
2752 "op" : "assign",
2753 "parameters" : [
2754 {
2755 "type" : "field",
2756 "value" : ["int_switch_id", "switch_id"]
2757 },
2758 {
2759 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002760 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002761 }
2762 ],
2763 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002764 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002765 "line" : 41,
2766 "column" : 8,
2767 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
2768 }
2769 }
2770 ]
2771 },
2772 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002773 "name" : "egress.process_int_transit.int_set_header_0003_i9",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002774 "id" : 26,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002775 "runtime_data" : [],
2776 "primitives" : [
2777 {
2778 "op" : "add_header",
2779 "parameters" : [
2780 {
2781 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002782 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002783 }
2784 ],
2785 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002786 "filename" : "include/int_transit.p4",
2787 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002788 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002789 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002790 }
2791 },
2792 {
2793 "op" : "assign",
2794 "parameters" : [
2795 {
2796 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002797 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002798 },
2799 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002800 "type" : "hexstr",
2801 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002802 }
2803 ],
2804 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002805 "filename" : "include/int_transit.p4",
2806 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002807 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002808 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2809 }
2810 },
2811 {
2812 "op" : "assign",
2813 "parameters" : [
2814 {
2815 "type" : "field",
2816 "value" : ["int_q_occupancy", "q_occupancy"]
2817 },
2818 {
2819 "type" : "expression",
2820 "value" : {
2821 "type" : "expression",
2822 "value" : {
2823 "op" : "&",
2824 "left" : {
2825 "type" : "field",
2826 "value" : ["standard_metadata", "deq_qdepth"]
2827 },
2828 "right" : {
2829 "type" : "hexstr",
2830 "value" : "0xffffff"
2831 }
2832 }
2833 }
2834 }
2835 ],
2836 "source_info" : {
2837 "filename" : "include/int_transit.p4",
2838 "line" : 61,
2839 "column" : 8,
2840 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002841 }
2842 },
2843 {
2844 "op" : "add_header",
2845 "parameters" : [
2846 {
2847 "type" : "header",
2848 "value" : "int_switch_id"
2849 }
2850 ],
2851 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002852 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002853 "line" : 40,
2854 "column" : 8,
2855 "source_fragment" : "hdr.int_switch_id.setValid()"
2856 }
2857 },
2858 {
2859 "op" : "assign",
2860 "parameters" : [
2861 {
2862 "type" : "field",
2863 "value" : ["int_switch_id", "switch_id"]
2864 },
2865 {
2866 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002867 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002868 }
2869 ],
2870 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002871 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002872 "line" : 41,
2873 "column" : 8,
2874 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
2875 }
2876 }
2877 ]
2878 },
2879 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002880 "name" : "egress.process_int_transit.int_set_header_0003_i10",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002881 "id" : 27,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002882 "runtime_data" : [],
2883 "primitives" : [
2884 {
2885 "op" : "add_header",
2886 "parameters" : [
2887 {
2888 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002889 "value" : "int_hop_latency"
2890 }
2891 ],
2892 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002893 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002894 "line" : 51,
2895 "column" : 8,
2896 "source_fragment" : "hdr.int_hop_latency.setValid()"
2897 }
2898 },
2899 {
2900 "op" : "assign",
2901 "parameters" : [
2902 {
2903 "type" : "field",
2904 "value" : ["int_hop_latency", "hop_latency"]
2905 },
2906 {
2907 "type" : "field",
2908 "value" : ["standard_metadata", "deq_timedelta"]
2909 }
2910 ],
2911 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002912 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002913 "line" : 52,
2914 "column" : 8,
2915 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2916 }
2917 },
2918 {
2919 "op" : "add_header",
2920 "parameters" : [
2921 {
2922 "type" : "header",
2923 "value" : "int_switch_id"
2924 }
2925 ],
2926 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002927 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002928 "line" : 40,
2929 "column" : 8,
2930 "source_fragment" : "hdr.int_switch_id.setValid()"
2931 }
2932 },
2933 {
2934 "op" : "assign",
2935 "parameters" : [
2936 {
2937 "type" : "field",
2938 "value" : ["int_switch_id", "switch_id"]
2939 },
2940 {
2941 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002942 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002943 }
2944 ],
2945 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002946 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002947 "line" : 41,
2948 "column" : 8,
2949 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
2950 }
2951 }
2952 ]
2953 },
2954 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002955 "name" : "egress.process_int_transit.int_set_header_0003_i11",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002956 "id" : 28,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002957 "runtime_data" : [],
2958 "primitives" : [
2959 {
2960 "op" : "add_header",
2961 "parameters" : [
2962 {
2963 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002964 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002965 }
2966 ],
2967 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002968 "filename" : "include/int_transit.p4",
2969 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002970 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002971 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002972 }
2973 },
2974 {
2975 "op" : "assign",
2976 "parameters" : [
2977 {
2978 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002979 "value" : ["int_q_occupancy", "q_id"]
2980 },
2981 {
2982 "type" : "hexstr",
2983 "value" : "0x00"
2984 }
2985 ],
2986 "source_info" : {
2987 "filename" : "include/int_transit.p4",
2988 "line" : 58,
2989 "column" : 8,
2990 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2991 }
2992 },
2993 {
2994 "op" : "assign",
2995 "parameters" : [
2996 {
2997 "type" : "field",
2998 "value" : ["int_q_occupancy", "q_occupancy"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002999 },
3000 {
3001 "type" : "expression",
3002 "value" : {
3003 "type" : "expression",
3004 "value" : {
3005 "op" : "&",
3006 "left" : {
3007 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003008 "value" : ["standard_metadata", "deq_qdepth"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003009 },
3010 "right" : {
3011 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003012 "value" : "0xffffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003013 }
3014 }
3015 }
3016 }
3017 ],
3018 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003019 "filename" : "include/int_transit.p4",
3020 "line" : 61,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003021 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003022 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3023 }
3024 },
3025 {
3026 "op" : "add_header",
3027 "parameters" : [
3028 {
3029 "type" : "header",
3030 "value" : "int_hop_latency"
3031 }
3032 ],
3033 "source_info" : {
3034 "filename" : "include/int_transit.p4",
3035 "line" : 51,
3036 "column" : 8,
3037 "source_fragment" : "hdr.int_hop_latency.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003038 }
3039 },
3040 {
3041 "op" : "assign",
3042 "parameters" : [
3043 {
3044 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003045 "value" : ["int_hop_latency", "hop_latency"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003046 },
3047 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003048 "type" : "field",
3049 "value" : ["standard_metadata", "deq_timedelta"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003050 }
3051 ],
3052 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003053 "filename" : "include/int_transit.p4",
3054 "line" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003055 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003056 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003057 }
3058 },
3059 {
3060 "op" : "add_header",
3061 "parameters" : [
3062 {
3063 "type" : "header",
3064 "value" : "int_switch_id"
3065 }
3066 ],
3067 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003068 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003069 "line" : 40,
3070 "column" : 8,
3071 "source_fragment" : "hdr.int_switch_id.setValid()"
3072 }
3073 },
3074 {
3075 "op" : "assign",
3076 "parameters" : [
3077 {
3078 "type" : "field",
3079 "value" : ["int_switch_id", "switch_id"]
3080 },
3081 {
3082 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003083 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003084 }
3085 ],
3086 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003087 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003088 "line" : 41,
3089 "column" : 8,
3090 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3091 }
3092 }
3093 ]
3094 },
3095 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003096 "name" : "egress.process_int_transit.int_set_header_0003_i12",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003097 "id" : 29,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003098 "runtime_data" : [],
3099 "primitives" : [
3100 {
3101 "op" : "add_header",
3102 "parameters" : [
3103 {
3104 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003105 "value" : "int_port_ids"
3106 }
3107 ],
3108 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003109 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003110 "line" : 44,
3111 "column" : 8,
3112 "source_fragment" : "hdr.int_port_ids.setValid()"
3113 }
3114 },
3115 {
3116 "op" : "assign",
3117 "parameters" : [
3118 {
3119 "type" : "field",
3120 "value" : ["int_port_ids", "ingress_port_id"]
3121 },
3122 {
3123 "type" : "expression",
3124 "value" : {
3125 "type" : "expression",
3126 "value" : {
3127 "op" : "&",
3128 "left" : {
3129 "type" : "field",
3130 "value" : ["standard_metadata", "ingress_port"]
3131 },
3132 "right" : {
3133 "type" : "hexstr",
3134 "value" : "0xffff"
3135 }
3136 }
3137 }
3138 }
3139 ],
3140 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003141 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003142 "line" : 45,
3143 "column" : 8,
3144 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3145 }
3146 },
3147 {
3148 "op" : "assign",
3149 "parameters" : [
3150 {
3151 "type" : "field",
3152 "value" : ["int_port_ids", "egress_port_id"]
3153 },
3154 {
3155 "type" : "expression",
3156 "value" : {
3157 "type" : "expression",
3158 "value" : {
3159 "op" : "&",
3160 "left" : {
3161 "type" : "field",
3162 "value" : ["standard_metadata", "egress_port"]
3163 },
3164 "right" : {
3165 "type" : "hexstr",
3166 "value" : "0xffff"
3167 }
3168 }
3169 }
3170 }
3171 ],
3172 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003173 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003174 "line" : 47,
3175 "column" : 8,
3176 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3177 }
3178 },
3179 {
3180 "op" : "add_header",
3181 "parameters" : [
3182 {
3183 "type" : "header",
3184 "value" : "int_switch_id"
3185 }
3186 ],
3187 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003188 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003189 "line" : 40,
3190 "column" : 8,
3191 "source_fragment" : "hdr.int_switch_id.setValid()"
3192 }
3193 },
3194 {
3195 "op" : "assign",
3196 "parameters" : [
3197 {
3198 "type" : "field",
3199 "value" : ["int_switch_id", "switch_id"]
3200 },
3201 {
3202 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003203 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003204 }
3205 ],
3206 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003207 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003208 "line" : 41,
3209 "column" : 8,
3210 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3211 }
3212 }
3213 ]
3214 },
3215 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003216 "name" : "egress.process_int_transit.int_set_header_0003_i13",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003217 "id" : 30,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003218 "runtime_data" : [],
3219 "primitives" : [
3220 {
3221 "op" : "add_header",
3222 "parameters" : [
3223 {
3224 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003225 "value" : "int_q_occupancy"
3226 }
3227 ],
3228 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003229 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003230 "line" : 57,
3231 "column" : 8,
3232 "source_fragment" : "hdr.int_q_occupancy.setValid()"
3233 }
3234 },
3235 {
3236 "op" : "assign",
3237 "parameters" : [
3238 {
3239 "type" : "field",
3240 "value" : ["int_q_occupancy", "q_id"]
3241 },
3242 {
3243 "type" : "hexstr",
3244 "value" : "0x00"
3245 }
3246 ],
3247 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003248 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003249 "line" : 58,
3250 "column" : 8,
3251 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
3252 }
3253 },
3254 {
3255 "op" : "assign",
3256 "parameters" : [
3257 {
3258 "type" : "field",
3259 "value" : ["int_q_occupancy", "q_occupancy"]
3260 },
3261 {
3262 "type" : "expression",
3263 "value" : {
3264 "type" : "expression",
3265 "value" : {
3266 "op" : "&",
3267 "left" : {
3268 "type" : "field",
3269 "value" : ["standard_metadata", "deq_qdepth"]
3270 },
3271 "right" : {
3272 "type" : "hexstr",
3273 "value" : "0xffffff"
3274 }
3275 }
3276 }
3277 }
3278 ],
3279 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003280 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003281 "line" : 61,
3282 "column" : 8,
3283 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3284 }
3285 },
3286 {
3287 "op" : "add_header",
3288 "parameters" : [
3289 {
3290 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003291 "value" : "int_port_ids"
3292 }
3293 ],
3294 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003295 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003296 "line" : 44,
3297 "column" : 8,
3298 "source_fragment" : "hdr.int_port_ids.setValid()"
3299 }
3300 },
3301 {
3302 "op" : "assign",
3303 "parameters" : [
3304 {
3305 "type" : "field",
3306 "value" : ["int_port_ids", "ingress_port_id"]
3307 },
3308 {
3309 "type" : "expression",
3310 "value" : {
3311 "type" : "expression",
3312 "value" : {
3313 "op" : "&",
3314 "left" : {
3315 "type" : "field",
3316 "value" : ["standard_metadata", "ingress_port"]
3317 },
3318 "right" : {
3319 "type" : "hexstr",
3320 "value" : "0xffff"
3321 }
3322 }
3323 }
3324 }
3325 ],
3326 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003327 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003328 "line" : 45,
3329 "column" : 8,
3330 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3331 }
3332 },
3333 {
3334 "op" : "assign",
3335 "parameters" : [
3336 {
3337 "type" : "field",
3338 "value" : ["int_port_ids", "egress_port_id"]
3339 },
3340 {
3341 "type" : "expression",
3342 "value" : {
3343 "type" : "expression",
3344 "value" : {
3345 "op" : "&",
3346 "left" : {
3347 "type" : "field",
3348 "value" : ["standard_metadata", "egress_port"]
3349 },
3350 "right" : {
3351 "type" : "hexstr",
3352 "value" : "0xffff"
3353 }
3354 }
3355 }
3356 }
3357 ],
3358 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003359 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003360 "line" : 47,
3361 "column" : 8,
3362 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3363 }
3364 },
3365 {
3366 "op" : "add_header",
3367 "parameters" : [
3368 {
3369 "type" : "header",
3370 "value" : "int_switch_id"
3371 }
3372 ],
3373 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003374 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003375 "line" : 40,
3376 "column" : 8,
3377 "source_fragment" : "hdr.int_switch_id.setValid()"
3378 }
3379 },
3380 {
3381 "op" : "assign",
3382 "parameters" : [
3383 {
3384 "type" : "field",
3385 "value" : ["int_switch_id", "switch_id"]
3386 },
3387 {
3388 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003389 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003390 }
3391 ],
3392 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003393 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003394 "line" : 41,
3395 "column" : 8,
3396 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3397 }
3398 }
3399 ]
3400 },
3401 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003402 "name" : "egress.process_int_transit.int_set_header_0003_i14",
3403 "id" : 31,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003404 "runtime_data" : [],
3405 "primitives" : [
3406 {
3407 "op" : "add_header",
3408 "parameters" : [
3409 {
3410 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003411 "value" : "int_hop_latency"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003412 }
3413 ],
3414 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003415 "filename" : "include/int_transit.p4",
3416 "line" : 51,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003417 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003418 "source_fragment" : "hdr.int_hop_latency.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003419 }
3420 },
3421 {
3422 "op" : "assign",
3423 "parameters" : [
3424 {
3425 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003426 "value" : ["int_hop_latency", "hop_latency"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003427 },
3428 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003429 "type" : "field",
3430 "value" : ["standard_metadata", "deq_timedelta"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003431 }
3432 ],
3433 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003434 "filename" : "include/int_transit.p4",
3435 "line" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003436 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003437 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
3438 }
3439 },
3440 {
3441 "op" : "add_header",
3442 "parameters" : [
3443 {
3444 "type" : "header",
3445 "value" : "int_port_ids"
3446 }
3447 ],
3448 "source_info" : {
3449 "filename" : "include/int_transit.p4",
3450 "line" : 44,
3451 "column" : 8,
3452 "source_fragment" : "hdr.int_port_ids.setValid()"
3453 }
3454 },
3455 {
3456 "op" : "assign",
3457 "parameters" : [
3458 {
3459 "type" : "field",
3460 "value" : ["int_port_ids", "ingress_port_id"]
3461 },
3462 {
3463 "type" : "expression",
3464 "value" : {
3465 "type" : "expression",
3466 "value" : {
3467 "op" : "&",
3468 "left" : {
3469 "type" : "field",
3470 "value" : ["standard_metadata", "ingress_port"]
3471 },
3472 "right" : {
3473 "type" : "hexstr",
3474 "value" : "0xffff"
3475 }
3476 }
3477 }
3478 }
3479 ],
3480 "source_info" : {
3481 "filename" : "include/int_transit.p4",
3482 "line" : 45,
3483 "column" : 8,
3484 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3485 }
3486 },
3487 {
3488 "op" : "assign",
3489 "parameters" : [
3490 {
3491 "type" : "field",
3492 "value" : ["int_port_ids", "egress_port_id"]
3493 },
3494 {
3495 "type" : "expression",
3496 "value" : {
3497 "type" : "expression",
3498 "value" : {
3499 "op" : "&",
3500 "left" : {
3501 "type" : "field",
3502 "value" : ["standard_metadata", "egress_port"]
3503 },
3504 "right" : {
3505 "type" : "hexstr",
3506 "value" : "0xffff"
3507 }
3508 }
3509 }
3510 }
3511 ],
3512 "source_info" : {
3513 "filename" : "include/int_transit.p4",
3514 "line" : 47,
3515 "column" : 8,
3516 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3517 }
3518 },
3519 {
3520 "op" : "add_header",
3521 "parameters" : [
3522 {
3523 "type" : "header",
3524 "value" : "int_switch_id"
3525 }
3526 ],
3527 "source_info" : {
3528 "filename" : "include/int_transit.p4",
3529 "line" : 40,
3530 "column" : 8,
3531 "source_fragment" : "hdr.int_switch_id.setValid()"
3532 }
3533 },
3534 {
3535 "op" : "assign",
3536 "parameters" : [
3537 {
3538 "type" : "field",
3539 "value" : ["int_switch_id", "switch_id"]
3540 },
3541 {
3542 "type" : "field",
3543 "value" : ["userMetadata.int_meta", "switch_id"]
3544 }
3545 ],
3546 "source_info" : {
3547 "filename" : "include/int_transit.p4",
3548 "line" : 41,
3549 "column" : 8,
3550 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003551 }
3552 }
3553 ]
3554 },
3555 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003556 "name" : "egress.process_int_transit.int_set_header_0003_i15",
3557 "id" : 32,
3558 "runtime_data" : [],
3559 "primitives" : [
3560 {
3561 "op" : "add_header",
3562 "parameters" : [
3563 {
3564 "type" : "header",
3565 "value" : "int_q_occupancy"
3566 }
3567 ],
3568 "source_info" : {
3569 "filename" : "include/int_transit.p4",
3570 "line" : 57,
3571 "column" : 8,
3572 "source_fragment" : "hdr.int_q_occupancy.setValid()"
3573 }
3574 },
3575 {
3576 "op" : "assign",
3577 "parameters" : [
3578 {
3579 "type" : "field",
3580 "value" : ["int_q_occupancy", "q_id"]
3581 },
3582 {
3583 "type" : "hexstr",
3584 "value" : "0x00"
3585 }
3586 ],
3587 "source_info" : {
3588 "filename" : "include/int_transit.p4",
3589 "line" : 58,
3590 "column" : 8,
3591 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
3592 }
3593 },
3594 {
3595 "op" : "assign",
3596 "parameters" : [
3597 {
3598 "type" : "field",
3599 "value" : ["int_q_occupancy", "q_occupancy"]
3600 },
3601 {
3602 "type" : "expression",
3603 "value" : {
3604 "type" : "expression",
3605 "value" : {
3606 "op" : "&",
3607 "left" : {
3608 "type" : "field",
3609 "value" : ["standard_metadata", "deq_qdepth"]
3610 },
3611 "right" : {
3612 "type" : "hexstr",
3613 "value" : "0xffffff"
3614 }
3615 }
3616 }
3617 }
3618 ],
3619 "source_info" : {
3620 "filename" : "include/int_transit.p4",
3621 "line" : 61,
3622 "column" : 8,
3623 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3624 }
3625 },
3626 {
3627 "op" : "add_header",
3628 "parameters" : [
3629 {
3630 "type" : "header",
3631 "value" : "int_hop_latency"
3632 }
3633 ],
3634 "source_info" : {
3635 "filename" : "include/int_transit.p4",
3636 "line" : 51,
3637 "column" : 8,
3638 "source_fragment" : "hdr.int_hop_latency.setValid()"
3639 }
3640 },
3641 {
3642 "op" : "assign",
3643 "parameters" : [
3644 {
3645 "type" : "field",
3646 "value" : ["int_hop_latency", "hop_latency"]
3647 },
3648 {
3649 "type" : "field",
3650 "value" : ["standard_metadata", "deq_timedelta"]
3651 }
3652 ],
3653 "source_info" : {
3654 "filename" : "include/int_transit.p4",
3655 "line" : 52,
3656 "column" : 8,
3657 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
3658 }
3659 },
3660 {
3661 "op" : "add_header",
3662 "parameters" : [
3663 {
3664 "type" : "header",
3665 "value" : "int_port_ids"
3666 }
3667 ],
3668 "source_info" : {
3669 "filename" : "include/int_transit.p4",
3670 "line" : 44,
3671 "column" : 8,
3672 "source_fragment" : "hdr.int_port_ids.setValid()"
3673 }
3674 },
3675 {
3676 "op" : "assign",
3677 "parameters" : [
3678 {
3679 "type" : "field",
3680 "value" : ["int_port_ids", "ingress_port_id"]
3681 },
3682 {
3683 "type" : "expression",
3684 "value" : {
3685 "type" : "expression",
3686 "value" : {
3687 "op" : "&",
3688 "left" : {
3689 "type" : "field",
3690 "value" : ["standard_metadata", "ingress_port"]
3691 },
3692 "right" : {
3693 "type" : "hexstr",
3694 "value" : "0xffff"
3695 }
3696 }
3697 }
3698 }
3699 ],
3700 "source_info" : {
3701 "filename" : "include/int_transit.p4",
3702 "line" : 45,
3703 "column" : 8,
3704 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3705 }
3706 },
3707 {
3708 "op" : "assign",
3709 "parameters" : [
3710 {
3711 "type" : "field",
3712 "value" : ["int_port_ids", "egress_port_id"]
3713 },
3714 {
3715 "type" : "expression",
3716 "value" : {
3717 "type" : "expression",
3718 "value" : {
3719 "op" : "&",
3720 "left" : {
3721 "type" : "field",
3722 "value" : ["standard_metadata", "egress_port"]
3723 },
3724 "right" : {
3725 "type" : "hexstr",
3726 "value" : "0xffff"
3727 }
3728 }
3729 }
3730 }
3731 ],
3732 "source_info" : {
3733 "filename" : "include/int_transit.p4",
3734 "line" : 47,
3735 "column" : 8,
3736 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3737 }
3738 },
3739 {
3740 "op" : "add_header",
3741 "parameters" : [
3742 {
3743 "type" : "header",
3744 "value" : "int_switch_id"
3745 }
3746 ],
3747 "source_info" : {
3748 "filename" : "include/int_transit.p4",
3749 "line" : 40,
3750 "column" : 8,
3751 "source_fragment" : "hdr.int_switch_id.setValid()"
3752 }
3753 },
3754 {
3755 "op" : "assign",
3756 "parameters" : [
3757 {
3758 "type" : "field",
3759 "value" : ["int_switch_id", "switch_id"]
3760 },
3761 {
3762 "type" : "field",
3763 "value" : ["userMetadata.int_meta", "switch_id"]
3764 }
3765 ],
3766 "source_info" : {
3767 "filename" : "include/int_transit.p4",
3768 "line" : 41,
3769 "column" : 8,
3770 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3771 }
3772 }
3773 ]
3774 },
3775 {
3776 "name" : "egress.process_int_transit.int_set_header_0407_i0",
3777 "id" : 33,
3778 "runtime_data" : [],
3779 "primitives" : []
3780 },
3781 {
3782 "name" : "egress.process_int_transit.int_set_header_0407_i1",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003783 "id" : 34,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003784 "runtime_data" : [],
3785 "primitives" : [
3786 {
3787 "op" : "add_header",
3788 "parameters" : [
3789 {
3790 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003791 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003792 }
3793 ],
3794 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003795 "filename" : "include/int_transit.p4",
3796 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003797 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003798 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003799 }
3800 },
3801 {
3802 "op" : "assign",
3803 "parameters" : [
3804 {
3805 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003806 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003807 },
3808 {
3809 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003810 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003811 }
3812 ],
3813 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003814 "filename" : "include/int_transit.p4",
3815 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003816 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003817 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003818 }
3819 }
3820 ]
3821 },
3822 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003823 "name" : "egress.process_int_transit.int_set_header_0407_i2",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003824 "id" : 35,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003825 "runtime_data" : [],
3826 "primitives" : [
3827 {
3828 "op" : "add_header",
3829 "parameters" : [
3830 {
3831 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003832 "value" : "int_q_congestion"
3833 }
3834 ],
3835 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003836 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003837 "line" : 78,
3838 "column" : 8,
3839 "source_fragment" : "hdr.int_q_congestion.setValid()"
3840 }
3841 },
3842 {
3843 "op" : "assign",
3844 "parameters" : [
3845 {
3846 "type" : "field",
3847 "value" : ["int_q_congestion", "q_id"]
3848 },
3849 {
3850 "type" : "hexstr",
3851 "value" : "0x00"
3852 }
3853 ],
3854 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003855 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003856 "line" : 79,
3857 "column" : 8,
3858 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
3859 }
3860 },
3861 {
3862 "op" : "assign",
3863 "parameters" : [
3864 {
3865 "type" : "field",
3866 "value" : ["int_q_congestion", "q_congestion"]
3867 },
3868 {
3869 "type" : "hexstr",
3870 "value" : "0x000000"
3871 }
3872 ],
3873 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003874 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003875 "line" : 82,
3876 "column" : 8,
3877 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
3878 }
3879 }
3880 ]
3881 },
3882 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003883 "name" : "egress.process_int_transit.int_set_header_0407_i3",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003884 "id" : 36,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003885 "runtime_data" : [],
3886 "primitives" : [
3887 {
3888 "op" : "add_header",
3889 "parameters" : [
3890 {
3891 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003892 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003893 }
3894 ],
3895 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003896 "filename" : "include/int_transit.p4",
3897 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003898 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003899 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003900 }
3901 },
3902 {
3903 "op" : "assign",
3904 "parameters" : [
3905 {
3906 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003907 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003908 },
3909 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003910 "type" : "hexstr",
3911 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003912 }
3913 ],
3914 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003915 "filename" : "include/int_transit.p4",
3916 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003917 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003918 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
3919 }
3920 },
3921 {
3922 "op" : "add_header",
3923 "parameters" : [
3924 {
3925 "type" : "header",
3926 "value" : "int_q_congestion"
3927 }
3928 ],
3929 "source_info" : {
3930 "filename" : "include/int_transit.p4",
3931 "line" : 78,
3932 "column" : 8,
3933 "source_fragment" : "hdr.int_q_congestion.setValid()"
3934 }
3935 },
3936 {
3937 "op" : "assign",
3938 "parameters" : [
3939 {
3940 "type" : "field",
3941 "value" : ["int_q_congestion", "q_id"]
3942 },
3943 {
3944 "type" : "hexstr",
3945 "value" : "0x00"
3946 }
3947 ],
3948 "source_info" : {
3949 "filename" : "include/int_transit.p4",
3950 "line" : 79,
3951 "column" : 8,
3952 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
3953 }
3954 },
3955 {
3956 "op" : "assign",
3957 "parameters" : [
3958 {
3959 "type" : "field",
3960 "value" : ["int_q_congestion", "q_congestion"]
3961 },
3962 {
3963 "type" : "hexstr",
3964 "value" : "0x000000"
3965 }
3966 ],
3967 "source_info" : {
3968 "filename" : "include/int_transit.p4",
3969 "line" : 82,
3970 "column" : 8,
3971 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003972 }
3973 }
3974 ]
3975 },
3976 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003977 "name" : "egress.process_int_transit.int_set_header_0407_i4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003978 "id" : 37,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003979 "runtime_data" : [],
3980 "primitives" : [
3981 {
3982 "op" : "add_header",
3983 "parameters" : [
3984 {
3985 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003986 "value" : "int_egress_tstamp"
3987 }
3988 ],
3989 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003990 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003991 "line" : 70,
3992 "column" : 8,
3993 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
3994 }
3995 },
3996 {
3997 "op" : "assign",
3998 "parameters" : [
3999 {
4000 "type" : "field",
4001 "value" : ["int_egress_tstamp", "egress_tstamp"]
4002 },
4003 {
4004 "type" : "expression",
4005 "value" : {
4006 "type" : "expression",
4007 "value" : {
4008 "op" : "&",
4009 "left" : {
4010 "type" : "expression",
4011 "value" : {
4012 "op" : "+",
4013 "left" : {
4014 "type" : "field",
4015 "value" : ["standard_metadata", "enq_timestamp"]
4016 },
4017 "right" : {
4018 "type" : "field",
4019 "value" : ["standard_metadata", "deq_timedelta"]
4020 }
4021 }
4022 },
4023 "right" : {
4024 "type" : "hexstr",
4025 "value" : "0xffffffff"
4026 }
4027 }
4028 }
4029 }
4030 ],
4031 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004032 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004033 "line" : 71,
4034 "column" : 8,
4035 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4036 }
4037 }
4038 ]
4039 },
4040 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004041 "name" : "egress.process_int_transit.int_set_header_0407_i5",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004042 "id" : 38,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004043 "runtime_data" : [],
4044 "primitives" : [
4045 {
4046 "op" : "add_header",
4047 "parameters" : [
4048 {
4049 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004050 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004051 }
4052 ],
4053 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004054 "filename" : "include/int_transit.p4",
4055 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004056 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004057 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004058 }
4059 },
4060 {
4061 "op" : "assign",
4062 "parameters" : [
4063 {
4064 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004065 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004066 },
4067 {
4068 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004069 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004070 }
4071 ],
4072 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004073 "filename" : "include/int_transit.p4",
4074 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004075 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004076 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004077 }
4078 },
4079 {
4080 "op" : "add_header",
4081 "parameters" : [
4082 {
4083 "type" : "header",
4084 "value" : "int_egress_tstamp"
4085 }
4086 ],
4087 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004088 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004089 "line" : 70,
4090 "column" : 8,
4091 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4092 }
4093 },
4094 {
4095 "op" : "assign",
4096 "parameters" : [
4097 {
4098 "type" : "field",
4099 "value" : ["int_egress_tstamp", "egress_tstamp"]
4100 },
4101 {
4102 "type" : "expression",
4103 "value" : {
4104 "type" : "expression",
4105 "value" : {
4106 "op" : "&",
4107 "left" : {
4108 "type" : "expression",
4109 "value" : {
4110 "op" : "+",
4111 "left" : {
4112 "type" : "field",
4113 "value" : ["standard_metadata", "enq_timestamp"]
4114 },
4115 "right" : {
4116 "type" : "field",
4117 "value" : ["standard_metadata", "deq_timedelta"]
4118 }
4119 }
4120 },
4121 "right" : {
4122 "type" : "hexstr",
4123 "value" : "0xffffffff"
4124 }
4125 }
4126 }
4127 }
4128 ],
4129 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004130 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004131 "line" : 71,
4132 "column" : 8,
4133 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4134 }
4135 }
4136 ]
4137 },
4138 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004139 "name" : "egress.process_int_transit.int_set_header_0407_i6",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004140 "id" : 39,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004141 "runtime_data" : [],
4142 "primitives" : [
4143 {
4144 "op" : "add_header",
4145 "parameters" : [
4146 {
4147 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004148 "value" : "int_q_congestion"
4149 }
4150 ],
4151 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004152 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004153 "line" : 78,
4154 "column" : 8,
4155 "source_fragment" : "hdr.int_q_congestion.setValid()"
4156 }
4157 },
4158 {
4159 "op" : "assign",
4160 "parameters" : [
4161 {
4162 "type" : "field",
4163 "value" : ["int_q_congestion", "q_id"]
4164 },
4165 {
4166 "type" : "hexstr",
4167 "value" : "0x00"
4168 }
4169 ],
4170 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004171 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004172 "line" : 79,
4173 "column" : 8,
4174 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4175 }
4176 },
4177 {
4178 "op" : "assign",
4179 "parameters" : [
4180 {
4181 "type" : "field",
4182 "value" : ["int_q_congestion", "q_congestion"]
4183 },
4184 {
4185 "type" : "hexstr",
4186 "value" : "0x000000"
4187 }
4188 ],
4189 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004190 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004191 "line" : 82,
4192 "column" : 8,
4193 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
4194 }
4195 },
4196 {
4197 "op" : "add_header",
4198 "parameters" : [
4199 {
4200 "type" : "header",
4201 "value" : "int_egress_tstamp"
4202 }
4203 ],
4204 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004205 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004206 "line" : 70,
4207 "column" : 8,
4208 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4209 }
4210 },
4211 {
4212 "op" : "assign",
4213 "parameters" : [
4214 {
4215 "type" : "field",
4216 "value" : ["int_egress_tstamp", "egress_tstamp"]
4217 },
4218 {
4219 "type" : "expression",
4220 "value" : {
4221 "type" : "expression",
4222 "value" : {
4223 "op" : "&",
4224 "left" : {
4225 "type" : "expression",
4226 "value" : {
4227 "op" : "+",
4228 "left" : {
4229 "type" : "field",
4230 "value" : ["standard_metadata", "enq_timestamp"]
4231 },
4232 "right" : {
4233 "type" : "field",
4234 "value" : ["standard_metadata", "deq_timedelta"]
4235 }
4236 }
4237 },
4238 "right" : {
4239 "type" : "hexstr",
4240 "value" : "0xffffffff"
4241 }
4242 }
4243 }
4244 }
4245 ],
4246 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004247 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004248 "line" : 71,
4249 "column" : 8,
4250 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4251 }
4252 }
4253 ]
4254 },
4255 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004256 "name" : "egress.process_int_transit.int_set_header_0407_i7",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004257 "id" : 40,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004258 "runtime_data" : [],
4259 "primitives" : [
4260 {
4261 "op" : "add_header",
4262 "parameters" : [
4263 {
4264 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004265 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004266 }
4267 ],
4268 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004269 "filename" : "include/int_transit.p4",
4270 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004271 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004272 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004273 }
4274 },
4275 {
4276 "op" : "assign",
4277 "parameters" : [
4278 {
4279 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004280 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004281 },
4282 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004283 "type" : "hexstr",
4284 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004285 }
4286 ],
4287 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004288 "filename" : "include/int_transit.p4",
4289 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004290 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004291 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
4292 }
4293 },
4294 {
4295 "op" : "add_header",
4296 "parameters" : [
4297 {
4298 "type" : "header",
4299 "value" : "int_q_congestion"
4300 }
4301 ],
4302 "source_info" : {
4303 "filename" : "include/int_transit.p4",
4304 "line" : 78,
4305 "column" : 8,
4306 "source_fragment" : "hdr.int_q_congestion.setValid()"
4307 }
4308 },
4309 {
4310 "op" : "assign",
4311 "parameters" : [
4312 {
4313 "type" : "field",
4314 "value" : ["int_q_congestion", "q_id"]
4315 },
4316 {
4317 "type" : "hexstr",
4318 "value" : "0x00"
4319 }
4320 ],
4321 "source_info" : {
4322 "filename" : "include/int_transit.p4",
4323 "line" : 79,
4324 "column" : 8,
4325 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4326 }
4327 },
4328 {
4329 "op" : "assign",
4330 "parameters" : [
4331 {
4332 "type" : "field",
4333 "value" : ["int_q_congestion", "q_congestion"]
4334 },
4335 {
4336 "type" : "hexstr",
4337 "value" : "0x000000"
4338 }
4339 ],
4340 "source_info" : {
4341 "filename" : "include/int_transit.p4",
4342 "line" : 82,
4343 "column" : 8,
4344 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
4345 }
4346 },
4347 {
4348 "op" : "add_header",
4349 "parameters" : [
4350 {
4351 "type" : "header",
4352 "value" : "int_egress_tstamp"
4353 }
4354 ],
4355 "source_info" : {
4356 "filename" : "include/int_transit.p4",
4357 "line" : 70,
4358 "column" : 8,
4359 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4360 }
4361 },
4362 {
4363 "op" : "assign",
4364 "parameters" : [
4365 {
4366 "type" : "field",
4367 "value" : ["int_egress_tstamp", "egress_tstamp"]
4368 },
4369 {
4370 "type" : "expression",
4371 "value" : {
4372 "type" : "expression",
4373 "value" : {
4374 "op" : "&",
4375 "left" : {
4376 "type" : "expression",
4377 "value" : {
4378 "op" : "+",
4379 "left" : {
4380 "type" : "field",
4381 "value" : ["standard_metadata", "enq_timestamp"]
4382 },
4383 "right" : {
4384 "type" : "field",
4385 "value" : ["standard_metadata", "deq_timedelta"]
4386 }
4387 }
4388 },
4389 "right" : {
4390 "type" : "hexstr",
4391 "value" : "0xffffffff"
4392 }
4393 }
4394 }
4395 }
4396 ],
4397 "source_info" : {
4398 "filename" : "include/int_transit.p4",
4399 "line" : 71,
4400 "column" : 8,
4401 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004402 }
4403 }
4404 ]
4405 },
4406 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004407 "name" : "egress.process_int_transit.int_set_header_0407_i8",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004408 "id" : 41,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004409 "runtime_data" : [],
4410 "primitives" : [
4411 {
4412 "op" : "add_header",
4413 "parameters" : [
4414 {
4415 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004416 "value" : "int_ingress_tstamp"
4417 }
4418 ],
4419 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004420 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004421 "line" : 65,
4422 "column" : 8,
4423 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4424 }
4425 },
4426 {
4427 "op" : "assign",
4428 "parameters" : [
4429 {
4430 "type" : "field",
4431 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4432 },
4433 {
4434 "type" : "field",
4435 "value" : ["standard_metadata", "enq_timestamp"]
4436 }
4437 ],
4438 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004439 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004440 "line" : 66,
4441 "column" : 8,
4442 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4443 }
4444 }
4445 ]
4446 },
4447 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004448 "name" : "egress.process_int_transit.int_set_header_0407_i9",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004449 "id" : 42,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004450 "runtime_data" : [],
4451 "primitives" : [
4452 {
4453 "op" : "add_header",
4454 "parameters" : [
4455 {
4456 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004457 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004458 }
4459 ],
4460 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004461 "filename" : "include/int_transit.p4",
4462 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004463 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004464 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004465 }
4466 },
4467 {
4468 "op" : "assign",
4469 "parameters" : [
4470 {
4471 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004472 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004473 },
4474 {
4475 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004476 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004477 }
4478 ],
4479 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004480 "filename" : "include/int_transit.p4",
4481 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004482 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004483 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004484 }
4485 },
4486 {
4487 "op" : "add_header",
4488 "parameters" : [
4489 {
4490 "type" : "header",
4491 "value" : "int_ingress_tstamp"
4492 }
4493 ],
4494 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004495 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004496 "line" : 65,
4497 "column" : 8,
4498 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4499 }
4500 },
4501 {
4502 "op" : "assign",
4503 "parameters" : [
4504 {
4505 "type" : "field",
4506 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4507 },
4508 {
4509 "type" : "field",
4510 "value" : ["standard_metadata", "enq_timestamp"]
4511 }
4512 ],
4513 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004514 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004515 "line" : 66,
4516 "column" : 8,
4517 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4518 }
4519 }
4520 ]
4521 },
4522 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004523 "name" : "egress.process_int_transit.int_set_header_0407_i10",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004524 "id" : 43,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004525 "runtime_data" : [],
4526 "primitives" : [
4527 {
4528 "op" : "add_header",
4529 "parameters" : [
4530 {
4531 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004532 "value" : "int_q_congestion"
4533 }
4534 ],
4535 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004536 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004537 "line" : 78,
4538 "column" : 8,
4539 "source_fragment" : "hdr.int_q_congestion.setValid()"
4540 }
4541 },
4542 {
4543 "op" : "assign",
4544 "parameters" : [
4545 {
4546 "type" : "field",
4547 "value" : ["int_q_congestion", "q_id"]
4548 },
4549 {
4550 "type" : "hexstr",
4551 "value" : "0x00"
4552 }
4553 ],
4554 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004555 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004556 "line" : 79,
4557 "column" : 8,
4558 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4559 }
4560 },
4561 {
4562 "op" : "assign",
4563 "parameters" : [
4564 {
4565 "type" : "field",
4566 "value" : ["int_q_congestion", "q_congestion"]
4567 },
4568 {
4569 "type" : "hexstr",
4570 "value" : "0x000000"
4571 }
4572 ],
4573 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004574 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004575 "line" : 82,
4576 "column" : 8,
4577 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
4578 }
4579 },
4580 {
4581 "op" : "add_header",
4582 "parameters" : [
4583 {
4584 "type" : "header",
4585 "value" : "int_ingress_tstamp"
4586 }
4587 ],
4588 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004589 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004590 "line" : 65,
4591 "column" : 8,
4592 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4593 }
4594 },
4595 {
4596 "op" : "assign",
4597 "parameters" : [
4598 {
4599 "type" : "field",
4600 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4601 },
4602 {
4603 "type" : "field",
4604 "value" : ["standard_metadata", "enq_timestamp"]
4605 }
4606 ],
4607 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004608 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004609 "line" : 66,
4610 "column" : 8,
4611 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4612 }
4613 }
4614 ]
4615 },
4616 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004617 "name" : "egress.process_int_transit.int_set_header_0407_i11",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004618 "id" : 44,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004619 "runtime_data" : [],
4620 "primitives" : [
4621 {
4622 "op" : "add_header",
4623 "parameters" : [
4624 {
4625 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004626 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004627 }
4628 ],
4629 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004630 "filename" : "include/int_transit.p4",
4631 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004632 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004633 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004634 }
4635 },
4636 {
4637 "op" : "assign",
4638 "parameters" : [
4639 {
4640 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004641 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004642 },
4643 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004644 "type" : "hexstr",
4645 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004646 }
4647 ],
4648 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004649 "filename" : "include/int_transit.p4",
4650 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004651 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004652 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
4653 }
4654 },
4655 {
4656 "op" : "add_header",
4657 "parameters" : [
4658 {
4659 "type" : "header",
4660 "value" : "int_q_congestion"
4661 }
4662 ],
4663 "source_info" : {
4664 "filename" : "include/int_transit.p4",
4665 "line" : 78,
4666 "column" : 8,
4667 "source_fragment" : "hdr.int_q_congestion.setValid()"
4668 }
4669 },
4670 {
4671 "op" : "assign",
4672 "parameters" : [
4673 {
4674 "type" : "field",
4675 "value" : ["int_q_congestion", "q_id"]
4676 },
4677 {
4678 "type" : "hexstr",
4679 "value" : "0x00"
4680 }
4681 ],
4682 "source_info" : {
4683 "filename" : "include/int_transit.p4",
4684 "line" : 79,
4685 "column" : 8,
4686 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4687 }
4688 },
4689 {
4690 "op" : "assign",
4691 "parameters" : [
4692 {
4693 "type" : "field",
4694 "value" : ["int_q_congestion", "q_congestion"]
4695 },
4696 {
4697 "type" : "hexstr",
4698 "value" : "0x000000"
4699 }
4700 ],
4701 "source_info" : {
4702 "filename" : "include/int_transit.p4",
4703 "line" : 82,
4704 "column" : 8,
4705 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004706 }
4707 },
4708 {
4709 "op" : "add_header",
4710 "parameters" : [
4711 {
4712 "type" : "header",
4713 "value" : "int_ingress_tstamp"
4714 }
4715 ],
4716 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004717 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004718 "line" : 65,
4719 "column" : 8,
4720 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4721 }
4722 },
4723 {
4724 "op" : "assign",
4725 "parameters" : [
4726 {
4727 "type" : "field",
4728 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4729 },
4730 {
4731 "type" : "field",
4732 "value" : ["standard_metadata", "enq_timestamp"]
4733 }
4734 ],
4735 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004736 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004737 "line" : 66,
4738 "column" : 8,
4739 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4740 }
4741 }
4742 ]
4743 },
4744 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004745 "name" : "egress.process_int_transit.int_set_header_0407_i12",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004746 "id" : 45,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004747 "runtime_data" : [],
4748 "primitives" : [
4749 {
4750 "op" : "add_header",
4751 "parameters" : [
4752 {
4753 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004754 "value" : "int_egress_tstamp"
4755 }
4756 ],
4757 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004758 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004759 "line" : 70,
4760 "column" : 8,
4761 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4762 }
4763 },
4764 {
4765 "op" : "assign",
4766 "parameters" : [
4767 {
4768 "type" : "field",
4769 "value" : ["int_egress_tstamp", "egress_tstamp"]
4770 },
4771 {
4772 "type" : "expression",
4773 "value" : {
4774 "type" : "expression",
4775 "value" : {
4776 "op" : "&",
4777 "left" : {
4778 "type" : "expression",
4779 "value" : {
4780 "op" : "+",
4781 "left" : {
4782 "type" : "field",
4783 "value" : ["standard_metadata", "enq_timestamp"]
4784 },
4785 "right" : {
4786 "type" : "field",
4787 "value" : ["standard_metadata", "deq_timedelta"]
4788 }
4789 }
4790 },
4791 "right" : {
4792 "type" : "hexstr",
4793 "value" : "0xffffffff"
4794 }
4795 }
4796 }
4797 }
4798 ],
4799 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004800 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004801 "line" : 71,
4802 "column" : 8,
4803 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4804 }
4805 },
4806 {
4807 "op" : "add_header",
4808 "parameters" : [
4809 {
4810 "type" : "header",
4811 "value" : "int_ingress_tstamp"
4812 }
4813 ],
4814 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004815 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004816 "line" : 65,
4817 "column" : 8,
4818 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4819 }
4820 },
4821 {
4822 "op" : "assign",
4823 "parameters" : [
4824 {
4825 "type" : "field",
4826 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4827 },
4828 {
4829 "type" : "field",
4830 "value" : ["standard_metadata", "enq_timestamp"]
4831 }
4832 ],
4833 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004834 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004835 "line" : 66,
4836 "column" : 8,
4837 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4838 }
4839 }
4840 ]
4841 },
4842 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004843 "name" : "egress.process_int_transit.int_set_header_0407_i13",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004844 "id" : 46,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004845 "runtime_data" : [],
4846 "primitives" : [
4847 {
4848 "op" : "add_header",
4849 "parameters" : [
4850 {
4851 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004852 "value" : "int_egress_tx_util"
4853 }
4854 ],
4855 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004856 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004857 "line" : 88,
4858 "column" : 8,
4859 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
4860 }
4861 },
4862 {
4863 "op" : "assign",
4864 "parameters" : [
4865 {
4866 "type" : "field",
4867 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
4868 },
4869 {
4870 "type" : "hexstr",
4871 "value" : "0x00000000"
4872 }
4873 ],
4874 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004875 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004876 "line" : 89,
4877 "column" : 8,
4878 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
4879 }
4880 },
4881 {
4882 "op" : "add_header",
4883 "parameters" : [
4884 {
4885 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004886 "value" : "int_egress_tstamp"
4887 }
4888 ],
4889 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004890 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004891 "line" : 70,
4892 "column" : 8,
4893 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4894 }
4895 },
4896 {
4897 "op" : "assign",
4898 "parameters" : [
4899 {
4900 "type" : "field",
4901 "value" : ["int_egress_tstamp", "egress_tstamp"]
4902 },
4903 {
4904 "type" : "expression",
4905 "value" : {
4906 "type" : "expression",
4907 "value" : {
4908 "op" : "&",
4909 "left" : {
4910 "type" : "expression",
4911 "value" : {
4912 "op" : "+",
4913 "left" : {
4914 "type" : "field",
4915 "value" : ["standard_metadata", "enq_timestamp"]
4916 },
4917 "right" : {
4918 "type" : "field",
4919 "value" : ["standard_metadata", "deq_timedelta"]
4920 }
4921 }
4922 },
4923 "right" : {
4924 "type" : "hexstr",
4925 "value" : "0xffffffff"
4926 }
4927 }
4928 }
4929 }
4930 ],
4931 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004932 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004933 "line" : 71,
4934 "column" : 8,
4935 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4936 }
4937 },
4938 {
4939 "op" : "add_header",
4940 "parameters" : [
4941 {
4942 "type" : "header",
4943 "value" : "int_ingress_tstamp"
4944 }
4945 ],
4946 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004947 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004948 "line" : 65,
4949 "column" : 8,
4950 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4951 }
4952 },
4953 {
4954 "op" : "assign",
4955 "parameters" : [
4956 {
4957 "type" : "field",
4958 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4959 },
4960 {
4961 "type" : "field",
4962 "value" : ["standard_metadata", "enq_timestamp"]
4963 }
4964 ],
4965 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004966 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004967 "line" : 66,
4968 "column" : 8,
4969 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4970 }
4971 }
4972 ]
4973 },
4974 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004975 "name" : "egress.process_int_transit.int_set_header_0407_i14",
4976 "id" : 47,
4977 "runtime_data" : [],
4978 "primitives" : [
4979 {
4980 "op" : "add_header",
4981 "parameters" : [
4982 {
4983 "type" : "header",
4984 "value" : "int_q_congestion"
4985 }
4986 ],
4987 "source_info" : {
4988 "filename" : "include/int_transit.p4",
4989 "line" : 78,
4990 "column" : 8,
4991 "source_fragment" : "hdr.int_q_congestion.setValid()"
4992 }
4993 },
4994 {
4995 "op" : "assign",
4996 "parameters" : [
4997 {
4998 "type" : "field",
4999 "value" : ["int_q_congestion", "q_id"]
5000 },
5001 {
5002 "type" : "hexstr",
5003 "value" : "0x00"
5004 }
5005 ],
5006 "source_info" : {
5007 "filename" : "include/int_transit.p4",
5008 "line" : 79,
5009 "column" : 8,
5010 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
5011 }
5012 },
5013 {
5014 "op" : "assign",
5015 "parameters" : [
5016 {
5017 "type" : "field",
5018 "value" : ["int_q_congestion", "q_congestion"]
5019 },
5020 {
5021 "type" : "hexstr",
5022 "value" : "0x000000"
5023 }
5024 ],
5025 "source_info" : {
5026 "filename" : "include/int_transit.p4",
5027 "line" : 82,
5028 "column" : 8,
5029 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
5030 }
5031 },
5032 {
5033 "op" : "add_header",
5034 "parameters" : [
5035 {
5036 "type" : "header",
5037 "value" : "int_egress_tstamp"
5038 }
5039 ],
5040 "source_info" : {
5041 "filename" : "include/int_transit.p4",
5042 "line" : 70,
5043 "column" : 8,
5044 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
5045 }
5046 },
5047 {
5048 "op" : "assign",
5049 "parameters" : [
5050 {
5051 "type" : "field",
5052 "value" : ["int_egress_tstamp", "egress_tstamp"]
5053 },
5054 {
5055 "type" : "expression",
5056 "value" : {
5057 "type" : "expression",
5058 "value" : {
5059 "op" : "&",
5060 "left" : {
5061 "type" : "expression",
5062 "value" : {
5063 "op" : "+",
5064 "left" : {
5065 "type" : "field",
5066 "value" : ["standard_metadata", "enq_timestamp"]
5067 },
5068 "right" : {
5069 "type" : "field",
5070 "value" : ["standard_metadata", "deq_timedelta"]
5071 }
5072 }
5073 },
5074 "right" : {
5075 "type" : "hexstr",
5076 "value" : "0xffffffff"
5077 }
5078 }
5079 }
5080 }
5081 ],
5082 "source_info" : {
5083 "filename" : "include/int_transit.p4",
5084 "line" : 71,
5085 "column" : 8,
5086 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
5087 }
5088 },
5089 {
5090 "op" : "add_header",
5091 "parameters" : [
5092 {
5093 "type" : "header",
5094 "value" : "int_ingress_tstamp"
5095 }
5096 ],
5097 "source_info" : {
5098 "filename" : "include/int_transit.p4",
5099 "line" : 65,
5100 "column" : 8,
5101 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
5102 }
5103 },
5104 {
5105 "op" : "assign",
5106 "parameters" : [
5107 {
5108 "type" : "field",
5109 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
5110 },
5111 {
5112 "type" : "field",
5113 "value" : ["standard_metadata", "enq_timestamp"]
5114 }
5115 ],
5116 "source_info" : {
5117 "filename" : "include/int_transit.p4",
5118 "line" : 66,
5119 "column" : 8,
5120 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
5121 }
5122 }
5123 ]
5124 },
5125 {
5126 "name" : "egress.process_int_transit.int_set_header_0407_i15",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005127 "id" : 48,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005128 "runtime_data" : [],
5129 "primitives" : [
5130 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005131 "op" : "add_header",
5132 "parameters" : [
5133 {
5134 "type" : "header",
5135 "value" : "int_egress_tx_util"
5136 }
5137 ],
5138 "source_info" : {
5139 "filename" : "include/int_transit.p4",
5140 "line" : 88,
5141 "column" : 8,
5142 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
5143 }
5144 },
5145 {
5146 "op" : "assign",
5147 "parameters" : [
5148 {
5149 "type" : "field",
5150 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
5151 },
5152 {
5153 "type" : "hexstr",
5154 "value" : "0x00000000"
5155 }
5156 ],
5157 "source_info" : {
5158 "filename" : "include/int_transit.p4",
5159 "line" : 89,
5160 "column" : 8,
5161 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
5162 }
5163 },
5164 {
5165 "op" : "add_header",
5166 "parameters" : [
5167 {
5168 "type" : "header",
5169 "value" : "int_q_congestion"
5170 }
5171 ],
5172 "source_info" : {
5173 "filename" : "include/int_transit.p4",
5174 "line" : 78,
5175 "column" : 8,
5176 "source_fragment" : "hdr.int_q_congestion.setValid()"
5177 }
5178 },
5179 {
5180 "op" : "assign",
5181 "parameters" : [
5182 {
5183 "type" : "field",
5184 "value" : ["int_q_congestion", "q_id"]
5185 },
5186 {
5187 "type" : "hexstr",
5188 "value" : "0x00"
5189 }
5190 ],
5191 "source_info" : {
5192 "filename" : "include/int_transit.p4",
5193 "line" : 79,
5194 "column" : 8,
5195 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
5196 }
5197 },
5198 {
5199 "op" : "assign",
5200 "parameters" : [
5201 {
5202 "type" : "field",
5203 "value" : ["int_q_congestion", "q_congestion"]
5204 },
5205 {
5206 "type" : "hexstr",
5207 "value" : "0x000000"
5208 }
5209 ],
5210 "source_info" : {
5211 "filename" : "include/int_transit.p4",
5212 "line" : 82,
5213 "column" : 8,
5214 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
5215 }
5216 },
5217 {
5218 "op" : "add_header",
5219 "parameters" : [
5220 {
5221 "type" : "header",
5222 "value" : "int_egress_tstamp"
5223 }
5224 ],
5225 "source_info" : {
5226 "filename" : "include/int_transit.p4",
5227 "line" : 70,
5228 "column" : 8,
5229 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
5230 }
5231 },
5232 {
5233 "op" : "assign",
5234 "parameters" : [
5235 {
5236 "type" : "field",
5237 "value" : ["int_egress_tstamp", "egress_tstamp"]
5238 },
5239 {
5240 "type" : "expression",
5241 "value" : {
5242 "type" : "expression",
5243 "value" : {
5244 "op" : "&",
5245 "left" : {
5246 "type" : "expression",
5247 "value" : {
5248 "op" : "+",
5249 "left" : {
5250 "type" : "field",
5251 "value" : ["standard_metadata", "enq_timestamp"]
5252 },
5253 "right" : {
5254 "type" : "field",
5255 "value" : ["standard_metadata", "deq_timedelta"]
5256 }
5257 }
5258 },
5259 "right" : {
5260 "type" : "hexstr",
5261 "value" : "0xffffffff"
5262 }
5263 }
5264 }
5265 }
5266 ],
5267 "source_info" : {
5268 "filename" : "include/int_transit.p4",
5269 "line" : 71,
5270 "column" : 8,
5271 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
5272 }
5273 },
5274 {
5275 "op" : "add_header",
5276 "parameters" : [
5277 {
5278 "type" : "header",
5279 "value" : "int_ingress_tstamp"
5280 }
5281 ],
5282 "source_info" : {
5283 "filename" : "include/int_transit.p4",
5284 "line" : 65,
5285 "column" : 8,
5286 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
5287 }
5288 },
5289 {
5290 "op" : "assign",
5291 "parameters" : [
5292 {
5293 "type" : "field",
5294 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
5295 },
5296 {
5297 "type" : "field",
5298 "value" : ["standard_metadata", "enq_timestamp"]
5299 }
5300 ],
5301 "source_info" : {
5302 "filename" : "include/int_transit.p4",
5303 "line" : 66,
5304 "column" : 8,
5305 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
5306 }
5307 }
5308 ]
5309 },
5310 {
5311 "name" : "egress.process_int_outer_encap.int_update_ipv4",
5312 "id" : 49,
5313 "runtime_data" : [],
5314 "primitives" : [
5315 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005316 "op" : "assign",
5317 "parameters" : [
5318 {
5319 "type" : "field",
5320 "value" : ["ipv4", "len"]
5321 },
5322 {
5323 "type" : "expression",
5324 "value" : {
5325 "type" : "expression",
5326 "value" : {
5327 "op" : "&",
5328 "left" : {
5329 "type" : "expression",
5330 "value" : {
5331 "op" : "+",
5332 "left" : {
5333 "type" : "field",
5334 "value" : ["ipv4", "len"]
5335 },
5336 "right" : {
5337 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005338 "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005339 }
5340 }
5341 },
5342 "right" : {
5343 "type" : "hexstr",
5344 "value" : "0xffff"
5345 }
5346 }
5347 }
5348 }
5349 ],
5350 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005351 "filename" : "include/int_transit.p4",
5352 "line" : 304,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005353 "column" : 8,
5354 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + local_metadata.int_meta.insert_byte_cnt"
5355 }
5356 }
5357 ]
5358 },
5359 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005360 "name" : "egress.process_int_outer_encap.int_update_udp",
5361 "id" : 50,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005362 "runtime_data" : [],
5363 "primitives" : [
5364 {
5365 "op" : "assign",
5366 "parameters" : [
5367 {
5368 "type" : "field",
5369 "value" : ["udp", "length_"]
5370 },
5371 {
5372 "type" : "expression",
5373 "value" : {
5374 "type" : "expression",
5375 "value" : {
5376 "op" : "&",
5377 "left" : {
5378 "type" : "expression",
5379 "value" : {
5380 "op" : "+",
5381 "left" : {
5382 "type" : "field",
5383 "value" : ["udp", "length_"]
5384 },
5385 "right" : {
5386 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005387 "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005388 }
5389 }
5390 },
5391 "right" : {
5392 "type" : "hexstr",
5393 "value" : "0xffff"
5394 }
5395 }
5396 }
5397 }
5398 ],
5399 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005400 "filename" : "include/int_transit.p4",
5401 "line" : 307,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005402 "column" : 8,
5403 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + local_metadata.int_meta.insert_byte_cnt"
5404 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005405 }
5406 ]
5407 },
5408 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005409 "name" : "egress.process_int_outer_encap.int_update_shim",
5410 "id" : 51,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005411 "runtime_data" : [],
5412 "primitives" : [
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005413 {
5414 "op" : "assign",
5415 "parameters" : [
5416 {
5417 "type" : "field",
5418 "value" : ["intl4_shim", "len"]
5419 },
5420 {
5421 "type" : "expression",
5422 "value" : {
5423 "type" : "expression",
5424 "value" : {
5425 "op" : "&",
5426 "left" : {
5427 "type" : "expression",
5428 "value" : {
5429 "op" : "+",
5430 "left" : {
5431 "type" : "field",
5432 "value" : ["intl4_shim", "len"]
5433 },
5434 "right" : {
5435 "type" : "expression",
5436 "value" : {
5437 "op" : "&",
5438 "left" : {
5439 "type" : "field",
5440 "value" : ["int_header", "ins_cnt"]
5441 },
5442 "right" : {
5443 "type" : "hexstr",
5444 "value" : "0xff"
5445 }
5446 }
5447 }
5448 }
5449 },
5450 "right" : {
5451 "type" : "hexstr",
5452 "value" : "0xff"
5453 }
5454 }
5455 }
5456 }
5457 ],
5458 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005459 "filename" : "include/int_transit.p4",
5460 "line" : 310,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005461 "column" : 8,
5462 "source_fragment" : "hdr.intl4_shim.len = hdr.intl4_shim.len + (bit<8>)hdr.int_header.ins_cnt"
5463 }
5464 }
5465 ]
5466 },
5467 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005468 "name" : "egress.process_int_sink.restore_header",
5469 "id" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005470 "runtime_data" : [],
5471 "primitives" : [
5472 {
5473 "op" : "assign",
5474 "parameters" : [
5475 {
5476 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005477 "value" : ["udp", "dst_port"]
5478 },
5479 {
5480 "type" : "field",
5481 "value" : ["intl4_tail", "dest_port"]
5482 }
5483 ],
5484 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005485 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005486 "line" : 27,
5487 "column" : 8,
5488 "source_fragment" : "hdr.udp.dst_port = hdr.intl4_tail.dest_port"
5489 }
5490 },
5491 {
5492 "op" : "assign",
5493 "parameters" : [
5494 {
5495 "type" : "field",
5496 "value" : ["ipv4", "dscp"]
5497 },
5498 {
5499 "type" : "expression",
5500 "value" : {
5501 "type" : "expression",
5502 "value" : {
5503 "op" : "&",
5504 "left" : {
5505 "type" : "field",
5506 "value" : ["intl4_tail", "dscp"]
5507 },
5508 "right" : {
5509 "type" : "hexstr",
5510 "value" : "0x3f"
5511 }
5512 }
5513 }
5514 }
5515 ],
5516 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005517 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005518 "line" : 28,
5519 "column" : 8,
5520 "source_fragment" : "hdr.ipv4.dscp = (bit<6>)hdr.intl4_tail.dscp"
5521 }
5522 }
5523 ]
5524 },
5525 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005526 "name" : "egress.process_int_sink.int_sink",
5527 "id" : 53,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005528 "runtime_data" : [],
5529 "primitives" : [
5530 {
5531 "op" : "assign",
5532 "parameters" : [
5533 {
5534 "type" : "field",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005535 "value" : ["ipv4", "len"]
5536 },
5537 {
5538 "type" : "expression",
5539 "value" : {
5540 "type" : "expression",
5541 "value" : {
5542 "op" : "&",
5543 "left" : {
5544 "type" : "expression",
5545 "value" : {
5546 "op" : "-",
5547 "left" : {
5548 "type" : "field",
5549 "value" : ["ipv4", "len"]
5550 },
5551 "right" : {
5552 "type" : "expression",
5553 "value" : {
5554 "op" : "&",
5555 "left" : {
5556 "type" : "expression",
5557 "value" : {
5558 "op" : "&",
5559 "left" : {
5560 "type" : "expression",
5561 "value" : {
5562 "op" : "<<",
5563 "left" : {
5564 "type" : "expression",
5565 "value" : {
5566 "op" : "&",
5567 "left" : {
5568 "type" : "expression",
5569 "value" : {
5570 "op" : "-",
5571 "left" : {
5572 "type" : "field",
5573 "value" : ["intl4_shim", "len"]
5574 },
5575 "right" : {
5576 "type" : "expression",
5577 "value" : {
5578 "op" : "&",
5579 "left" : {
5580 "type" : "field",
5581 "value" : ["int_header", "ins_cnt"]
5582 },
5583 "right" : {
5584 "type" : "hexstr",
5585 "value" : "0xff"
5586 }
5587 }
5588 }
5589 }
5590 },
5591 "right" : {
5592 "type" : "hexstr",
5593 "value" : "0xff"
5594 }
5595 }
5596 },
5597 "right" : {
5598 "type" : "hexstr",
5599 "value" : "0x2"
5600 }
5601 }
5602 },
5603 "right" : {
5604 "type" : "hexstr",
5605 "value" : "0xff"
5606 }
5607 }
5608 },
5609 "right" : {
5610 "type" : "hexstr",
5611 "value" : "0xffff"
5612 }
5613 }
5614 }
5615 }
5616 },
5617 "right" : {
5618 "type" : "hexstr",
5619 "value" : "0xffff"
5620 }
5621 }
5622 }
5623 }
5624 ],
5625 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005626 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005627 "line" : 33,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005628 "column" : 8,
5629 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len - (bit<16>)((hdr.intl4_shim.len - (bit<8>)hdr.int_header.ins_cnt) << 2)"
5630 }
5631 },
5632 {
5633 "op" : "assign",
5634 "parameters" : [
5635 {
5636 "type" : "field",
5637 "value" : ["udp", "length_"]
5638 },
5639 {
5640 "type" : "expression",
5641 "value" : {
5642 "type" : "expression",
5643 "value" : {
5644 "op" : "&",
5645 "left" : {
5646 "type" : "expression",
5647 "value" : {
5648 "op" : "-",
5649 "left" : {
5650 "type" : "field",
5651 "value" : ["udp", "length_"]
5652 },
5653 "right" : {
5654 "type" : "expression",
5655 "value" : {
5656 "op" : "&",
5657 "left" : {
5658 "type" : "expression",
5659 "value" : {
5660 "op" : "&",
5661 "left" : {
5662 "type" : "expression",
5663 "value" : {
5664 "op" : "<<",
5665 "left" : {
5666 "type" : "expression",
5667 "value" : {
5668 "op" : "&",
5669 "left" : {
5670 "type" : "expression",
5671 "value" : {
5672 "op" : "-",
5673 "left" : {
5674 "type" : "field",
5675 "value" : ["intl4_shim", "len"]
5676 },
5677 "right" : {
5678 "type" : "expression",
5679 "value" : {
5680 "op" : "&",
5681 "left" : {
5682 "type" : "field",
5683 "value" : ["int_header", "ins_cnt"]
5684 },
5685 "right" : {
5686 "type" : "hexstr",
5687 "value" : "0xff"
5688 }
5689 }
5690 }
5691 }
5692 },
5693 "right" : {
5694 "type" : "hexstr",
5695 "value" : "0xff"
5696 }
5697 }
5698 },
5699 "right" : {
5700 "type" : "hexstr",
5701 "value" : "0x2"
5702 }
5703 }
5704 },
5705 "right" : {
5706 "type" : "hexstr",
5707 "value" : "0xff"
5708 }
5709 }
5710 },
5711 "right" : {
5712 "type" : "hexstr",
5713 "value" : "0xffff"
5714 }
5715 }
5716 }
5717 }
5718 },
5719 "right" : {
5720 "type" : "hexstr",
5721 "value" : "0xffff"
5722 }
5723 }
5724 }
5725 }
5726 ],
5727 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005728 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005729 "line" : 34,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005730 "column" : 8,
5731 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ - (bit<16>)((hdr.intl4_shim.len - (bit<8>)hdr.int_header.ins_cnt) << 2)"
5732 }
5733 },
5734 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005735 "op" : "remove_header",
5736 "parameters" : [
5737 {
5738 "type" : "header",
5739 "value" : "int_header"
5740 }
5741 ],
5742 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005743 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005744 "line" : 36,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005745 "column" : 8,
5746 "source_fragment" : "hdr.int_header.setInvalid()"
5747 }
5748 },
5749 {
5750 "op" : "remove_header",
5751 "parameters" : [
5752 {
5753 "type" : "header",
5754 "value" : "int_data"
5755 }
5756 ],
5757 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005758 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005759 "line" : 37,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005760 "column" : 8,
5761 "source_fragment" : "hdr.int_data.setInvalid()"
5762 }
5763 },
5764 {
5765 "op" : "remove_header",
5766 "parameters" : [
5767 {
5768 "type" : "header",
5769 "value" : "intl4_shim"
5770 }
5771 ],
5772 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005773 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005774 "line" : 38,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005775 "column" : 8,
5776 "source_fragment" : "hdr.intl4_shim.setInvalid()"
5777 }
5778 },
5779 {
5780 "op" : "remove_header",
5781 "parameters" : [
5782 {
5783 "type" : "header",
5784 "value" : "intl4_tail"
5785 }
5786 ],
5787 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005788 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005789 "line" : 39,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005790 "column" : 8,
5791 "source_fragment" : "hdr.intl4_tail.setInvalid()"
5792 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005793 },
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005794 {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005795 "op" : "remove_header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005796 "parameters" : [
5797 {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005798 "type" : "header",
5799 "value" : "int_switch_id"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005800 }
5801 ],
5802 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005803 "filename" : "include/int_sink.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005804 "line" : 40,
5805 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005806 "source_fragment" : "hdr.int_switch_id.setInvalid()"
5807 }
5808 },
5809 {
5810 "op" : "remove_header",
5811 "parameters" : [
5812 {
5813 "type" : "header",
5814 "value" : "int_port_ids"
5815 }
5816 ],
5817 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005818 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005819 "line" : 41,
5820 "column" : 8,
5821 "source_fragment" : "hdr.int_port_ids.setInvalid()"
5822 }
5823 },
5824 {
5825 "op" : "remove_header",
5826 "parameters" : [
5827 {
5828 "type" : "header",
5829 "value" : "int_hop_latency"
5830 }
5831 ],
5832 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005833 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005834 "line" : 42,
5835 "column" : 8,
5836 "source_fragment" : "hdr.int_hop_latency.setInvalid()"
5837 }
5838 },
5839 {
5840 "op" : "remove_header",
5841 "parameters" : [
5842 {
5843 "type" : "header",
5844 "value" : "int_q_occupancy"
5845 }
5846 ],
5847 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005848 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005849 "line" : 43,
5850 "column" : 8,
5851 "source_fragment" : "hdr.int_q_occupancy.setInvalid()"
5852 }
5853 },
5854 {
5855 "op" : "remove_header",
5856 "parameters" : [
5857 {
5858 "type" : "header",
5859 "value" : "int_ingress_tstamp"
5860 }
5861 ],
5862 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005863 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005864 "line" : 44,
5865 "column" : 8,
5866 "source_fragment" : "hdr.int_ingress_tstamp.setInvalid()"
5867 }
5868 },
5869 {
5870 "op" : "remove_header",
5871 "parameters" : [
5872 {
5873 "type" : "header",
5874 "value" : "int_egress_tstamp"
5875 }
5876 ],
5877 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005878 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005879 "line" : 45,
5880 "column" : 8,
5881 "source_fragment" : "hdr.int_egress_tstamp.setInvalid()"
5882 }
5883 },
5884 {
5885 "op" : "remove_header",
5886 "parameters" : [
5887 {
5888 "type" : "header",
5889 "value" : "int_q_congestion"
5890 }
5891 ],
5892 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005893 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005894 "line" : 46,
5895 "column" : 8,
5896 "source_fragment" : "hdr.int_q_congestion.setInvalid()"
5897 }
5898 },
5899 {
5900 "op" : "remove_header",
5901 "parameters" : [
5902 {
5903 "type" : "header",
5904 "value" : "int_egress_tx_util"
5905 }
5906 ],
5907 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005908 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005909 "line" : 47,
5910 "column" : 8,
5911 "source_fragment" : "hdr.int_egress_tx_util.setInvalid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005912 }
5913 }
5914 ]
5915 },
5916 {
5917 "name" : "act_1",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005918 "id" : 54,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005919 "runtime_data" : [],
5920 "primitives" : [
5921 {
5922 "op" : "add_header",
5923 "parameters" : [
5924 {
5925 "type" : "header",
5926 "value" : "packet_in"
5927 }
5928 ],
5929 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005930 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005931 "line" : 38,
5932 "column" : 12,
5933 "source_fragment" : "hdr.packet_in.setValid()"
5934 }
5935 },
5936 {
5937 "op" : "assign",
5938 "parameters" : [
5939 {
5940 "type" : "field",
5941 "value" : ["packet_in", "ingress_port"]
5942 },
5943 {
5944 "type" : "field",
5945 "value" : ["standard_metadata", "ingress_port"]
5946 }
5947 ],
5948 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005949 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005950 "line" : 39,
5951 "column" : 12,
5952 "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
5953 }
5954 }
5955 ]
5956 },
5957 {
5958 "name" : "act_2",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005959 "id" : 55,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005960 "runtime_data" : [],
5961 "primitives" : [
5962 {
5963 "op" : "assign",
5964 "parameters" : [
5965 {
5966 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005967 "value" : ["scalars", "tmp_3"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005968 },
5969 {
5970 "type" : "expression",
5971 "value" : {
5972 "type" : "expression",
5973 "value" : {
5974 "op" : "&",
5975 "left" : {
5976 "type" : "field",
5977 "value" : ["standard_metadata", "egress_port"]
5978 },
5979 "right" : {
5980 "type" : "hexstr",
5981 "value" : "0xffffffff"
5982 }
5983 }
5984 }
5985 }
Carmelo Cascone6af4e172018-06-15 16:01:30 +02005986 ],
5987 "source_info" : {
5988 "filename" : "include/port_counters.p4",
5989 "line" : 39,
5990 "column" : 34,
5991 "source_fragment" : "(bit<32>) standard_metadata.egress_port"
5992 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005993 },
5994 {
5995 "op" : "count",
5996 "parameters" : [
5997 {
5998 "type" : "counter_array",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005999 "value" : "egress.port_counters_egress.egress_port_counter"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006000 },
6001 {
6002 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006003 "value" : ["scalars", "tmp_3"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006004 }
6005 ],
6006 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006007 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006008 "line" : 39,
6009 "column" : 8,
6010 "source_fragment" : "egress_port_counter.count((bit<32>) standard_metadata.egress_port)"
6011 }
6012 }
6013 ]
6014 }
6015 ],
6016 "pipelines" : [
6017 {
6018 "name" : "ingress",
6019 "id" : 0,
6020 "source_info" : {
6021 "filename" : "int.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006022 "line" : 35,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006023 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006024 "source_fragment" : "ingress"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006025 },
6026 "init_table" : "tbl_act",
6027 "tables" : [
6028 {
6029 "name" : "tbl_act",
6030 "id" : 0,
6031 "key" : [],
6032 "match_type" : "exact",
6033 "type" : "simple",
6034 "max_size" : 1024,
6035 "with_counters" : false,
6036 "support_timeout" : false,
6037 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006038 "action_ids" : [5],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006039 "actions" : ["act_0"],
6040 "base_default_next" : "node_3",
6041 "next_tables" : {
6042 "act_0" : "node_3"
6043 },
6044 "default_entry" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006045 "action_id" : 5,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006046 "action_const" : true,
6047 "action_data" : [],
6048 "action_entry_const" : true
6049 }
6050 },
6051 {
6052 "name" : "tbl_act_0",
6053 "id" : 1,
6054 "key" : [],
6055 "match_type" : "exact",
6056 "type" : "simple",
6057 "max_size" : 1024,
6058 "with_counters" : false,
6059 "support_timeout" : false,
6060 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006061 "action_ids" : [4],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006062 "actions" : ["act"],
6063 "base_default_next" : null,
6064 "next_tables" : {
6065 "act" : null
6066 },
6067 "default_entry" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006068 "action_id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006069 "action_const" : true,
6070 "action_data" : [],
6071 "action_entry_const" : true
6072 }
6073 },
6074 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006075 "name" : "ingress.table0_control.table0",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006076 "id" : 2,
6077 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006078 "filename" : "include/table0.p4",
Keesjan Karsten23368892018-05-22 10:46:01 +00006079 "line" : 41,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006080 "column" : 10,
6081 "source_fragment" : "table0"
6082 },
6083 "key" : [
6084 {
6085 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006086 "name" : "standard_metadata.ingress_port",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006087 "target" : ["standard_metadata", "ingress_port"],
6088 "mask" : null
6089 },
6090 {
6091 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006092 "name" : "hdr.ethernet.src_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006093 "target" : ["ethernet", "src_addr"],
6094 "mask" : null
6095 },
6096 {
6097 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006098 "name" : "hdr.ethernet.dst_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006099 "target" : ["ethernet", "dst_addr"],
6100 "mask" : null
6101 },
6102 {
6103 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006104 "name" : "hdr.ethernet.ether_type",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006105 "target" : ["ethernet", "ether_type"],
6106 "mask" : null
6107 },
6108 {
6109 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006110 "name" : "hdr.ipv4.src_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006111 "target" : ["ipv4", "src_addr"],
6112 "mask" : null
6113 },
6114 {
6115 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006116 "name" : "hdr.ipv4.dst_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006117 "target" : ["ipv4", "dst_addr"],
6118 "mask" : null
6119 },
6120 {
6121 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006122 "name" : "hdr.ipv4.protocol",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006123 "target" : ["ipv4", "protocol"],
6124 "mask" : null
6125 },
6126 {
6127 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006128 "name" : "local_metadata.l4_src_port",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006129 "target" : ["scalars", "local_metadata_t.l4_src_port"],
6130 "mask" : null
6131 },
6132 {
6133 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006134 "name" : "local_metadata.l4_dst_port",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006135 "target" : ["scalars", "local_metadata_t.l4_dst_port"],
6136 "mask" : null
6137 }
6138 ],
6139 "match_type" : "ternary",
6140 "type" : "simple",
6141 "max_size" : 1024,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006142 "with_counters" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006143 "support_timeout" : false,
6144 "direct_meters" : null,
Keesjan Karsten23368892018-05-22 10:46:01 +00006145 "action_ids" : [3, 2, 1, 0],
6146 "actions" : ["ingress.table0_control.set_egress_port", "ingress.table0_control.send_to_cpu", "ingress.table0_control.set_next_hop_id", "_drop"],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006147 "base_default_next" : null,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006148 "next_tables" : {
Keesjan Karsten23368892018-05-22 10:46:01 +00006149 "ingress.table0_control.set_egress_port" : null,
6150 "ingress.table0_control.send_to_cpu" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006151 "ingress.table0_control.set_next_hop_id" : null,
6152 "_drop" : null
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006153 },
6154 "default_entry" : {
Keesjan Karsten23368892018-05-22 10:46:01 +00006155 "action_id" : 0,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006156 "action_const" : true,
6157 "action_data" : [],
6158 "action_entry_const" : true
6159 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006160 }
6161 ],
6162 "action_profiles" : [],
6163 "conditionals" : [
6164 {
6165 "name" : "node_3",
6166 "id" : 0,
6167 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006168 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006169 "line" : 26,
6170 "column" : 12,
6171 "source_fragment" : "standard_metadata.ingress_port == CPU_PORT"
6172 },
6173 "expression" : {
6174 "type" : "expression",
6175 "value" : {
6176 "op" : "==",
6177 "left" : {
6178 "type" : "field",
6179 "value" : ["standard_metadata", "ingress_port"]
6180 },
6181 "right" : {
6182 "type" : "hexstr",
6183 "value" : "0x00ff"
6184 }
6185 }
6186 },
6187 "true_next" : "tbl_act_0",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006188 "false_next" : "ingress.table0_control.table0"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006189 }
6190 ]
6191 },
6192 {
6193 "name" : "egress",
6194 "id" : 1,
6195 "source_info" : {
6196 "filename" : "int.p4",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006197 "line" : 47,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006198 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006199 "source_fragment" : "egress"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006200 },
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006201 "init_table" : "node_8",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006202 "tables" : [
6203 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006204 "name" : "egress.process_set_source_sink.tb_set_source",
6205 "id" : 3,
6206 "source_info" : {
6207 "filename" : "include/int_source.p4",
6208 "line" : 101,
6209 "column" : 10,
6210 "source_fragment" : "tb_set_source"
6211 },
6212 "key" : [
6213 {
6214 "match_type" : "exact",
6215 "name" : "standard_metadata.ingress_port",
6216 "target" : ["standard_metadata", "ingress_port"],
6217 "mask" : null
6218 }
6219 ],
6220 "match_type" : "exact",
6221 "type" : "simple",
6222 "max_size" : 256,
6223 "with_counters" : true,
6224 "support_timeout" : false,
6225 "direct_meters" : null,
6226 "action_ids" : [12, 6],
6227 "actions" : ["egress.process_set_source_sink.int_set_source", "NoAction"],
6228 "base_default_next" : "egress.process_set_source_sink.tb_set_sink",
6229 "next_tables" : {
6230 "egress.process_set_source_sink.int_set_source" : "egress.process_set_source_sink.tb_set_sink",
6231 "NoAction" : "egress.process_set_source_sink.tb_set_sink"
6232 },
6233 "default_entry" : {
6234 "action_id" : 6,
6235 "action_const" : false,
6236 "action_data" : [],
6237 "action_entry_const" : false
6238 }
6239 },
6240 {
6241 "name" : "egress.process_set_source_sink.tb_set_sink",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006242 "id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006243 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006244 "filename" : "include/int_source.p4",
6245 "line" : 111,
6246 "column" : 10,
6247 "source_fragment" : "tb_set_sink"
6248 },
6249 "key" : [
6250 {
6251 "match_type" : "exact",
6252 "name" : "standard_metadata.egress_port",
6253 "target" : ["standard_metadata", "egress_port"],
6254 "mask" : null
6255 }
6256 ],
6257 "match_type" : "exact",
6258 "type" : "simple",
6259 "max_size" : 256,
6260 "with_counters" : true,
6261 "support_timeout" : false,
6262 "direct_meters" : null,
6263 "action_ids" : [13, 7],
6264 "actions" : ["egress.process_set_source_sink.int_set_sink", "NoAction"],
6265 "base_default_next" : "node_11",
6266 "next_tables" : {
6267 "egress.process_set_source_sink.int_set_sink" : "node_11",
6268 "NoAction" : "node_11"
6269 },
6270 "default_entry" : {
6271 "action_id" : 7,
6272 "action_const" : false,
6273 "action_data" : [],
6274 "action_entry_const" : false
6275 }
6276 },
6277 {
6278 "name" : "egress.process_int_source.tb_int_source",
6279 "id" : 5,
6280 "source_info" : {
6281 "filename" : "include/int_source.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006282 "line" : 66,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006283 "column" : 10,
6284 "source_fragment" : "tb_int_source"
6285 },
6286 "key" : [
6287 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006288 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006289 "name" : "hdr.ipv4.src_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006290 "target" : ["ipv4", "src_addr"],
6291 "mask" : null
6292 },
6293 {
6294 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006295 "name" : "hdr.ipv4.dst_addr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006296 "target" : ["ipv4", "dst_addr"],
6297 "mask" : null
6298 },
6299 {
6300 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006301 "name" : "local_metadata.l4_src_port",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006302 "target" : ["scalars", "local_metadata_t.l4_src_port"],
6303 "mask" : null
6304 },
6305 {
6306 "match_type" : "ternary",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006307 "name" : "local_metadata.l4_dst_port",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006308 "target" : ["scalars", "local_metadata_t.l4_dst_port"],
6309 "mask" : null
6310 }
6311 ],
6312 "match_type" : "ternary",
6313 "type" : "simple",
6314 "max_size" : 1024,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006315 "with_counters" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006316 "support_timeout" : false,
6317 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006318 "action_ids" : [14, 8],
6319 "actions" : ["egress.process_int_source.int_source_dscp", "NoAction"],
6320 "base_default_next" : "node_13",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006321 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006322 "egress.process_int_source.int_source_dscp" : "node_13",
6323 "NoAction" : "node_13"
6324 },
6325 "default_entry" : {
6326 "action_id" : 8,
6327 "action_const" : false,
6328 "action_data" : [],
6329 "action_entry_const" : false
6330 }
6331 },
6332 {
6333 "name" : "egress.process_int_transit.tb_int_insert",
6334 "id" : 6,
6335 "source_info" : {
6336 "filename" : "include/int_transit.p4",
6337 "line" : 227,
6338 "column" : 10,
6339 "source_fragment" : "tb_int_insert"
6340 },
6341 "key" : [],
6342 "match_type" : "exact",
6343 "type" : "simple",
6344 "max_size" : 2,
6345 "with_counters" : true,
6346 "support_timeout" : false,
6347 "direct_meters" : null,
6348 "action_ids" : [16, 9],
6349 "actions" : ["egress.process_int_transit.int_transit", "NoAction"],
6350 "base_default_next" : "egress.process_int_transit.tb_int_inst_0003",
6351 "next_tables" : {
6352 "egress.process_int_transit.int_transit" : "egress.process_int_transit.tb_int_inst_0003",
6353 "NoAction" : "egress.process_int_transit.tb_int_inst_0003"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006354 },
6355 "default_entry" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006356 "action_id" : 9,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006357 "action_const" : false,
6358 "action_data" : [],
6359 "action_entry_const" : false
6360 }
6361 },
6362 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006363 "name" : "egress.process_int_transit.tb_int_inst_0003",
6364 "id" : 7,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006365 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006366 "filename" : "include/int_transit.p4",
6367 "line" : 237,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006368 "column" : 10,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006369 "source_fragment" : "tb_int_inst_0003"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006370 },
6371 "key" : [
6372 {
6373 "match_type" : "exact",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006374 "name" : "hdr.int_header.instruction_mask_0003",
6375 "target" : ["int_header", "instruction_mask_0003"],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006376 "mask" : null
6377 }
6378 ],
6379 "match_type" : "exact",
6380 "type" : "simple",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006381 "max_size" : 16,
6382 "with_counters" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006383 "support_timeout" : false,
6384 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006385 "action_ids" : [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 10],
6386 "actions" : ["egress.process_int_transit.int_set_header_0003_i0", "egress.process_int_transit.int_set_header_0003_i1", "egress.process_int_transit.int_set_header_0003_i2", "egress.process_int_transit.int_set_header_0003_i3", "egress.process_int_transit.int_set_header_0003_i4", "egress.process_int_transit.int_set_header_0003_i5", "egress.process_int_transit.int_set_header_0003_i6", "egress.process_int_transit.int_set_header_0003_i7", "egress.process_int_transit.int_set_header_0003_i8", "egress.process_int_transit.int_set_header_0003_i9", "egress.process_int_transit.int_set_header_0003_i10", "egress.process_int_transit.int_set_header_0003_i11", "egress.process_int_transit.int_set_header_0003_i12", "egress.process_int_transit.int_set_header_0003_i13", "egress.process_int_transit.int_set_header_0003_i14", "egress.process_int_transit.int_set_header_0003_i15", "NoAction"],
6387 "base_default_next" : "egress.process_int_transit.tb_int_inst_0407",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006388 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006389 "egress.process_int_transit.int_set_header_0003_i0" : "egress.process_int_transit.tb_int_inst_0407",
6390 "egress.process_int_transit.int_set_header_0003_i1" : "egress.process_int_transit.tb_int_inst_0407",
6391 "egress.process_int_transit.int_set_header_0003_i2" : "egress.process_int_transit.tb_int_inst_0407",
6392 "egress.process_int_transit.int_set_header_0003_i3" : "egress.process_int_transit.tb_int_inst_0407",
6393 "egress.process_int_transit.int_set_header_0003_i4" : "egress.process_int_transit.tb_int_inst_0407",
6394 "egress.process_int_transit.int_set_header_0003_i5" : "egress.process_int_transit.tb_int_inst_0407",
6395 "egress.process_int_transit.int_set_header_0003_i6" : "egress.process_int_transit.tb_int_inst_0407",
6396 "egress.process_int_transit.int_set_header_0003_i7" : "egress.process_int_transit.tb_int_inst_0407",
6397 "egress.process_int_transit.int_set_header_0003_i8" : "egress.process_int_transit.tb_int_inst_0407",
6398 "egress.process_int_transit.int_set_header_0003_i9" : "egress.process_int_transit.tb_int_inst_0407",
6399 "egress.process_int_transit.int_set_header_0003_i10" : "egress.process_int_transit.tb_int_inst_0407",
6400 "egress.process_int_transit.int_set_header_0003_i11" : "egress.process_int_transit.tb_int_inst_0407",
6401 "egress.process_int_transit.int_set_header_0003_i12" : "egress.process_int_transit.tb_int_inst_0407",
6402 "egress.process_int_transit.int_set_header_0003_i13" : "egress.process_int_transit.tb_int_inst_0407",
6403 "egress.process_int_transit.int_set_header_0003_i14" : "egress.process_int_transit.tb_int_inst_0407",
6404 "egress.process_int_transit.int_set_header_0003_i15" : "egress.process_int_transit.tb_int_inst_0407",
6405 "NoAction" : "egress.process_int_transit.tb_int_inst_0407"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006406 },
6407 "default_entry" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006408 "action_id" : 10,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006409 "action_const" : false,
6410 "action_data" : [],
6411 "action_entry_const" : false
6412 }
6413 },
6414 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006415 "name" : "egress.process_int_transit.tb_int_inst_0407",
6416 "id" : 8,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006417 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006418 "filename" : "include/int_transit.p4",
6419 "line" : 264,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006420 "column" : 10,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006421 "source_fragment" : "tb_int_inst_0407"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006422 },
6423 "key" : [
6424 {
6425 "match_type" : "exact",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006426 "name" : "hdr.int_header.instruction_mask_0407",
6427 "target" : ["int_header", "instruction_mask_0407"],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006428 "mask" : null
6429 }
6430 ],
6431 "match_type" : "exact",
6432 "type" : "simple",
6433 "max_size" : 16,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006434 "with_counters" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006435 "support_timeout" : false,
6436 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006437 "action_ids" : [33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 11],
6438 "actions" : ["egress.process_int_transit.int_set_header_0407_i0", "egress.process_int_transit.int_set_header_0407_i1", "egress.process_int_transit.int_set_header_0407_i2", "egress.process_int_transit.int_set_header_0407_i3", "egress.process_int_transit.int_set_header_0407_i4", "egress.process_int_transit.int_set_header_0407_i5", "egress.process_int_transit.int_set_header_0407_i6", "egress.process_int_transit.int_set_header_0407_i7", "egress.process_int_transit.int_set_header_0407_i8", "egress.process_int_transit.int_set_header_0407_i9", "egress.process_int_transit.int_set_header_0407_i10", "egress.process_int_transit.int_set_header_0407_i11", "egress.process_int_transit.int_set_header_0407_i12", "egress.process_int_transit.int_set_header_0407_i13", "egress.process_int_transit.int_set_header_0407_i14", "egress.process_int_transit.int_set_header_0407_i15", "NoAction"],
6439 "base_default_next" : "tbl_process_int_transit_int_update_total_hop_cnt",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006440 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006441 "egress.process_int_transit.int_set_header_0407_i0" : "tbl_process_int_transit_int_update_total_hop_cnt",
6442 "egress.process_int_transit.int_set_header_0407_i1" : "tbl_process_int_transit_int_update_total_hop_cnt",
6443 "egress.process_int_transit.int_set_header_0407_i2" : "tbl_process_int_transit_int_update_total_hop_cnt",
6444 "egress.process_int_transit.int_set_header_0407_i3" : "tbl_process_int_transit_int_update_total_hop_cnt",
6445 "egress.process_int_transit.int_set_header_0407_i4" : "tbl_process_int_transit_int_update_total_hop_cnt",
6446 "egress.process_int_transit.int_set_header_0407_i5" : "tbl_process_int_transit_int_update_total_hop_cnt",
6447 "egress.process_int_transit.int_set_header_0407_i6" : "tbl_process_int_transit_int_update_total_hop_cnt",
6448 "egress.process_int_transit.int_set_header_0407_i7" : "tbl_process_int_transit_int_update_total_hop_cnt",
6449 "egress.process_int_transit.int_set_header_0407_i8" : "tbl_process_int_transit_int_update_total_hop_cnt",
6450 "egress.process_int_transit.int_set_header_0407_i9" : "tbl_process_int_transit_int_update_total_hop_cnt",
6451 "egress.process_int_transit.int_set_header_0407_i10" : "tbl_process_int_transit_int_update_total_hop_cnt",
6452 "egress.process_int_transit.int_set_header_0407_i11" : "tbl_process_int_transit_int_update_total_hop_cnt",
6453 "egress.process_int_transit.int_set_header_0407_i12" : "tbl_process_int_transit_int_update_total_hop_cnt",
6454 "egress.process_int_transit.int_set_header_0407_i13" : "tbl_process_int_transit_int_update_total_hop_cnt",
6455 "egress.process_int_transit.int_set_header_0407_i14" : "tbl_process_int_transit_int_update_total_hop_cnt",
6456 "egress.process_int_transit.int_set_header_0407_i15" : "tbl_process_int_transit_int_update_total_hop_cnt",
6457 "NoAction" : "tbl_process_int_transit_int_update_total_hop_cnt"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006458 },
6459 "default_entry" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006460 "action_id" : 11,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006461 "action_const" : false,
6462 "action_data" : [],
6463 "action_entry_const" : false
6464 }
6465 },
6466 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006467 "name" : "tbl_process_int_transit_int_update_total_hop_cnt",
6468 "id" : 9,
6469 "key" : [],
6470 "match_type" : "exact",
6471 "type" : "simple",
6472 "max_size" : 1024,
6473 "with_counters" : false,
6474 "support_timeout" : false,
6475 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006476 "action_ids" : [15],
6477 "actions" : ["egress.process_int_transit.int_update_total_hop_cnt"],
6478 "base_default_next" : "node_18",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006479 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006480 "egress.process_int_transit.int_update_total_hop_cnt" : "node_18"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006481 },
6482 "default_entry" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006483 "action_id" : 15,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006484 "action_const" : true,
6485 "action_data" : [],
6486 "action_entry_const" : true
6487 }
6488 },
6489 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006490 "name" : "tbl_process_int_outer_encap_int_update_ipv4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006491 "id" : 10,
6492 "key" : [],
6493 "match_type" : "exact",
6494 "type" : "simple",
6495 "max_size" : 1024,
6496 "with_counters" : false,
6497 "support_timeout" : false,
6498 "direct_meters" : null,
6499 "action_ids" : [49],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006500 "actions" : ["egress.process_int_outer_encap.int_update_ipv4"],
6501 "base_default_next" : "node_20",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006502 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006503 "egress.process_int_outer_encap.int_update_ipv4" : "node_20"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006504 },
6505 "default_entry" : {
6506 "action_id" : 49,
6507 "action_const" : true,
6508 "action_data" : [],
6509 "action_entry_const" : true
6510 }
6511 },
6512 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006513 "name" : "tbl_process_int_outer_encap_int_update_udp",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006514 "id" : 11,
6515 "key" : [],
6516 "match_type" : "exact",
6517 "type" : "simple",
6518 "max_size" : 1024,
6519 "with_counters" : false,
6520 "support_timeout" : false,
6521 "direct_meters" : null,
6522 "action_ids" : [50],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006523 "actions" : ["egress.process_int_outer_encap.int_update_udp"],
6524 "base_default_next" : "node_22",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006525 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006526 "egress.process_int_outer_encap.int_update_udp" : "node_22"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006527 },
6528 "default_entry" : {
6529 "action_id" : 50,
6530 "action_const" : true,
6531 "action_data" : [],
6532 "action_entry_const" : true
6533 }
6534 },
6535 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006536 "name" : "tbl_process_int_outer_encap_int_update_shim",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006537 "id" : 12,
6538 "key" : [],
6539 "match_type" : "exact",
6540 "type" : "simple",
6541 "max_size" : 1024,
6542 "with_counters" : false,
6543 "support_timeout" : false,
6544 "direct_meters" : null,
6545 "action_ids" : [51],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006546 "actions" : ["egress.process_int_outer_encap.int_update_shim"],
6547 "base_default_next" : "node_24",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006548 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006549 "egress.process_int_outer_encap.int_update_shim" : "node_24"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006550 },
6551 "default_entry" : {
6552 "action_id" : 51,
6553 "action_const" : true,
6554 "action_data" : [],
6555 "action_entry_const" : true
6556 }
6557 },
6558 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006559 "name" : "tbl_process_int_sink_restore_header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006560 "id" : 13,
6561 "key" : [],
6562 "match_type" : "exact",
6563 "type" : "simple",
6564 "max_size" : 1024,
6565 "with_counters" : false,
6566 "support_timeout" : false,
6567 "direct_meters" : null,
6568 "action_ids" : [52],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006569 "actions" : ["egress.process_int_sink.restore_header"],
6570 "base_default_next" : "tbl_process_int_sink_int_sink",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006571 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006572 "egress.process_int_sink.restore_header" : "tbl_process_int_sink_int_sink"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006573 },
6574 "default_entry" : {
6575 "action_id" : 52,
6576 "action_const" : true,
6577 "action_data" : [],
6578 "action_entry_const" : true
6579 }
6580 },
6581 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006582 "name" : "tbl_process_int_sink_int_sink",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006583 "id" : 14,
6584 "key" : [],
6585 "match_type" : "exact",
6586 "type" : "simple",
6587 "max_size" : 1024,
6588 "with_counters" : false,
6589 "support_timeout" : false,
6590 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006591 "action_ids" : [53],
6592 "actions" : ["egress.process_int_sink.int_sink"],
6593 "base_default_next" : "tbl_act_1",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006594 "next_tables" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006595 "egress.process_int_sink.int_sink" : "tbl_act_1"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006596 },
6597 "default_entry" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006598 "action_id" : 53,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006599 "action_const" : true,
6600 "action_data" : [],
6601 "action_entry_const" : true
6602 }
6603 },
6604 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006605 "name" : "tbl_act_1",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006606 "id" : 15,
6607 "key" : [],
6608 "match_type" : "exact",
6609 "type" : "simple",
6610 "max_size" : 1024,
6611 "with_counters" : false,
6612 "support_timeout" : false,
6613 "direct_meters" : null,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006614 "action_ids" : [55],
6615 "actions" : ["act_2"],
Keesjan Karsten23368892018-05-22 10:46:01 +00006616 "base_default_next" : "node_28",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006617 "next_tables" : {
Keesjan Karsten23368892018-05-22 10:46:01 +00006618 "act_2" : "node_28"
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006619 },
6620 "default_entry" : {
6621 "action_id" : 55,
6622 "action_const" : true,
6623 "action_data" : [],
6624 "action_entry_const" : true
6625 }
6626 },
6627 {
6628 "name" : "tbl_act_2",
6629 "id" : 16,
6630 "key" : [],
6631 "match_type" : "exact",
6632 "type" : "simple",
6633 "max_size" : 1024,
6634 "with_counters" : false,
6635 "support_timeout" : false,
6636 "direct_meters" : null,
6637 "action_ids" : [54],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006638 "actions" : ["act_1"],
6639 "base_default_next" : null,
6640 "next_tables" : {
6641 "act_1" : null
6642 },
6643 "default_entry" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006644 "action_id" : 54,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006645 "action_const" : true,
6646 "action_data" : [],
6647 "action_entry_const" : true
6648 }
6649 }
6650 ],
6651 "action_profiles" : [],
6652 "conditionals" : [
6653 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006654 "name" : "node_8",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006655 "id" : 1,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006656 "source_info" : {
6657 "filename" : "int.p4",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006658 "line" : 53,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006659 "column" : 12,
6660 "source_fragment" : "standard_metadata.ingress_port != CPU_PORT && ..."
6661 },
6662 "expression" : {
6663 "type" : "expression",
6664 "value" : {
6665 "op" : "and",
6666 "left" : {
6667 "type" : "expression",
6668 "value" : {
6669 "op" : "and",
6670 "left" : {
6671 "type" : "expression",
6672 "value" : {
6673 "op" : "!=",
6674 "left" : {
6675 "type" : "field",
6676 "value" : ["standard_metadata", "ingress_port"]
6677 },
6678 "right" : {
6679 "type" : "hexstr",
6680 "value" : "0x00ff"
6681 }
6682 }
6683 },
6684 "right" : {
6685 "type" : "expression",
6686 "value" : {
6687 "op" : "!=",
6688 "left" : {
6689 "type" : "field",
6690 "value" : ["standard_metadata", "egress_port"]
6691 },
6692 "right" : {
6693 "type" : "hexstr",
6694 "value" : "0x00ff"
6695 }
6696 }
6697 }
6698 }
6699 },
6700 "right" : {
6701 "type" : "expression",
6702 "value" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006703 "op" : "or",
6704 "left" : {
6705 "type" : "expression",
6706 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006707 "op" : "d2b",
6708 "left" : null,
6709 "right" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006710 "type" : "field",
6711 "value" : ["udp", "$valid$"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006712 }
6713 }
6714 },
6715 "right" : {
6716 "type" : "expression",
6717 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006718 "op" : "d2b",
6719 "left" : null,
6720 "right" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006721 "type" : "field",
6722 "value" : ["tcp", "$valid$"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006723 }
6724 }
6725 }
6726 }
6727 }
6728 }
6729 },
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006730 "true_next" : "egress.process_set_source_sink.tb_set_source",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006731 "false_next" : "tbl_act_1"
6732 },
6733 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006734 "name" : "node_11",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006735 "id" : 2,
6736 "source_info" : {
6737 "filename" : "int.p4",
6738 "line" : 57,
6739 "column" : 16,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006740 "source_fragment" : "local_metadata.int_meta.source == 1"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006741 },
6742 "expression" : {
6743 "type" : "expression",
6744 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006745 "op" : "==",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006746 "left" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006747 "type" : "field",
6748 "value" : ["userMetadata.int_meta", "source"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006749 },
6750 "right" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006751 "type" : "hexstr",
6752 "value" : "0x01"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006753 }
6754 }
6755 },
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006756 "true_next" : "egress.process_int_source.tb_int_source",
6757 "false_next" : "node_13"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006758 },
6759 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006760 "name" : "node_13",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006761 "id" : 3,
6762 "source_info" : {
6763 "filename" : "int.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006764 "line" : 60,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006765 "column" : 15,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006766 "source_fragment" : "hdr.int_header.isValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006767 },
6768 "expression" : {
6769 "type" : "expression",
6770 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006771 "op" : "d2b",
6772 "left" : null,
6773 "right" : {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006774 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006775 "value" : ["int_header", "$valid$"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006776 }
6777 }
6778 },
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006779 "true_next" : "egress.process_int_transit.tb_int_insert",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006780 "false_next" : "tbl_act_1"
6781 },
6782 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006783 "name" : "node_18",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006784 "id" : 4,
6785 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006786 "filename" : "include/int_transit.p4",
6787 "line" : 314,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006788 "column" : 12,
6789 "source_fragment" : "hdr.ipv4.isValid()"
6790 },
6791 "expression" : {
6792 "type" : "expression",
6793 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006794 "op" : "d2b",
6795 "left" : null,
6796 "right" : {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006797 "type" : "field",
6798 "value" : ["ipv4", "$valid$"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006799 }
6800 }
6801 },
6802 "true_next" : "tbl_process_int_outer_encap_int_update_ipv4",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006803 "false_next" : "node_20"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006804 },
6805 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006806 "name" : "node_20",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006807 "id" : 5,
6808 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006809 "filename" : "include/int_transit.p4",
6810 "line" : 317,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006811 "column" : 12,
6812 "source_fragment" : "hdr.udp.isValid()"
6813 },
6814 "expression" : {
6815 "type" : "expression",
6816 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006817 "op" : "d2b",
6818 "left" : null,
6819 "right" : {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006820 "type" : "field",
6821 "value" : ["udp", "$valid$"]
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006822 }
6823 }
6824 },
6825 "true_next" : "tbl_process_int_outer_encap_int_update_udp",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006826 "false_next" : "node_22"
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006827 },
6828 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006829 "name" : "node_22",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006830 "id" : 6,
6831 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006832 "filename" : "include/int_transit.p4",
6833 "line" : 320,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006834 "column" : 12,
6835 "source_fragment" : "hdr.intl4_shim.isValid()"
6836 },
6837 "expression" : {
6838 "type" : "expression",
6839 "value" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006840 "op" : "d2b",
6841 "left" : null,
6842 "right" : {
6843 "type" : "field",
6844 "value" : ["intl4_shim", "$valid$"]
6845 }
6846 }
6847 },
6848 "true_next" : "tbl_process_int_outer_encap_int_update_shim",
6849 "false_next" : "node_24"
6850 },
6851 {
6852 "name" : "node_24",
6853 "id" : 7,
6854 "source_info" : {
6855 "filename" : "int.p4",
6856 "line" : 64,
6857 "column" : 20,
6858 "source_fragment" : "local_metadata.int_meta.sink == 1"
6859 },
6860 "expression" : {
6861 "type" : "expression",
6862 "value" : {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006863 "op" : "==",
6864 "left" : {
6865 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006866 "value" : ["userMetadata.int_meta", "sink"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006867 },
6868 "right" : {
6869 "type" : "hexstr",
6870 "value" : "0x01"
6871 }
6872 }
6873 },
Jonghwan Hyun8be03392017-12-04 15:48:44 -08006874 "true_next" : "tbl_process_int_sink_restore_header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006875 "false_next" : "tbl_act_1"
6876 },
6877 {
Keesjan Karsten23368892018-05-22 10:46:01 +00006878 "name" : "node_28",
6879 "id" : 8,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006880 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006881 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006882 "line" : 37,
6883 "column" : 12,
6884 "source_fragment" : "standard_metadata.egress_port == CPU_PORT"
6885 },
6886 "expression" : {
6887 "type" : "expression",
6888 "value" : {
6889 "op" : "==",
6890 "left" : {
6891 "type" : "field",
6892 "value" : ["standard_metadata", "egress_port"]
6893 },
6894 "right" : {
6895 "type" : "hexstr",
6896 "value" : "0x00ff"
6897 }
6898 }
6899 },
6900 "false_next" : null,
6901 "true_next" : "tbl_act_2"
6902 }
6903 ]
6904 }
6905 ],
6906 "checksums" : [],
6907 "force_arith" : [],
6908 "extern_instances" : [],
6909 "field_aliases" : [
6910 [
6911 "queueing_metadata.enq_timestamp",
6912 ["standard_metadata", "enq_timestamp"]
6913 ],
6914 [
6915 "queueing_metadata.enq_qdepth",
6916 ["standard_metadata", "enq_qdepth"]
6917 ],
6918 [
6919 "queueing_metadata.deq_timedelta",
6920 ["standard_metadata", "deq_timedelta"]
6921 ],
6922 [
6923 "queueing_metadata.deq_qdepth",
6924 ["standard_metadata", "deq_qdepth"]
6925 ],
6926 [
6927 "intrinsic_metadata.ingress_global_timestamp",
6928 ["standard_metadata", "ingress_global_timestamp"]
6929 ],
6930 [
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006931 "intrinsic_metadata.egress_global_timestamp",
6932 ["standard_metadata", "egress_global_timestamp"]
6933 ],
6934 [
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006935 "intrinsic_metadata.lf_field_list",
6936 ["standard_metadata", "lf_field_list"]
6937 ],
6938 [
6939 "intrinsic_metadata.mcast_grp",
6940 ["standard_metadata", "mcast_grp"]
6941 ],
6942 [
6943 "intrinsic_metadata.resubmit_flag",
6944 ["standard_metadata", "resubmit_flag"]
6945 ],
6946 [
6947 "intrinsic_metadata.egress_rid",
6948 ["standard_metadata", "egress_rid"]
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07006949 ],
6950 [
6951 "intrinsic_metadata.recirculate_flag",
6952 ["standard_metadata", "recirculate_flag"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006953 ]
Carmelo Cascone6af4e172018-06-15 16:01:30 +02006954 ],
6955 "program" : "int.p4",
6956 "__meta__" : {
6957 "version" : [2, 18],
6958 "compiler" : "https://github.com/p4lang/p4c"
6959 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08006960}