blob: 7a26032d806afbbee047827d336e6973819f8a53 [file] [log] [blame]
Carmelo Casconec8e84982017-07-26 15:34:42 -04001{
2 "program" : "default.p4",
3 "__meta__" : {
4 "version" : [2, 7],
5 "compiler" : "https://github.com/p4lang/p4c"
6 },
7 "header_types" : [
8 {
9 "name" : "scalars_0",
10 "id" : 0,
11 "fields" : [
12 ["tmp", 32, false],
13 ["tmp_0", 32, false]
14 ]
15 },
16 {
17 "name" : "standard_metadata",
18 "id" : 1,
19 "fields" : [
20 ["ingress_port", 9, false],
21 ["egress_spec", 9, false],
22 ["egress_port", 9, false],
23 ["clone_spec", 32, false],
24 ["instance_type", 32, false],
25 ["drop", 1, false],
26 ["recirculate_port", 16, false],
27 ["packet_length", 32, false],
28 ["enq_timestamp", 32, false],
29 ["enq_qdepth", 19, false],
30 ["deq_timedelta", 32, false],
31 ["deq_qdepth", 19, false],
32 ["ingress_global_timestamp", 48, false],
33 ["lf_field_list", 32, false],
34 ["mcast_grp", 16, false],
35 ["resubmit_flag", 1, false],
36 ["egress_rid", 16, false],
37 ["_padding", 5, false]
38 ]
39 },
40 {
41 "name" : "ethernet_t",
42 "id" : 2,
43 "fields" : [
44 ["dstAddr", 48, false],
45 ["srcAddr", 48, false],
46 ["etherType", 16, false]
47 ]
48 },
49 {
50 "name" : "ipv4_t",
51 "id" : 3,
52 "fields" : [
53 ["version", 4, false],
54 ["ihl", 4, false],
55 ["diffserv", 8, false],
56 ["totalLen", 16, false],
57 ["identification", 16, false],
58 ["flags", 3, false],
59 ["fragOffset", 13, false],
60 ["ttl", 8, false],
61 ["protocol", 8, false],
62 ["hdrChecksum", 16, false],
63 ["srcAddr", 32, false],
64 ["dstAddr", 32, false]
65 ]
66 },
67 {
68 "name" : "tcp_t",
69 "id" : 4,
70 "fields" : [
71 ["srcPort", 16, false],
72 ["dstPort", 16, false],
73 ["seqNo", 32, false],
74 ["ackNo", 32, false],
75 ["dataOffset", 4, false],
76 ["res", 3, false],
77 ["ecn", 3, false],
78 ["ctrl", 6, false],
79 ["window", 16, false],
80 ["checksum", 16, false],
81 ["urgentPtr", 16, false]
82 ]
83 },
84 {
85 "name" : "udp_t",
86 "id" : 5,
87 "fields" : [
88 ["srcPort", 16, false],
89 ["dstPort", 16, false],
90 ["length_", 16, false],
91 ["checksum", 16, false]
92 ]
93 },
94 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -040095 "name" : "packet_out_header_t",
Carmelo Casconec8e84982017-07-26 15:34:42 -040096 "id" : 6,
97 "fields" : [
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -040098 ["egress_port", 9, false],
99 ["_padding_0", 7, false]
100 ]
101 },
102 {
103 "name" : "packet_in_header_t",
104 "id" : 7,
105 "fields" : [
106 ["ingress_port", 9, false],
107 ["_padding_1", 7, false]
108 ]
109 },
110 {
Carmelo Casconec8e84982017-07-26 15:34:42 -0400111 "name" : "intrinsic_metadata_t",
Carmelo Cascone3304fd52017-07-30 00:43:01 -0400112 "id" : 8,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400113 "fields" : [
114 ["ingress_global_timestamp", 32, false],
115 ["lf_field_list", 32, false],
116 ["mcast_grp", 16, false],
117 ["egress_rid", 16, false]
118 ]
119 }
120 ],
121 "headers" : [
122 {
123 "name" : "standard_metadata_3",
124 "id" : 0,
125 "header_type" : "standard_metadata",
126 "metadata" : true,
127 "pi_omit" : true
128 },
129 {
130 "name" : "standard_metadata_4",
131 "id" : 1,
132 "header_type" : "standard_metadata",
133 "metadata" : true,
134 "pi_omit" : true
135 },
136 {
137 "name" : "standard_metadata_5",
138 "id" : 2,
139 "header_type" : "standard_metadata",
140 "metadata" : true,
141 "pi_omit" : true
142 },
143 {
144 "name" : "scalars",
145 "id" : 3,
146 "header_type" : "scalars_0",
147 "metadata" : true,
148 "pi_omit" : true
149 },
150 {
151 "name" : "standard_metadata",
152 "id" : 4,
153 "header_type" : "standard_metadata",
154 "metadata" : true,
155 "pi_omit" : true
156 },
157 {
158 "name" : "ethernet",
159 "id" : 5,
160 "header_type" : "ethernet_t",
161 "metadata" : false,
162 "pi_omit" : true
163 },
164 {
165 "name" : "ipv4",
166 "id" : 6,
167 "header_type" : "ipv4_t",
168 "metadata" : false,
169 "pi_omit" : true
170 },
171 {
172 "name" : "tcp",
173 "id" : 7,
174 "header_type" : "tcp_t",
175 "metadata" : false,
176 "pi_omit" : true
177 },
178 {
179 "name" : "udp",
180 "id" : 8,
181 "header_type" : "udp_t",
182 "metadata" : false,
183 "pi_omit" : true
184 },
185 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400186 "name" : "packet_out",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400187 "id" : 9,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400188 "header_type" : "packet_out_header_t",
189 "metadata" : false,
190 "pi_omit" : true
191 },
192 {
193 "name" : "packet_in",
194 "id" : 10,
195 "header_type" : "packet_in_header_t",
196 "metadata" : false,
197 "pi_omit" : true
198 },
199 {
Carmelo Casconec8e84982017-07-26 15:34:42 -0400200 "name" : "intrinsic_metadata",
Carmelo Cascone3304fd52017-07-30 00:43:01 -0400201 "id" : 11,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400202 "header_type" : "intrinsic_metadata_t",
203 "metadata" : true,
204 "pi_omit" : true
205 }
206 ],
207 "header_stacks" : [],
208 "header_union_types" : [],
209 "header_unions" : [],
210 "header_union_stacks" : [],
211 "field_lists" : [],
212 "errors" : [
213 ["NoError", 1],
214 ["PacketTooShort", 2],
215 ["NoMatch", 3],
216 ["StackOutOfBounds", 4],
217 ["HeaderTooShort", 5],
218 ["ParserTimeout", 6]
219 ],
220 "enums" : [],
221 "parsers" : [
222 {
223 "name" : "parser",
224 "id" : 0,
225 "init_state" : "start",
226 "parse_states" : [
227 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400228 "name" : "parse_packet_out",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400229 "id" : 0,
230 "parser_ops" : [
231 {
232 "parameters" : [
233 {
234 "type" : "regular",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400235 "value" : "packet_out"
236 }
237 ],
238 "op" : "extract"
239 }
240 ],
241 "transitions" : [
242 {
243 "value" : "default",
244 "mask" : null,
245 "next_state" : "parse_ethernet"
246 }
247 ],
248 "transition_key" : []
249 },
250 {
251 "name" : "parse_ethernet",
252 "id" : 1,
253 "parser_ops" : [
254 {
255 "parameters" : [
256 {
257 "type" : "regular",
258 "value" : "ethernet"
259 }
260 ],
261 "op" : "extract"
262 }
263 ],
264 "transitions" : [
265 {
266 "value" : "0x0800",
267 "mask" : null,
268 "next_state" : "parse_ipv4"
269 },
270 {
271 "value" : "default",
272 "mask" : null,
273 "next_state" : null
274 }
275 ],
276 "transition_key" : [
277 {
278 "type" : "field",
279 "value" : ["ethernet", "etherType"]
280 }
281 ]
282 },
283 {
284 "name" : "parse_ipv4",
285 "id" : 2,
286 "parser_ops" : [
287 {
288 "parameters" : [
289 {
290 "type" : "regular",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400291 "value" : "ipv4"
292 }
293 ],
294 "op" : "extract"
295 }
296 ],
297 "transitions" : [
298 {
299 "value" : "0x06",
300 "mask" : null,
301 "next_state" : "parse_tcp"
302 },
303 {
304 "value" : "0x11",
305 "mask" : null,
306 "next_state" : "parse_udp"
307 },
308 {
309 "value" : "default",
310 "mask" : null,
311 "next_state" : null
312 }
313 ],
314 "transition_key" : [
315 {
316 "type" : "field",
317 "value" : ["ipv4", "protocol"]
318 }
319 ]
320 },
321 {
322 "name" : "parse_tcp",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400323 "id" : 3,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400324 "parser_ops" : [
325 {
326 "parameters" : [
327 {
328 "type" : "regular",
329 "value" : "tcp"
330 }
331 ],
332 "op" : "extract"
333 }
334 ],
335 "transitions" : [
336 {
337 "value" : "default",
338 "mask" : null,
339 "next_state" : null
340 }
341 ],
342 "transition_key" : []
343 },
344 {
345 "name" : "parse_udp",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400346 "id" : 4,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400347 "parser_ops" : [
348 {
349 "parameters" : [
350 {
351 "type" : "regular",
352 "value" : "udp"
353 }
354 ],
355 "op" : "extract"
356 }
357 ],
358 "transitions" : [
359 {
360 "value" : "default",
361 "mask" : null,
362 "next_state" : null
363 }
364 ],
365 "transition_key" : []
366 },
367 {
368 "name" : "start",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400369 "id" : 5,
370 "parser_ops" : [],
Carmelo Casconec8e84982017-07-26 15:34:42 -0400371 "transitions" : [
372 {
Carmelo Cascone4e593822017-07-30 01:10:53 -0400373 "value" : "0x00ff",
Carmelo Casconec8e84982017-07-26 15:34:42 -0400374 "mask" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400375 "next_state" : "parse_packet_out"
Carmelo Casconec8e84982017-07-26 15:34:42 -0400376 },
377 {
378 "value" : "default",
379 "mask" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400380 "next_state" : "parse_ethernet"
Carmelo Casconec8e84982017-07-26 15:34:42 -0400381 }
382 ],
383 "transition_key" : [
384 {
385 "type" : "field",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400386 "value" : ["standard_metadata", "ingress_port"]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400387 }
388 ]
389 }
390 ]
391 }
392 ],
393 "deparsers" : [
394 {
395 "name" : "deparser",
396 "id" : 0,
397 "source_info" : {
398 "filename" : "include/parsers.p4",
Carmelo Cascone3304fd52017-07-30 00:43:01 -0400399 "line" : 48,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400400 "column" : 8,
401 "source_fragment" : "DeparserImpl"
402 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400403 "order" : ["packet_in", "ethernet", "ipv4", "udp", "tcp"]
Carmelo Casconec8e84982017-07-26 15:34:42 -0400404 }
405 ],
406 "meter_arrays" : [],
407 "counter_arrays" : [
408 {
409 "name" : "table0_counter",
410 "id" : 0,
411 "is_direct" : true,
412 "binding" : "table0"
413 },
414 {
415 "name" : "port_counters_control.egress_port_counter",
416 "id" : 1,
417 "source_info" : {
418 "filename" : "include/port_counters.p4",
419 "line" : 6,
420 "column" : 38,
421 "source_fragment" : "egress_port_counter"
422 },
423 "size" : 254,
424 "is_direct" : false
425 },
426 {
427 "name" : "port_counters_control.ingress_port_counter",
428 "id" : 2,
429 "source_info" : {
430 "filename" : "include/port_counters.p4",
431 "line" : 7,
432 "column" : 38,
433 "source_fragment" : "ingress_port_counter"
434 },
435 "size" : 254,
436 "is_direct" : false
437 }
438 ],
439 "register_arrays" : [],
440 "calculations" : [],
441 "learn_lists" : [],
442 "actions" : [
443 {
444 "name" : "set_egress_port",
445 "id" : 0,
446 "runtime_data" : [
447 {
448 "name" : "port",
449 "bitwidth" : 9
450 }
451 ],
452 "primitives" : [
453 {
454 "op" : "assign",
455 "parameters" : [
456 {
457 "type" : "field",
458 "value" : ["standard_metadata_3", "ingress_port"]
459 },
460 {
461 "type" : "field",
462 "value" : ["standard_metadata", "ingress_port"]
463 }
464 ],
465 "source_info" : {
466 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400467 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400468 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400469 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400470 }
471 },
472 {
473 "op" : "assign",
474 "parameters" : [
475 {
476 "type" : "field",
477 "value" : ["standard_metadata_3", "egress_spec"]
478 },
479 {
480 "type" : "field",
481 "value" : ["standard_metadata", "egress_spec"]
482 }
483 ],
484 "source_info" : {
485 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400486 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400487 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400488 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400489 }
490 },
491 {
492 "op" : "assign",
493 "parameters" : [
494 {
495 "type" : "field",
496 "value" : ["standard_metadata_3", "egress_port"]
497 },
498 {
499 "type" : "field",
500 "value" : ["standard_metadata", "egress_port"]
501 }
502 ],
503 "source_info" : {
504 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400505 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400506 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400507 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400508 }
509 },
510 {
511 "op" : "assign",
512 "parameters" : [
513 {
514 "type" : "field",
515 "value" : ["standard_metadata_3", "clone_spec"]
516 },
517 {
518 "type" : "field",
519 "value" : ["standard_metadata", "clone_spec"]
520 }
521 ],
522 "source_info" : {
523 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400524 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400525 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400526 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400527 }
528 },
529 {
530 "op" : "assign",
531 "parameters" : [
532 {
533 "type" : "field",
534 "value" : ["standard_metadata_3", "instance_type"]
535 },
536 {
537 "type" : "field",
538 "value" : ["standard_metadata", "instance_type"]
539 }
540 ],
541 "source_info" : {
542 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400543 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400544 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400545 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400546 }
547 },
548 {
549 "op" : "assign",
550 "parameters" : [
551 {
552 "type" : "field",
553 "value" : ["standard_metadata_3", "drop"]
554 },
555 {
556 "type" : "field",
557 "value" : ["standard_metadata", "drop"]
558 }
559 ],
560 "source_info" : {
561 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400562 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400563 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400564 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400565 }
566 },
567 {
568 "op" : "assign",
569 "parameters" : [
570 {
571 "type" : "field",
572 "value" : ["standard_metadata_3", "recirculate_port"]
573 },
574 {
575 "type" : "field",
576 "value" : ["standard_metadata", "recirculate_port"]
577 }
578 ],
579 "source_info" : {
580 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400581 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400582 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400583 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400584 }
585 },
586 {
587 "op" : "assign",
588 "parameters" : [
589 {
590 "type" : "field",
591 "value" : ["standard_metadata_3", "packet_length"]
592 },
593 {
594 "type" : "field",
595 "value" : ["standard_metadata", "packet_length"]
596 }
597 ],
598 "source_info" : {
599 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400600 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400601 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400602 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400603 }
604 },
605 {
606 "op" : "assign",
607 "parameters" : [
608 {
609 "type" : "field",
610 "value" : ["standard_metadata_3", "enq_timestamp"]
611 },
612 {
613 "type" : "field",
614 "value" : ["standard_metadata", "enq_timestamp"]
615 }
616 ],
617 "source_info" : {
618 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400619 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400620 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400621 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400622 }
623 },
624 {
625 "op" : "assign",
626 "parameters" : [
627 {
628 "type" : "field",
629 "value" : ["standard_metadata_3", "enq_qdepth"]
630 },
631 {
632 "type" : "field",
633 "value" : ["standard_metadata", "enq_qdepth"]
634 }
635 ],
636 "source_info" : {
637 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400638 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400639 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400640 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400641 }
642 },
643 {
644 "op" : "assign",
645 "parameters" : [
646 {
647 "type" : "field",
648 "value" : ["standard_metadata_3", "deq_timedelta"]
649 },
650 {
651 "type" : "field",
652 "value" : ["standard_metadata", "deq_timedelta"]
653 }
654 ],
655 "source_info" : {
656 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400657 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400658 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400659 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400660 }
661 },
662 {
663 "op" : "assign",
664 "parameters" : [
665 {
666 "type" : "field",
667 "value" : ["standard_metadata_3", "deq_qdepth"]
668 },
669 {
670 "type" : "field",
671 "value" : ["standard_metadata", "deq_qdepth"]
672 }
673 ],
674 "source_info" : {
675 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400676 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400677 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400678 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400679 }
680 },
681 {
682 "op" : "assign",
683 "parameters" : [
684 {
685 "type" : "field",
686 "value" : ["standard_metadata_3", "ingress_global_timestamp"]
687 },
688 {
689 "type" : "field",
690 "value" : ["standard_metadata", "ingress_global_timestamp"]
691 }
692 ],
693 "source_info" : {
694 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400695 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400696 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400697 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400698 }
699 },
700 {
701 "op" : "assign",
702 "parameters" : [
703 {
704 "type" : "field",
705 "value" : ["standard_metadata_3", "lf_field_list"]
706 },
707 {
708 "type" : "field",
709 "value" : ["standard_metadata", "lf_field_list"]
710 }
711 ],
712 "source_info" : {
713 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400714 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400715 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400716 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400717 }
718 },
719 {
720 "op" : "assign",
721 "parameters" : [
722 {
723 "type" : "field",
724 "value" : ["standard_metadata_3", "mcast_grp"]
725 },
726 {
727 "type" : "field",
728 "value" : ["standard_metadata", "mcast_grp"]
729 }
730 ],
731 "source_info" : {
732 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400733 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400734 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400735 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400736 }
737 },
738 {
739 "op" : "assign",
740 "parameters" : [
741 {
742 "type" : "field",
743 "value" : ["standard_metadata_3", "resubmit_flag"]
744 },
745 {
746 "type" : "field",
747 "value" : ["standard_metadata", "resubmit_flag"]
748 }
749 ],
750 "source_info" : {
751 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400752 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400753 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400754 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400755 }
756 },
757 {
758 "op" : "assign",
759 "parameters" : [
760 {
761 "type" : "field",
762 "value" : ["standard_metadata_3", "egress_rid"]
763 },
764 {
765 "type" : "field",
766 "value" : ["standard_metadata", "egress_rid"]
767 }
768 ],
769 "source_info" : {
770 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400771 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400772 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400773 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400774 }
775 },
776 {
777 "op" : "assign",
778 "parameters" : [
779 {
780 "type" : "field",
781 "value" : ["standard_metadata_3", "egress_spec"]
782 },
783 {
784 "type" : "runtime_data",
785 "value" : 0
786 }
787 ],
788 "source_info" : {
789 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400790 "line" : 11,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400791 "column" : 4,
792 "source_fragment" : "standard_metadata.egress_spec = port"
793 }
794 },
795 {
796 "op" : "assign",
797 "parameters" : [
798 {
799 "type" : "field",
800 "value" : ["standard_metadata", "ingress_port"]
801 },
802 {
803 "type" : "field",
804 "value" : ["standard_metadata_3", "ingress_port"]
805 }
806 ],
807 "source_info" : {
808 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400809 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400810 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400811 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400812 }
813 },
814 {
815 "op" : "assign",
816 "parameters" : [
817 {
818 "type" : "field",
819 "value" : ["standard_metadata", "egress_spec"]
820 },
821 {
822 "type" : "field",
823 "value" : ["standard_metadata_3", "egress_spec"]
824 }
825 ],
826 "source_info" : {
827 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400828 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400829 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400830 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400831 }
832 },
833 {
834 "op" : "assign",
835 "parameters" : [
836 {
837 "type" : "field",
838 "value" : ["standard_metadata", "egress_port"]
839 },
840 {
841 "type" : "field",
842 "value" : ["standard_metadata_3", "egress_port"]
843 }
844 ],
845 "source_info" : {
846 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400847 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400848 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400849 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400850 }
851 },
852 {
853 "op" : "assign",
854 "parameters" : [
855 {
856 "type" : "field",
857 "value" : ["standard_metadata", "clone_spec"]
858 },
859 {
860 "type" : "field",
861 "value" : ["standard_metadata_3", "clone_spec"]
862 }
863 ],
864 "source_info" : {
865 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400866 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400867 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400868 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400869 }
870 },
871 {
872 "op" : "assign",
873 "parameters" : [
874 {
875 "type" : "field",
876 "value" : ["standard_metadata", "instance_type"]
877 },
878 {
879 "type" : "field",
880 "value" : ["standard_metadata_3", "instance_type"]
881 }
882 ],
883 "source_info" : {
884 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400885 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400886 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400887 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400888 }
889 },
890 {
891 "op" : "assign",
892 "parameters" : [
893 {
894 "type" : "field",
895 "value" : ["standard_metadata", "drop"]
896 },
897 {
898 "type" : "field",
899 "value" : ["standard_metadata_3", "drop"]
900 }
901 ],
902 "source_info" : {
903 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400904 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400905 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400906 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400907 }
908 },
909 {
910 "op" : "assign",
911 "parameters" : [
912 {
913 "type" : "field",
914 "value" : ["standard_metadata", "recirculate_port"]
915 },
916 {
917 "type" : "field",
918 "value" : ["standard_metadata_3", "recirculate_port"]
919 }
920 ],
921 "source_info" : {
922 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400923 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400924 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400925 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400926 }
927 },
928 {
929 "op" : "assign",
930 "parameters" : [
931 {
932 "type" : "field",
933 "value" : ["standard_metadata", "packet_length"]
934 },
935 {
936 "type" : "field",
937 "value" : ["standard_metadata_3", "packet_length"]
938 }
939 ],
940 "source_info" : {
941 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400942 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400943 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400944 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400945 }
946 },
947 {
948 "op" : "assign",
949 "parameters" : [
950 {
951 "type" : "field",
952 "value" : ["standard_metadata", "enq_timestamp"]
953 },
954 {
955 "type" : "field",
956 "value" : ["standard_metadata_3", "enq_timestamp"]
957 }
958 ],
959 "source_info" : {
960 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400961 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400962 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400963 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400964 }
965 },
966 {
967 "op" : "assign",
968 "parameters" : [
969 {
970 "type" : "field",
971 "value" : ["standard_metadata", "enq_qdepth"]
972 },
973 {
974 "type" : "field",
975 "value" : ["standard_metadata_3", "enq_qdepth"]
976 }
977 ],
978 "source_info" : {
979 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400980 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -0400981 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400982 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -0400983 }
984 },
985 {
986 "op" : "assign",
987 "parameters" : [
988 {
989 "type" : "field",
990 "value" : ["standard_metadata", "deq_timedelta"]
991 },
992 {
993 "type" : "field",
994 "value" : ["standard_metadata_3", "deq_timedelta"]
995 }
996 ],
997 "source_info" : {
998 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -0400999 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001000 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001001 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001002 }
1003 },
1004 {
1005 "op" : "assign",
1006 "parameters" : [
1007 {
1008 "type" : "field",
1009 "value" : ["standard_metadata", "deq_qdepth"]
1010 },
1011 {
1012 "type" : "field",
1013 "value" : ["standard_metadata_3", "deq_qdepth"]
1014 }
1015 ],
1016 "source_info" : {
1017 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001018 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001019 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001020 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001021 }
1022 },
1023 {
1024 "op" : "assign",
1025 "parameters" : [
1026 {
1027 "type" : "field",
1028 "value" : ["standard_metadata", "ingress_global_timestamp"]
1029 },
1030 {
1031 "type" : "field",
1032 "value" : ["standard_metadata_3", "ingress_global_timestamp"]
1033 }
1034 ],
1035 "source_info" : {
1036 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001037 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001038 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001039 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001040 }
1041 },
1042 {
1043 "op" : "assign",
1044 "parameters" : [
1045 {
1046 "type" : "field",
1047 "value" : ["standard_metadata", "lf_field_list"]
1048 },
1049 {
1050 "type" : "field",
1051 "value" : ["standard_metadata_3", "lf_field_list"]
1052 }
1053 ],
1054 "source_info" : {
1055 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001056 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001057 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001058 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001059 }
1060 },
1061 {
1062 "op" : "assign",
1063 "parameters" : [
1064 {
1065 "type" : "field",
1066 "value" : ["standard_metadata", "mcast_grp"]
1067 },
1068 {
1069 "type" : "field",
1070 "value" : ["standard_metadata_3", "mcast_grp"]
1071 }
1072 ],
1073 "source_info" : {
1074 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001075 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001076 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001077 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001078 }
1079 },
1080 {
1081 "op" : "assign",
1082 "parameters" : [
1083 {
1084 "type" : "field",
1085 "value" : ["standard_metadata", "resubmit_flag"]
1086 },
1087 {
1088 "type" : "field",
1089 "value" : ["standard_metadata_3", "resubmit_flag"]
1090 }
1091 ],
1092 "source_info" : {
1093 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001094 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001095 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001096 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001097 }
1098 },
1099 {
1100 "op" : "assign",
1101 "parameters" : [
1102 {
1103 "type" : "field",
1104 "value" : ["standard_metadata", "egress_rid"]
1105 },
1106 {
1107 "type" : "field",
1108 "value" : ["standard_metadata_3", "egress_rid"]
1109 }
1110 ],
1111 "source_info" : {
1112 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001113 "line" : 10,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001114 "column" : 49,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001115 "source_fragment" : "standard_metadata, port_t port) { ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001116 }
1117 }
1118 ]
1119 },
1120 {
1121 "name" : "send_to_cpu",
1122 "id" : 1,
1123 "runtime_data" : [],
1124 "primitives" : [
1125 {
1126 "op" : "assign",
1127 "parameters" : [
1128 {
1129 "type" : "field",
1130 "value" : ["standard_metadata_4", "ingress_port"]
1131 },
1132 {
1133 "type" : "field",
1134 "value" : ["standard_metadata", "ingress_port"]
1135 }
1136 ],
1137 "source_info" : {
1138 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001139 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001140 "column" : 45,
1141 "source_fragment" : "standard_metadata) { ..."
1142 }
1143 },
1144 {
1145 "op" : "assign",
1146 "parameters" : [
1147 {
1148 "type" : "field",
1149 "value" : ["standard_metadata_4", "egress_spec"]
1150 },
1151 {
1152 "type" : "field",
1153 "value" : ["standard_metadata", "egress_spec"]
1154 }
1155 ],
1156 "source_info" : {
1157 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001158 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001159 "column" : 45,
1160 "source_fragment" : "standard_metadata) { ..."
1161 }
1162 },
1163 {
1164 "op" : "assign",
1165 "parameters" : [
1166 {
1167 "type" : "field",
1168 "value" : ["standard_metadata_4", "egress_port"]
1169 },
1170 {
1171 "type" : "field",
1172 "value" : ["standard_metadata", "egress_port"]
1173 }
1174 ],
1175 "source_info" : {
1176 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001177 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001178 "column" : 45,
1179 "source_fragment" : "standard_metadata) { ..."
1180 }
1181 },
1182 {
1183 "op" : "assign",
1184 "parameters" : [
1185 {
1186 "type" : "field",
1187 "value" : ["standard_metadata_4", "clone_spec"]
1188 },
1189 {
1190 "type" : "field",
1191 "value" : ["standard_metadata", "clone_spec"]
1192 }
1193 ],
1194 "source_info" : {
1195 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001196 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001197 "column" : 45,
1198 "source_fragment" : "standard_metadata) { ..."
1199 }
1200 },
1201 {
1202 "op" : "assign",
1203 "parameters" : [
1204 {
1205 "type" : "field",
1206 "value" : ["standard_metadata_4", "instance_type"]
1207 },
1208 {
1209 "type" : "field",
1210 "value" : ["standard_metadata", "instance_type"]
1211 }
1212 ],
1213 "source_info" : {
1214 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001215 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001216 "column" : 45,
1217 "source_fragment" : "standard_metadata) { ..."
1218 }
1219 },
1220 {
1221 "op" : "assign",
1222 "parameters" : [
1223 {
1224 "type" : "field",
1225 "value" : ["standard_metadata_4", "drop"]
1226 },
1227 {
1228 "type" : "field",
1229 "value" : ["standard_metadata", "drop"]
1230 }
1231 ],
1232 "source_info" : {
1233 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001234 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001235 "column" : 45,
1236 "source_fragment" : "standard_metadata) { ..."
1237 }
1238 },
1239 {
1240 "op" : "assign",
1241 "parameters" : [
1242 {
1243 "type" : "field",
1244 "value" : ["standard_metadata_4", "recirculate_port"]
1245 },
1246 {
1247 "type" : "field",
1248 "value" : ["standard_metadata", "recirculate_port"]
1249 }
1250 ],
1251 "source_info" : {
1252 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001253 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001254 "column" : 45,
1255 "source_fragment" : "standard_metadata) { ..."
1256 }
1257 },
1258 {
1259 "op" : "assign",
1260 "parameters" : [
1261 {
1262 "type" : "field",
1263 "value" : ["standard_metadata_4", "packet_length"]
1264 },
1265 {
1266 "type" : "field",
1267 "value" : ["standard_metadata", "packet_length"]
1268 }
1269 ],
1270 "source_info" : {
1271 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001272 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001273 "column" : 45,
1274 "source_fragment" : "standard_metadata) { ..."
1275 }
1276 },
1277 {
1278 "op" : "assign",
1279 "parameters" : [
1280 {
1281 "type" : "field",
1282 "value" : ["standard_metadata_4", "enq_timestamp"]
1283 },
1284 {
1285 "type" : "field",
1286 "value" : ["standard_metadata", "enq_timestamp"]
1287 }
1288 ],
1289 "source_info" : {
1290 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001291 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001292 "column" : 45,
1293 "source_fragment" : "standard_metadata) { ..."
1294 }
1295 },
1296 {
1297 "op" : "assign",
1298 "parameters" : [
1299 {
1300 "type" : "field",
1301 "value" : ["standard_metadata_4", "enq_qdepth"]
1302 },
1303 {
1304 "type" : "field",
1305 "value" : ["standard_metadata", "enq_qdepth"]
1306 }
1307 ],
1308 "source_info" : {
1309 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001310 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001311 "column" : 45,
1312 "source_fragment" : "standard_metadata) { ..."
1313 }
1314 },
1315 {
1316 "op" : "assign",
1317 "parameters" : [
1318 {
1319 "type" : "field",
1320 "value" : ["standard_metadata_4", "deq_timedelta"]
1321 },
1322 {
1323 "type" : "field",
1324 "value" : ["standard_metadata", "deq_timedelta"]
1325 }
1326 ],
1327 "source_info" : {
1328 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001329 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001330 "column" : 45,
1331 "source_fragment" : "standard_metadata) { ..."
1332 }
1333 },
1334 {
1335 "op" : "assign",
1336 "parameters" : [
1337 {
1338 "type" : "field",
1339 "value" : ["standard_metadata_4", "deq_qdepth"]
1340 },
1341 {
1342 "type" : "field",
1343 "value" : ["standard_metadata", "deq_qdepth"]
1344 }
1345 ],
1346 "source_info" : {
1347 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001348 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001349 "column" : 45,
1350 "source_fragment" : "standard_metadata) { ..."
1351 }
1352 },
1353 {
1354 "op" : "assign",
1355 "parameters" : [
1356 {
1357 "type" : "field",
1358 "value" : ["standard_metadata_4", "ingress_global_timestamp"]
1359 },
1360 {
1361 "type" : "field",
1362 "value" : ["standard_metadata", "ingress_global_timestamp"]
1363 }
1364 ],
1365 "source_info" : {
1366 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001367 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001368 "column" : 45,
1369 "source_fragment" : "standard_metadata) { ..."
1370 }
1371 },
1372 {
1373 "op" : "assign",
1374 "parameters" : [
1375 {
1376 "type" : "field",
1377 "value" : ["standard_metadata_4", "lf_field_list"]
1378 },
1379 {
1380 "type" : "field",
1381 "value" : ["standard_metadata", "lf_field_list"]
1382 }
1383 ],
1384 "source_info" : {
1385 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001386 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001387 "column" : 45,
1388 "source_fragment" : "standard_metadata) { ..."
1389 }
1390 },
1391 {
1392 "op" : "assign",
1393 "parameters" : [
1394 {
1395 "type" : "field",
1396 "value" : ["standard_metadata_4", "mcast_grp"]
1397 },
1398 {
1399 "type" : "field",
1400 "value" : ["standard_metadata", "mcast_grp"]
1401 }
1402 ],
1403 "source_info" : {
1404 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001405 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001406 "column" : 45,
1407 "source_fragment" : "standard_metadata) { ..."
1408 }
1409 },
1410 {
1411 "op" : "assign",
1412 "parameters" : [
1413 {
1414 "type" : "field",
1415 "value" : ["standard_metadata_4", "resubmit_flag"]
1416 },
1417 {
1418 "type" : "field",
1419 "value" : ["standard_metadata", "resubmit_flag"]
1420 }
1421 ],
1422 "source_info" : {
1423 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001424 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001425 "column" : 45,
1426 "source_fragment" : "standard_metadata) { ..."
1427 }
1428 },
1429 {
1430 "op" : "assign",
1431 "parameters" : [
1432 {
1433 "type" : "field",
1434 "value" : ["standard_metadata_4", "egress_rid"]
1435 },
1436 {
1437 "type" : "field",
1438 "value" : ["standard_metadata", "egress_rid"]
1439 }
1440 ],
1441 "source_info" : {
1442 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001443 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001444 "column" : 45,
1445 "source_fragment" : "standard_metadata) { ..."
1446 }
1447 },
1448 {
1449 "op" : "assign",
1450 "parameters" : [
1451 {
1452 "type" : "field",
1453 "value" : ["standard_metadata_4", "egress_spec"]
1454 },
1455 {
1456 "type" : "hexstr",
1457 "value" : "0x00ff"
1458 }
1459 ],
1460 "source_info" : {
Carmelo Cascone3304fd52017-07-30 00:43:01 -04001461 "filename" : "include/defines.p4",
1462 "line" : 12,
1463 "column" : 24,
1464 "source_fragment" : "255; ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04001465 }
1466 },
1467 {
1468 "op" : "assign",
1469 "parameters" : [
1470 {
1471 "type" : "field",
1472 "value" : ["standard_metadata", "ingress_port"]
1473 },
1474 {
1475 "type" : "field",
1476 "value" : ["standard_metadata_4", "ingress_port"]
1477 }
1478 ],
1479 "source_info" : {
1480 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001481 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001482 "column" : 45,
1483 "source_fragment" : "standard_metadata) { ..."
1484 }
1485 },
1486 {
1487 "op" : "assign",
1488 "parameters" : [
1489 {
1490 "type" : "field",
1491 "value" : ["standard_metadata", "egress_spec"]
1492 },
1493 {
1494 "type" : "field",
1495 "value" : ["standard_metadata_4", "egress_spec"]
1496 }
1497 ],
1498 "source_info" : {
1499 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001500 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001501 "column" : 45,
1502 "source_fragment" : "standard_metadata) { ..."
1503 }
1504 },
1505 {
1506 "op" : "assign",
1507 "parameters" : [
1508 {
1509 "type" : "field",
1510 "value" : ["standard_metadata", "egress_port"]
1511 },
1512 {
1513 "type" : "field",
1514 "value" : ["standard_metadata_4", "egress_port"]
1515 }
1516 ],
1517 "source_info" : {
1518 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001519 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001520 "column" : 45,
1521 "source_fragment" : "standard_metadata) { ..."
1522 }
1523 },
1524 {
1525 "op" : "assign",
1526 "parameters" : [
1527 {
1528 "type" : "field",
1529 "value" : ["standard_metadata", "clone_spec"]
1530 },
1531 {
1532 "type" : "field",
1533 "value" : ["standard_metadata_4", "clone_spec"]
1534 }
1535 ],
1536 "source_info" : {
1537 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001538 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001539 "column" : 45,
1540 "source_fragment" : "standard_metadata) { ..."
1541 }
1542 },
1543 {
1544 "op" : "assign",
1545 "parameters" : [
1546 {
1547 "type" : "field",
1548 "value" : ["standard_metadata", "instance_type"]
1549 },
1550 {
1551 "type" : "field",
1552 "value" : ["standard_metadata_4", "instance_type"]
1553 }
1554 ],
1555 "source_info" : {
1556 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001557 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001558 "column" : 45,
1559 "source_fragment" : "standard_metadata) { ..."
1560 }
1561 },
1562 {
1563 "op" : "assign",
1564 "parameters" : [
1565 {
1566 "type" : "field",
1567 "value" : ["standard_metadata", "drop"]
1568 },
1569 {
1570 "type" : "field",
1571 "value" : ["standard_metadata_4", "drop"]
1572 }
1573 ],
1574 "source_info" : {
1575 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001576 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001577 "column" : 45,
1578 "source_fragment" : "standard_metadata) { ..."
1579 }
1580 },
1581 {
1582 "op" : "assign",
1583 "parameters" : [
1584 {
1585 "type" : "field",
1586 "value" : ["standard_metadata", "recirculate_port"]
1587 },
1588 {
1589 "type" : "field",
1590 "value" : ["standard_metadata_4", "recirculate_port"]
1591 }
1592 ],
1593 "source_info" : {
1594 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001595 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001596 "column" : 45,
1597 "source_fragment" : "standard_metadata) { ..."
1598 }
1599 },
1600 {
1601 "op" : "assign",
1602 "parameters" : [
1603 {
1604 "type" : "field",
1605 "value" : ["standard_metadata", "packet_length"]
1606 },
1607 {
1608 "type" : "field",
1609 "value" : ["standard_metadata_4", "packet_length"]
1610 }
1611 ],
1612 "source_info" : {
1613 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001614 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001615 "column" : 45,
1616 "source_fragment" : "standard_metadata) { ..."
1617 }
1618 },
1619 {
1620 "op" : "assign",
1621 "parameters" : [
1622 {
1623 "type" : "field",
1624 "value" : ["standard_metadata", "enq_timestamp"]
1625 },
1626 {
1627 "type" : "field",
1628 "value" : ["standard_metadata_4", "enq_timestamp"]
1629 }
1630 ],
1631 "source_info" : {
1632 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001633 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001634 "column" : 45,
1635 "source_fragment" : "standard_metadata) { ..."
1636 }
1637 },
1638 {
1639 "op" : "assign",
1640 "parameters" : [
1641 {
1642 "type" : "field",
1643 "value" : ["standard_metadata", "enq_qdepth"]
1644 },
1645 {
1646 "type" : "field",
1647 "value" : ["standard_metadata_4", "enq_qdepth"]
1648 }
1649 ],
1650 "source_info" : {
1651 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001652 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001653 "column" : 45,
1654 "source_fragment" : "standard_metadata) { ..."
1655 }
1656 },
1657 {
1658 "op" : "assign",
1659 "parameters" : [
1660 {
1661 "type" : "field",
1662 "value" : ["standard_metadata", "deq_timedelta"]
1663 },
1664 {
1665 "type" : "field",
1666 "value" : ["standard_metadata_4", "deq_timedelta"]
1667 }
1668 ],
1669 "source_info" : {
1670 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001671 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001672 "column" : 45,
1673 "source_fragment" : "standard_metadata) { ..."
1674 }
1675 },
1676 {
1677 "op" : "assign",
1678 "parameters" : [
1679 {
1680 "type" : "field",
1681 "value" : ["standard_metadata", "deq_qdepth"]
1682 },
1683 {
1684 "type" : "field",
1685 "value" : ["standard_metadata_4", "deq_qdepth"]
1686 }
1687 ],
1688 "source_info" : {
1689 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001690 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001691 "column" : 45,
1692 "source_fragment" : "standard_metadata) { ..."
1693 }
1694 },
1695 {
1696 "op" : "assign",
1697 "parameters" : [
1698 {
1699 "type" : "field",
1700 "value" : ["standard_metadata", "ingress_global_timestamp"]
1701 },
1702 {
1703 "type" : "field",
1704 "value" : ["standard_metadata_4", "ingress_global_timestamp"]
1705 }
1706 ],
1707 "source_info" : {
1708 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001709 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001710 "column" : 45,
1711 "source_fragment" : "standard_metadata) { ..."
1712 }
1713 },
1714 {
1715 "op" : "assign",
1716 "parameters" : [
1717 {
1718 "type" : "field",
1719 "value" : ["standard_metadata", "lf_field_list"]
1720 },
1721 {
1722 "type" : "field",
1723 "value" : ["standard_metadata_4", "lf_field_list"]
1724 }
1725 ],
1726 "source_info" : {
1727 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001728 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001729 "column" : 45,
1730 "source_fragment" : "standard_metadata) { ..."
1731 }
1732 },
1733 {
1734 "op" : "assign",
1735 "parameters" : [
1736 {
1737 "type" : "field",
1738 "value" : ["standard_metadata", "mcast_grp"]
1739 },
1740 {
1741 "type" : "field",
1742 "value" : ["standard_metadata_4", "mcast_grp"]
1743 }
1744 ],
1745 "source_info" : {
1746 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001747 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001748 "column" : 45,
1749 "source_fragment" : "standard_metadata) { ..."
1750 }
1751 },
1752 {
1753 "op" : "assign",
1754 "parameters" : [
1755 {
1756 "type" : "field",
1757 "value" : ["standard_metadata", "resubmit_flag"]
1758 },
1759 {
1760 "type" : "field",
1761 "value" : ["standard_metadata_4", "resubmit_flag"]
1762 }
1763 ],
1764 "source_info" : {
1765 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001766 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001767 "column" : 45,
1768 "source_fragment" : "standard_metadata) { ..."
1769 }
1770 },
1771 {
1772 "op" : "assign",
1773 "parameters" : [
1774 {
1775 "type" : "field",
1776 "value" : ["standard_metadata", "egress_rid"]
1777 },
1778 {
1779 "type" : "field",
1780 "value" : ["standard_metadata_4", "egress_rid"]
1781 }
1782 ],
1783 "source_info" : {
1784 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001785 "line" : 6,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001786 "column" : 45,
1787 "source_fragment" : "standard_metadata) { ..."
1788 }
1789 }
1790 ]
1791 },
1792 {
1793 "name" : "drop",
1794 "id" : 2,
1795 "runtime_data" : [],
1796 "primitives" : [
1797 {
1798 "op" : "assign",
1799 "parameters" : [
1800 {
1801 "type" : "field",
1802 "value" : ["standard_metadata_5", "ingress_port"]
1803 },
1804 {
1805 "type" : "field",
1806 "value" : ["standard_metadata", "ingress_port"]
1807 }
1808 ],
1809 "source_info" : {
1810 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001811 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001812 "column" : 38,
1813 "source_fragment" : "standard_metadata) { ..."
1814 }
1815 },
1816 {
1817 "op" : "assign",
1818 "parameters" : [
1819 {
1820 "type" : "field",
1821 "value" : ["standard_metadata_5", "egress_spec"]
1822 },
1823 {
1824 "type" : "field",
1825 "value" : ["standard_metadata", "egress_spec"]
1826 }
1827 ],
1828 "source_info" : {
1829 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001830 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001831 "column" : 38,
1832 "source_fragment" : "standard_metadata) { ..."
1833 }
1834 },
1835 {
1836 "op" : "assign",
1837 "parameters" : [
1838 {
1839 "type" : "field",
1840 "value" : ["standard_metadata_5", "egress_port"]
1841 },
1842 {
1843 "type" : "field",
1844 "value" : ["standard_metadata", "egress_port"]
1845 }
1846 ],
1847 "source_info" : {
1848 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001849 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001850 "column" : 38,
1851 "source_fragment" : "standard_metadata) { ..."
1852 }
1853 },
1854 {
1855 "op" : "assign",
1856 "parameters" : [
1857 {
1858 "type" : "field",
1859 "value" : ["standard_metadata_5", "clone_spec"]
1860 },
1861 {
1862 "type" : "field",
1863 "value" : ["standard_metadata", "clone_spec"]
1864 }
1865 ],
1866 "source_info" : {
1867 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001868 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001869 "column" : 38,
1870 "source_fragment" : "standard_metadata) { ..."
1871 }
1872 },
1873 {
1874 "op" : "assign",
1875 "parameters" : [
1876 {
1877 "type" : "field",
1878 "value" : ["standard_metadata_5", "instance_type"]
1879 },
1880 {
1881 "type" : "field",
1882 "value" : ["standard_metadata", "instance_type"]
1883 }
1884 ],
1885 "source_info" : {
1886 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001887 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001888 "column" : 38,
1889 "source_fragment" : "standard_metadata) { ..."
1890 }
1891 },
1892 {
1893 "op" : "assign",
1894 "parameters" : [
1895 {
1896 "type" : "field",
1897 "value" : ["standard_metadata_5", "drop"]
1898 },
1899 {
1900 "type" : "field",
1901 "value" : ["standard_metadata", "drop"]
1902 }
1903 ],
1904 "source_info" : {
1905 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001906 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001907 "column" : 38,
1908 "source_fragment" : "standard_metadata) { ..."
1909 }
1910 },
1911 {
1912 "op" : "assign",
1913 "parameters" : [
1914 {
1915 "type" : "field",
1916 "value" : ["standard_metadata_5", "recirculate_port"]
1917 },
1918 {
1919 "type" : "field",
1920 "value" : ["standard_metadata", "recirculate_port"]
1921 }
1922 ],
1923 "source_info" : {
1924 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001925 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001926 "column" : 38,
1927 "source_fragment" : "standard_metadata) { ..."
1928 }
1929 },
1930 {
1931 "op" : "assign",
1932 "parameters" : [
1933 {
1934 "type" : "field",
1935 "value" : ["standard_metadata_5", "packet_length"]
1936 },
1937 {
1938 "type" : "field",
1939 "value" : ["standard_metadata", "packet_length"]
1940 }
1941 ],
1942 "source_info" : {
1943 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001944 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001945 "column" : 38,
1946 "source_fragment" : "standard_metadata) { ..."
1947 }
1948 },
1949 {
1950 "op" : "assign",
1951 "parameters" : [
1952 {
1953 "type" : "field",
1954 "value" : ["standard_metadata_5", "enq_timestamp"]
1955 },
1956 {
1957 "type" : "field",
1958 "value" : ["standard_metadata", "enq_timestamp"]
1959 }
1960 ],
1961 "source_info" : {
1962 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001963 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001964 "column" : 38,
1965 "source_fragment" : "standard_metadata) { ..."
1966 }
1967 },
1968 {
1969 "op" : "assign",
1970 "parameters" : [
1971 {
1972 "type" : "field",
1973 "value" : ["standard_metadata_5", "enq_qdepth"]
1974 },
1975 {
1976 "type" : "field",
1977 "value" : ["standard_metadata", "enq_qdepth"]
1978 }
1979 ],
1980 "source_info" : {
1981 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04001982 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04001983 "column" : 38,
1984 "source_fragment" : "standard_metadata) { ..."
1985 }
1986 },
1987 {
1988 "op" : "assign",
1989 "parameters" : [
1990 {
1991 "type" : "field",
1992 "value" : ["standard_metadata_5", "deq_timedelta"]
1993 },
1994 {
1995 "type" : "field",
1996 "value" : ["standard_metadata", "deq_timedelta"]
1997 }
1998 ],
1999 "source_info" : {
2000 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002001 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002002 "column" : 38,
2003 "source_fragment" : "standard_metadata) { ..."
2004 }
2005 },
2006 {
2007 "op" : "assign",
2008 "parameters" : [
2009 {
2010 "type" : "field",
2011 "value" : ["standard_metadata_5", "deq_qdepth"]
2012 },
2013 {
2014 "type" : "field",
2015 "value" : ["standard_metadata", "deq_qdepth"]
2016 }
2017 ],
2018 "source_info" : {
2019 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002020 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002021 "column" : 38,
2022 "source_fragment" : "standard_metadata) { ..."
2023 }
2024 },
2025 {
2026 "op" : "assign",
2027 "parameters" : [
2028 {
2029 "type" : "field",
2030 "value" : ["standard_metadata_5", "ingress_global_timestamp"]
2031 },
2032 {
2033 "type" : "field",
2034 "value" : ["standard_metadata", "ingress_global_timestamp"]
2035 }
2036 ],
2037 "source_info" : {
2038 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002039 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002040 "column" : 38,
2041 "source_fragment" : "standard_metadata) { ..."
2042 }
2043 },
2044 {
2045 "op" : "assign",
2046 "parameters" : [
2047 {
2048 "type" : "field",
2049 "value" : ["standard_metadata_5", "lf_field_list"]
2050 },
2051 {
2052 "type" : "field",
2053 "value" : ["standard_metadata", "lf_field_list"]
2054 }
2055 ],
2056 "source_info" : {
2057 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002058 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002059 "column" : 38,
2060 "source_fragment" : "standard_metadata) { ..."
2061 }
2062 },
2063 {
2064 "op" : "assign",
2065 "parameters" : [
2066 {
2067 "type" : "field",
2068 "value" : ["standard_metadata_5", "mcast_grp"]
2069 },
2070 {
2071 "type" : "field",
2072 "value" : ["standard_metadata", "mcast_grp"]
2073 }
2074 ],
2075 "source_info" : {
2076 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002077 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002078 "column" : 38,
2079 "source_fragment" : "standard_metadata) { ..."
2080 }
2081 },
2082 {
2083 "op" : "assign",
2084 "parameters" : [
2085 {
2086 "type" : "field",
2087 "value" : ["standard_metadata_5", "resubmit_flag"]
2088 },
2089 {
2090 "type" : "field",
2091 "value" : ["standard_metadata", "resubmit_flag"]
2092 }
2093 ],
2094 "source_info" : {
2095 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002096 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002097 "column" : 38,
2098 "source_fragment" : "standard_metadata) { ..."
2099 }
2100 },
2101 {
2102 "op" : "assign",
2103 "parameters" : [
2104 {
2105 "type" : "field",
2106 "value" : ["standard_metadata_5", "egress_rid"]
2107 },
2108 {
2109 "type" : "field",
2110 "value" : ["standard_metadata", "egress_rid"]
2111 }
2112 ],
2113 "source_info" : {
2114 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002115 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002116 "column" : 38,
2117 "source_fragment" : "standard_metadata) { ..."
2118 }
2119 },
2120 {
2121 "op" : "assign",
2122 "parameters" : [
2123 {
2124 "type" : "field",
2125 "value" : ["standard_metadata_5", "egress_spec"]
2126 },
2127 {
2128 "type" : "hexstr",
2129 "value" : "0x01ff"
2130 }
2131 ],
2132 "source_info" : {
Carmelo Cascone3304fd52017-07-30 00:43:01 -04002133 "filename" : "include/defines.p4",
2134 "line" : 13,
2135 "column" : 25,
2136 "source_fragment" : "511; ..."
Carmelo Casconec8e84982017-07-26 15:34:42 -04002137 }
2138 },
2139 {
2140 "op" : "assign",
2141 "parameters" : [
2142 {
2143 "type" : "field",
2144 "value" : ["standard_metadata", "ingress_port"]
2145 },
2146 {
2147 "type" : "field",
2148 "value" : ["standard_metadata_5", "ingress_port"]
2149 }
2150 ],
2151 "source_info" : {
2152 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002153 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002154 "column" : 38,
2155 "source_fragment" : "standard_metadata) { ..."
2156 }
2157 },
2158 {
2159 "op" : "assign",
2160 "parameters" : [
2161 {
2162 "type" : "field",
2163 "value" : ["standard_metadata", "egress_spec"]
2164 },
2165 {
2166 "type" : "field",
2167 "value" : ["standard_metadata_5", "egress_spec"]
2168 }
2169 ],
2170 "source_info" : {
2171 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002172 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002173 "column" : 38,
2174 "source_fragment" : "standard_metadata) { ..."
2175 }
2176 },
2177 {
2178 "op" : "assign",
2179 "parameters" : [
2180 {
2181 "type" : "field",
2182 "value" : ["standard_metadata", "egress_port"]
2183 },
2184 {
2185 "type" : "field",
2186 "value" : ["standard_metadata_5", "egress_port"]
2187 }
2188 ],
2189 "source_info" : {
2190 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002191 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002192 "column" : 38,
2193 "source_fragment" : "standard_metadata) { ..."
2194 }
2195 },
2196 {
2197 "op" : "assign",
2198 "parameters" : [
2199 {
2200 "type" : "field",
2201 "value" : ["standard_metadata", "clone_spec"]
2202 },
2203 {
2204 "type" : "field",
2205 "value" : ["standard_metadata_5", "clone_spec"]
2206 }
2207 ],
2208 "source_info" : {
2209 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002210 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002211 "column" : 38,
2212 "source_fragment" : "standard_metadata) { ..."
2213 }
2214 },
2215 {
2216 "op" : "assign",
2217 "parameters" : [
2218 {
2219 "type" : "field",
2220 "value" : ["standard_metadata", "instance_type"]
2221 },
2222 {
2223 "type" : "field",
2224 "value" : ["standard_metadata_5", "instance_type"]
2225 }
2226 ],
2227 "source_info" : {
2228 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002229 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002230 "column" : 38,
2231 "source_fragment" : "standard_metadata) { ..."
2232 }
2233 },
2234 {
2235 "op" : "assign",
2236 "parameters" : [
2237 {
2238 "type" : "field",
2239 "value" : ["standard_metadata", "drop"]
2240 },
2241 {
2242 "type" : "field",
2243 "value" : ["standard_metadata_5", "drop"]
2244 }
2245 ],
2246 "source_info" : {
2247 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002248 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002249 "column" : 38,
2250 "source_fragment" : "standard_metadata) { ..."
2251 }
2252 },
2253 {
2254 "op" : "assign",
2255 "parameters" : [
2256 {
2257 "type" : "field",
2258 "value" : ["standard_metadata", "recirculate_port"]
2259 },
2260 {
2261 "type" : "field",
2262 "value" : ["standard_metadata_5", "recirculate_port"]
2263 }
2264 ],
2265 "source_info" : {
2266 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002267 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002268 "column" : 38,
2269 "source_fragment" : "standard_metadata) { ..."
2270 }
2271 },
2272 {
2273 "op" : "assign",
2274 "parameters" : [
2275 {
2276 "type" : "field",
2277 "value" : ["standard_metadata", "packet_length"]
2278 },
2279 {
2280 "type" : "field",
2281 "value" : ["standard_metadata_5", "packet_length"]
2282 }
2283 ],
2284 "source_info" : {
2285 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002286 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002287 "column" : 38,
2288 "source_fragment" : "standard_metadata) { ..."
2289 }
2290 },
2291 {
2292 "op" : "assign",
2293 "parameters" : [
2294 {
2295 "type" : "field",
2296 "value" : ["standard_metadata", "enq_timestamp"]
2297 },
2298 {
2299 "type" : "field",
2300 "value" : ["standard_metadata_5", "enq_timestamp"]
2301 }
2302 ],
2303 "source_info" : {
2304 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002305 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002306 "column" : 38,
2307 "source_fragment" : "standard_metadata) { ..."
2308 }
2309 },
2310 {
2311 "op" : "assign",
2312 "parameters" : [
2313 {
2314 "type" : "field",
2315 "value" : ["standard_metadata", "enq_qdepth"]
2316 },
2317 {
2318 "type" : "field",
2319 "value" : ["standard_metadata_5", "enq_qdepth"]
2320 }
2321 ],
2322 "source_info" : {
2323 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002324 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002325 "column" : 38,
2326 "source_fragment" : "standard_metadata) { ..."
2327 }
2328 },
2329 {
2330 "op" : "assign",
2331 "parameters" : [
2332 {
2333 "type" : "field",
2334 "value" : ["standard_metadata", "deq_timedelta"]
2335 },
2336 {
2337 "type" : "field",
2338 "value" : ["standard_metadata_5", "deq_timedelta"]
2339 }
2340 ],
2341 "source_info" : {
2342 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002343 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002344 "column" : 38,
2345 "source_fragment" : "standard_metadata) { ..."
2346 }
2347 },
2348 {
2349 "op" : "assign",
2350 "parameters" : [
2351 {
2352 "type" : "field",
2353 "value" : ["standard_metadata", "deq_qdepth"]
2354 },
2355 {
2356 "type" : "field",
2357 "value" : ["standard_metadata_5", "deq_qdepth"]
2358 }
2359 ],
2360 "source_info" : {
2361 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002362 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002363 "column" : 38,
2364 "source_fragment" : "standard_metadata) { ..."
2365 }
2366 },
2367 {
2368 "op" : "assign",
2369 "parameters" : [
2370 {
2371 "type" : "field",
2372 "value" : ["standard_metadata", "ingress_global_timestamp"]
2373 },
2374 {
2375 "type" : "field",
2376 "value" : ["standard_metadata_5", "ingress_global_timestamp"]
2377 }
2378 ],
2379 "source_info" : {
2380 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002381 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002382 "column" : 38,
2383 "source_fragment" : "standard_metadata) { ..."
2384 }
2385 },
2386 {
2387 "op" : "assign",
2388 "parameters" : [
2389 {
2390 "type" : "field",
2391 "value" : ["standard_metadata", "lf_field_list"]
2392 },
2393 {
2394 "type" : "field",
2395 "value" : ["standard_metadata_5", "lf_field_list"]
2396 }
2397 ],
2398 "source_info" : {
2399 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002400 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002401 "column" : 38,
2402 "source_fragment" : "standard_metadata) { ..."
2403 }
2404 },
2405 {
2406 "op" : "assign",
2407 "parameters" : [
2408 {
2409 "type" : "field",
2410 "value" : ["standard_metadata", "mcast_grp"]
2411 },
2412 {
2413 "type" : "field",
2414 "value" : ["standard_metadata_5", "mcast_grp"]
2415 }
2416 ],
2417 "source_info" : {
2418 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002419 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002420 "column" : 38,
2421 "source_fragment" : "standard_metadata) { ..."
2422 }
2423 },
2424 {
2425 "op" : "assign",
2426 "parameters" : [
2427 {
2428 "type" : "field",
2429 "value" : ["standard_metadata", "resubmit_flag"]
2430 },
2431 {
2432 "type" : "field",
2433 "value" : ["standard_metadata_5", "resubmit_flag"]
2434 }
2435 ],
2436 "source_info" : {
2437 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002438 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002439 "column" : 38,
2440 "source_fragment" : "standard_metadata) { ..."
2441 }
2442 },
2443 {
2444 "op" : "assign",
2445 "parameters" : [
2446 {
2447 "type" : "field",
2448 "value" : ["standard_metadata", "egress_rid"]
2449 },
2450 {
2451 "type" : "field",
2452 "value" : ["standard_metadata_5", "egress_rid"]
2453 }
2454 ],
2455 "source_info" : {
2456 "filename" : "include/actions.p4",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002457 "line" : 14,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002458 "column" : 38,
2459 "source_fragment" : "standard_metadata) { ..."
2460 }
2461 }
2462 ]
2463 },
2464 {
2465 "name" : "NoAction",
2466 "id" : 3,
2467 "runtime_data" : [],
2468 "primitives" : []
2469 },
2470 {
2471 "name" : "act",
2472 "id" : 4,
2473 "runtime_data" : [],
2474 "primitives" : [
2475 {
2476 "op" : "assign",
2477 "parameters" : [
2478 {
2479 "type" : "field",
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002480 "value" : ["standard_metadata", "egress_spec"]
2481 },
2482 {
2483 "type" : "field",
2484 "value" : ["packet_out", "egress_port"]
2485 }
2486 ],
2487 "source_info" : {
2488 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002489 "line" : 23,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002490 "column" : 12,
2491 "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port"
2492 }
2493 }
2494 ]
2495 },
2496 {
2497 "name" : "act_0",
2498 "id" : 5,
2499 "runtime_data" : [],
2500 "primitives" : [
2501 {
2502 "op" : "assign",
2503 "parameters" : [
2504 {
2505 "type" : "field",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002506 "value" : ["scalars", "tmp"]
2507 },
2508 {
2509 "type" : "expression",
2510 "value" : {
2511 "type" : "expression",
2512 "value" : {
2513 "op" : "&",
2514 "left" : {
2515 "type" : "field",
2516 "value" : ["standard_metadata", "ingress_port"]
2517 },
2518 "right" : {
2519 "type" : "hexstr",
2520 "value" : "0xffffffff"
2521 }
2522 }
2523 }
2524 }
2525 ]
2526 },
2527 {
2528 "op" : "count",
2529 "parameters" : [
2530 {
2531 "type" : "counter_array",
2532 "value" : "port_counters_control.ingress_port_counter"
2533 },
2534 {
2535 "type" : "field",
2536 "value" : ["scalars", "tmp"]
2537 }
2538 ],
2539 "source_info" : {
2540 "filename" : "include/port_counters.p4",
2541 "line" : 11,
2542 "column" : 12,
2543 "source_fragment" : "ingress_port_counter.count((bit<32>)standard_metadata.ingress_port)"
2544 }
2545 },
2546 {
2547 "op" : "assign",
2548 "parameters" : [
2549 {
2550 "type" : "field",
2551 "value" : ["scalars", "tmp_0"]
2552 },
2553 {
2554 "type" : "expression",
2555 "value" : {
2556 "type" : "expression",
2557 "value" : {
2558 "op" : "&",
2559 "left" : {
2560 "type" : "field",
2561 "value" : ["standard_metadata", "egress_spec"]
2562 },
2563 "right" : {
2564 "type" : "hexstr",
2565 "value" : "0xffffffff"
2566 }
2567 }
2568 }
2569 }
2570 ]
2571 },
2572 {
2573 "op" : "count",
2574 "parameters" : [
2575 {
2576 "type" : "counter_array",
2577 "value" : "port_counters_control.egress_port_counter"
2578 },
2579 {
2580 "type" : "field",
2581 "value" : ["scalars", "tmp_0"]
2582 }
2583 ],
2584 "source_info" : {
2585 "filename" : "include/port_counters.p4",
2586 "line" : 12,
2587 "column" : 12,
2588 "source_fragment" : "egress_port_counter.count((bit<32>)standard_metadata.egress_spec)"
2589 }
2590 }
2591 ]
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002592 },
2593 {
2594 "name" : "act_1",
2595 "id" : 6,
2596 "runtime_data" : [],
2597 "primitives" : [
2598 {
2599 "op" : "add_header",
2600 "parameters" : [
2601 {
2602 "type" : "header",
2603 "value" : "packet_in"
2604 }
2605 ],
2606 "source_info" : {
2607 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002608 "line" : 32,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002609 "column" : 12,
2610 "source_fragment" : "hdr.packet_in.setValid()"
2611 }
2612 },
2613 {
2614 "op" : "assign",
2615 "parameters" : [
2616 {
2617 "type" : "field",
2618 "value" : ["packet_in", "ingress_port"]
2619 },
2620 {
2621 "type" : "field",
2622 "value" : ["standard_metadata", "ingress_port"]
2623 }
2624 ],
2625 "source_info" : {
2626 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002627 "line" : 33,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002628 "column" : 12,
2629 "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port"
2630 }
2631 }
2632 ]
2633 },
2634 {
2635 "name" : "act_2",
2636 "id" : 7,
2637 "runtime_data" : [],
2638 "primitives" : [
2639 {
2640 "op" : "remove_header",
2641 "parameters" : [
2642 {
2643 "type" : "header",
2644 "value" : "packet_out"
2645 }
2646 ],
2647 "source_info" : {
2648 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002649 "line" : 30,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002650 "column" : 8,
2651 "source_fragment" : "hdr.packet_out.setInvalid()"
2652 }
2653 }
2654 ]
Carmelo Casconec8e84982017-07-26 15:34:42 -04002655 }
2656 ],
2657 "pipelines" : [
2658 {
2659 "name" : "ingress",
2660 "id" : 0,
2661 "source_info" : {
2662 "filename" : "default.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002663 "line" : 32,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002664 "column" : 8,
2665 "source_fragment" : "ingress"
2666 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002667 "init_table" : "node_2",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002668 "tables" : [
2669 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002670 "name" : "tbl_act",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002671 "id" : 0,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002672 "key" : [],
2673 "match_type" : "exact",
2674 "type" : "simple",
2675 "max_size" : 1024,
2676 "with_counters" : false,
2677 "support_timeout" : false,
2678 "direct_meters" : null,
2679 "action_ids" : [4],
2680 "actions" : ["act"],
2681 "base_default_next" : "node_4",
2682 "next_tables" : {
2683 "act" : "node_4"
2684 },
2685 "default_entry" : {
2686 "action_id" : 4,
2687 "action_const" : true,
2688 "action_data" : [],
2689 "action_entry_const" : true
2690 }
2691 },
2692 {
2693 "name" : "table0",
2694 "id" : 1,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002695 "source_info" : {
2696 "filename" : "default.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002697 "line" : 44,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002698 "column" : 10,
2699 "source_fragment" : "table0"
2700 },
2701 "key" : [
2702 {
2703 "match_type" : "ternary",
2704 "target" : ["standard_metadata", "ingress_port"],
2705 "mask" : null
2706 },
2707 {
2708 "match_type" : "ternary",
2709 "target" : ["ethernet", "dstAddr"],
2710 "mask" : null
2711 },
2712 {
2713 "match_type" : "ternary",
2714 "target" : ["ethernet", "srcAddr"],
2715 "mask" : null
2716 },
2717 {
2718 "match_type" : "ternary",
2719 "target" : ["ethernet", "etherType"],
2720 "mask" : null
2721 }
2722 ],
2723 "match_type" : "ternary",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002724 "type" : "simple",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002725 "max_size" : 1024,
2726 "support_timeout" : false,
2727 "direct_meters" : null,
2728 "action_ids" : [0, 1, 2, 3],
2729 "actions" : ["set_egress_port", "send_to_cpu", "drop", "NoAction"],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002730 "base_default_next" : "node_6",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002731 "next_tables" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002732 "set_egress_port" : "node_6",
2733 "send_to_cpu" : "node_6",
2734 "drop" : "node_6",
2735 "NoAction" : "node_6"
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002736 },
2737 "default_entry" : {
2738 "action_id" : 3,
2739 "action_const" : false,
2740 "action_data" : [],
2741 "action_entry_const" : false
Carmelo Casconec8e84982017-07-26 15:34:42 -04002742 }
2743 },
2744 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002745 "name" : "tbl_act_0",
2746 "id" : 2,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002747 "key" : [],
2748 "match_type" : "exact",
2749 "type" : "simple",
2750 "max_size" : 1024,
2751 "with_counters" : false,
2752 "support_timeout" : false,
2753 "direct_meters" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002754 "action_ids" : [5],
2755 "actions" : ["act_0"],
Carmelo Casconec8e84982017-07-26 15:34:42 -04002756 "base_default_next" : null,
2757 "next_tables" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002758 "act_0" : null
Carmelo Casconec8e84982017-07-26 15:34:42 -04002759 },
2760 "default_entry" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002761 "action_id" : 5,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002762 "action_const" : true,
2763 "action_data" : [],
2764 "action_entry_const" : true
2765 }
2766 }
2767 ],
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002768 "action_profiles" : [],
Carmelo Casconec8e84982017-07-26 15:34:42 -04002769 "conditionals" : [
2770 {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002771 "name" : "node_2",
Carmelo Casconec8e84982017-07-26 15:34:42 -04002772 "id" : 0,
2773 "source_info" : {
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002774 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002775 "line" : 22,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002776 "column" : 12,
2777 "source_fragment" : "hdr.packet_out.isValid()"
2778 },
2779 "expression" : {
2780 "type" : "expression",
2781 "value" : {
2782 "op" : "==",
2783 "left" : {
2784 "type" : "field",
2785 "value" : ["packet_out", "$valid$"]
2786 },
2787 "right" : {
2788 "type" : "hexstr",
2789 "value" : "0x01"
2790 }
2791 }
2792 },
2793 "true_next" : "tbl_act",
2794 "false_next" : "node_4"
2795 },
2796 {
2797 "name" : "node_4",
2798 "id" : 1,
2799 "source_info" : {
2800 "filename" : "default.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002801 "line" : 79,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002802 "column" : 13,
2803 "source_fragment" : "hdr.packet_out.isValid()"
2804 },
2805 "expression" : {
2806 "type" : "expression",
2807 "value" : {
2808 "op" : "!=",
2809 "left" : {
2810 "type" : "field",
2811 "value" : ["packet_out", "$valid$"]
2812 },
2813 "right" : {
2814 "type" : "hexstr",
2815 "value" : "0x01"
2816 }
2817 }
2818 },
2819 "true_next" : "table0",
2820 "false_next" : "node_6"
2821 },
2822 {
2823 "name" : "node_6",
2824 "id" : 2,
2825 "source_info" : {
Carmelo Casconec8e84982017-07-26 15:34:42 -04002826 "filename" : "include/port_counters.p4",
2827 "line" : 10,
2828 "column" : 12,
2829 "source_fragment" : "standard_metadata.egress_spec < 254"
2830 },
2831 "expression" : {
2832 "type" : "expression",
2833 "value" : {
2834 "op" : "<",
2835 "left" : {
2836 "type" : "field",
2837 "value" : ["standard_metadata", "egress_spec"]
2838 },
2839 "right" : {
2840 "type" : "hexstr",
2841 "value" : "0x00fe"
2842 }
2843 }
2844 },
2845 "false_next" : null,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002846 "true_next" : "tbl_act_0"
Carmelo Casconec8e84982017-07-26 15:34:42 -04002847 }
2848 ]
2849 },
2850 {
2851 "name" : "egress",
2852 "id" : 1,
2853 "source_info" : {
2854 "filename" : "default.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002855 "line" : 87,
Carmelo Casconec8e84982017-07-26 15:34:42 -04002856 "column" : 8,
2857 "source_fragment" : "egress"
2858 },
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002859 "init_table" : "tbl_act_1",
2860 "tables" : [
2861 {
2862 "name" : "tbl_act_1",
2863 "id" : 3,
2864 "key" : [],
2865 "match_type" : "exact",
2866 "type" : "simple",
2867 "max_size" : 1024,
2868 "with_counters" : false,
2869 "support_timeout" : false,
2870 "direct_meters" : null,
2871 "action_ids" : [7],
2872 "actions" : ["act_2"],
2873 "base_default_next" : "node_11",
2874 "next_tables" : {
2875 "act_2" : "node_11"
2876 },
2877 "default_entry" : {
2878 "action_id" : 7,
2879 "action_const" : true,
2880 "action_data" : [],
2881 "action_entry_const" : true
2882 }
2883 },
2884 {
2885 "name" : "tbl_act_2",
2886 "id" : 4,
2887 "key" : [],
2888 "match_type" : "exact",
2889 "type" : "simple",
2890 "max_size" : 1024,
2891 "with_counters" : false,
2892 "support_timeout" : false,
2893 "direct_meters" : null,
2894 "action_ids" : [6],
2895 "actions" : ["act_1"],
2896 "base_default_next" : null,
2897 "next_tables" : {
2898 "act_1" : null
2899 },
2900 "default_entry" : {
2901 "action_id" : 6,
2902 "action_const" : true,
2903 "action_data" : [],
2904 "action_entry_const" : true
2905 }
2906 }
2907 ],
Carmelo Casconec8e84982017-07-26 15:34:42 -04002908 "action_profiles" : [],
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002909 "conditionals" : [
2910 {
2911 "name" : "node_11",
2912 "id" : 3,
2913 "source_info" : {
2914 "filename" : "include/packet_io.p4",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002915 "line" : 31,
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002916 "column" : 12,
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002917 "source_fragment" : "standard_metadata.egress_port == CPU_PORT"
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002918 },
2919 "expression" : {
2920 "type" : "expression",
2921 "value" : {
2922 "op" : "==",
2923 "left" : {
2924 "type" : "field",
Carmelo Cascone2cad9ef2017-08-01 21:52:07 +02002925 "value" : ["standard_metadata", "egress_port"]
Carmelo Casconeb2e3dba2017-07-27 12:07:09 -04002926 },
2927 "right" : {
2928 "type" : "hexstr",
2929 "value" : "0x00ff"
2930 }
2931 }
2932 },
2933 "false_next" : null,
2934 "true_next" : "tbl_act_2"
2935 }
2936 ]
Carmelo Casconec8e84982017-07-26 15:34:42 -04002937 }
2938 ],
2939 "checksums" : [],
2940 "force_arith" : [],
2941 "extern_instances" : [],
2942 "field_aliases" : [
2943 [
2944 "queueing_metadata.enq_timestamp",
2945 ["standard_metadata", "enq_timestamp"]
2946 ],
2947 [
2948 "queueing_metadata.enq_qdepth",
2949 ["standard_metadata", "enq_qdepth"]
2950 ],
2951 [
2952 "queueing_metadata.deq_timedelta",
2953 ["standard_metadata", "deq_timedelta"]
2954 ],
2955 [
2956 "queueing_metadata.deq_qdepth",
2957 ["standard_metadata", "deq_qdepth"]
2958 ],
2959 [
2960 "intrinsic_metadata.ingress_global_timestamp",
2961 ["standard_metadata", "ingress_global_timestamp"]
2962 ],
2963 [
2964 "intrinsic_metadata.lf_field_list",
2965 ["standard_metadata", "lf_field_list"]
2966 ],
2967 [
2968 "intrinsic_metadata.mcast_grp",
2969 ["standard_metadata", "mcast_grp"]
2970 ],
2971 [
2972 "intrinsic_metadata.resubmit_flag",
2973 ["standard_metadata", "resubmit_flag"]
2974 ],
2975 [
2976 "intrinsic_metadata.egress_rid",
2977 ["standard_metadata", "egress_rid"]
2978 ]
2979 ]
2980}