blob: 9a67fcb369edafe7175b3d8b0acda1fb714c2800 [file] [log] [blame]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001{
2 "program" : "int.p4",
3 "__meta__" : {
4 "version" : [2, 7],
5 "compiler" : "https://github.com/p4lang/p4c"
6 },
7 "header_types" : [
8 {
9 "name" : "scalars_0",
10 "id" : 0,
11 "fields" : [
Jonghwan Hyun8be03392017-12-04 15:48:44 -080012 ["tmp", 1, false],
13 ["tmp_0", 1, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080014 ["tmp_1", 32, false],
Jonghwan Hyun8be03392017-12-04 15:48:44 -080015 ["tmp_2", 32, false],
16 ["tmp_3", 32, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080017 ["local_metadata_t.l4_src_port", 16, false],
18 ["local_metadata_t.l4_dst_port", 16, false],
19 ["local_metadata_t.next_hop_id", 16, false],
Jonghwan Hyun8be03392017-12-04 15:48:44 -080020 ["local_metadata_t.selector", 16, false],
Keesjan Karsten23368892018-05-22 10:46:01 +000021 ["_padding_2", 6, false]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080022 ]
23 },
24 {
25 "name" : "packet_out_header_t",
26 "id" : 1,
27 "fields" : [
28 ["egress_port", 9, false],
29 ["_padding", 7, false]
30 ]
31 },
32 {
33 "name" : "packet_in_header_t",
34 "id" : 2,
35 "fields" : [
36 ["ingress_port", 9, false],
Keesjan Karsten23368892018-05-22 10:46:01 +000037 ["_padding", 7, false]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080038 ]
39 },
40 {
41 "name" : "ethernet_t",
42 "id" : 3,
43 "fields" : [
44 ["dst_addr", 48, false],
45 ["src_addr", 48, false],
46 ["ether_type", 16, false]
47 ]
48 },
49 {
50 "name" : "ipv4_t",
51 "id" : 4,
52 "fields" : [
53 ["version", 4, false],
54 ["ihl", 4, false],
Jonghwan Hyun8be03392017-12-04 15:48:44 -080055 ["dscp", 6, false],
56 ["ecn", 2, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080057 ["len", 16, false],
58 ["identification", 16, false],
59 ["flags", 3, false],
60 ["frag_offset", 13, false],
61 ["ttl", 8, false],
62 ["protocol", 8, false],
63 ["hdr_checksum", 16, false],
64 ["src_addr", 32, false],
65 ["dst_addr", 32, false]
66 ]
67 },
68 {
69 "name" : "tcp_t",
70 "id" : 5,
71 "fields" : [
72 ["src_port", 16, false],
73 ["dst_port", 16, false],
74 ["seq_no", 32, false],
75 ["ack_no", 32, false],
76 ["data_offset", 4, false],
77 ["res", 3, false],
78 ["ecn", 3, false],
79 ["ctrl", 6, false],
80 ["window", 16, false],
81 ["checksum", 16, false],
82 ["urgent_ptr", 16, false]
83 ]
84 },
85 {
86 "name" : "udp_t",
87 "id" : 6,
88 "fields" : [
89 ["src_port", 16, false],
90 ["dst_port", 16, false],
91 ["length_", 16, false],
92 ["checksum", 16, false]
93 ]
94 },
95 {
96 "name" : "intl4_shim_t",
97 "id" : 7,
98 "fields" : [
99 ["int_type", 8, false],
100 ["rsvd1", 8, false],
101 ["len", 8, false],
102 ["rsvd2", 8, false]
103 ]
104 },
105 {
106 "name" : "int_header_t",
107 "id" : 8,
108 "fields" : [
109 ["ver", 2, false],
110 ["rep", 2, false],
111 ["c", 1, false],
112 ["e", 1, false],
113 ["rsvd1", 5, false],
114 ["ins_cnt", 5, false],
115 ["max_hop_cnt", 8, false],
116 ["total_hop_cnt", 8, false],
117 ["instruction_mask_0003", 4, false],
118 ["instruction_mask_0407", 4, false],
119 ["instruction_mask_0811", 4, false],
120 ["instruction_mask_1215", 4, false],
121 ["rsvd2", 16, false]
122 ]
123 },
124 {
125 "name" : "int_data_t",
126 "id" : 9,
127 "fields" : [
128 ["data", "*"]
129 ],
130 "max_length" : 1004
131 },
132 {
133 "name" : "int_switch_id_t",
134 "id" : 10,
135 "fields" : [
136 ["switch_id", 32, false]
137 ]
138 },
139 {
140 "name" : "int_port_ids_t",
141 "id" : 11,
142 "fields" : [
143 ["ingress_port_id", 16, false],
144 ["egress_port_id", 16, false]
145 ]
146 },
147 {
148 "name" : "int_hop_latency_t",
149 "id" : 12,
150 "fields" : [
151 ["hop_latency", 32, false]
152 ]
153 },
154 {
155 "name" : "int_q_occupancy_t",
156 "id" : 13,
157 "fields" : [
158 ["q_id", 8, false],
159 ["q_occupancy", 24, false]
160 ]
161 },
162 {
163 "name" : "int_ingress_tstamp_t",
164 "id" : 14,
165 "fields" : [
166 ["ingress_tstamp", 32, false]
167 ]
168 },
169 {
170 "name" : "int_egress_tstamp_t",
171 "id" : 15,
172 "fields" : [
173 ["egress_tstamp", 32, false]
174 ]
175 },
176 {
177 "name" : "int_q_congestion_t",
178 "id" : 16,
179 "fields" : [
180 ["q_id", 8, false],
181 ["q_congestion", 24, false]
182 ]
183 },
184 {
185 "name" : "int_egress_port_tx_util_t",
186 "id" : 17,
187 "fields" : [
188 ["egress_port_tx_util", 32, false]
189 ]
190 },
191 {
192 "name" : "intl4_tail_t",
193 "id" : 18,
194 "fields" : [
195 ["next_proto", 8, false],
196 ["dest_port", 16, false],
197 ["dscp", 8, false]
198 ]
199 },
200 {
201 "name" : "int_metadata_t",
202 "id" : 19,
203 "fields" : [
204 ["switch_id", 32, false],
205 ["insert_byte_cnt", 16, false],
206 ["source", 1, false],
207 ["sink", 1, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800208 ["mirror_id", 8, false],
209 ["flow_id", 16, false],
210 ["metadata_len", 8, false],
Keesjan Karsten23368892018-05-22 10:46:01 +0000211 ["_padding_0", 6, false]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800212 ]
213 },
214 {
215 "name" : "standard_metadata",
216 "id" : 20,
217 "fields" : [
218 ["ingress_port", 9, false],
219 ["egress_spec", 9, false],
220 ["egress_port", 9, false],
221 ["clone_spec", 32, false],
222 ["instance_type", 32, false],
223 ["drop", 1, false],
224 ["recirculate_port", 16, false],
225 ["packet_length", 32, false],
226 ["enq_timestamp", 32, false],
227 ["enq_qdepth", 19, false],
228 ["deq_timedelta", 32, false],
229 ["deq_qdepth", 19, false],
230 ["ingress_global_timestamp", 48, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700231 ["egress_global_timestamp", 48, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800232 ["lf_field_list", 32, false],
233 ["mcast_grp", 16, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700234 ["resubmit_flag", 32, false],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800235 ["egress_rid", 16, false],
236 ["checksum_error", 1, false],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700237 ["recirculate_flag", 32, false],
Keesjan Karsten23368892018-05-22 10:46:01 +0000238 ["_padding_1", 5, false]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800239 ]
240 }
241 ],
242 "headers" : [
243 {
244 "name" : "scalars",
245 "id" : 0,
246 "header_type" : "scalars_0",
247 "metadata" : true,
248 "pi_omit" : true
249 },
250 {
251 "name" : "standard_metadata",
252 "id" : 1,
253 "header_type" : "standard_metadata",
254 "metadata" : true,
255 "pi_omit" : true
256 },
257 {
258 "name" : "packet_out",
259 "id" : 2,
260 "header_type" : "packet_out_header_t",
261 "metadata" : false,
262 "pi_omit" : true
263 },
264 {
265 "name" : "packet_in",
266 "id" : 3,
267 "header_type" : "packet_in_header_t",
268 "metadata" : false,
269 "pi_omit" : true
270 },
271 {
272 "name" : "ethernet",
273 "id" : 4,
274 "header_type" : "ethernet_t",
275 "metadata" : false,
276 "pi_omit" : true
277 },
278 {
279 "name" : "ipv4",
280 "id" : 5,
281 "header_type" : "ipv4_t",
282 "metadata" : false,
283 "pi_omit" : true
284 },
285 {
286 "name" : "tcp",
287 "id" : 6,
288 "header_type" : "tcp_t",
289 "metadata" : false,
290 "pi_omit" : true
291 },
292 {
293 "name" : "udp",
294 "id" : 7,
295 "header_type" : "udp_t",
296 "metadata" : false,
297 "pi_omit" : true
298 },
299 {
300 "name" : "intl4_shim",
301 "id" : 8,
302 "header_type" : "intl4_shim_t",
303 "metadata" : false,
304 "pi_omit" : true
305 },
306 {
307 "name" : "int_header",
308 "id" : 9,
309 "header_type" : "int_header_t",
310 "metadata" : false,
311 "pi_omit" : true
312 },
313 {
314 "name" : "int_data",
315 "id" : 10,
316 "header_type" : "int_data_t",
317 "metadata" : false,
318 "pi_omit" : true
319 },
320 {
321 "name" : "int_switch_id",
322 "id" : 11,
323 "header_type" : "int_switch_id_t",
324 "metadata" : false,
325 "pi_omit" : true
326 },
327 {
328 "name" : "int_port_ids",
329 "id" : 12,
330 "header_type" : "int_port_ids_t",
331 "metadata" : false,
332 "pi_omit" : true
333 },
334 {
335 "name" : "int_hop_latency",
336 "id" : 13,
337 "header_type" : "int_hop_latency_t",
338 "metadata" : false,
339 "pi_omit" : true
340 },
341 {
342 "name" : "int_q_occupancy",
343 "id" : 14,
344 "header_type" : "int_q_occupancy_t",
345 "metadata" : false,
346 "pi_omit" : true
347 },
348 {
349 "name" : "int_ingress_tstamp",
350 "id" : 15,
351 "header_type" : "int_ingress_tstamp_t",
352 "metadata" : false,
353 "pi_omit" : true
354 },
355 {
356 "name" : "int_egress_tstamp",
357 "id" : 16,
358 "header_type" : "int_egress_tstamp_t",
359 "metadata" : false,
360 "pi_omit" : true
361 },
362 {
363 "name" : "int_q_congestion",
364 "id" : 17,
365 "header_type" : "int_q_congestion_t",
366 "metadata" : false,
367 "pi_omit" : true
368 },
369 {
370 "name" : "int_egress_tx_util",
371 "id" : 18,
372 "header_type" : "int_egress_port_tx_util_t",
373 "metadata" : false,
374 "pi_omit" : true
375 },
376 {
377 "name" : "intl4_tail",
378 "id" : 19,
379 "header_type" : "intl4_tail_t",
380 "metadata" : false,
381 "pi_omit" : true
382 },
383 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700384 "name" : "userMetadata.int_meta",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800385 "id" : 20,
386 "header_type" : "int_metadata_t",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800387 "metadata" : true,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800388 "pi_omit" : true
389 }
390 ],
391 "header_stacks" : [],
392 "header_union_types" : [],
393 "header_unions" : [],
394 "header_union_stacks" : [],
395 "field_lists" : [],
396 "errors" : [
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700397 ["NoError", 1],
398 ["PacketTooShort", 2],
399 ["NoMatch", 3],
400 ["StackOutOfBounds", 4],
401 ["HeaderTooShort", 5],
402 ["ParserTimeout", 6]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800403 ],
404 "enums" : [],
405 "parsers" : [
406 {
407 "name" : "parser",
408 "id" : 0,
409 "init_state" : "start",
410 "parse_states" : [
411 {
412 "name" : "start",
413 "id" : 0,
414 "parser_ops" : [],
415 "transitions" : [
416 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700417 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800418 "value" : "0x00ff",
419 "mask" : null,
420 "next_state" : "parse_packet_out"
421 },
422 {
423 "value" : "default",
424 "mask" : null,
425 "next_state" : "parse_ethernet"
426 }
427 ],
428 "transition_key" : [
429 {
430 "type" : "field",
431 "value" : ["standard_metadata", "ingress_port"]
432 }
433 ]
434 },
435 {
436 "name" : "parse_packet_out",
437 "id" : 1,
438 "parser_ops" : [
439 {
440 "parameters" : [
441 {
442 "type" : "regular",
443 "value" : "packet_out"
444 }
445 ],
446 "op" : "extract"
447 }
448 ],
449 "transitions" : [
450 {
451 "value" : "default",
452 "mask" : null,
453 "next_state" : "parse_ethernet"
454 }
455 ],
456 "transition_key" : []
457 },
458 {
459 "name" : "parse_ethernet",
460 "id" : 2,
461 "parser_ops" : [
462 {
463 "parameters" : [
464 {
465 "type" : "regular",
466 "value" : "ethernet"
467 }
468 ],
469 "op" : "extract"
470 }
471 ],
472 "transitions" : [
473 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700474 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800475 "value" : "0x0800",
476 "mask" : null,
477 "next_state" : "parse_ipv4"
478 },
479 {
480 "value" : "default",
481 "mask" : null,
482 "next_state" : null
483 }
484 ],
485 "transition_key" : [
486 {
487 "type" : "field",
488 "value" : ["ethernet", "ether_type"]
489 }
490 ]
491 },
492 {
493 "name" : "parse_ipv4",
494 "id" : 3,
495 "parser_ops" : [
496 {
497 "parameters" : [
498 {
499 "type" : "regular",
500 "value" : "ipv4"
501 }
502 ],
503 "op" : "extract"
504 }
505 ],
506 "transitions" : [
507 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700508 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800509 "value" : "0x06",
510 "mask" : null,
511 "next_state" : "parse_tcp"
512 },
513 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700514 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800515 "value" : "0x11",
516 "mask" : null,
517 "next_state" : "parse_udp"
518 },
519 {
520 "value" : "default",
521 "mask" : null,
522 "next_state" : null
523 }
524 ],
525 "transition_key" : [
526 {
527 "type" : "field",
528 "value" : ["ipv4", "protocol"]
529 }
530 ]
531 },
532 {
533 "name" : "parse_tcp",
534 "id" : 4,
535 "parser_ops" : [
536 {
537 "parameters" : [
538 {
539 "type" : "regular",
540 "value" : "tcp"
541 }
542 ],
543 "op" : "extract"
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800544 },
545 {
546 "parameters" : [
547 {
548 "type" : "field",
549 "value" : ["scalars", "local_metadata_t.l4_src_port"]
550 },
551 {
552 "type" : "field",
553 "value" : ["tcp", "src_port"]
554 }
555 ],
556 "op" : "set"
557 },
558 {
559 "parameters" : [
560 {
561 "type" : "field",
562 "value" : ["scalars", "local_metadata_t.l4_dst_port"]
563 },
564 {
565 "type" : "field",
566 "value" : ["tcp", "dst_port"]
567 }
568 ],
569 "op" : "set"
570 },
571 {
572 "parameters" : [
573 {
574 "type" : "field",
575 "value" : ["scalars", "tmp"]
576 },
577 {
578 "type" : "expression",
579 "value" : {
580 "type" : "expression",
581 "value" : {
582 "op" : "?",
583 "left" : {
584 "type" : "hexstr",
585 "value" : "0x01"
586 },
587 "right" : {
588 "type" : "hexstr",
589 "value" : "0x00"
590 },
591 "cond" : {
592 "type" : "expression",
593 "value" : {
594 "op" : "==",
595 "left" : {
596 "type" : "expression",
597 "value" : {
598 "op" : "&",
599 "left" : {
600 "type" : "field",
601 "value" : ["ipv4", "dscp"]
602 },
603 "right" : {
604 "type" : "hexstr",
605 "value" : "0x01"
606 }
607 }
608 },
609 "right" : {
610 "type" : "hexstr",
611 "value" : "0x01"
612 }
613 }
614 }
615 }
616 }
617 }
618 ],
619 "op" : "set"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800620 }
621 ],
622 "transitions" : [
623 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700624 "type" : "hexstr",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800625 "value" : "0x01",
626 "mask" : null,
627 "next_state" : "parse_intl4_shim"
628 },
629 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800630 "value" : "default",
631 "mask" : null,
632 "next_state" : null
633 }
634 ],
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800635 "transition_key" : [
636 {
637 "type" : "field",
638 "value" : ["scalars", "tmp"]
639 }
640 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800641 },
642 {
643 "name" : "parse_udp",
644 "id" : 5,
645 "parser_ops" : [
646 {
647 "parameters" : [
648 {
649 "type" : "regular",
650 "value" : "udp"
651 }
652 ],
653 "op" : "extract"
654 },
655 {
656 "parameters" : [
657 {
658 "type" : "field",
659 "value" : ["scalars", "local_metadata_t.l4_src_port"]
660 },
661 {
662 "type" : "field",
663 "value" : ["udp", "src_port"]
664 }
665 ],
666 "op" : "set"
667 },
668 {
669 "parameters" : [
670 {
671 "type" : "field",
672 "value" : ["scalars", "local_metadata_t.l4_dst_port"]
673 },
674 {
675 "type" : "field",
676 "value" : ["udp", "dst_port"]
677 }
678 ],
679 "op" : "set"
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800680 },
681 {
682 "parameters" : [
683 {
684 "type" : "field",
685 "value" : ["scalars", "tmp_0"]
686 },
687 {
688 "type" : "expression",
689 "value" : {
690 "type" : "expression",
691 "value" : {
692 "op" : "?",
693 "left" : {
694 "type" : "hexstr",
695 "value" : "0x01"
696 },
697 "right" : {
698 "type" : "hexstr",
699 "value" : "0x00"
700 },
701 "cond" : {
702 "type" : "expression",
703 "value" : {
704 "op" : "==",
705 "left" : {
706 "type" : "expression",
707 "value" : {
708 "op" : "&",
709 "left" : {
710 "type" : "field",
711 "value" : ["ipv4", "dscp"]
712 },
713 "right" : {
714 "type" : "hexstr",
715 "value" : "0x01"
716 }
717 }
718 },
719 "right" : {
720 "type" : "hexstr",
721 "value" : "0x01"
722 }
723 }
724 }
725 }
726 }
727 }
728 ],
729 "op" : "set"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800730 }
731 ],
732 "transitions" : [
733 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700734 "type" : "hexstr",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800735 "value" : "0x01",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800736 "mask" : null,
737 "next_state" : "parse_intl4_shim"
738 },
739 {
740 "value" : "default",
741 "mask" : null,
742 "next_state" : null
743 }
744 ],
745 "transition_key" : [
746 {
747 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800748 "value" : ["scalars", "tmp_0"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800749 }
750 ]
751 },
752 {
753 "name" : "parse_intl4_shim",
754 "id" : 6,
755 "parser_ops" : [
756 {
757 "parameters" : [
758 {
759 "type" : "regular",
760 "value" : "intl4_shim"
761 }
762 ],
763 "op" : "extract"
764 },
765 {
766 "parameters" : [
767 {
768 "type" : "regular",
769 "value" : "int_header"
770 }
771 ],
772 "op" : "extract"
773 },
774 {
775 "parameters" : [
776 {
777 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700778 "value" : ["userMetadata.int_meta", "metadata_len"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800779 },
780 {
781 "type" : "expression",
782 "value" : {
783 "type" : "expression",
784 "value" : {
785 "op" : "&",
786 "left" : {
787 "type" : "expression",
788 "value" : {
789 "op" : "+",
790 "left" : {
791 "type" : "field",
792 "value" : ["intl4_shim", "len"]
793 },
794 "right" : {
795 "type" : "hexstr",
796 "value" : "0xfc"
797 }
798 }
799 },
800 "right" : {
801 "type" : "hexstr",
802 "value" : "0xff"
803 }
804 }
805 }
806 }
807 ],
808 "op" : "set"
809 }
810 ],
811 "transitions" : [
812 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700813 "type" : "hexstr",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800814 "value" : "0x00",
815 "mask" : null,
816 "next_state" : "parse_intl4_tail"
817 },
818 {
819 "value" : "default",
820 "mask" : null,
821 "next_state" : "parse_int_data"
822 }
823 ],
824 "transition_key" : [
825 {
826 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700827 "value" : ["userMetadata.int_meta", "metadata_len"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800828 }
829 ]
830 },
831 {
832 "name" : "parse_int_data",
833 "id" : 7,
834 "parser_ops" : [
835 {
836 "parameters" : [
837 {
838 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800839 "value" : ["scalars", "tmp_1"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800840 },
841 {
842 "type" : "expression",
843 "value" : {
844 "type" : "expression",
845 "value" : {
846 "op" : "&",
847 "left" : {
848 "type" : "expression",
849 "value" : {
850 "op" : "&",
851 "left" : {
852 "type" : "expression",
853 "value" : {
854 "op" : "<<",
855 "left" : {
856 "type" : "expression",
857 "value" : {
858 "op" : "&",
859 "left" : {
860 "type" : "expression",
861 "value" : {
862 "op" : "+",
863 "left" : {
864 "type" : "field",
865 "value" : ["intl4_shim", "len"]
866 },
867 "right" : {
868 "type" : "hexstr",
869 "value" : "0xfc"
870 }
871 }
872 },
873 "right" : {
874 "type" : "hexstr",
875 "value" : "0xff"
876 }
877 }
878 },
879 "right" : {
880 "type" : "hexstr",
881 "value" : "0x5"
882 }
883 }
884 },
885 "right" : {
886 "type" : "hexstr",
887 "value" : "0xff"
888 }
889 }
890 },
891 "right" : {
892 "type" : "hexstr",
893 "value" : "0xffffffff"
894 }
895 }
896 }
897 }
898 ],
899 "op" : "set"
900 },
901 {
902 "parameters" : [
903 {
904 "type" : "regular",
905 "value" : "int_data"
906 },
907 {
908 "type" : "expression",
909 "value" : {
910 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800911 "value" : ["scalars", "tmp_1"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800912 }
913 }
914 ],
915 "op" : "extract_VL"
916 }
917 ],
918 "transitions" : [
919 {
920 "value" : "default",
921 "mask" : null,
922 "next_state" : "parse_intl4_tail"
923 }
924 ],
925 "transition_key" : []
926 },
927 {
928 "name" : "parse_intl4_tail",
929 "id" : 8,
930 "parser_ops" : [
931 {
932 "parameters" : [
933 {
934 "type" : "regular",
935 "value" : "intl4_tail"
936 }
937 ],
938 "op" : "extract"
939 }
940 ],
941 "transitions" : [
942 {
943 "value" : "default",
944 "mask" : null,
945 "next_state" : null
946 }
947 ],
948 "transition_key" : []
949 }
950 ]
951 }
952 ],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700953 "parse_vsets" : [],
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800954 "deparsers" : [
955 {
956 "name" : "deparser",
957 "id" : 0,
958 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700959 "filename" : "include/int_parser.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800960 "line" : 104,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800961 "column" : 8,
962 "source_fragment" : "int_deparser"
963 },
964 "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"]
965 }
966 ],
967 "meter_arrays" : [],
968 "counter_arrays" : [
969 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700970 "name" : "ingress.port_counters_ingress.ingress_port_counter",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800971 "id" : 0,
972 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700973 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800974 "line" : 26,
975 "column" : 38,
976 "source_fragment" : "ingress_port_counter"
977 },
978 "size" : 511,
979 "is_direct" : false
980 },
981 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700982 "name" : "ingress.table0_control.table0_counter",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800983 "id" : 1,
984 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700985 "binding" : "ingress.table0_control.table0"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800986 },
987 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700988 "name" : "egress.process_set_source_sink.counter_set_source",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800989 "id" : 2,
990 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700991 "binding" : "egress.process_set_source_sink.tb_set_source"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800992 },
993 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700994 "name" : "egress.process_set_source_sink.counter_set_sink",
Jonghwan Hyun8be03392017-12-04 15:48:44 -0800995 "id" : 3,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800996 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -0700997 "binding" : "egress.process_set_source_sink.tb_set_sink"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -0800998 },
999 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001000 "name" : "egress.process_int_source.counter_int_source",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001001 "id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001002 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001003 "binding" : "egress.process_int_source.tb_int_source"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001004 },
1005 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001006 "name" : "egress.process_int_transit.counter_int_insert",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001007 "id" : 5,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001008 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001009 "binding" : "egress.process_int_transit.tb_int_insert"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001010 },
1011 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001012 "name" : "egress.process_int_transit.counter_int_inst_0003",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001013 "id" : 6,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001014 "is_direct" : true,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001015 "binding" : "egress.process_int_transit.tb_int_inst_0003"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001016 },
1017 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001018 "name" : "egress.process_int_transit.counter_int_inst_0407",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001019 "id" : 7,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001020 "is_direct" : true,
1021 "binding" : "egress.process_int_transit.tb_int_inst_0407"
1022 },
1023 {
1024 "name" : "egress.port_counters_egress.egress_port_counter",
1025 "id" : 8,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001026 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001027 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001028 "line" : 36,
1029 "column" : 38,
1030 "source_fragment" : "egress_port_counter"
1031 },
1032 "size" : 511,
1033 "is_direct" : false
1034 }
1035 ],
1036 "register_arrays" : [],
1037 "calculations" : [],
1038 "learn_lists" : [],
1039 "actions" : [
1040 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001041 "name" : "_drop",
Keesjan Karsten23368892018-05-22 10:46:01 +00001042 "id" : 0,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001043 "runtime_data" : [],
1044 "primitives" : [
1045 {
1046 "op" : "drop",
1047 "parameters" : [],
1048 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001049 "filename" : "include/actions.p4",
Keesjan Karsten23368892018-05-22 10:46:01 +00001050 "line" : 24,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001051 "column" : 4,
1052 "source_fragment" : "mark_to_drop()"
1053 }
1054 }
1055 ]
1056 },
1057 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001058 "name" : "ingress.table0_control.set_next_hop_id",
Keesjan Karsten23368892018-05-22 10:46:01 +00001059 "id" : 1,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001060 "runtime_data" : [
1061 {
1062 "name" : "next_hop_id",
1063 "bitwidth" : 16
1064 }
1065 ],
1066 "primitives" : [
1067 {
1068 "op" : "assign",
1069 "parameters" : [
1070 {
1071 "type" : "field",
1072 "value" : ["scalars", "local_metadata_t.next_hop_id"]
1073 },
1074 {
1075 "type" : "runtime_data",
1076 "value" : 0
1077 }
1078 ],
1079 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001080 "filename" : "include/table0.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001081 "line" : 30,
1082 "column" : 8,
1083 "source_fragment" : "local_metadata.next_hop_id = next_hop_id"
1084 }
1085 }
1086 ]
1087 },
1088 {
Keesjan Karsten23368892018-05-22 10:46:01 +00001089 "name" : "ingress.table0_control.send_to_cpu",
1090 "id" : 2,
1091 "runtime_data" : [],
1092 "primitives" : [
1093 {
1094 "op" : "assign",
1095 "parameters" : [
1096 {
1097 "type" : "field",
1098 "value" : ["standard_metadata", "egress_spec"]
1099 },
1100 {
1101 "type" : "hexstr",
1102 "value" : "0x00ff"
1103 }
1104 ],
1105 "source_info" : {
1106 "filename" : "include/defines.p4",
1107 "line" : 28,
1108 "column" : 24,
1109 "source_fragment" : "255; ..."
1110 }
1111 }
1112 ]
1113 },
1114 {
1115 "name" : "ingress.table0_control.set_egress_port",
1116 "id" : 3,
1117 "runtime_data" : [
1118 {
1119 "name" : "port",
1120 "bitwidth" : 9
1121 }
1122 ],
1123 "primitives" : [
1124 {
1125 "op" : "assign",
1126 "parameters" : [
1127 {
1128 "type" : "field",
1129 "value" : ["standard_metadata", "egress_spec"]
1130 },
1131 {
1132 "type" : "runtime_data",
1133 "value" : 0
1134 }
1135 ],
1136 "source_info" : {
1137 "filename" : "include/table0.p4",
1138 "line" : 38,
1139 "column" : 8,
1140 "source_fragment" : "standard_metadata.egress_spec = port"
1141 }
1142 }
1143 ]
1144 },
1145 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001146 "name" : "act",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001147 "id" : 4,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001148 "runtime_data" : [],
1149 "primitives" : [
1150 {
1151 "op" : "assign",
1152 "parameters" : [
1153 {
1154 "type" : "field",
1155 "value" : ["standard_metadata", "egress_spec"]
1156 },
1157 {
1158 "type" : "field",
1159 "value" : ["packet_out", "egress_port"]
1160 }
1161 ],
1162 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001163 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001164 "line" : 27,
1165 "column" : 12,
1166 "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
1167 }
1168 },
1169 {
1170 "op" : "remove_header",
1171 "parameters" : [
1172 {
1173 "type" : "header",
1174 "value" : "packet_out"
1175 }
1176 ],
1177 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001178 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001179 "line" : 28,
1180 "column" : 12,
1181 "source_fragment" : "hdr.packet_out.setInvalid()"
1182 }
1183 }
1184 ]
1185 },
1186 {
1187 "name" : "act_0",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001188 "id" : 5,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001189 "runtime_data" : [],
1190 "primitives" : [
1191 {
1192 "op" : "assign",
1193 "parameters" : [
1194 {
1195 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001196 "value" : ["scalars", "tmp_2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001197 },
1198 {
1199 "type" : "expression",
1200 "value" : {
1201 "type" : "expression",
1202 "value" : {
1203 "op" : "&",
1204 "left" : {
1205 "type" : "field",
1206 "value" : ["standard_metadata", "ingress_port"]
1207 },
1208 "right" : {
1209 "type" : "hexstr",
1210 "value" : "0xffffffff"
1211 }
1212 }
1213 }
1214 }
1215 ]
1216 },
1217 {
1218 "op" : "count",
1219 "parameters" : [
1220 {
1221 "type" : "counter_array",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001222 "value" : "ingress.port_counters_ingress.ingress_port_counter"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001223 },
1224 {
1225 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001226 "value" : ["scalars", "tmp_2"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001227 }
1228 ],
1229 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001230 "filename" : "include/port_counters.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001231 "line" : 29,
1232 "column" : 8,
1233 "source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)"
1234 }
1235 }
1236 ]
1237 },
1238 {
1239 "name" : "NoAction",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001240 "id" : 6,
1241 "runtime_data" : [],
1242 "primitives" : []
1243 },
1244 {
1245 "name" : "NoAction",
1246 "id" : 7,
1247 "runtime_data" : [],
1248 "primitives" : []
1249 },
1250 {
1251 "name" : "NoAction",
1252 "id" : 8,
1253 "runtime_data" : [],
1254 "primitives" : []
1255 },
1256 {
1257 "name" : "NoAction",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001258 "id" : 9,
1259 "runtime_data" : [],
1260 "primitives" : []
1261 },
1262 {
1263 "name" : "NoAction",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001264 "id" : 10,
1265 "runtime_data" : [],
1266 "primitives" : []
1267 },
1268 {
1269 "name" : "NoAction",
1270 "id" : 11,
1271 "runtime_data" : [],
1272 "primitives" : []
1273 },
1274 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001275 "name" : "egress.process_set_source_sink.int_set_source",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001276 "id" : 12,
1277 "runtime_data" : [],
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001278 "primitives" : [
1279 {
1280 "op" : "assign",
1281 "parameters" : [
1282 {
1283 "type" : "field",
1284 "value" : ["userMetadata.int_meta", "source"]
1285 },
1286 {
1287 "type" : "hexstr",
1288 "value" : "0x01"
1289 }
1290 ],
1291 "source_info" : {
1292 "filename" : "include/int_source.p4",
1293 "line" : 94,
1294 "column" : 8,
1295 "source_fragment" : "local_metadata.int_meta.source = 1"
1296 }
1297 }
1298 ]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001299 },
1300 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001301 "name" : "egress.process_set_source_sink.int_set_sink",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001302 "id" : 13,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001303 "runtime_data" : [],
1304 "primitives" : [
1305 {
1306 "op" : "assign",
1307 "parameters" : [
1308 {
1309 "type" : "field",
1310 "value" : ["userMetadata.int_meta", "sink"]
1311 },
1312 {
1313 "type" : "hexstr",
1314 "value" : "0x01"
1315 }
1316 ],
1317 "source_info" : {
1318 "filename" : "include/int_source.p4",
1319 "line" : 98,
1320 "column" : 8,
1321 "source_fragment" : "local_metadata.int_meta.sink = 1"
1322 }
1323 }
1324 ]
1325 },
1326 {
1327 "name" : "egress.process_int_source.int_source_dscp",
1328 "id" : 14,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001329 "runtime_data" : [
1330 {
1331 "name" : "max_hop",
1332 "bitwidth" : 8
1333 },
1334 {
1335 "name" : "ins_cnt",
1336 "bitwidth" : 5
1337 },
1338 {
1339 "name" : "ins_mask0003",
1340 "bitwidth" : 4
1341 },
1342 {
1343 "name" : "ins_mask0407",
1344 "bitwidth" : 4
1345 }
1346 ],
1347 "primitives" : [
1348 {
1349 "op" : "add_header",
1350 "parameters" : [
1351 {
1352 "type" : "header",
1353 "value" : "intl4_shim"
1354 }
1355 ],
1356 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001357 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001358 "line" : 31,
1359 "column" : 8,
1360 "source_fragment" : "hdr.intl4_shim.setValid()"
1361 }
1362 },
1363 {
1364 "op" : "assign",
1365 "parameters" : [
1366 {
1367 "type" : "field",
1368 "value" : ["intl4_shim", "int_type"]
1369 },
1370 {
1371 "type" : "hexstr",
1372 "value" : "0x01"
1373 }
1374 ],
1375 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001376 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001377 "line" : 33,
1378 "column" : 8,
1379 "source_fragment" : "hdr.intl4_shim.int_type = 1"
1380 }
1381 },
1382 {
1383 "op" : "assign",
1384 "parameters" : [
1385 {
1386 "type" : "field",
1387 "value" : ["intl4_shim", "len"]
1388 },
1389 {
1390 "type" : "hexstr",
1391 "value" : "0x04"
1392 }
1393 ],
1394 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001395 "filename" : "include/int_definitions.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001396 "line" : 29,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001397 "column" : 35,
1398 "source_fragment" : "4; ..."
1399 }
1400 },
1401 {
1402 "op" : "add_header",
1403 "parameters" : [
1404 {
1405 "type" : "header",
1406 "value" : "int_header"
1407 }
1408 ],
1409 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001410 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001411 "line" : 37,
1412 "column" : 8,
1413 "source_fragment" : "hdr.int_header.setValid()"
1414 }
1415 },
1416 {
1417 "op" : "assign",
1418 "parameters" : [
1419 {
1420 "type" : "field",
1421 "value" : ["int_header", "ver"]
1422 },
1423 {
1424 "type" : "hexstr",
1425 "value" : "0x00"
1426 }
1427 ],
1428 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001429 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001430 "line" : 38,
1431 "column" : 8,
1432 "source_fragment" : "hdr.int_header.ver = 0"
1433 }
1434 },
1435 {
1436 "op" : "assign",
1437 "parameters" : [
1438 {
1439 "type" : "field",
1440 "value" : ["int_header", "rep"]
1441 },
1442 {
1443 "type" : "hexstr",
1444 "value" : "0x00"
1445 }
1446 ],
1447 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001448 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001449 "line" : 39,
1450 "column" : 8,
1451 "source_fragment" : "hdr.int_header.rep = 0"
1452 }
1453 },
1454 {
1455 "op" : "assign",
1456 "parameters" : [
1457 {
1458 "type" : "field",
1459 "value" : ["int_header", "c"]
1460 },
1461 {
1462 "type" : "hexstr",
1463 "value" : "0x00"
1464 }
1465 ],
1466 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001467 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001468 "line" : 40,
1469 "column" : 8,
1470 "source_fragment" : "hdr.int_header.c = 0"
1471 }
1472 },
1473 {
1474 "op" : "assign",
1475 "parameters" : [
1476 {
1477 "type" : "field",
1478 "value" : ["int_header", "e"]
1479 },
1480 {
1481 "type" : "hexstr",
1482 "value" : "0x00"
1483 }
1484 ],
1485 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001486 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001487 "line" : 41,
1488 "column" : 8,
1489 "source_fragment" : "hdr.int_header.e = 0"
1490 }
1491 },
1492 {
1493 "op" : "assign",
1494 "parameters" : [
1495 {
1496 "type" : "field",
1497 "value" : ["int_header", "rsvd1"]
1498 },
1499 {
1500 "type" : "hexstr",
1501 "value" : "0x00"
1502 }
1503 ],
1504 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001505 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001506 "line" : 42,
1507 "column" : 8,
1508 "source_fragment" : "hdr.int_header.rsvd1 = 0"
1509 }
1510 },
1511 {
1512 "op" : "assign",
1513 "parameters" : [
1514 {
1515 "type" : "field",
1516 "value" : ["int_header", "ins_cnt"]
1517 },
1518 {
1519 "type" : "runtime_data",
1520 "value" : 1
1521 }
1522 ],
1523 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001524 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001525 "line" : 43,
1526 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001527 "source_fragment" : "hdr.int_header.ins_cnt = ins_cnt; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001528 }
1529 },
1530 {
1531 "op" : "assign",
1532 "parameters" : [
1533 {
1534 "type" : "field",
1535 "value" : ["int_header", "max_hop_cnt"]
1536 },
1537 {
1538 "type" : "runtime_data",
1539 "value" : 0
1540 }
1541 ],
1542 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001543 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001544 "line" : 44,
1545 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001546 "source_fragment" : "hdr.int_header.max_hop_cnt = max_hop; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001547 }
1548 },
1549 {
1550 "op" : "assign",
1551 "parameters" : [
1552 {
1553 "type" : "field",
1554 "value" : ["int_header", "total_hop_cnt"]
1555 },
1556 {
1557 "type" : "hexstr",
1558 "value" : "0x00"
1559 }
1560 ],
1561 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001562 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001563 "line" : 45,
1564 "column" : 8,
1565 "source_fragment" : "hdr.int_header.total_hop_cnt = 0"
1566 }
1567 },
1568 {
1569 "op" : "assign",
1570 "parameters" : [
1571 {
1572 "type" : "field",
1573 "value" : ["int_header", "instruction_mask_0003"]
1574 },
1575 {
1576 "type" : "runtime_data",
1577 "value" : 2
1578 }
1579 ],
1580 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001581 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001582 "line" : 46,
1583 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001584 "source_fragment" : "hdr.int_header.instruction_mask_0003 = ins_mask0003; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001585 }
1586 },
1587 {
1588 "op" : "assign",
1589 "parameters" : [
1590 {
1591 "type" : "field",
1592 "value" : ["int_header", "instruction_mask_0407"]
1593 },
1594 {
1595 "type" : "runtime_data",
1596 "value" : 3
1597 }
1598 ],
1599 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001600 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001601 "line" : 47,
1602 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001603 "source_fragment" : "hdr.int_header.instruction_mask_0407 = ins_mask0407; ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001604 }
1605 },
1606 {
1607 "op" : "assign",
1608 "parameters" : [
1609 {
1610 "type" : "field",
1611 "value" : ["int_header", "instruction_mask_0811"]
1612 },
1613 {
1614 "type" : "hexstr",
1615 "value" : "0x00"
1616 }
1617 ],
1618 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001619 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001620 "line" : 48,
1621 "column" : 8,
1622 "source_fragment" : "hdr.int_header.instruction_mask_0811 = 0"
1623 }
1624 },
1625 {
1626 "op" : "assign",
1627 "parameters" : [
1628 {
1629 "type" : "field",
1630 "value" : ["int_header", "instruction_mask_1215"]
1631 },
1632 {
1633 "type" : "hexstr",
1634 "value" : "0x00"
1635 }
1636 ],
1637 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001638 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001639 "line" : 49,
1640 "column" : 8,
1641 "source_fragment" : "hdr.int_header.instruction_mask_1215 = 0"
1642 }
1643 },
1644 {
1645 "op" : "add_header",
1646 "parameters" : [
1647 {
1648 "type" : "header",
1649 "value" : "intl4_tail"
1650 }
1651 ],
1652 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001653 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001654 "line" : 52,
1655 "column" : 8,
1656 "source_fragment" : "hdr.intl4_tail.setValid()"
1657 }
1658 },
1659 {
1660 "op" : "assign",
1661 "parameters" : [
1662 {
1663 "type" : "field",
1664 "value" : ["intl4_tail", "next_proto"]
1665 },
1666 {
1667 "type" : "field",
1668 "value" : ["ipv4", "protocol"]
1669 }
1670 ],
1671 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001672 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001673 "line" : 53,
1674 "column" : 8,
1675 "source_fragment" : "hdr.intl4_tail.next_proto = hdr.ipv4.protocol"
1676 }
1677 },
1678 {
1679 "op" : "assign",
1680 "parameters" : [
1681 {
1682 "type" : "field",
1683 "value" : ["intl4_tail", "dest_port"]
1684 },
1685 {
1686 "type" : "field",
1687 "value" : ["scalars", "local_metadata_t.l4_dst_port"]
1688 }
1689 ],
1690 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001691 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001692 "line" : 54,
1693 "column" : 8,
1694 "source_fragment" : "hdr.intl4_tail.dest_port = local_metadata.l4_dst_port"
1695 }
1696 },
1697 {
1698 "op" : "assign",
1699 "parameters" : [
1700 {
1701 "type" : "field",
1702 "value" : ["intl4_tail", "dscp"]
1703 },
1704 {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001705 "type" : "expression",
1706 "value" : {
1707 "type" : "expression",
1708 "value" : {
1709 "op" : "&",
1710 "left" : {
1711 "type" : "field",
1712 "value" : ["ipv4", "dscp"]
1713 },
1714 "right" : {
1715 "type" : "hexstr",
1716 "value" : "0xff"
1717 }
1718 }
1719 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001720 }
1721 ],
1722 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001723 "filename" : "include/int_source.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001724 "line" : 55,
1725 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001726 "source_fragment" : "hdr.intl4_tail.dscp = (bit<8>) hdr.ipv4.dscp"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001727 }
1728 },
1729 {
1730 "op" : "assign",
1731 "parameters" : [
1732 {
1733 "type" : "field",
1734 "value" : ["ipv4", "len"]
1735 },
1736 {
1737 "type" : "expression",
1738 "value" : {
1739 "type" : "expression",
1740 "value" : {
1741 "op" : "&",
1742 "left" : {
1743 "type" : "expression",
1744 "value" : {
1745 "op" : "+",
1746 "left" : {
1747 "type" : "field",
1748 "value" : ["ipv4", "len"]
1749 },
1750 "right" : {
1751 "type" : "hexstr",
1752 "value" : "0x0010"
1753 }
1754 }
1755 },
1756 "right" : {
1757 "type" : "hexstr",
1758 "value" : "0xffff"
1759 }
1760 }
1761 }
1762 }
1763 ],
1764 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001765 "filename" : "include/int_source.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001766 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001767 "column" : 8,
1768 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + 16"
1769 }
1770 },
1771 {
1772 "op" : "assign",
1773 "parameters" : [
1774 {
1775 "type" : "field",
1776 "value" : ["udp", "length_"]
1777 },
1778 {
1779 "type" : "expression",
1780 "value" : {
1781 "type" : "expression",
1782 "value" : {
1783 "op" : "&",
1784 "left" : {
1785 "type" : "expression",
1786 "value" : {
1787 "op" : "+",
1788 "left" : {
1789 "type" : "field",
1790 "value" : ["udp", "length_"]
1791 },
1792 "right" : {
1793 "type" : "hexstr",
1794 "value" : "0x0010"
1795 }
1796 }
1797 },
1798 "right" : {
1799 "type" : "hexstr",
1800 "value" : "0xffff"
1801 }
1802 }
1803 }
1804 }
1805 ],
1806 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001807 "filename" : "include/int_source.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001808 "line" : 59,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001809 "column" : 8,
1810 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + 16"
1811 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001812 },
1813 {
1814 "op" : "assign",
1815 "parameters" : [
1816 {
1817 "type" : "field",
1818 "value" : ["ipv4", "dscp"]
1819 },
1820 {
1821 "type" : "hexstr",
1822 "value" : "0x01"
1823 }
1824 ],
1825 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001826 "filename" : "include/int_definitions.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001827 "line" : 24,
1828 "column" : 24,
1829 "source_fragment" : "0x1; ..."
1830 }
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001831 }
1832 ]
1833 },
1834 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001835 "name" : "egress.process_int_transit.int_update_total_hop_cnt",
1836 "id" : 15,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001837 "runtime_data" : [],
1838 "primitives" : [
1839 {
1840 "op" : "assign",
1841 "parameters" : [
1842 {
1843 "type" : "field",
1844 "value" : ["int_header", "total_hop_cnt"]
1845 },
1846 {
1847 "type" : "expression",
1848 "value" : {
1849 "type" : "expression",
1850 "value" : {
1851 "op" : "&",
1852 "left" : {
1853 "type" : "expression",
1854 "value" : {
1855 "op" : "+",
1856 "left" : {
1857 "type" : "field",
1858 "value" : ["int_header", "total_hop_cnt"]
1859 },
1860 "right" : {
1861 "type" : "hexstr",
1862 "value" : "0x01"
1863 }
1864 }
1865 },
1866 "right" : {
1867 "type" : "hexstr",
1868 "value" : "0xff"
1869 }
1870 }
1871 }
1872 }
1873 ],
1874 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001875 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001876 "line" : 30,
1877 "column" : 8,
1878 "source_fragment" : "hdr.int_header.total_hop_cnt = hdr.int_header.total_hop_cnt + 1"
1879 }
1880 }
1881 ]
1882 },
1883 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001884 "name" : "egress.process_int_transit.int_transit",
1885 "id" : 16,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001886 "runtime_data" : [
1887 {
1888 "name" : "switch_id",
1889 "bitwidth" : 32
1890 }
1891 ],
1892 "primitives" : [
1893 {
1894 "op" : "assign",
1895 "parameters" : [
1896 {
1897 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001898 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001899 },
1900 {
1901 "type" : "runtime_data",
1902 "value" : 0
1903 }
1904 ],
1905 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001906 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001907 "line" : 34,
1908 "column" : 8,
1909 "source_fragment" : "local_metadata.int_meta.switch_id = switch_id"
1910 }
1911 },
1912 {
1913 "op" : "assign",
1914 "parameters" : [
1915 {
1916 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001917 "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001918 },
1919 {
1920 "type" : "expression",
1921 "value" : {
1922 "type" : "expression",
1923 "value" : {
1924 "op" : "&",
1925 "left" : {
1926 "type" : "expression",
1927 "value" : {
1928 "op" : "<<",
1929 "left" : {
1930 "type" : "expression",
1931 "value" : {
1932 "op" : "&",
1933 "left" : {
1934 "type" : "field",
1935 "value" : ["int_header", "ins_cnt"]
1936 },
1937 "right" : {
1938 "type" : "hexstr",
1939 "value" : "0xffff"
1940 }
1941 }
1942 },
1943 "right" : {
1944 "type" : "hexstr",
1945 "value" : "0x2"
1946 }
1947 }
1948 },
1949 "right" : {
1950 "type" : "hexstr",
1951 "value" : "0xffff"
1952 }
1953 }
1954 }
1955 }
1956 ],
1957 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001958 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001959 "line" : 35,
1960 "column" : 8,
1961 "source_fragment" : "local_metadata.int_meta.insert_byte_cnt = (bit<16>) hdr.int_header.ins_cnt << 2"
1962 }
1963 }
1964 ]
1965 },
1966 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001967 "name" : "egress.process_int_transit.int_set_header_0003_i0",
1968 "id" : 17,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001969 "runtime_data" : [],
1970 "primitives" : []
1971 },
1972 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001973 "name" : "egress.process_int_transit.int_set_header_0003_i1",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08001974 "id" : 18,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001975 "runtime_data" : [],
1976 "primitives" : [
1977 {
1978 "op" : "add_header",
1979 "parameters" : [
1980 {
1981 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001982 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001983 }
1984 ],
1985 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001986 "filename" : "include/int_transit.p4",
1987 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001988 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001989 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001990 }
1991 },
1992 {
1993 "op" : "assign",
1994 "parameters" : [
1995 {
1996 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07001997 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001998 },
1999 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002000 "type" : "hexstr",
2001 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002002 }
2003 ],
2004 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002005 "filename" : "include/int_transit.p4",
2006 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002007 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002008 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2009 }
2010 },
2011 {
2012 "op" : "assign",
2013 "parameters" : [
2014 {
2015 "type" : "field",
2016 "value" : ["int_q_occupancy", "q_occupancy"]
2017 },
2018 {
2019 "type" : "expression",
2020 "value" : {
2021 "type" : "expression",
2022 "value" : {
2023 "op" : "&",
2024 "left" : {
2025 "type" : "field",
2026 "value" : ["standard_metadata", "deq_qdepth"]
2027 },
2028 "right" : {
2029 "type" : "hexstr",
2030 "value" : "0xffffff"
2031 }
2032 }
2033 }
2034 }
2035 ],
2036 "source_info" : {
2037 "filename" : "include/int_transit.p4",
2038 "line" : 61,
2039 "column" : 8,
2040 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002041 }
2042 }
2043 ]
2044 },
2045 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002046 "name" : "egress.process_int_transit.int_set_header_0003_i2",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002047 "id" : 19,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002048 "runtime_data" : [],
2049 "primitives" : [
2050 {
2051 "op" : "add_header",
2052 "parameters" : [
2053 {
2054 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002055 "value" : "int_hop_latency"
2056 }
2057 ],
2058 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002059 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002060 "line" : 51,
2061 "column" : 8,
2062 "source_fragment" : "hdr.int_hop_latency.setValid()"
2063 }
2064 },
2065 {
2066 "op" : "assign",
2067 "parameters" : [
2068 {
2069 "type" : "field",
2070 "value" : ["int_hop_latency", "hop_latency"]
2071 },
2072 {
2073 "type" : "field",
2074 "value" : ["standard_metadata", "deq_timedelta"]
2075 }
2076 ],
2077 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002078 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002079 "line" : 52,
2080 "column" : 8,
2081 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2082 }
2083 }
2084 ]
2085 },
2086 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002087 "name" : "egress.process_int_transit.int_set_header_0003_i3",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002088 "id" : 20,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002089 "runtime_data" : [],
2090 "primitives" : [
2091 {
2092 "op" : "add_header",
2093 "parameters" : [
2094 {
2095 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002096 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002097 }
2098 ],
2099 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002100 "filename" : "include/int_transit.p4",
2101 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002102 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002103 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002104 }
2105 },
2106 {
2107 "op" : "assign",
2108 "parameters" : [
2109 {
2110 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002111 "value" : ["int_q_occupancy", "q_id"]
2112 },
2113 {
2114 "type" : "hexstr",
2115 "value" : "0x00"
2116 }
2117 ],
2118 "source_info" : {
2119 "filename" : "include/int_transit.p4",
2120 "line" : 58,
2121 "column" : 8,
2122 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2123 }
2124 },
2125 {
2126 "op" : "assign",
2127 "parameters" : [
2128 {
2129 "type" : "field",
2130 "value" : ["int_q_occupancy", "q_occupancy"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002131 },
2132 {
2133 "type" : "expression",
2134 "value" : {
2135 "type" : "expression",
2136 "value" : {
2137 "op" : "&",
2138 "left" : {
2139 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002140 "value" : ["standard_metadata", "deq_qdepth"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002141 },
2142 "right" : {
2143 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002144 "value" : "0xffffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002145 }
2146 }
2147 }
2148 }
2149 ],
2150 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002151 "filename" : "include/int_transit.p4",
2152 "line" : 61,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002153 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002154 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
2155 }
2156 },
2157 {
2158 "op" : "add_header",
2159 "parameters" : [
2160 {
2161 "type" : "header",
2162 "value" : "int_hop_latency"
2163 }
2164 ],
2165 "source_info" : {
2166 "filename" : "include/int_transit.p4",
2167 "line" : 51,
2168 "column" : 8,
2169 "source_fragment" : "hdr.int_hop_latency.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002170 }
2171 },
2172 {
2173 "op" : "assign",
2174 "parameters" : [
2175 {
2176 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002177 "value" : ["int_hop_latency", "hop_latency"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002178 },
2179 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002180 "type" : "field",
2181 "value" : ["standard_metadata", "deq_timedelta"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002182 }
2183 ],
2184 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002185 "filename" : "include/int_transit.p4",
2186 "line" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002187 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002188 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002189 }
2190 }
2191 ]
2192 },
2193 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002194 "name" : "egress.process_int_transit.int_set_header_0003_i4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002195 "id" : 21,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002196 "runtime_data" : [],
2197 "primitives" : [
2198 {
2199 "op" : "add_header",
2200 "parameters" : [
2201 {
2202 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002203 "value" : "int_port_ids"
2204 }
2205 ],
2206 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002207 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002208 "line" : 44,
2209 "column" : 8,
2210 "source_fragment" : "hdr.int_port_ids.setValid()"
2211 }
2212 },
2213 {
2214 "op" : "assign",
2215 "parameters" : [
2216 {
2217 "type" : "field",
2218 "value" : ["int_port_ids", "ingress_port_id"]
2219 },
2220 {
2221 "type" : "expression",
2222 "value" : {
2223 "type" : "expression",
2224 "value" : {
2225 "op" : "&",
2226 "left" : {
2227 "type" : "field",
2228 "value" : ["standard_metadata", "ingress_port"]
2229 },
2230 "right" : {
2231 "type" : "hexstr",
2232 "value" : "0xffff"
2233 }
2234 }
2235 }
2236 }
2237 ],
2238 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002239 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002240 "line" : 45,
2241 "column" : 8,
2242 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2243 }
2244 },
2245 {
2246 "op" : "assign",
2247 "parameters" : [
2248 {
2249 "type" : "field",
2250 "value" : ["int_port_ids", "egress_port_id"]
2251 },
2252 {
2253 "type" : "expression",
2254 "value" : {
2255 "type" : "expression",
2256 "value" : {
2257 "op" : "&",
2258 "left" : {
2259 "type" : "field",
2260 "value" : ["standard_metadata", "egress_port"]
2261 },
2262 "right" : {
2263 "type" : "hexstr",
2264 "value" : "0xffff"
2265 }
2266 }
2267 }
2268 }
2269 ],
2270 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002271 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002272 "line" : 47,
2273 "column" : 8,
2274 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
2275 }
2276 }
2277 ]
2278 },
2279 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002280 "name" : "egress.process_int_transit.int_set_header_0003_i5",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002281 "id" : 22,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002282 "runtime_data" : [],
2283 "primitives" : [
2284 {
2285 "op" : "add_header",
2286 "parameters" : [
2287 {
2288 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002289 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002290 }
2291 ],
2292 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002293 "filename" : "include/int_transit.p4",
2294 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002295 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002296 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002297 }
2298 },
2299 {
2300 "op" : "assign",
2301 "parameters" : [
2302 {
2303 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002304 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002305 },
2306 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002307 "type" : "hexstr",
2308 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002309 }
2310 ],
2311 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002312 "filename" : "include/int_transit.p4",
2313 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002314 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002315 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2316 }
2317 },
2318 {
2319 "op" : "assign",
2320 "parameters" : [
2321 {
2322 "type" : "field",
2323 "value" : ["int_q_occupancy", "q_occupancy"]
2324 },
2325 {
2326 "type" : "expression",
2327 "value" : {
2328 "type" : "expression",
2329 "value" : {
2330 "op" : "&",
2331 "left" : {
2332 "type" : "field",
2333 "value" : ["standard_metadata", "deq_qdepth"]
2334 },
2335 "right" : {
2336 "type" : "hexstr",
2337 "value" : "0xffffff"
2338 }
2339 }
2340 }
2341 }
2342 ],
2343 "source_info" : {
2344 "filename" : "include/int_transit.p4",
2345 "line" : 61,
2346 "column" : 8,
2347 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002348 }
2349 },
2350 {
2351 "op" : "add_header",
2352 "parameters" : [
2353 {
2354 "type" : "header",
2355 "value" : "int_port_ids"
2356 }
2357 ],
2358 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002359 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002360 "line" : 44,
2361 "column" : 8,
2362 "source_fragment" : "hdr.int_port_ids.setValid()"
2363 }
2364 },
2365 {
2366 "op" : "assign",
2367 "parameters" : [
2368 {
2369 "type" : "field",
2370 "value" : ["int_port_ids", "ingress_port_id"]
2371 },
2372 {
2373 "type" : "expression",
2374 "value" : {
2375 "type" : "expression",
2376 "value" : {
2377 "op" : "&",
2378 "left" : {
2379 "type" : "field",
2380 "value" : ["standard_metadata", "ingress_port"]
2381 },
2382 "right" : {
2383 "type" : "hexstr",
2384 "value" : "0xffff"
2385 }
2386 }
2387 }
2388 }
2389 ],
2390 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002391 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002392 "line" : 45,
2393 "column" : 8,
2394 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2395 }
2396 },
2397 {
2398 "op" : "assign",
2399 "parameters" : [
2400 {
2401 "type" : "field",
2402 "value" : ["int_port_ids", "egress_port_id"]
2403 },
2404 {
2405 "type" : "expression",
2406 "value" : {
2407 "type" : "expression",
2408 "value" : {
2409 "op" : "&",
2410 "left" : {
2411 "type" : "field",
2412 "value" : ["standard_metadata", "egress_port"]
2413 },
2414 "right" : {
2415 "type" : "hexstr",
2416 "value" : "0xffff"
2417 }
2418 }
2419 }
2420 }
2421 ],
2422 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002423 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002424 "line" : 47,
2425 "column" : 8,
2426 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
2427 }
2428 }
2429 ]
2430 },
2431 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002432 "name" : "egress.process_int_transit.int_set_header_0003_i6",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002433 "id" : 23,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002434 "runtime_data" : [],
2435 "primitives" : [
2436 {
2437 "op" : "add_header",
2438 "parameters" : [
2439 {
2440 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002441 "value" : "int_hop_latency"
2442 }
2443 ],
2444 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002445 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002446 "line" : 51,
2447 "column" : 8,
2448 "source_fragment" : "hdr.int_hop_latency.setValid()"
2449 }
2450 },
2451 {
2452 "op" : "assign",
2453 "parameters" : [
2454 {
2455 "type" : "field",
2456 "value" : ["int_hop_latency", "hop_latency"]
2457 },
2458 {
2459 "type" : "field",
2460 "value" : ["standard_metadata", "deq_timedelta"]
2461 }
2462 ],
2463 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002464 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002465 "line" : 52,
2466 "column" : 8,
2467 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2468 }
2469 },
2470 {
2471 "op" : "add_header",
2472 "parameters" : [
2473 {
2474 "type" : "header",
2475 "value" : "int_port_ids"
2476 }
2477 ],
2478 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002479 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002480 "line" : 44,
2481 "column" : 8,
2482 "source_fragment" : "hdr.int_port_ids.setValid()"
2483 }
2484 },
2485 {
2486 "op" : "assign",
2487 "parameters" : [
2488 {
2489 "type" : "field",
2490 "value" : ["int_port_ids", "ingress_port_id"]
2491 },
2492 {
2493 "type" : "expression",
2494 "value" : {
2495 "type" : "expression",
2496 "value" : {
2497 "op" : "&",
2498 "left" : {
2499 "type" : "field",
2500 "value" : ["standard_metadata", "ingress_port"]
2501 },
2502 "right" : {
2503 "type" : "hexstr",
2504 "value" : "0xffff"
2505 }
2506 }
2507 }
2508 }
2509 ],
2510 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002511 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002512 "line" : 45,
2513 "column" : 8,
2514 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2515 }
2516 },
2517 {
2518 "op" : "assign",
2519 "parameters" : [
2520 {
2521 "type" : "field",
2522 "value" : ["int_port_ids", "egress_port_id"]
2523 },
2524 {
2525 "type" : "expression",
2526 "value" : {
2527 "type" : "expression",
2528 "value" : {
2529 "op" : "&",
2530 "left" : {
2531 "type" : "field",
2532 "value" : ["standard_metadata", "egress_port"]
2533 },
2534 "right" : {
2535 "type" : "hexstr",
2536 "value" : "0xffff"
2537 }
2538 }
2539 }
2540 }
2541 ],
2542 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002543 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002544 "line" : 47,
2545 "column" : 8,
2546 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
2547 }
2548 }
2549 ]
2550 },
2551 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002552 "name" : "egress.process_int_transit.int_set_header_0003_i7",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002553 "id" : 24,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002554 "runtime_data" : [],
2555 "primitives" : [
2556 {
2557 "op" : "add_header",
2558 "parameters" : [
2559 {
2560 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002561 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002562 }
2563 ],
2564 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002565 "filename" : "include/int_transit.p4",
2566 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002567 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002568 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002569 }
2570 },
2571 {
2572 "op" : "assign",
2573 "parameters" : [
2574 {
2575 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002576 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002577 },
2578 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002579 "type" : "hexstr",
2580 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002581 }
2582 ],
2583 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002584 "filename" : "include/int_transit.p4",
2585 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002586 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002587 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2588 }
2589 },
2590 {
2591 "op" : "assign",
2592 "parameters" : [
2593 {
2594 "type" : "field",
2595 "value" : ["int_q_occupancy", "q_occupancy"]
2596 },
2597 {
2598 "type" : "expression",
2599 "value" : {
2600 "type" : "expression",
2601 "value" : {
2602 "op" : "&",
2603 "left" : {
2604 "type" : "field",
2605 "value" : ["standard_metadata", "deq_qdepth"]
2606 },
2607 "right" : {
2608 "type" : "hexstr",
2609 "value" : "0xffffff"
2610 }
2611 }
2612 }
2613 }
2614 ],
2615 "source_info" : {
2616 "filename" : "include/int_transit.p4",
2617 "line" : 61,
2618 "column" : 8,
2619 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
2620 }
2621 },
2622 {
2623 "op" : "add_header",
2624 "parameters" : [
2625 {
2626 "type" : "header",
2627 "value" : "int_hop_latency"
2628 }
2629 ],
2630 "source_info" : {
2631 "filename" : "include/int_transit.p4",
2632 "line" : 51,
2633 "column" : 8,
2634 "source_fragment" : "hdr.int_hop_latency.setValid()"
2635 }
2636 },
2637 {
2638 "op" : "assign",
2639 "parameters" : [
2640 {
2641 "type" : "field",
2642 "value" : ["int_hop_latency", "hop_latency"]
2643 },
2644 {
2645 "type" : "field",
2646 "value" : ["standard_metadata", "deq_timedelta"]
2647 }
2648 ],
2649 "source_info" : {
2650 "filename" : "include/int_transit.p4",
2651 "line" : 52,
2652 "column" : 8,
2653 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2654 }
2655 },
2656 {
2657 "op" : "add_header",
2658 "parameters" : [
2659 {
2660 "type" : "header",
2661 "value" : "int_port_ids"
2662 }
2663 ],
2664 "source_info" : {
2665 "filename" : "include/int_transit.p4",
2666 "line" : 44,
2667 "column" : 8,
2668 "source_fragment" : "hdr.int_port_ids.setValid()"
2669 }
2670 },
2671 {
2672 "op" : "assign",
2673 "parameters" : [
2674 {
2675 "type" : "field",
2676 "value" : ["int_port_ids", "ingress_port_id"]
2677 },
2678 {
2679 "type" : "expression",
2680 "value" : {
2681 "type" : "expression",
2682 "value" : {
2683 "op" : "&",
2684 "left" : {
2685 "type" : "field",
2686 "value" : ["standard_metadata", "ingress_port"]
2687 },
2688 "right" : {
2689 "type" : "hexstr",
2690 "value" : "0xffff"
2691 }
2692 }
2693 }
2694 }
2695 ],
2696 "source_info" : {
2697 "filename" : "include/int_transit.p4",
2698 "line" : 45,
2699 "column" : 8,
2700 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
2701 }
2702 },
2703 {
2704 "op" : "assign",
2705 "parameters" : [
2706 {
2707 "type" : "field",
2708 "value" : ["int_port_ids", "egress_port_id"]
2709 },
2710 {
2711 "type" : "expression",
2712 "value" : {
2713 "type" : "expression",
2714 "value" : {
2715 "op" : "&",
2716 "left" : {
2717 "type" : "field",
2718 "value" : ["standard_metadata", "egress_port"]
2719 },
2720 "right" : {
2721 "type" : "hexstr",
2722 "value" : "0xffff"
2723 }
2724 }
2725 }
2726 }
2727 ],
2728 "source_info" : {
2729 "filename" : "include/int_transit.p4",
2730 "line" : 47,
2731 "column" : 8,
2732 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002733 }
2734 }
2735 ]
2736 },
2737 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002738 "name" : "egress.process_int_transit.int_set_header_0003_i8",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002739 "id" : 25,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002740 "runtime_data" : [],
2741 "primitives" : [
2742 {
2743 "op" : "add_header",
2744 "parameters" : [
2745 {
2746 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002747 "value" : "int_switch_id"
2748 }
2749 ],
2750 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002751 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002752 "line" : 40,
2753 "column" : 8,
2754 "source_fragment" : "hdr.int_switch_id.setValid()"
2755 }
2756 },
2757 {
2758 "op" : "assign",
2759 "parameters" : [
2760 {
2761 "type" : "field",
2762 "value" : ["int_switch_id", "switch_id"]
2763 },
2764 {
2765 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002766 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002767 }
2768 ],
2769 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002770 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002771 "line" : 41,
2772 "column" : 8,
2773 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
2774 }
2775 }
2776 ]
2777 },
2778 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002779 "name" : "egress.process_int_transit.int_set_header_0003_i9",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002780 "id" : 26,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002781 "runtime_data" : [],
2782 "primitives" : [
2783 {
2784 "op" : "add_header",
2785 "parameters" : [
2786 {
2787 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002788 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002789 }
2790 ],
2791 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002792 "filename" : "include/int_transit.p4",
2793 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002794 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002795 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002796 }
2797 },
2798 {
2799 "op" : "assign",
2800 "parameters" : [
2801 {
2802 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002803 "value" : ["int_q_occupancy", "q_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002804 },
2805 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002806 "type" : "hexstr",
2807 "value" : "0x00"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002808 }
2809 ],
2810 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002811 "filename" : "include/int_transit.p4",
2812 "line" : 58,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002813 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002814 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2815 }
2816 },
2817 {
2818 "op" : "assign",
2819 "parameters" : [
2820 {
2821 "type" : "field",
2822 "value" : ["int_q_occupancy", "q_occupancy"]
2823 },
2824 {
2825 "type" : "expression",
2826 "value" : {
2827 "type" : "expression",
2828 "value" : {
2829 "op" : "&",
2830 "left" : {
2831 "type" : "field",
2832 "value" : ["standard_metadata", "deq_qdepth"]
2833 },
2834 "right" : {
2835 "type" : "hexstr",
2836 "value" : "0xffffff"
2837 }
2838 }
2839 }
2840 }
2841 ],
2842 "source_info" : {
2843 "filename" : "include/int_transit.p4",
2844 "line" : 61,
2845 "column" : 8,
2846 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002847 }
2848 },
2849 {
2850 "op" : "add_header",
2851 "parameters" : [
2852 {
2853 "type" : "header",
2854 "value" : "int_switch_id"
2855 }
2856 ],
2857 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002858 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002859 "line" : 40,
2860 "column" : 8,
2861 "source_fragment" : "hdr.int_switch_id.setValid()"
2862 }
2863 },
2864 {
2865 "op" : "assign",
2866 "parameters" : [
2867 {
2868 "type" : "field",
2869 "value" : ["int_switch_id", "switch_id"]
2870 },
2871 {
2872 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002873 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002874 }
2875 ],
2876 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002877 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002878 "line" : 41,
2879 "column" : 8,
2880 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
2881 }
2882 }
2883 ]
2884 },
2885 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002886 "name" : "egress.process_int_transit.int_set_header_0003_i10",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002887 "id" : 27,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002888 "runtime_data" : [],
2889 "primitives" : [
2890 {
2891 "op" : "add_header",
2892 "parameters" : [
2893 {
2894 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002895 "value" : "int_hop_latency"
2896 }
2897 ],
2898 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002899 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002900 "line" : 51,
2901 "column" : 8,
2902 "source_fragment" : "hdr.int_hop_latency.setValid()"
2903 }
2904 },
2905 {
2906 "op" : "assign",
2907 "parameters" : [
2908 {
2909 "type" : "field",
2910 "value" : ["int_hop_latency", "hop_latency"]
2911 },
2912 {
2913 "type" : "field",
2914 "value" : ["standard_metadata", "deq_timedelta"]
2915 }
2916 ],
2917 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002918 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002919 "line" : 52,
2920 "column" : 8,
2921 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
2922 }
2923 },
2924 {
2925 "op" : "add_header",
2926 "parameters" : [
2927 {
2928 "type" : "header",
2929 "value" : "int_switch_id"
2930 }
2931 ],
2932 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002933 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002934 "line" : 40,
2935 "column" : 8,
2936 "source_fragment" : "hdr.int_switch_id.setValid()"
2937 }
2938 },
2939 {
2940 "op" : "assign",
2941 "parameters" : [
2942 {
2943 "type" : "field",
2944 "value" : ["int_switch_id", "switch_id"]
2945 },
2946 {
2947 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002948 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002949 }
2950 ],
2951 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002952 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002953 "line" : 41,
2954 "column" : 8,
2955 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
2956 }
2957 }
2958 ]
2959 },
2960 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002961 "name" : "egress.process_int_transit.int_set_header_0003_i11",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08002962 "id" : 28,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002963 "runtime_data" : [],
2964 "primitives" : [
2965 {
2966 "op" : "add_header",
2967 "parameters" : [
2968 {
2969 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002970 "value" : "int_q_occupancy"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002971 }
2972 ],
2973 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002974 "filename" : "include/int_transit.p4",
2975 "line" : 57,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002976 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002977 "source_fragment" : "hdr.int_q_occupancy.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08002978 }
2979 },
2980 {
2981 "op" : "assign",
2982 "parameters" : [
2983 {
2984 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07002985 "value" : ["int_q_occupancy", "q_id"]
2986 },
2987 {
2988 "type" : "hexstr",
2989 "value" : "0x00"
2990 }
2991 ],
2992 "source_info" : {
2993 "filename" : "include/int_transit.p4",
2994 "line" : 58,
2995 "column" : 8,
2996 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
2997 }
2998 },
2999 {
3000 "op" : "assign",
3001 "parameters" : [
3002 {
3003 "type" : "field",
3004 "value" : ["int_q_occupancy", "q_occupancy"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003005 },
3006 {
3007 "type" : "expression",
3008 "value" : {
3009 "type" : "expression",
3010 "value" : {
3011 "op" : "&",
3012 "left" : {
3013 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003014 "value" : ["standard_metadata", "deq_qdepth"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003015 },
3016 "right" : {
3017 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003018 "value" : "0xffffff"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003019 }
3020 }
3021 }
3022 }
3023 ],
3024 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003025 "filename" : "include/int_transit.p4",
3026 "line" : 61,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003027 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003028 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3029 }
3030 },
3031 {
3032 "op" : "add_header",
3033 "parameters" : [
3034 {
3035 "type" : "header",
3036 "value" : "int_hop_latency"
3037 }
3038 ],
3039 "source_info" : {
3040 "filename" : "include/int_transit.p4",
3041 "line" : 51,
3042 "column" : 8,
3043 "source_fragment" : "hdr.int_hop_latency.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003044 }
3045 },
3046 {
3047 "op" : "assign",
3048 "parameters" : [
3049 {
3050 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003051 "value" : ["int_hop_latency", "hop_latency"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003052 },
3053 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003054 "type" : "field",
3055 "value" : ["standard_metadata", "deq_timedelta"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003056 }
3057 ],
3058 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003059 "filename" : "include/int_transit.p4",
3060 "line" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003061 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003062 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003063 }
3064 },
3065 {
3066 "op" : "add_header",
3067 "parameters" : [
3068 {
3069 "type" : "header",
3070 "value" : "int_switch_id"
3071 }
3072 ],
3073 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003074 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003075 "line" : 40,
3076 "column" : 8,
3077 "source_fragment" : "hdr.int_switch_id.setValid()"
3078 }
3079 },
3080 {
3081 "op" : "assign",
3082 "parameters" : [
3083 {
3084 "type" : "field",
3085 "value" : ["int_switch_id", "switch_id"]
3086 },
3087 {
3088 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003089 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003090 }
3091 ],
3092 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003093 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003094 "line" : 41,
3095 "column" : 8,
3096 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3097 }
3098 }
3099 ]
3100 },
3101 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003102 "name" : "egress.process_int_transit.int_set_header_0003_i12",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003103 "id" : 29,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003104 "runtime_data" : [],
3105 "primitives" : [
3106 {
3107 "op" : "add_header",
3108 "parameters" : [
3109 {
3110 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003111 "value" : "int_port_ids"
3112 }
3113 ],
3114 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003115 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003116 "line" : 44,
3117 "column" : 8,
3118 "source_fragment" : "hdr.int_port_ids.setValid()"
3119 }
3120 },
3121 {
3122 "op" : "assign",
3123 "parameters" : [
3124 {
3125 "type" : "field",
3126 "value" : ["int_port_ids", "ingress_port_id"]
3127 },
3128 {
3129 "type" : "expression",
3130 "value" : {
3131 "type" : "expression",
3132 "value" : {
3133 "op" : "&",
3134 "left" : {
3135 "type" : "field",
3136 "value" : ["standard_metadata", "ingress_port"]
3137 },
3138 "right" : {
3139 "type" : "hexstr",
3140 "value" : "0xffff"
3141 }
3142 }
3143 }
3144 }
3145 ],
3146 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003147 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003148 "line" : 45,
3149 "column" : 8,
3150 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3151 }
3152 },
3153 {
3154 "op" : "assign",
3155 "parameters" : [
3156 {
3157 "type" : "field",
3158 "value" : ["int_port_ids", "egress_port_id"]
3159 },
3160 {
3161 "type" : "expression",
3162 "value" : {
3163 "type" : "expression",
3164 "value" : {
3165 "op" : "&",
3166 "left" : {
3167 "type" : "field",
3168 "value" : ["standard_metadata", "egress_port"]
3169 },
3170 "right" : {
3171 "type" : "hexstr",
3172 "value" : "0xffff"
3173 }
3174 }
3175 }
3176 }
3177 ],
3178 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003179 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003180 "line" : 47,
3181 "column" : 8,
3182 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3183 }
3184 },
3185 {
3186 "op" : "add_header",
3187 "parameters" : [
3188 {
3189 "type" : "header",
3190 "value" : "int_switch_id"
3191 }
3192 ],
3193 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003194 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003195 "line" : 40,
3196 "column" : 8,
3197 "source_fragment" : "hdr.int_switch_id.setValid()"
3198 }
3199 },
3200 {
3201 "op" : "assign",
3202 "parameters" : [
3203 {
3204 "type" : "field",
3205 "value" : ["int_switch_id", "switch_id"]
3206 },
3207 {
3208 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003209 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003210 }
3211 ],
3212 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003213 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003214 "line" : 41,
3215 "column" : 8,
3216 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3217 }
3218 }
3219 ]
3220 },
3221 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003222 "name" : "egress.process_int_transit.int_set_header_0003_i13",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003223 "id" : 30,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003224 "runtime_data" : [],
3225 "primitives" : [
3226 {
3227 "op" : "add_header",
3228 "parameters" : [
3229 {
3230 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003231 "value" : "int_q_occupancy"
3232 }
3233 ],
3234 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003235 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003236 "line" : 57,
3237 "column" : 8,
3238 "source_fragment" : "hdr.int_q_occupancy.setValid()"
3239 }
3240 },
3241 {
3242 "op" : "assign",
3243 "parameters" : [
3244 {
3245 "type" : "field",
3246 "value" : ["int_q_occupancy", "q_id"]
3247 },
3248 {
3249 "type" : "hexstr",
3250 "value" : "0x00"
3251 }
3252 ],
3253 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003254 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003255 "line" : 58,
3256 "column" : 8,
3257 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
3258 }
3259 },
3260 {
3261 "op" : "assign",
3262 "parameters" : [
3263 {
3264 "type" : "field",
3265 "value" : ["int_q_occupancy", "q_occupancy"]
3266 },
3267 {
3268 "type" : "expression",
3269 "value" : {
3270 "type" : "expression",
3271 "value" : {
3272 "op" : "&",
3273 "left" : {
3274 "type" : "field",
3275 "value" : ["standard_metadata", "deq_qdepth"]
3276 },
3277 "right" : {
3278 "type" : "hexstr",
3279 "value" : "0xffffff"
3280 }
3281 }
3282 }
3283 }
3284 ],
3285 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003286 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003287 "line" : 61,
3288 "column" : 8,
3289 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3290 }
3291 },
3292 {
3293 "op" : "add_header",
3294 "parameters" : [
3295 {
3296 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003297 "value" : "int_port_ids"
3298 }
3299 ],
3300 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003301 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003302 "line" : 44,
3303 "column" : 8,
3304 "source_fragment" : "hdr.int_port_ids.setValid()"
3305 }
3306 },
3307 {
3308 "op" : "assign",
3309 "parameters" : [
3310 {
3311 "type" : "field",
3312 "value" : ["int_port_ids", "ingress_port_id"]
3313 },
3314 {
3315 "type" : "expression",
3316 "value" : {
3317 "type" : "expression",
3318 "value" : {
3319 "op" : "&",
3320 "left" : {
3321 "type" : "field",
3322 "value" : ["standard_metadata", "ingress_port"]
3323 },
3324 "right" : {
3325 "type" : "hexstr",
3326 "value" : "0xffff"
3327 }
3328 }
3329 }
3330 }
3331 ],
3332 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003333 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003334 "line" : 45,
3335 "column" : 8,
3336 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3337 }
3338 },
3339 {
3340 "op" : "assign",
3341 "parameters" : [
3342 {
3343 "type" : "field",
3344 "value" : ["int_port_ids", "egress_port_id"]
3345 },
3346 {
3347 "type" : "expression",
3348 "value" : {
3349 "type" : "expression",
3350 "value" : {
3351 "op" : "&",
3352 "left" : {
3353 "type" : "field",
3354 "value" : ["standard_metadata", "egress_port"]
3355 },
3356 "right" : {
3357 "type" : "hexstr",
3358 "value" : "0xffff"
3359 }
3360 }
3361 }
3362 }
3363 ],
3364 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003365 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003366 "line" : 47,
3367 "column" : 8,
3368 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3369 }
3370 },
3371 {
3372 "op" : "add_header",
3373 "parameters" : [
3374 {
3375 "type" : "header",
3376 "value" : "int_switch_id"
3377 }
3378 ],
3379 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003380 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003381 "line" : 40,
3382 "column" : 8,
3383 "source_fragment" : "hdr.int_switch_id.setValid()"
3384 }
3385 },
3386 {
3387 "op" : "assign",
3388 "parameters" : [
3389 {
3390 "type" : "field",
3391 "value" : ["int_switch_id", "switch_id"]
3392 },
3393 {
3394 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003395 "value" : ["userMetadata.int_meta", "switch_id"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003396 }
3397 ],
3398 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003399 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003400 "line" : 41,
3401 "column" : 8,
3402 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3403 }
3404 }
3405 ]
3406 },
3407 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003408 "name" : "egress.process_int_transit.int_set_header_0003_i14",
3409 "id" : 31,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003410 "runtime_data" : [],
3411 "primitives" : [
3412 {
3413 "op" : "add_header",
3414 "parameters" : [
3415 {
3416 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003417 "value" : "int_hop_latency"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003418 }
3419 ],
3420 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003421 "filename" : "include/int_transit.p4",
3422 "line" : 51,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003423 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003424 "source_fragment" : "hdr.int_hop_latency.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003425 }
3426 },
3427 {
3428 "op" : "assign",
3429 "parameters" : [
3430 {
3431 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003432 "value" : ["int_hop_latency", "hop_latency"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003433 },
3434 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003435 "type" : "field",
3436 "value" : ["standard_metadata", "deq_timedelta"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003437 }
3438 ],
3439 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003440 "filename" : "include/int_transit.p4",
3441 "line" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003442 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003443 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
3444 }
3445 },
3446 {
3447 "op" : "add_header",
3448 "parameters" : [
3449 {
3450 "type" : "header",
3451 "value" : "int_port_ids"
3452 }
3453 ],
3454 "source_info" : {
3455 "filename" : "include/int_transit.p4",
3456 "line" : 44,
3457 "column" : 8,
3458 "source_fragment" : "hdr.int_port_ids.setValid()"
3459 }
3460 },
3461 {
3462 "op" : "assign",
3463 "parameters" : [
3464 {
3465 "type" : "field",
3466 "value" : ["int_port_ids", "ingress_port_id"]
3467 },
3468 {
3469 "type" : "expression",
3470 "value" : {
3471 "type" : "expression",
3472 "value" : {
3473 "op" : "&",
3474 "left" : {
3475 "type" : "field",
3476 "value" : ["standard_metadata", "ingress_port"]
3477 },
3478 "right" : {
3479 "type" : "hexstr",
3480 "value" : "0xffff"
3481 }
3482 }
3483 }
3484 }
3485 ],
3486 "source_info" : {
3487 "filename" : "include/int_transit.p4",
3488 "line" : 45,
3489 "column" : 8,
3490 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3491 }
3492 },
3493 {
3494 "op" : "assign",
3495 "parameters" : [
3496 {
3497 "type" : "field",
3498 "value" : ["int_port_ids", "egress_port_id"]
3499 },
3500 {
3501 "type" : "expression",
3502 "value" : {
3503 "type" : "expression",
3504 "value" : {
3505 "op" : "&",
3506 "left" : {
3507 "type" : "field",
3508 "value" : ["standard_metadata", "egress_port"]
3509 },
3510 "right" : {
3511 "type" : "hexstr",
3512 "value" : "0xffff"
3513 }
3514 }
3515 }
3516 }
3517 ],
3518 "source_info" : {
3519 "filename" : "include/int_transit.p4",
3520 "line" : 47,
3521 "column" : 8,
3522 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3523 }
3524 },
3525 {
3526 "op" : "add_header",
3527 "parameters" : [
3528 {
3529 "type" : "header",
3530 "value" : "int_switch_id"
3531 }
3532 ],
3533 "source_info" : {
3534 "filename" : "include/int_transit.p4",
3535 "line" : 40,
3536 "column" : 8,
3537 "source_fragment" : "hdr.int_switch_id.setValid()"
3538 }
3539 },
3540 {
3541 "op" : "assign",
3542 "parameters" : [
3543 {
3544 "type" : "field",
3545 "value" : ["int_switch_id", "switch_id"]
3546 },
3547 {
3548 "type" : "field",
3549 "value" : ["userMetadata.int_meta", "switch_id"]
3550 }
3551 ],
3552 "source_info" : {
3553 "filename" : "include/int_transit.p4",
3554 "line" : 41,
3555 "column" : 8,
3556 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003557 }
3558 }
3559 ]
3560 },
3561 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003562 "name" : "egress.process_int_transit.int_set_header_0003_i15",
3563 "id" : 32,
3564 "runtime_data" : [],
3565 "primitives" : [
3566 {
3567 "op" : "add_header",
3568 "parameters" : [
3569 {
3570 "type" : "header",
3571 "value" : "int_q_occupancy"
3572 }
3573 ],
3574 "source_info" : {
3575 "filename" : "include/int_transit.p4",
3576 "line" : 57,
3577 "column" : 8,
3578 "source_fragment" : "hdr.int_q_occupancy.setValid()"
3579 }
3580 },
3581 {
3582 "op" : "assign",
3583 "parameters" : [
3584 {
3585 "type" : "field",
3586 "value" : ["int_q_occupancy", "q_id"]
3587 },
3588 {
3589 "type" : "hexstr",
3590 "value" : "0x00"
3591 }
3592 ],
3593 "source_info" : {
3594 "filename" : "include/int_transit.p4",
3595 "line" : 58,
3596 "column" : 8,
3597 "source_fragment" : "hdr.int_q_occupancy.q_id = ..."
3598 }
3599 },
3600 {
3601 "op" : "assign",
3602 "parameters" : [
3603 {
3604 "type" : "field",
3605 "value" : ["int_q_occupancy", "q_occupancy"]
3606 },
3607 {
3608 "type" : "expression",
3609 "value" : {
3610 "type" : "expression",
3611 "value" : {
3612 "op" : "&",
3613 "left" : {
3614 "type" : "field",
3615 "value" : ["standard_metadata", "deq_qdepth"]
3616 },
3617 "right" : {
3618 "type" : "hexstr",
3619 "value" : "0xffffff"
3620 }
3621 }
3622 }
3623 }
3624 ],
3625 "source_info" : {
3626 "filename" : "include/int_transit.p4",
3627 "line" : 61,
3628 "column" : 8,
3629 "source_fragment" : "hdr.int_q_occupancy.q_occupancy = ..."
3630 }
3631 },
3632 {
3633 "op" : "add_header",
3634 "parameters" : [
3635 {
3636 "type" : "header",
3637 "value" : "int_hop_latency"
3638 }
3639 ],
3640 "source_info" : {
3641 "filename" : "include/int_transit.p4",
3642 "line" : 51,
3643 "column" : 8,
3644 "source_fragment" : "hdr.int_hop_latency.setValid()"
3645 }
3646 },
3647 {
3648 "op" : "assign",
3649 "parameters" : [
3650 {
3651 "type" : "field",
3652 "value" : ["int_hop_latency", "hop_latency"]
3653 },
3654 {
3655 "type" : "field",
3656 "value" : ["standard_metadata", "deq_timedelta"]
3657 }
3658 ],
3659 "source_info" : {
3660 "filename" : "include/int_transit.p4",
3661 "line" : 52,
3662 "column" : 8,
3663 "source_fragment" : "hdr.int_hop_latency.hop_latency = ..."
3664 }
3665 },
3666 {
3667 "op" : "add_header",
3668 "parameters" : [
3669 {
3670 "type" : "header",
3671 "value" : "int_port_ids"
3672 }
3673 ],
3674 "source_info" : {
3675 "filename" : "include/int_transit.p4",
3676 "line" : 44,
3677 "column" : 8,
3678 "source_fragment" : "hdr.int_port_ids.setValid()"
3679 }
3680 },
3681 {
3682 "op" : "assign",
3683 "parameters" : [
3684 {
3685 "type" : "field",
3686 "value" : ["int_port_ids", "ingress_port_id"]
3687 },
3688 {
3689 "type" : "expression",
3690 "value" : {
3691 "type" : "expression",
3692 "value" : {
3693 "op" : "&",
3694 "left" : {
3695 "type" : "field",
3696 "value" : ["standard_metadata", "ingress_port"]
3697 },
3698 "right" : {
3699 "type" : "hexstr",
3700 "value" : "0xffff"
3701 }
3702 }
3703 }
3704 }
3705 ],
3706 "source_info" : {
3707 "filename" : "include/int_transit.p4",
3708 "line" : 45,
3709 "column" : 8,
3710 "source_fragment" : "hdr.int_port_ids.ingress_port_id = ..."
3711 }
3712 },
3713 {
3714 "op" : "assign",
3715 "parameters" : [
3716 {
3717 "type" : "field",
3718 "value" : ["int_port_ids", "egress_port_id"]
3719 },
3720 {
3721 "type" : "expression",
3722 "value" : {
3723 "type" : "expression",
3724 "value" : {
3725 "op" : "&",
3726 "left" : {
3727 "type" : "field",
3728 "value" : ["standard_metadata", "egress_port"]
3729 },
3730 "right" : {
3731 "type" : "hexstr",
3732 "value" : "0xffff"
3733 }
3734 }
3735 }
3736 }
3737 ],
3738 "source_info" : {
3739 "filename" : "include/int_transit.p4",
3740 "line" : 47,
3741 "column" : 8,
3742 "source_fragment" : "hdr.int_port_ids.egress_port_id = ..."
3743 }
3744 },
3745 {
3746 "op" : "add_header",
3747 "parameters" : [
3748 {
3749 "type" : "header",
3750 "value" : "int_switch_id"
3751 }
3752 ],
3753 "source_info" : {
3754 "filename" : "include/int_transit.p4",
3755 "line" : 40,
3756 "column" : 8,
3757 "source_fragment" : "hdr.int_switch_id.setValid()"
3758 }
3759 },
3760 {
3761 "op" : "assign",
3762 "parameters" : [
3763 {
3764 "type" : "field",
3765 "value" : ["int_switch_id", "switch_id"]
3766 },
3767 {
3768 "type" : "field",
3769 "value" : ["userMetadata.int_meta", "switch_id"]
3770 }
3771 ],
3772 "source_info" : {
3773 "filename" : "include/int_transit.p4",
3774 "line" : 41,
3775 "column" : 8,
3776 "source_fragment" : "hdr.int_switch_id.switch_id = local_metadata.int_meta.switch_id"
3777 }
3778 }
3779 ]
3780 },
3781 {
3782 "name" : "egress.process_int_transit.int_set_header_0407_i0",
3783 "id" : 33,
3784 "runtime_data" : [],
3785 "primitives" : []
3786 },
3787 {
3788 "name" : "egress.process_int_transit.int_set_header_0407_i1",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003789 "id" : 34,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003790 "runtime_data" : [],
3791 "primitives" : [
3792 {
3793 "op" : "add_header",
3794 "parameters" : [
3795 {
3796 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003797 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003798 }
3799 ],
3800 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003801 "filename" : "include/int_transit.p4",
3802 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003803 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003804 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003805 }
3806 },
3807 {
3808 "op" : "assign",
3809 "parameters" : [
3810 {
3811 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003812 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003813 },
3814 {
3815 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003816 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003817 }
3818 ],
3819 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003820 "filename" : "include/int_transit.p4",
3821 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003822 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003823 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003824 }
3825 }
3826 ]
3827 },
3828 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003829 "name" : "egress.process_int_transit.int_set_header_0407_i2",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003830 "id" : 35,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003831 "runtime_data" : [],
3832 "primitives" : [
3833 {
3834 "op" : "add_header",
3835 "parameters" : [
3836 {
3837 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003838 "value" : "int_q_congestion"
3839 }
3840 ],
3841 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003842 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003843 "line" : 78,
3844 "column" : 8,
3845 "source_fragment" : "hdr.int_q_congestion.setValid()"
3846 }
3847 },
3848 {
3849 "op" : "assign",
3850 "parameters" : [
3851 {
3852 "type" : "field",
3853 "value" : ["int_q_congestion", "q_id"]
3854 },
3855 {
3856 "type" : "hexstr",
3857 "value" : "0x00"
3858 }
3859 ],
3860 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003861 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003862 "line" : 79,
3863 "column" : 8,
3864 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
3865 }
3866 },
3867 {
3868 "op" : "assign",
3869 "parameters" : [
3870 {
3871 "type" : "field",
3872 "value" : ["int_q_congestion", "q_congestion"]
3873 },
3874 {
3875 "type" : "hexstr",
3876 "value" : "0x000000"
3877 }
3878 ],
3879 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003880 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003881 "line" : 82,
3882 "column" : 8,
3883 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
3884 }
3885 }
3886 ]
3887 },
3888 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003889 "name" : "egress.process_int_transit.int_set_header_0407_i3",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003890 "id" : 36,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003891 "runtime_data" : [],
3892 "primitives" : [
3893 {
3894 "op" : "add_header",
3895 "parameters" : [
3896 {
3897 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003898 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003899 }
3900 ],
3901 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003902 "filename" : "include/int_transit.p4",
3903 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003904 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003905 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003906 }
3907 },
3908 {
3909 "op" : "assign",
3910 "parameters" : [
3911 {
3912 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003913 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003914 },
3915 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003916 "type" : "hexstr",
3917 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003918 }
3919 ],
3920 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003921 "filename" : "include/int_transit.p4",
3922 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003923 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003924 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
3925 }
3926 },
3927 {
3928 "op" : "add_header",
3929 "parameters" : [
3930 {
3931 "type" : "header",
3932 "value" : "int_q_congestion"
3933 }
3934 ],
3935 "source_info" : {
3936 "filename" : "include/int_transit.p4",
3937 "line" : 78,
3938 "column" : 8,
3939 "source_fragment" : "hdr.int_q_congestion.setValid()"
3940 }
3941 },
3942 {
3943 "op" : "assign",
3944 "parameters" : [
3945 {
3946 "type" : "field",
3947 "value" : ["int_q_congestion", "q_id"]
3948 },
3949 {
3950 "type" : "hexstr",
3951 "value" : "0x00"
3952 }
3953 ],
3954 "source_info" : {
3955 "filename" : "include/int_transit.p4",
3956 "line" : 79,
3957 "column" : 8,
3958 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
3959 }
3960 },
3961 {
3962 "op" : "assign",
3963 "parameters" : [
3964 {
3965 "type" : "field",
3966 "value" : ["int_q_congestion", "q_congestion"]
3967 },
3968 {
3969 "type" : "hexstr",
3970 "value" : "0x000000"
3971 }
3972 ],
3973 "source_info" : {
3974 "filename" : "include/int_transit.p4",
3975 "line" : 82,
3976 "column" : 8,
3977 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003978 }
3979 }
3980 ]
3981 },
3982 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003983 "name" : "egress.process_int_transit.int_set_header_0407_i4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08003984 "id" : 37,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003985 "runtime_data" : [],
3986 "primitives" : [
3987 {
3988 "op" : "add_header",
3989 "parameters" : [
3990 {
3991 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003992 "value" : "int_egress_tstamp"
3993 }
3994 ],
3995 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07003996 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08003997 "line" : 70,
3998 "column" : 8,
3999 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4000 }
4001 },
4002 {
4003 "op" : "assign",
4004 "parameters" : [
4005 {
4006 "type" : "field",
4007 "value" : ["int_egress_tstamp", "egress_tstamp"]
4008 },
4009 {
4010 "type" : "expression",
4011 "value" : {
4012 "type" : "expression",
4013 "value" : {
4014 "op" : "&",
4015 "left" : {
4016 "type" : "expression",
4017 "value" : {
4018 "op" : "+",
4019 "left" : {
4020 "type" : "field",
4021 "value" : ["standard_metadata", "enq_timestamp"]
4022 },
4023 "right" : {
4024 "type" : "field",
4025 "value" : ["standard_metadata", "deq_timedelta"]
4026 }
4027 }
4028 },
4029 "right" : {
4030 "type" : "hexstr",
4031 "value" : "0xffffffff"
4032 }
4033 }
4034 }
4035 }
4036 ],
4037 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004038 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004039 "line" : 71,
4040 "column" : 8,
4041 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4042 }
4043 }
4044 ]
4045 },
4046 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004047 "name" : "egress.process_int_transit.int_set_header_0407_i5",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004048 "id" : 38,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004049 "runtime_data" : [],
4050 "primitives" : [
4051 {
4052 "op" : "add_header",
4053 "parameters" : [
4054 {
4055 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004056 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004057 }
4058 ],
4059 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004060 "filename" : "include/int_transit.p4",
4061 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004062 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004063 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004064 }
4065 },
4066 {
4067 "op" : "assign",
4068 "parameters" : [
4069 {
4070 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004071 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004072 },
4073 {
4074 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004075 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004076 }
4077 ],
4078 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004079 "filename" : "include/int_transit.p4",
4080 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004081 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004082 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004083 }
4084 },
4085 {
4086 "op" : "add_header",
4087 "parameters" : [
4088 {
4089 "type" : "header",
4090 "value" : "int_egress_tstamp"
4091 }
4092 ],
4093 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004094 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004095 "line" : 70,
4096 "column" : 8,
4097 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4098 }
4099 },
4100 {
4101 "op" : "assign",
4102 "parameters" : [
4103 {
4104 "type" : "field",
4105 "value" : ["int_egress_tstamp", "egress_tstamp"]
4106 },
4107 {
4108 "type" : "expression",
4109 "value" : {
4110 "type" : "expression",
4111 "value" : {
4112 "op" : "&",
4113 "left" : {
4114 "type" : "expression",
4115 "value" : {
4116 "op" : "+",
4117 "left" : {
4118 "type" : "field",
4119 "value" : ["standard_metadata", "enq_timestamp"]
4120 },
4121 "right" : {
4122 "type" : "field",
4123 "value" : ["standard_metadata", "deq_timedelta"]
4124 }
4125 }
4126 },
4127 "right" : {
4128 "type" : "hexstr",
4129 "value" : "0xffffffff"
4130 }
4131 }
4132 }
4133 }
4134 ],
4135 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004136 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004137 "line" : 71,
4138 "column" : 8,
4139 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4140 }
4141 }
4142 ]
4143 },
4144 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004145 "name" : "egress.process_int_transit.int_set_header_0407_i6",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004146 "id" : 39,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004147 "runtime_data" : [],
4148 "primitives" : [
4149 {
4150 "op" : "add_header",
4151 "parameters" : [
4152 {
4153 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004154 "value" : "int_q_congestion"
4155 }
4156 ],
4157 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004158 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004159 "line" : 78,
4160 "column" : 8,
4161 "source_fragment" : "hdr.int_q_congestion.setValid()"
4162 }
4163 },
4164 {
4165 "op" : "assign",
4166 "parameters" : [
4167 {
4168 "type" : "field",
4169 "value" : ["int_q_congestion", "q_id"]
4170 },
4171 {
4172 "type" : "hexstr",
4173 "value" : "0x00"
4174 }
4175 ],
4176 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004177 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004178 "line" : 79,
4179 "column" : 8,
4180 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4181 }
4182 },
4183 {
4184 "op" : "assign",
4185 "parameters" : [
4186 {
4187 "type" : "field",
4188 "value" : ["int_q_congestion", "q_congestion"]
4189 },
4190 {
4191 "type" : "hexstr",
4192 "value" : "0x000000"
4193 }
4194 ],
4195 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004196 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004197 "line" : 82,
4198 "column" : 8,
4199 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
4200 }
4201 },
4202 {
4203 "op" : "add_header",
4204 "parameters" : [
4205 {
4206 "type" : "header",
4207 "value" : "int_egress_tstamp"
4208 }
4209 ],
4210 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004211 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004212 "line" : 70,
4213 "column" : 8,
4214 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4215 }
4216 },
4217 {
4218 "op" : "assign",
4219 "parameters" : [
4220 {
4221 "type" : "field",
4222 "value" : ["int_egress_tstamp", "egress_tstamp"]
4223 },
4224 {
4225 "type" : "expression",
4226 "value" : {
4227 "type" : "expression",
4228 "value" : {
4229 "op" : "&",
4230 "left" : {
4231 "type" : "expression",
4232 "value" : {
4233 "op" : "+",
4234 "left" : {
4235 "type" : "field",
4236 "value" : ["standard_metadata", "enq_timestamp"]
4237 },
4238 "right" : {
4239 "type" : "field",
4240 "value" : ["standard_metadata", "deq_timedelta"]
4241 }
4242 }
4243 },
4244 "right" : {
4245 "type" : "hexstr",
4246 "value" : "0xffffffff"
4247 }
4248 }
4249 }
4250 }
4251 ],
4252 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004253 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004254 "line" : 71,
4255 "column" : 8,
4256 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4257 }
4258 }
4259 ]
4260 },
4261 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004262 "name" : "egress.process_int_transit.int_set_header_0407_i7",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004263 "id" : 40,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004264 "runtime_data" : [],
4265 "primitives" : [
4266 {
4267 "op" : "add_header",
4268 "parameters" : [
4269 {
4270 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004271 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004272 }
4273 ],
4274 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004275 "filename" : "include/int_transit.p4",
4276 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004277 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004278 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004279 }
4280 },
4281 {
4282 "op" : "assign",
4283 "parameters" : [
4284 {
4285 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004286 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004287 },
4288 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004289 "type" : "hexstr",
4290 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004291 }
4292 ],
4293 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004294 "filename" : "include/int_transit.p4",
4295 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004296 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004297 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
4298 }
4299 },
4300 {
4301 "op" : "add_header",
4302 "parameters" : [
4303 {
4304 "type" : "header",
4305 "value" : "int_q_congestion"
4306 }
4307 ],
4308 "source_info" : {
4309 "filename" : "include/int_transit.p4",
4310 "line" : 78,
4311 "column" : 8,
4312 "source_fragment" : "hdr.int_q_congestion.setValid()"
4313 }
4314 },
4315 {
4316 "op" : "assign",
4317 "parameters" : [
4318 {
4319 "type" : "field",
4320 "value" : ["int_q_congestion", "q_id"]
4321 },
4322 {
4323 "type" : "hexstr",
4324 "value" : "0x00"
4325 }
4326 ],
4327 "source_info" : {
4328 "filename" : "include/int_transit.p4",
4329 "line" : 79,
4330 "column" : 8,
4331 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4332 }
4333 },
4334 {
4335 "op" : "assign",
4336 "parameters" : [
4337 {
4338 "type" : "field",
4339 "value" : ["int_q_congestion", "q_congestion"]
4340 },
4341 {
4342 "type" : "hexstr",
4343 "value" : "0x000000"
4344 }
4345 ],
4346 "source_info" : {
4347 "filename" : "include/int_transit.p4",
4348 "line" : 82,
4349 "column" : 8,
4350 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
4351 }
4352 },
4353 {
4354 "op" : "add_header",
4355 "parameters" : [
4356 {
4357 "type" : "header",
4358 "value" : "int_egress_tstamp"
4359 }
4360 ],
4361 "source_info" : {
4362 "filename" : "include/int_transit.p4",
4363 "line" : 70,
4364 "column" : 8,
4365 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4366 }
4367 },
4368 {
4369 "op" : "assign",
4370 "parameters" : [
4371 {
4372 "type" : "field",
4373 "value" : ["int_egress_tstamp", "egress_tstamp"]
4374 },
4375 {
4376 "type" : "expression",
4377 "value" : {
4378 "type" : "expression",
4379 "value" : {
4380 "op" : "&",
4381 "left" : {
4382 "type" : "expression",
4383 "value" : {
4384 "op" : "+",
4385 "left" : {
4386 "type" : "field",
4387 "value" : ["standard_metadata", "enq_timestamp"]
4388 },
4389 "right" : {
4390 "type" : "field",
4391 "value" : ["standard_metadata", "deq_timedelta"]
4392 }
4393 }
4394 },
4395 "right" : {
4396 "type" : "hexstr",
4397 "value" : "0xffffffff"
4398 }
4399 }
4400 }
4401 }
4402 ],
4403 "source_info" : {
4404 "filename" : "include/int_transit.p4",
4405 "line" : 71,
4406 "column" : 8,
4407 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004408 }
4409 }
4410 ]
4411 },
4412 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004413 "name" : "egress.process_int_transit.int_set_header_0407_i8",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004414 "id" : 41,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004415 "runtime_data" : [],
4416 "primitives" : [
4417 {
4418 "op" : "add_header",
4419 "parameters" : [
4420 {
4421 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004422 "value" : "int_ingress_tstamp"
4423 }
4424 ],
4425 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004426 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004427 "line" : 65,
4428 "column" : 8,
4429 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4430 }
4431 },
4432 {
4433 "op" : "assign",
4434 "parameters" : [
4435 {
4436 "type" : "field",
4437 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4438 },
4439 {
4440 "type" : "field",
4441 "value" : ["standard_metadata", "enq_timestamp"]
4442 }
4443 ],
4444 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004445 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004446 "line" : 66,
4447 "column" : 8,
4448 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4449 }
4450 }
4451 ]
4452 },
4453 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004454 "name" : "egress.process_int_transit.int_set_header_0407_i9",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004455 "id" : 42,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004456 "runtime_data" : [],
4457 "primitives" : [
4458 {
4459 "op" : "add_header",
4460 "parameters" : [
4461 {
4462 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004463 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004464 }
4465 ],
4466 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004467 "filename" : "include/int_transit.p4",
4468 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004469 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004470 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004471 }
4472 },
4473 {
4474 "op" : "assign",
4475 "parameters" : [
4476 {
4477 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004478 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004479 },
4480 {
4481 "type" : "hexstr",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004482 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004483 }
4484 ],
4485 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004486 "filename" : "include/int_transit.p4",
4487 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004488 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004489 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004490 }
4491 },
4492 {
4493 "op" : "add_header",
4494 "parameters" : [
4495 {
4496 "type" : "header",
4497 "value" : "int_ingress_tstamp"
4498 }
4499 ],
4500 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004501 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004502 "line" : 65,
4503 "column" : 8,
4504 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4505 }
4506 },
4507 {
4508 "op" : "assign",
4509 "parameters" : [
4510 {
4511 "type" : "field",
4512 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4513 },
4514 {
4515 "type" : "field",
4516 "value" : ["standard_metadata", "enq_timestamp"]
4517 }
4518 ],
4519 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004520 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004521 "line" : 66,
4522 "column" : 8,
4523 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4524 }
4525 }
4526 ]
4527 },
4528 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004529 "name" : "egress.process_int_transit.int_set_header_0407_i10",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004530 "id" : 43,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004531 "runtime_data" : [],
4532 "primitives" : [
4533 {
4534 "op" : "add_header",
4535 "parameters" : [
4536 {
4537 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004538 "value" : "int_q_congestion"
4539 }
4540 ],
4541 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004542 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004543 "line" : 78,
4544 "column" : 8,
4545 "source_fragment" : "hdr.int_q_congestion.setValid()"
4546 }
4547 },
4548 {
4549 "op" : "assign",
4550 "parameters" : [
4551 {
4552 "type" : "field",
4553 "value" : ["int_q_congestion", "q_id"]
4554 },
4555 {
4556 "type" : "hexstr",
4557 "value" : "0x00"
4558 }
4559 ],
4560 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004561 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004562 "line" : 79,
4563 "column" : 8,
4564 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4565 }
4566 },
4567 {
4568 "op" : "assign",
4569 "parameters" : [
4570 {
4571 "type" : "field",
4572 "value" : ["int_q_congestion", "q_congestion"]
4573 },
4574 {
4575 "type" : "hexstr",
4576 "value" : "0x000000"
4577 }
4578 ],
4579 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004580 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004581 "line" : 82,
4582 "column" : 8,
4583 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
4584 }
4585 },
4586 {
4587 "op" : "add_header",
4588 "parameters" : [
4589 {
4590 "type" : "header",
4591 "value" : "int_ingress_tstamp"
4592 }
4593 ],
4594 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004595 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004596 "line" : 65,
4597 "column" : 8,
4598 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4599 }
4600 },
4601 {
4602 "op" : "assign",
4603 "parameters" : [
4604 {
4605 "type" : "field",
4606 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4607 },
4608 {
4609 "type" : "field",
4610 "value" : ["standard_metadata", "enq_timestamp"]
4611 }
4612 ],
4613 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004614 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004615 "line" : 66,
4616 "column" : 8,
4617 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4618 }
4619 }
4620 ]
4621 },
4622 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004623 "name" : "egress.process_int_transit.int_set_header_0407_i11",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004624 "id" : 44,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004625 "runtime_data" : [],
4626 "primitives" : [
4627 {
4628 "op" : "add_header",
4629 "parameters" : [
4630 {
4631 "type" : "header",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004632 "value" : "int_egress_tx_util"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004633 }
4634 ],
4635 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004636 "filename" : "include/int_transit.p4",
4637 "line" : 88,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004638 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004639 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004640 }
4641 },
4642 {
4643 "op" : "assign",
4644 "parameters" : [
4645 {
4646 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004647 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004648 },
4649 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004650 "type" : "hexstr",
4651 "value" : "0x00000000"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004652 }
4653 ],
4654 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004655 "filename" : "include/int_transit.p4",
4656 "line" : 89,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004657 "column" : 8,
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004658 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
4659 }
4660 },
4661 {
4662 "op" : "add_header",
4663 "parameters" : [
4664 {
4665 "type" : "header",
4666 "value" : "int_q_congestion"
4667 }
4668 ],
4669 "source_info" : {
4670 "filename" : "include/int_transit.p4",
4671 "line" : 78,
4672 "column" : 8,
4673 "source_fragment" : "hdr.int_q_congestion.setValid()"
4674 }
4675 },
4676 {
4677 "op" : "assign",
4678 "parameters" : [
4679 {
4680 "type" : "field",
4681 "value" : ["int_q_congestion", "q_id"]
4682 },
4683 {
4684 "type" : "hexstr",
4685 "value" : "0x00"
4686 }
4687 ],
4688 "source_info" : {
4689 "filename" : "include/int_transit.p4",
4690 "line" : 79,
4691 "column" : 8,
4692 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
4693 }
4694 },
4695 {
4696 "op" : "assign",
4697 "parameters" : [
4698 {
4699 "type" : "field",
4700 "value" : ["int_q_congestion", "q_congestion"]
4701 },
4702 {
4703 "type" : "hexstr",
4704 "value" : "0x000000"
4705 }
4706 ],
4707 "source_info" : {
4708 "filename" : "include/int_transit.p4",
4709 "line" : 82,
4710 "column" : 8,
4711 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004712 }
4713 },
4714 {
4715 "op" : "add_header",
4716 "parameters" : [
4717 {
4718 "type" : "header",
4719 "value" : "int_ingress_tstamp"
4720 }
4721 ],
4722 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004723 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004724 "line" : 65,
4725 "column" : 8,
4726 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4727 }
4728 },
4729 {
4730 "op" : "assign",
4731 "parameters" : [
4732 {
4733 "type" : "field",
4734 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4735 },
4736 {
4737 "type" : "field",
4738 "value" : ["standard_metadata", "enq_timestamp"]
4739 }
4740 ],
4741 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004742 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004743 "line" : 66,
4744 "column" : 8,
4745 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4746 }
4747 }
4748 ]
4749 },
4750 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004751 "name" : "egress.process_int_transit.int_set_header_0407_i12",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004752 "id" : 45,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004753 "runtime_data" : [],
4754 "primitives" : [
4755 {
4756 "op" : "add_header",
4757 "parameters" : [
4758 {
4759 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004760 "value" : "int_egress_tstamp"
4761 }
4762 ],
4763 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004764 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004765 "line" : 70,
4766 "column" : 8,
4767 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4768 }
4769 },
4770 {
4771 "op" : "assign",
4772 "parameters" : [
4773 {
4774 "type" : "field",
4775 "value" : ["int_egress_tstamp", "egress_tstamp"]
4776 },
4777 {
4778 "type" : "expression",
4779 "value" : {
4780 "type" : "expression",
4781 "value" : {
4782 "op" : "&",
4783 "left" : {
4784 "type" : "expression",
4785 "value" : {
4786 "op" : "+",
4787 "left" : {
4788 "type" : "field",
4789 "value" : ["standard_metadata", "enq_timestamp"]
4790 },
4791 "right" : {
4792 "type" : "field",
4793 "value" : ["standard_metadata", "deq_timedelta"]
4794 }
4795 }
4796 },
4797 "right" : {
4798 "type" : "hexstr",
4799 "value" : "0xffffffff"
4800 }
4801 }
4802 }
4803 }
4804 ],
4805 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004806 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004807 "line" : 71,
4808 "column" : 8,
4809 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4810 }
4811 },
4812 {
4813 "op" : "add_header",
4814 "parameters" : [
4815 {
4816 "type" : "header",
4817 "value" : "int_ingress_tstamp"
4818 }
4819 ],
4820 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004821 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004822 "line" : 65,
4823 "column" : 8,
4824 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4825 }
4826 },
4827 {
4828 "op" : "assign",
4829 "parameters" : [
4830 {
4831 "type" : "field",
4832 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4833 },
4834 {
4835 "type" : "field",
4836 "value" : ["standard_metadata", "enq_timestamp"]
4837 }
4838 ],
4839 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004840 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004841 "line" : 66,
4842 "column" : 8,
4843 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4844 }
4845 }
4846 ]
4847 },
4848 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004849 "name" : "egress.process_int_transit.int_set_header_0407_i13",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08004850 "id" : 46,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004851 "runtime_data" : [],
4852 "primitives" : [
4853 {
4854 "op" : "add_header",
4855 "parameters" : [
4856 {
4857 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004858 "value" : "int_egress_tx_util"
4859 }
4860 ],
4861 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004862 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004863 "line" : 88,
4864 "column" : 8,
4865 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
4866 }
4867 },
4868 {
4869 "op" : "assign",
4870 "parameters" : [
4871 {
4872 "type" : "field",
4873 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
4874 },
4875 {
4876 "type" : "hexstr",
4877 "value" : "0x00000000"
4878 }
4879 ],
4880 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004881 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004882 "line" : 89,
4883 "column" : 8,
4884 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
4885 }
4886 },
4887 {
4888 "op" : "add_header",
4889 "parameters" : [
4890 {
4891 "type" : "header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004892 "value" : "int_egress_tstamp"
4893 }
4894 ],
4895 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004896 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004897 "line" : 70,
4898 "column" : 8,
4899 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
4900 }
4901 },
4902 {
4903 "op" : "assign",
4904 "parameters" : [
4905 {
4906 "type" : "field",
4907 "value" : ["int_egress_tstamp", "egress_tstamp"]
4908 },
4909 {
4910 "type" : "expression",
4911 "value" : {
4912 "type" : "expression",
4913 "value" : {
4914 "op" : "&",
4915 "left" : {
4916 "type" : "expression",
4917 "value" : {
4918 "op" : "+",
4919 "left" : {
4920 "type" : "field",
4921 "value" : ["standard_metadata", "enq_timestamp"]
4922 },
4923 "right" : {
4924 "type" : "field",
4925 "value" : ["standard_metadata", "deq_timedelta"]
4926 }
4927 }
4928 },
4929 "right" : {
4930 "type" : "hexstr",
4931 "value" : "0xffffffff"
4932 }
4933 }
4934 }
4935 }
4936 ],
4937 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004938 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004939 "line" : 71,
4940 "column" : 8,
4941 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
4942 }
4943 },
4944 {
4945 "op" : "add_header",
4946 "parameters" : [
4947 {
4948 "type" : "header",
4949 "value" : "int_ingress_tstamp"
4950 }
4951 ],
4952 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004953 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004954 "line" : 65,
4955 "column" : 8,
4956 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
4957 }
4958 },
4959 {
4960 "op" : "assign",
4961 "parameters" : [
4962 {
4963 "type" : "field",
4964 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
4965 },
4966 {
4967 "type" : "field",
4968 "value" : ["standard_metadata", "enq_timestamp"]
4969 }
4970 ],
4971 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004972 "filename" : "include/int_transit.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08004973 "line" : 66,
4974 "column" : 8,
4975 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
4976 }
4977 }
4978 ]
4979 },
4980 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07004981 "name" : "egress.process_int_transit.int_set_header_0407_i14",
4982 "id" : 47,
4983 "runtime_data" : [],
4984 "primitives" : [
4985 {
4986 "op" : "add_header",
4987 "parameters" : [
4988 {
4989 "type" : "header",
4990 "value" : "int_q_congestion"
4991 }
4992 ],
4993 "source_info" : {
4994 "filename" : "include/int_transit.p4",
4995 "line" : 78,
4996 "column" : 8,
4997 "source_fragment" : "hdr.int_q_congestion.setValid()"
4998 }
4999 },
5000 {
5001 "op" : "assign",
5002 "parameters" : [
5003 {
5004 "type" : "field",
5005 "value" : ["int_q_congestion", "q_id"]
5006 },
5007 {
5008 "type" : "hexstr",
5009 "value" : "0x00"
5010 }
5011 ],
5012 "source_info" : {
5013 "filename" : "include/int_transit.p4",
5014 "line" : 79,
5015 "column" : 8,
5016 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
5017 }
5018 },
5019 {
5020 "op" : "assign",
5021 "parameters" : [
5022 {
5023 "type" : "field",
5024 "value" : ["int_q_congestion", "q_congestion"]
5025 },
5026 {
5027 "type" : "hexstr",
5028 "value" : "0x000000"
5029 }
5030 ],
5031 "source_info" : {
5032 "filename" : "include/int_transit.p4",
5033 "line" : 82,
5034 "column" : 8,
5035 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
5036 }
5037 },
5038 {
5039 "op" : "add_header",
5040 "parameters" : [
5041 {
5042 "type" : "header",
5043 "value" : "int_egress_tstamp"
5044 }
5045 ],
5046 "source_info" : {
5047 "filename" : "include/int_transit.p4",
5048 "line" : 70,
5049 "column" : 8,
5050 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
5051 }
5052 },
5053 {
5054 "op" : "assign",
5055 "parameters" : [
5056 {
5057 "type" : "field",
5058 "value" : ["int_egress_tstamp", "egress_tstamp"]
5059 },
5060 {
5061 "type" : "expression",
5062 "value" : {
5063 "type" : "expression",
5064 "value" : {
5065 "op" : "&",
5066 "left" : {
5067 "type" : "expression",
5068 "value" : {
5069 "op" : "+",
5070 "left" : {
5071 "type" : "field",
5072 "value" : ["standard_metadata", "enq_timestamp"]
5073 },
5074 "right" : {
5075 "type" : "field",
5076 "value" : ["standard_metadata", "deq_timedelta"]
5077 }
5078 }
5079 },
5080 "right" : {
5081 "type" : "hexstr",
5082 "value" : "0xffffffff"
5083 }
5084 }
5085 }
5086 }
5087 ],
5088 "source_info" : {
5089 "filename" : "include/int_transit.p4",
5090 "line" : 71,
5091 "column" : 8,
5092 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
5093 }
5094 },
5095 {
5096 "op" : "add_header",
5097 "parameters" : [
5098 {
5099 "type" : "header",
5100 "value" : "int_ingress_tstamp"
5101 }
5102 ],
5103 "source_info" : {
5104 "filename" : "include/int_transit.p4",
5105 "line" : 65,
5106 "column" : 8,
5107 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
5108 }
5109 },
5110 {
5111 "op" : "assign",
5112 "parameters" : [
5113 {
5114 "type" : "field",
5115 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
5116 },
5117 {
5118 "type" : "field",
5119 "value" : ["standard_metadata", "enq_timestamp"]
5120 }
5121 ],
5122 "source_info" : {
5123 "filename" : "include/int_transit.p4",
5124 "line" : 66,
5125 "column" : 8,
5126 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
5127 }
5128 }
5129 ]
5130 },
5131 {
5132 "name" : "egress.process_int_transit.int_set_header_0407_i15",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005133 "id" : 48,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005134 "runtime_data" : [],
5135 "primitives" : [
5136 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005137 "op" : "add_header",
5138 "parameters" : [
5139 {
5140 "type" : "header",
5141 "value" : "int_egress_tx_util"
5142 }
5143 ],
5144 "source_info" : {
5145 "filename" : "include/int_transit.p4",
5146 "line" : 88,
5147 "column" : 8,
5148 "source_fragment" : "hdr.int_egress_tx_util.setValid()"
5149 }
5150 },
5151 {
5152 "op" : "assign",
5153 "parameters" : [
5154 {
5155 "type" : "field",
5156 "value" : ["int_egress_tx_util", "egress_port_tx_util"]
5157 },
5158 {
5159 "type" : "hexstr",
5160 "value" : "0x00000000"
5161 }
5162 ],
5163 "source_info" : {
5164 "filename" : "include/int_transit.p4",
5165 "line" : 89,
5166 "column" : 8,
5167 "source_fragment" : "hdr.int_egress_tx_util.egress_port_tx_util = ..."
5168 }
5169 },
5170 {
5171 "op" : "add_header",
5172 "parameters" : [
5173 {
5174 "type" : "header",
5175 "value" : "int_q_congestion"
5176 }
5177 ],
5178 "source_info" : {
5179 "filename" : "include/int_transit.p4",
5180 "line" : 78,
5181 "column" : 8,
5182 "source_fragment" : "hdr.int_q_congestion.setValid()"
5183 }
5184 },
5185 {
5186 "op" : "assign",
5187 "parameters" : [
5188 {
5189 "type" : "field",
5190 "value" : ["int_q_congestion", "q_id"]
5191 },
5192 {
5193 "type" : "hexstr",
5194 "value" : "0x00"
5195 }
5196 ],
5197 "source_info" : {
5198 "filename" : "include/int_transit.p4",
5199 "line" : 79,
5200 "column" : 8,
5201 "source_fragment" : "hdr.int_q_congestion.q_id = ..."
5202 }
5203 },
5204 {
5205 "op" : "assign",
5206 "parameters" : [
5207 {
5208 "type" : "field",
5209 "value" : ["int_q_congestion", "q_congestion"]
5210 },
5211 {
5212 "type" : "hexstr",
5213 "value" : "0x000000"
5214 }
5215 ],
5216 "source_info" : {
5217 "filename" : "include/int_transit.p4",
5218 "line" : 82,
5219 "column" : 8,
5220 "source_fragment" : "hdr.int_q_congestion.q_congestion = ..."
5221 }
5222 },
5223 {
5224 "op" : "add_header",
5225 "parameters" : [
5226 {
5227 "type" : "header",
5228 "value" : "int_egress_tstamp"
5229 }
5230 ],
5231 "source_info" : {
5232 "filename" : "include/int_transit.p4",
5233 "line" : 70,
5234 "column" : 8,
5235 "source_fragment" : "hdr.int_egress_tstamp.setValid()"
5236 }
5237 },
5238 {
5239 "op" : "assign",
5240 "parameters" : [
5241 {
5242 "type" : "field",
5243 "value" : ["int_egress_tstamp", "egress_tstamp"]
5244 },
5245 {
5246 "type" : "expression",
5247 "value" : {
5248 "type" : "expression",
5249 "value" : {
5250 "op" : "&",
5251 "left" : {
5252 "type" : "expression",
5253 "value" : {
5254 "op" : "+",
5255 "left" : {
5256 "type" : "field",
5257 "value" : ["standard_metadata", "enq_timestamp"]
5258 },
5259 "right" : {
5260 "type" : "field",
5261 "value" : ["standard_metadata", "deq_timedelta"]
5262 }
5263 }
5264 },
5265 "right" : {
5266 "type" : "hexstr",
5267 "value" : "0xffffffff"
5268 }
5269 }
5270 }
5271 }
5272 ],
5273 "source_info" : {
5274 "filename" : "include/int_transit.p4",
5275 "line" : 71,
5276 "column" : 8,
5277 "source_fragment" : "hdr.int_egress_tstamp.egress_tstamp = ..."
5278 }
5279 },
5280 {
5281 "op" : "add_header",
5282 "parameters" : [
5283 {
5284 "type" : "header",
5285 "value" : "int_ingress_tstamp"
5286 }
5287 ],
5288 "source_info" : {
5289 "filename" : "include/int_transit.p4",
5290 "line" : 65,
5291 "column" : 8,
5292 "source_fragment" : "hdr.int_ingress_tstamp.setValid()"
5293 }
5294 },
5295 {
5296 "op" : "assign",
5297 "parameters" : [
5298 {
5299 "type" : "field",
5300 "value" : ["int_ingress_tstamp", "ingress_tstamp"]
5301 },
5302 {
5303 "type" : "field",
5304 "value" : ["standard_metadata", "enq_timestamp"]
5305 }
5306 ],
5307 "source_info" : {
5308 "filename" : "include/int_transit.p4",
5309 "line" : 66,
5310 "column" : 8,
5311 "source_fragment" : "hdr.int_ingress_tstamp.ingress_tstamp = ..."
5312 }
5313 }
5314 ]
5315 },
5316 {
5317 "name" : "egress.process_int_outer_encap.int_update_ipv4",
5318 "id" : 49,
5319 "runtime_data" : [],
5320 "primitives" : [
5321 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005322 "op" : "assign",
5323 "parameters" : [
5324 {
5325 "type" : "field",
5326 "value" : ["ipv4", "len"]
5327 },
5328 {
5329 "type" : "expression",
5330 "value" : {
5331 "type" : "expression",
5332 "value" : {
5333 "op" : "&",
5334 "left" : {
5335 "type" : "expression",
5336 "value" : {
5337 "op" : "+",
5338 "left" : {
5339 "type" : "field",
5340 "value" : ["ipv4", "len"]
5341 },
5342 "right" : {
5343 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005344 "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005345 }
5346 }
5347 },
5348 "right" : {
5349 "type" : "hexstr",
5350 "value" : "0xffff"
5351 }
5352 }
5353 }
5354 }
5355 ],
5356 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005357 "filename" : "include/int_transit.p4",
5358 "line" : 304,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005359 "column" : 8,
5360 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len + local_metadata.int_meta.insert_byte_cnt"
5361 }
5362 }
5363 ]
5364 },
5365 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005366 "name" : "egress.process_int_outer_encap.int_update_udp",
5367 "id" : 50,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005368 "runtime_data" : [],
5369 "primitives" : [
5370 {
5371 "op" : "assign",
5372 "parameters" : [
5373 {
5374 "type" : "field",
5375 "value" : ["udp", "length_"]
5376 },
5377 {
5378 "type" : "expression",
5379 "value" : {
5380 "type" : "expression",
5381 "value" : {
5382 "op" : "&",
5383 "left" : {
5384 "type" : "expression",
5385 "value" : {
5386 "op" : "+",
5387 "left" : {
5388 "type" : "field",
5389 "value" : ["udp", "length_"]
5390 },
5391 "right" : {
5392 "type" : "field",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005393 "value" : ["userMetadata.int_meta", "insert_byte_cnt"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005394 }
5395 }
5396 },
5397 "right" : {
5398 "type" : "hexstr",
5399 "value" : "0xffff"
5400 }
5401 }
5402 }
5403 }
5404 ],
5405 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005406 "filename" : "include/int_transit.p4",
5407 "line" : 307,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005408 "column" : 8,
5409 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ + local_metadata.int_meta.insert_byte_cnt"
5410 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005411 }
5412 ]
5413 },
5414 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005415 "name" : "egress.process_int_outer_encap.int_update_shim",
5416 "id" : 51,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005417 "runtime_data" : [],
5418 "primitives" : [
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005419 {
5420 "op" : "assign",
5421 "parameters" : [
5422 {
5423 "type" : "field",
5424 "value" : ["intl4_shim", "len"]
5425 },
5426 {
5427 "type" : "expression",
5428 "value" : {
5429 "type" : "expression",
5430 "value" : {
5431 "op" : "&",
5432 "left" : {
5433 "type" : "expression",
5434 "value" : {
5435 "op" : "+",
5436 "left" : {
5437 "type" : "field",
5438 "value" : ["intl4_shim", "len"]
5439 },
5440 "right" : {
5441 "type" : "expression",
5442 "value" : {
5443 "op" : "&",
5444 "left" : {
5445 "type" : "field",
5446 "value" : ["int_header", "ins_cnt"]
5447 },
5448 "right" : {
5449 "type" : "hexstr",
5450 "value" : "0xff"
5451 }
5452 }
5453 }
5454 }
5455 },
5456 "right" : {
5457 "type" : "hexstr",
5458 "value" : "0xff"
5459 }
5460 }
5461 }
5462 }
5463 ],
5464 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005465 "filename" : "include/int_transit.p4",
5466 "line" : 310,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005467 "column" : 8,
5468 "source_fragment" : "hdr.intl4_shim.len = hdr.intl4_shim.len + (bit<8>)hdr.int_header.ins_cnt"
5469 }
5470 }
5471 ]
5472 },
5473 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005474 "name" : "egress.process_int_sink.restore_header",
5475 "id" : 52,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005476 "runtime_data" : [],
5477 "primitives" : [
5478 {
5479 "op" : "assign",
5480 "parameters" : [
5481 {
5482 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005483 "value" : ["udp", "dst_port"]
5484 },
5485 {
5486 "type" : "field",
5487 "value" : ["intl4_tail", "dest_port"]
5488 }
5489 ],
5490 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005491 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005492 "line" : 27,
5493 "column" : 8,
5494 "source_fragment" : "hdr.udp.dst_port = hdr.intl4_tail.dest_port"
5495 }
5496 },
5497 {
5498 "op" : "assign",
5499 "parameters" : [
5500 {
5501 "type" : "field",
5502 "value" : ["ipv4", "dscp"]
5503 },
5504 {
5505 "type" : "expression",
5506 "value" : {
5507 "type" : "expression",
5508 "value" : {
5509 "op" : "&",
5510 "left" : {
5511 "type" : "field",
5512 "value" : ["intl4_tail", "dscp"]
5513 },
5514 "right" : {
5515 "type" : "hexstr",
5516 "value" : "0x3f"
5517 }
5518 }
5519 }
5520 }
5521 ],
5522 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005523 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005524 "line" : 28,
5525 "column" : 8,
5526 "source_fragment" : "hdr.ipv4.dscp = (bit<6>)hdr.intl4_tail.dscp"
5527 }
5528 }
5529 ]
5530 },
5531 {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005532 "name" : "egress.process_int_sink.int_sink",
5533 "id" : 53,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005534 "runtime_data" : [],
5535 "primitives" : [
5536 {
5537 "op" : "assign",
5538 "parameters" : [
5539 {
5540 "type" : "field",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005541 "value" : ["ipv4", "len"]
5542 },
5543 {
5544 "type" : "expression",
5545 "value" : {
5546 "type" : "expression",
5547 "value" : {
5548 "op" : "&",
5549 "left" : {
5550 "type" : "expression",
5551 "value" : {
5552 "op" : "-",
5553 "left" : {
5554 "type" : "field",
5555 "value" : ["ipv4", "len"]
5556 },
5557 "right" : {
5558 "type" : "expression",
5559 "value" : {
5560 "op" : "&",
5561 "left" : {
5562 "type" : "expression",
5563 "value" : {
5564 "op" : "&",
5565 "left" : {
5566 "type" : "expression",
5567 "value" : {
5568 "op" : "<<",
5569 "left" : {
5570 "type" : "expression",
5571 "value" : {
5572 "op" : "&",
5573 "left" : {
5574 "type" : "expression",
5575 "value" : {
5576 "op" : "-",
5577 "left" : {
5578 "type" : "field",
5579 "value" : ["intl4_shim", "len"]
5580 },
5581 "right" : {
5582 "type" : "expression",
5583 "value" : {
5584 "op" : "&",
5585 "left" : {
5586 "type" : "field",
5587 "value" : ["int_header", "ins_cnt"]
5588 },
5589 "right" : {
5590 "type" : "hexstr",
5591 "value" : "0xff"
5592 }
5593 }
5594 }
5595 }
5596 },
5597 "right" : {
5598 "type" : "hexstr",
5599 "value" : "0xff"
5600 }
5601 }
5602 },
5603 "right" : {
5604 "type" : "hexstr",
5605 "value" : "0x2"
5606 }
5607 }
5608 },
5609 "right" : {
5610 "type" : "hexstr",
5611 "value" : "0xff"
5612 }
5613 }
5614 },
5615 "right" : {
5616 "type" : "hexstr",
5617 "value" : "0xffff"
5618 }
5619 }
5620 }
5621 }
5622 },
5623 "right" : {
5624 "type" : "hexstr",
5625 "value" : "0xffff"
5626 }
5627 }
5628 }
5629 }
5630 ],
5631 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005632 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005633 "line" : 33,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005634 "column" : 8,
5635 "source_fragment" : "hdr.ipv4.len = hdr.ipv4.len - (bit<16>)((hdr.intl4_shim.len - (bit<8>)hdr.int_header.ins_cnt) << 2)"
5636 }
5637 },
5638 {
5639 "op" : "assign",
5640 "parameters" : [
5641 {
5642 "type" : "field",
5643 "value" : ["udp", "length_"]
5644 },
5645 {
5646 "type" : "expression",
5647 "value" : {
5648 "type" : "expression",
5649 "value" : {
5650 "op" : "&",
5651 "left" : {
5652 "type" : "expression",
5653 "value" : {
5654 "op" : "-",
5655 "left" : {
5656 "type" : "field",
5657 "value" : ["udp", "length_"]
5658 },
5659 "right" : {
5660 "type" : "expression",
5661 "value" : {
5662 "op" : "&",
5663 "left" : {
5664 "type" : "expression",
5665 "value" : {
5666 "op" : "&",
5667 "left" : {
5668 "type" : "expression",
5669 "value" : {
5670 "op" : "<<",
5671 "left" : {
5672 "type" : "expression",
5673 "value" : {
5674 "op" : "&",
5675 "left" : {
5676 "type" : "expression",
5677 "value" : {
5678 "op" : "-",
5679 "left" : {
5680 "type" : "field",
5681 "value" : ["intl4_shim", "len"]
5682 },
5683 "right" : {
5684 "type" : "expression",
5685 "value" : {
5686 "op" : "&",
5687 "left" : {
5688 "type" : "field",
5689 "value" : ["int_header", "ins_cnt"]
5690 },
5691 "right" : {
5692 "type" : "hexstr",
5693 "value" : "0xff"
5694 }
5695 }
5696 }
5697 }
5698 },
5699 "right" : {
5700 "type" : "hexstr",
5701 "value" : "0xff"
5702 }
5703 }
5704 },
5705 "right" : {
5706 "type" : "hexstr",
5707 "value" : "0x2"
5708 }
5709 }
5710 },
5711 "right" : {
5712 "type" : "hexstr",
5713 "value" : "0xff"
5714 }
5715 }
5716 },
5717 "right" : {
5718 "type" : "hexstr",
5719 "value" : "0xffff"
5720 }
5721 }
5722 }
5723 }
5724 },
5725 "right" : {
5726 "type" : "hexstr",
5727 "value" : "0xffff"
5728 }
5729 }
5730 }
5731 }
5732 ],
5733 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005734 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005735 "line" : 34,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005736 "column" : 8,
5737 "source_fragment" : "hdr.udp.length_ = hdr.udp.length_ - (bit<16>)((hdr.intl4_shim.len - (bit<8>)hdr.int_header.ins_cnt) << 2)"
5738 }
5739 },
5740 {
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005741 "op" : "remove_header",
5742 "parameters" : [
5743 {
5744 "type" : "header",
5745 "value" : "int_header"
5746 }
5747 ],
5748 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005749 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005750 "line" : 36,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005751 "column" : 8,
5752 "source_fragment" : "hdr.int_header.setInvalid()"
5753 }
5754 },
5755 {
5756 "op" : "remove_header",
5757 "parameters" : [
5758 {
5759 "type" : "header",
5760 "value" : "int_data"
5761 }
5762 ],
5763 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005764 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005765 "line" : 37,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005766 "column" : 8,
5767 "source_fragment" : "hdr.int_data.setInvalid()"
5768 }
5769 },
5770 {
5771 "op" : "remove_header",
5772 "parameters" : [
5773 {
5774 "type" : "header",
5775 "value" : "intl4_shim"
5776 }
5777 ],
5778 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005779 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005780 "line" : 38,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005781 "column" : 8,
5782 "source_fragment" : "hdr.intl4_shim.setInvalid()"
5783 }
5784 },
5785 {
5786 "op" : "remove_header",
5787 "parameters" : [
5788 {
5789 "type" : "header",
5790 "value" : "intl4_tail"
5791 }
5792 ],
5793 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005794 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005795 "line" : 39,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005796 "column" : 8,
5797 "source_fragment" : "hdr.intl4_tail.setInvalid()"
5798 }
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005799 },
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005800 {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005801 "op" : "remove_header",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005802 "parameters" : [
5803 {
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005804 "type" : "header",
5805 "value" : "int_switch_id"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005806 }
5807 ],
5808 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005809 "filename" : "include/int_sink.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005810 "line" : 40,
5811 "column" : 8,
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005812 "source_fragment" : "hdr.int_switch_id.setInvalid()"
5813 }
5814 },
5815 {
5816 "op" : "remove_header",
5817 "parameters" : [
5818 {
5819 "type" : "header",
5820 "value" : "int_port_ids"
5821 }
5822 ],
5823 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005824 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005825 "line" : 41,
5826 "column" : 8,
5827 "source_fragment" : "hdr.int_port_ids.setInvalid()"
5828 }
5829 },
5830 {
5831 "op" : "remove_header",
5832 "parameters" : [
5833 {
5834 "type" : "header",
5835 "value" : "int_hop_latency"
5836 }
5837 ],
5838 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005839 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005840 "line" : 42,
5841 "column" : 8,
5842 "source_fragment" : "hdr.int_hop_latency.setInvalid()"
5843 }
5844 },
5845 {
5846 "op" : "remove_header",
5847 "parameters" : [
5848 {
5849 "type" : "header",
5850 "value" : "int_q_occupancy"
5851 }
5852 ],
5853 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005854 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005855 "line" : 43,
5856 "column" : 8,
5857 "source_fragment" : "hdr.int_q_occupancy.setInvalid()"
5858 }
5859 },
5860 {
5861 "op" : "remove_header",
5862 "parameters" : [
5863 {
5864 "type" : "header",
5865 "value" : "int_ingress_tstamp"
5866 }
5867 ],
5868 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005869 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005870 "line" : 44,
5871 "column" : 8,
5872 "source_fragment" : "hdr.int_ingress_tstamp.setInvalid()"
5873 }
5874 },
5875 {
5876 "op" : "remove_header",
5877 "parameters" : [
5878 {
5879 "type" : "header",
5880 "value" : "int_egress_tstamp"
5881 }
5882 ],
5883 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005884 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005885 "line" : 45,
5886 "column" : 8,
5887 "source_fragment" : "hdr.int_egress_tstamp.setInvalid()"
5888 }
5889 },
5890 {
5891 "op" : "remove_header",
5892 "parameters" : [
5893 {
5894 "type" : "header",
5895 "value" : "int_q_congestion"
5896 }
5897 ],
5898 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005899 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005900 "line" : 46,
5901 "column" : 8,
5902 "source_fragment" : "hdr.int_q_congestion.setInvalid()"
5903 }
5904 },
5905 {
5906 "op" : "remove_header",
5907 "parameters" : [
5908 {
5909 "type" : "header",
5910 "value" : "int_egress_tx_util"
5911 }
5912 ],
5913 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005914 "filename" : "include/int_sink.p4",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005915 "line" : 47,
5916 "column" : 8,
5917 "source_fragment" : "hdr.int_egress_tx_util.setInvalid()"
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005918 }
5919 }
5920 ]
5921 },
5922 {
5923 "name" : "act_1",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005924 "id" : 54,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005925 "runtime_data" : [],
5926 "primitives" : [
5927 {
5928 "op" : "add_header",
5929 "parameters" : [
5930 {
5931 "type" : "header",
5932 "value" : "packet_in"
5933 }
5934 ],
5935 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005936 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005937 "line" : 38,
5938 "column" : 12,
5939 "source_fragment" : "hdr.packet_in.setValid()"
5940 }
5941 },
5942 {
5943 "op" : "assign",
5944 "parameters" : [
5945 {
5946 "type" : "field",
5947 "value" : ["packet_in", "ingress_port"]
5948 },
5949 {
5950 "type" : "field",
5951 "value" : ["standard_metadata", "ingress_port"]
5952 }
5953 ],
5954 "source_info" : {
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005955 "filename" : "include/packet_io.p4",
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005956 "line" : 39,
5957 "column" : 12,
5958 "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
5959 }
5960 }
5961 ]
5962 },
5963 {
5964 "name" : "act_2",
Jonghwan Hyunf5d57822018-05-09 10:19:50 -07005965 "id" : 55,
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005966 "runtime_data" : [],
5967 "primitives" : [
5968 {
5969 "op" : "assign",
5970 "parameters" : [
5971 {
5972 "type" : "field",
Jonghwan Hyun8be03392017-12-04 15:48:44 -08005973 "value" : ["scalars", "tmp_3"]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08005974 },
5975 {
5976 "type" : "expression",
5977 "value" : {
5978 "type" : "expression",
5979 "value" : {
5980 "op" : "&",
5981 "left" : {
5982 "type" : "field",
5983 "value" : ["standard_metadata", "egress_port"]
5984 },
5985 "right" : {
5986 "type" : "hexstr",
5987 "value" : "0xffffffff"
5988 }
5989 }
5990 }
5991 }
5992 ]
5993 },
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 ]
6954 ]
6955}