Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1 | { |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 2 | "header_types" : [ |
| 3 | { |
| 4 | "name" : "scalars_0", |
| 5 | "id" : 0, |
| 6 | "fields" : [ |
| 7 | ["tmp", 32, false], |
| 8 | ["tmp_0", 32, false], |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 9 | ["port_meters_ingress_ingress_color", 8, false], |
| 10 | ["host_meter_control_meter_tag", 8, false], |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 11 | ["tmp_1", 32, false], |
| 12 | ["tmp_2", 32, false], |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 13 | ["port_meters_egress_egress_color", 8, false], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 14 | ["local_metadata_t.l4_src_port", 16, false], |
| 15 | ["local_metadata_t.l4_dst_port", 16, false], |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 16 | ["local_metadata_t.next_hop_id", 16, false] |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 17 | ] |
| 18 | }, |
| 19 | { |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 20 | "name" : "standard_metadata", |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 21 | "id" : 1, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 22 | "fields" : [ |
| 23 | ["ingress_port", 9, false], |
| 24 | ["egress_spec", 9, false], |
| 25 | ["egress_port", 9, false], |
| 26 | ["clone_spec", 32, false], |
| 27 | ["instance_type", 32, false], |
| 28 | ["drop", 1, false], |
| 29 | ["recirculate_port", 16, false], |
| 30 | ["packet_length", 32, false], |
| 31 | ["enq_timestamp", 32, false], |
| 32 | ["enq_qdepth", 19, false], |
| 33 | ["deq_timedelta", 32, false], |
| 34 | ["deq_qdepth", 19, false], |
| 35 | ["ingress_global_timestamp", 48, false], |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 36 | ["egress_global_timestamp", 48, false], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 37 | ["lf_field_list", 32, false], |
| 38 | ["mcast_grp", 16, false], |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 39 | ["resubmit_flag", 32, false], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 40 | ["egress_rid", 16, false], |
| 41 | ["checksum_error", 1, false], |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 42 | ["recirculate_flag", 32, false], |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 43 | ["parser_error", 32, false], |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 44 | ["_padding_0", 5, false] |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 45 | ] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 46 | }, |
| 47 | { |
| 48 | "name" : "packet_out_header_t", |
| 49 | "id" : 2, |
| 50 | "fields" : [ |
| 51 | ["egress_port", 9, false], |
| 52 | ["_padding", 7, false] |
| 53 | ] |
| 54 | }, |
| 55 | { |
| 56 | "name" : "packet_in_header_t", |
| 57 | "id" : 3, |
| 58 | "fields" : [ |
| 59 | ["ingress_port", 9, false], |
| 60 | ["_padding", 7, false] |
| 61 | ] |
| 62 | }, |
| 63 | { |
| 64 | "name" : "ethernet_t", |
| 65 | "id" : 4, |
| 66 | "fields" : [ |
| 67 | ["dst_addr", 48, false], |
| 68 | ["src_addr", 48, false], |
| 69 | ["ether_type", 16, false] |
| 70 | ] |
| 71 | }, |
| 72 | { |
| 73 | "name" : "ipv4_t", |
| 74 | "id" : 5, |
| 75 | "fields" : [ |
| 76 | ["version", 4, false], |
| 77 | ["ihl", 4, false], |
| 78 | ["dscp", 6, false], |
| 79 | ["ecn", 2, false], |
| 80 | ["len", 16, false], |
| 81 | ["identification", 16, false], |
| 82 | ["flags", 3, false], |
| 83 | ["frag_offset", 13, false], |
| 84 | ["ttl", 8, false], |
| 85 | ["protocol", 8, false], |
| 86 | ["hdr_checksum", 16, false], |
| 87 | ["src_addr", 32, false], |
| 88 | ["dst_addr", 32, false] |
| 89 | ] |
| 90 | }, |
| 91 | { |
| 92 | "name" : "tcp_t", |
| 93 | "id" : 6, |
| 94 | "fields" : [ |
| 95 | ["src_port", 16, false], |
| 96 | ["dst_port", 16, false], |
| 97 | ["seq_no", 32, false], |
| 98 | ["ack_no", 32, false], |
| 99 | ["data_offset", 4, false], |
| 100 | ["res", 3, false], |
| 101 | ["ecn", 3, false], |
| 102 | ["ctrl", 6, false], |
| 103 | ["window", 16, false], |
| 104 | ["checksum", 16, false], |
| 105 | ["urgent_ptr", 16, false] |
| 106 | ] |
| 107 | }, |
| 108 | { |
| 109 | "name" : "udp_t", |
| 110 | "id" : 7, |
| 111 | "fields" : [ |
| 112 | ["src_port", 16, false], |
| 113 | ["dst_port", 16, false], |
| 114 | ["length_", 16, false], |
| 115 | ["checksum", 16, false] |
| 116 | ] |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 117 | } |
| 118 | ], |
| 119 | "headers" : [ |
| 120 | { |
| 121 | "name" : "scalars", |
| 122 | "id" : 0, |
| 123 | "header_type" : "scalars_0", |
| 124 | "metadata" : true, |
| 125 | "pi_omit" : true |
| 126 | }, |
| 127 | { |
| 128 | "name" : "standard_metadata", |
| 129 | "id" : 1, |
| 130 | "header_type" : "standard_metadata", |
| 131 | "metadata" : true, |
| 132 | "pi_omit" : true |
| 133 | }, |
| 134 | { |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 135 | "name" : "packet_out", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 136 | "id" : 2, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 137 | "header_type" : "packet_out_header_t", |
| 138 | "metadata" : false, |
| 139 | "pi_omit" : true |
| 140 | }, |
| 141 | { |
| 142 | "name" : "packet_in", |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 143 | "id" : 3, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 144 | "header_type" : "packet_in_header_t", |
| 145 | "metadata" : false, |
| 146 | "pi_omit" : true |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 147 | }, |
| 148 | { |
| 149 | "name" : "ethernet", |
| 150 | "id" : 4, |
| 151 | "header_type" : "ethernet_t", |
| 152 | "metadata" : false, |
| 153 | "pi_omit" : true |
| 154 | }, |
| 155 | { |
| 156 | "name" : "ipv4", |
| 157 | "id" : 5, |
| 158 | "header_type" : "ipv4_t", |
| 159 | "metadata" : false, |
| 160 | "pi_omit" : true |
| 161 | }, |
| 162 | { |
| 163 | "name" : "tcp", |
| 164 | "id" : 6, |
| 165 | "header_type" : "tcp_t", |
| 166 | "metadata" : false, |
| 167 | "pi_omit" : true |
| 168 | }, |
| 169 | { |
| 170 | "name" : "udp", |
| 171 | "id" : 7, |
| 172 | "header_type" : "udp_t", |
| 173 | "metadata" : false, |
| 174 | "pi_omit" : true |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 175 | } |
| 176 | ], |
| 177 | "header_stacks" : [], |
| 178 | "header_union_types" : [], |
| 179 | "header_unions" : [], |
| 180 | "header_union_stacks" : [], |
| 181 | "field_lists" : [], |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 182 | "errors" : [ |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 183 | ["NoError", 0], |
| 184 | ["PacketTooShort", 1], |
| 185 | ["NoMatch", 2], |
| 186 | ["StackOutOfBounds", 3], |
| 187 | ["HeaderTooShort", 4], |
| 188 | ["ParserTimeout", 5] |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 189 | ], |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 190 | "enums" : [], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 191 | "parsers" : [ |
| 192 | { |
| 193 | "name" : "parser", |
| 194 | "id" : 0, |
| 195 | "init_state" : "start", |
| 196 | "parse_states" : [ |
| 197 | { |
| 198 | "name" : "start", |
| 199 | "id" : 0, |
| 200 | "parser_ops" : [], |
| 201 | "transitions" : [ |
| 202 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 203 | "type" : "hexstr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 204 | "value" : "0x00ff", |
| 205 | "mask" : null, |
| 206 | "next_state" : "parse_packet_out" |
| 207 | }, |
| 208 | { |
| 209 | "value" : "default", |
| 210 | "mask" : null, |
| 211 | "next_state" : "parse_ethernet" |
| 212 | } |
| 213 | ], |
| 214 | "transition_key" : [ |
| 215 | { |
| 216 | "type" : "field", |
| 217 | "value" : ["standard_metadata", "ingress_port"] |
| 218 | } |
| 219 | ] |
| 220 | }, |
| 221 | { |
| 222 | "name" : "parse_packet_out", |
| 223 | "id" : 1, |
| 224 | "parser_ops" : [ |
| 225 | { |
| 226 | "parameters" : [ |
| 227 | { |
| 228 | "type" : "regular", |
| 229 | "value" : "packet_out" |
| 230 | } |
| 231 | ], |
| 232 | "op" : "extract" |
| 233 | } |
| 234 | ], |
| 235 | "transitions" : [ |
| 236 | { |
| 237 | "value" : "default", |
| 238 | "mask" : null, |
| 239 | "next_state" : "parse_ethernet" |
| 240 | } |
| 241 | ], |
| 242 | "transition_key" : [] |
| 243 | }, |
| 244 | { |
| 245 | "name" : "parse_ethernet", |
| 246 | "id" : 2, |
| 247 | "parser_ops" : [ |
| 248 | { |
| 249 | "parameters" : [ |
| 250 | { |
| 251 | "type" : "regular", |
| 252 | "value" : "ethernet" |
| 253 | } |
| 254 | ], |
| 255 | "op" : "extract" |
| 256 | } |
| 257 | ], |
| 258 | "transitions" : [ |
| 259 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 260 | "type" : "hexstr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 261 | "value" : "0x0800", |
| 262 | "mask" : null, |
| 263 | "next_state" : "parse_ipv4" |
| 264 | }, |
| 265 | { |
| 266 | "value" : "default", |
| 267 | "mask" : null, |
| 268 | "next_state" : null |
| 269 | } |
| 270 | ], |
| 271 | "transition_key" : [ |
| 272 | { |
| 273 | "type" : "field", |
| 274 | "value" : ["ethernet", "ether_type"] |
| 275 | } |
| 276 | ] |
| 277 | }, |
| 278 | { |
| 279 | "name" : "parse_ipv4", |
| 280 | "id" : 3, |
| 281 | "parser_ops" : [ |
| 282 | { |
| 283 | "parameters" : [ |
| 284 | { |
| 285 | "type" : "regular", |
| 286 | "value" : "ipv4" |
| 287 | } |
| 288 | ], |
| 289 | "op" : "extract" |
| 290 | } |
| 291 | ], |
| 292 | "transitions" : [ |
| 293 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 294 | "type" : "hexstr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 295 | "value" : "0x06", |
| 296 | "mask" : null, |
| 297 | "next_state" : "parse_tcp" |
| 298 | }, |
| 299 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 300 | "type" : "hexstr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 301 | "value" : "0x11", |
| 302 | "mask" : null, |
| 303 | "next_state" : "parse_udp" |
| 304 | }, |
| 305 | { |
| 306 | "value" : "default", |
| 307 | "mask" : null, |
| 308 | "next_state" : null |
| 309 | } |
| 310 | ], |
| 311 | "transition_key" : [ |
| 312 | { |
| 313 | "type" : "field", |
| 314 | "value" : ["ipv4", "protocol"] |
| 315 | } |
| 316 | ] |
| 317 | }, |
| 318 | { |
| 319 | "name" : "parse_tcp", |
| 320 | "id" : 4, |
| 321 | "parser_ops" : [ |
| 322 | { |
| 323 | "parameters" : [ |
| 324 | { |
| 325 | "type" : "regular", |
| 326 | "value" : "tcp" |
| 327 | } |
| 328 | ], |
| 329 | "op" : "extract" |
| 330 | }, |
| 331 | { |
| 332 | "parameters" : [ |
| 333 | { |
| 334 | "type" : "field", |
| 335 | "value" : ["scalars", "local_metadata_t.l4_src_port"] |
| 336 | }, |
| 337 | { |
| 338 | "type" : "field", |
| 339 | "value" : ["tcp", "src_port"] |
| 340 | } |
| 341 | ], |
| 342 | "op" : "set" |
| 343 | }, |
| 344 | { |
| 345 | "parameters" : [ |
| 346 | { |
| 347 | "type" : "field", |
| 348 | "value" : ["scalars", "local_metadata_t.l4_dst_port"] |
| 349 | }, |
| 350 | { |
| 351 | "type" : "field", |
| 352 | "value" : ["tcp", "dst_port"] |
| 353 | } |
| 354 | ], |
| 355 | "op" : "set" |
| 356 | } |
| 357 | ], |
| 358 | "transitions" : [ |
| 359 | { |
| 360 | "value" : "default", |
| 361 | "mask" : null, |
| 362 | "next_state" : null |
| 363 | } |
| 364 | ], |
| 365 | "transition_key" : [] |
| 366 | }, |
| 367 | { |
| 368 | "name" : "parse_udp", |
| 369 | "id" : 5, |
| 370 | "parser_ops" : [ |
| 371 | { |
| 372 | "parameters" : [ |
| 373 | { |
| 374 | "type" : "regular", |
| 375 | "value" : "udp" |
| 376 | } |
| 377 | ], |
| 378 | "op" : "extract" |
| 379 | }, |
| 380 | { |
| 381 | "parameters" : [ |
| 382 | { |
| 383 | "type" : "field", |
| 384 | "value" : ["scalars", "local_metadata_t.l4_src_port"] |
| 385 | }, |
| 386 | { |
| 387 | "type" : "field", |
| 388 | "value" : ["udp", "src_port"] |
| 389 | } |
| 390 | ], |
| 391 | "op" : "set" |
| 392 | }, |
| 393 | { |
| 394 | "parameters" : [ |
| 395 | { |
| 396 | "type" : "field", |
| 397 | "value" : ["scalars", "local_metadata_t.l4_dst_port"] |
| 398 | }, |
| 399 | { |
| 400 | "type" : "field", |
| 401 | "value" : ["udp", "dst_port"] |
| 402 | } |
| 403 | ], |
| 404 | "op" : "set" |
| 405 | } |
| 406 | ], |
| 407 | "transitions" : [ |
| 408 | { |
| 409 | "value" : "default", |
| 410 | "mask" : null, |
| 411 | "next_state" : null |
| 412 | } |
| 413 | ], |
| 414 | "transition_key" : [] |
| 415 | } |
| 416 | ] |
| 417 | } |
| 418 | ], |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 419 | "parse_vsets" : [], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 420 | "deparsers" : [ |
| 421 | { |
| 422 | "name" : "deparser", |
| 423 | "id" : 0, |
| 424 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 425 | "filename" : "include/parsers.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 426 | "line" : 72, |
| 427 | "column" : 8, |
| 428 | "source_fragment" : "deparser" |
| 429 | }, |
| 430 | "order" : ["packet_in", "ethernet", "ipv4", "tcp", "udp"] |
| 431 | } |
| 432 | ], |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 433 | "meter_arrays" : [ |
| 434 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 435 | "name" : "ingress.port_meters_ingress.ingress_port_meter", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 436 | "id" : 0, |
| 437 | "source_info" : { |
| 438 | "filename" : "include/port_meters.p4", |
| 439 | "line" : 23, |
| 440 | "column" : 32, |
| 441 | "source_fragment" : "ingress_port_meter" |
| 442 | }, |
| 443 | "is_direct" : false, |
| 444 | "size" : 511, |
| 445 | "rate_count" : 2, |
| 446 | "type" : "bytes" |
| 447 | }, |
| 448 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 449 | "name" : "ingress.host_meter_control.host_meter", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 450 | "id" : 1, |
| 451 | "source_info" : { |
| 452 | "filename" : "include/host_meter_table.p4", |
| 453 | "line" : 27, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 454 | "column" : 46, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 455 | "source_fragment" : "host_meter" |
| 456 | }, |
| 457 | "is_direct" : true, |
| 458 | "rate_count" : 2, |
| 459 | "type" : "bytes", |
| 460 | "size" : 1024, |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 461 | "binding" : "ingress.host_meter_control.host_meter_table", |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 462 | "result_target" : ["scalars", "host_meter_control_meter_tag"] |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 463 | }, |
| 464 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 465 | "name" : "egress.port_meters_egress.egress_port_meter", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 466 | "id" : 2, |
| 467 | "source_info" : { |
| 468 | "filename" : "include/port_meters.p4", |
| 469 | "line" : 37, |
| 470 | "column" : 32, |
| 471 | "source_fragment" : "egress_port_meter" |
| 472 | }, |
| 473 | "is_direct" : false, |
| 474 | "size" : 511, |
| 475 | "rate_count" : 2, |
| 476 | "type" : "bytes" |
| 477 | } |
| 478 | ], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 479 | "counter_arrays" : [ |
| 480 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 481 | "name" : "ingress.port_counters_ingress.ingress_port_counter", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 482 | "id" : 0, |
| 483 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 484 | "filename" : "include/port_counters.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 485 | "line" : 26, |
| 486 | "column" : 38, |
| 487 | "source_fragment" : "ingress_port_counter" |
| 488 | }, |
| 489 | "size" : 511, |
| 490 | "is_direct" : false |
| 491 | }, |
| 492 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 493 | "name" : "ingress.table0_control.table0_counter", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 494 | "id" : 1, |
| 495 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 496 | "binding" : "ingress.table0_control.table0", |
| 497 | "source_info" : { |
| 498 | "filename" : "include/table0.p4", |
| 499 | "line" : 27, |
| 500 | "column" : 50, |
| 501 | "source_fragment" : "table0_counter" |
| 502 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 503 | }, |
| 504 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 505 | "name" : "ingress.wcmp_control.wcmp_table_counter", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 506 | "id" : 2, |
| 507 | "is_direct" : true, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 508 | "binding" : "ingress.wcmp_control.wcmp_table", |
| 509 | "source_info" : { |
| 510 | "filename" : "include/wcmp.p4", |
| 511 | "line" : 27, |
| 512 | "column" : 50, |
| 513 | "source_fragment" : "wcmp_table_counter" |
| 514 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 515 | }, |
| 516 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 517 | "name" : "egress.port_counters_egress.egress_port_counter", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 518 | "id" : 3, |
| 519 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 520 | "filename" : "include/port_counters.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 521 | "line" : 36, |
| 522 | "column" : 38, |
| 523 | "source_fragment" : "egress_port_counter" |
| 524 | }, |
| 525 | "size" : 511, |
| 526 | "is_direct" : false |
| 527 | } |
| 528 | ], |
| 529 | "register_arrays" : [], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 530 | "calculations" : [ |
| 531 | { |
| 532 | "name" : "calc", |
| 533 | "id" : 0, |
| 534 | "source_info" : { |
| 535 | "filename" : "include/checksums.p4", |
| 536 | "line" : 32, |
| 537 | "column" : 8, |
| 538 | "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..." |
| 539 | }, |
| 540 | "algo" : "csum16", |
| 541 | "input" : [ |
| 542 | { |
| 543 | "type" : "field", |
| 544 | "value" : ["ipv4", "version"] |
| 545 | }, |
| 546 | { |
| 547 | "type" : "field", |
| 548 | "value" : ["ipv4", "ihl"] |
| 549 | }, |
| 550 | { |
| 551 | "type" : "field", |
| 552 | "value" : ["ipv4", "dscp"] |
| 553 | }, |
| 554 | { |
| 555 | "type" : "field", |
| 556 | "value" : ["ipv4", "ecn"] |
| 557 | }, |
| 558 | { |
| 559 | "type" : "field", |
| 560 | "value" : ["ipv4", "len"] |
| 561 | }, |
| 562 | { |
| 563 | "type" : "field", |
| 564 | "value" : ["ipv4", "identification"] |
| 565 | }, |
| 566 | { |
| 567 | "type" : "field", |
| 568 | "value" : ["ipv4", "flags"] |
| 569 | }, |
| 570 | { |
| 571 | "type" : "field", |
| 572 | "value" : ["ipv4", "frag_offset"] |
| 573 | }, |
| 574 | { |
| 575 | "type" : "field", |
| 576 | "value" : ["ipv4", "ttl"] |
| 577 | }, |
| 578 | { |
| 579 | "type" : "field", |
| 580 | "value" : ["ipv4", "protocol"] |
| 581 | }, |
| 582 | { |
| 583 | "type" : "field", |
| 584 | "value" : ["ipv4", "src_addr"] |
| 585 | }, |
| 586 | { |
| 587 | "type" : "field", |
| 588 | "value" : ["ipv4", "dst_addr"] |
| 589 | } |
| 590 | ] |
| 591 | } |
| 592 | ], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 593 | "learn_lists" : [], |
| 594 | "actions" : [ |
| 595 | { |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 596 | "name" : "_drop", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 597 | "id" : 0, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 598 | "runtime_data" : [], |
| 599 | "primitives" : [ |
| 600 | { |
| 601 | "op" : "drop", |
| 602 | "parameters" : [], |
| 603 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 604 | "filename" : "include/actions.p4", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 605 | "line" : 24, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 606 | "column" : 4, |
| 607 | "source_fragment" : "mark_to_drop()" |
| 608 | } |
| 609 | } |
| 610 | ] |
| 611 | }, |
| 612 | { |
| 613 | "name" : "NoAction", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 614 | "id" : 1, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 615 | "runtime_data" : [], |
| 616 | "primitives" : [] |
| 617 | }, |
| 618 | { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 619 | "name" : "NoAction", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 620 | "id" : 2, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 621 | "runtime_data" : [], |
| 622 | "primitives" : [] |
| 623 | }, |
| 624 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 625 | "name" : "ingress.table0_control.set_next_hop_id", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 626 | "id" : 3, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 627 | "runtime_data" : [ |
| 628 | { |
| 629 | "name" : "next_hop_id", |
| 630 | "bitwidth" : 16 |
| 631 | } |
| 632 | ], |
| 633 | "primitives" : [ |
| 634 | { |
| 635 | "op" : "assign", |
| 636 | "parameters" : [ |
| 637 | { |
| 638 | "type" : "field", |
| 639 | "value" : ["scalars", "local_metadata_t.next_hop_id"] |
| 640 | }, |
| 641 | { |
| 642 | "type" : "runtime_data", |
| 643 | "value" : 0 |
| 644 | } |
| 645 | ], |
| 646 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 647 | "filename" : "include/table0.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 648 | "line" : 30, |
| 649 | "column" : 8, |
| 650 | "source_fragment" : "local_metadata.next_hop_id = next_hop_id" |
| 651 | } |
| 652 | } |
| 653 | ] |
| 654 | }, |
| 655 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 656 | "name" : "ingress.table0_control.send_to_cpu", |
| 657 | "id" : 4, |
| 658 | "runtime_data" : [], |
| 659 | "primitives" : [ |
| 660 | { |
| 661 | "op" : "assign", |
| 662 | "parameters" : [ |
| 663 | { |
| 664 | "type" : "field", |
| 665 | "value" : ["standard_metadata", "egress_spec"] |
| 666 | }, |
| 667 | { |
| 668 | "type" : "hexstr", |
| 669 | "value" : "0x00ff" |
| 670 | } |
| 671 | ], |
| 672 | "source_info" : { |
| 673 | "filename" : "include/defines.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 674 | "line" : 34, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 675 | "column" : 24, |
| 676 | "source_fragment" : "255; ..." |
| 677 | } |
| 678 | } |
| 679 | ] |
| 680 | }, |
| 681 | { |
| 682 | "name" : "ingress.table0_control.set_egress_port", |
| 683 | "id" : 5, |
| 684 | "runtime_data" : [ |
| 685 | { |
| 686 | "name" : "port", |
| 687 | "bitwidth" : 9 |
| 688 | } |
| 689 | ], |
| 690 | "primitives" : [ |
| 691 | { |
| 692 | "op" : "assign", |
| 693 | "parameters" : [ |
| 694 | { |
| 695 | "type" : "field", |
| 696 | "value" : ["standard_metadata", "egress_spec"] |
| 697 | }, |
| 698 | { |
| 699 | "type" : "runtime_data", |
| 700 | "value" : 0 |
| 701 | } |
| 702 | ], |
| 703 | "source_info" : { |
| 704 | "filename" : "include/table0.p4", |
| 705 | "line" : 38, |
| 706 | "column" : 8, |
| 707 | "source_fragment" : "standard_metadata.egress_spec = port" |
| 708 | } |
| 709 | } |
| 710 | ] |
| 711 | }, |
| 712 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 713 | "name" : "ingress.host_meter_control.read_meter", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 714 | "id" : 6, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 715 | "runtime_data" : [], |
| 716 | "primitives" : [] |
| 717 | }, |
| 718 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 719 | "name" : "ingress.wcmp_control.set_egress_port", |
| 720 | "id" : 7, |
| 721 | "runtime_data" : [ |
| 722 | { |
| 723 | "name" : "port", |
| 724 | "bitwidth" : 9 |
| 725 | } |
| 726 | ], |
| 727 | "primitives" : [ |
| 728 | { |
| 729 | "op" : "assign", |
| 730 | "parameters" : [ |
| 731 | { |
| 732 | "type" : "field", |
| 733 | "value" : ["standard_metadata", "egress_spec"] |
| 734 | }, |
| 735 | { |
| 736 | "type" : "runtime_data", |
| 737 | "value" : 0 |
| 738 | } |
| 739 | ], |
| 740 | "source_info" : { |
| 741 | "filename" : "include/wcmp.p4", |
| 742 | "line" : 31, |
| 743 | "column" : 8, |
| 744 | "source_fragment" : "standard_metadata.egress_spec = port" |
| 745 | } |
| 746 | } |
| 747 | ] |
| 748 | }, |
| 749 | { |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 750 | "name" : "act", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 751 | "id" : 8, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 752 | "runtime_data" : [], |
| 753 | "primitives" : [ |
| 754 | { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 755 | "op" : "drop", |
| 756 | "parameters" : [], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 757 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 758 | "filename" : "include/port_meters.p4", |
| 759 | "line" : 29, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 760 | "column" : 12, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 761 | "source_fragment" : "mark_to_drop()" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 762 | } |
| 763 | } |
| 764 | ] |
| 765 | }, |
| 766 | { |
| 767 | "name" : "act_0", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 768 | "id" : 9, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 769 | "runtime_data" : [], |
| 770 | "primitives" : [ |
| 771 | { |
| 772 | "op" : "assign", |
| 773 | "parameters" : [ |
| 774 | { |
| 775 | "type" : "field", |
| 776 | "value" : ["scalars", "tmp"] |
| 777 | }, |
| 778 | { |
| 779 | "type" : "expression", |
| 780 | "value" : { |
| 781 | "type" : "expression", |
| 782 | "value" : { |
| 783 | "op" : "&", |
| 784 | "left" : { |
| 785 | "type" : "field", |
| 786 | "value" : ["standard_metadata", "ingress_port"] |
| 787 | }, |
| 788 | "right" : { |
| 789 | "type" : "hexstr", |
| 790 | "value" : "0xffffffff" |
| 791 | } |
| 792 | } |
| 793 | } |
| 794 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 795 | ], |
| 796 | "source_info" : { |
| 797 | "filename" : "include/port_counters.p4", |
| 798 | "line" : 29, |
| 799 | "column" : 35, |
| 800 | "source_fragment" : "(bit<32>) standard_metadata.ingress_port" |
| 801 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 802 | }, |
| 803 | { |
| 804 | "op" : "count", |
| 805 | "parameters" : [ |
| 806 | { |
| 807 | "type" : "counter_array", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 808 | "value" : "ingress.port_counters_ingress.ingress_port_counter" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 809 | }, |
| 810 | { |
| 811 | "type" : "field", |
| 812 | "value" : ["scalars", "tmp"] |
| 813 | } |
| 814 | ], |
| 815 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 816 | "filename" : "include/port_counters.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 817 | "line" : 29, |
| 818 | "column" : 8, |
| 819 | "source_fragment" : "ingress_port_counter.count((bit<32>) standard_metadata.ingress_port)" |
| 820 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 821 | }, |
| 822 | { |
| 823 | "op" : "assign", |
| 824 | "parameters" : [ |
| 825 | { |
| 826 | "type" : "field", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 827 | "value" : ["scalars", "tmp_0"] |
| 828 | }, |
| 829 | { |
| 830 | "type" : "expression", |
| 831 | "value" : { |
| 832 | "type" : "expression", |
| 833 | "value" : { |
| 834 | "op" : "&", |
| 835 | "left" : { |
| 836 | "type" : "field", |
| 837 | "value" : ["standard_metadata", "ingress_port"] |
| 838 | }, |
| 839 | "right" : { |
| 840 | "type" : "hexstr", |
| 841 | "value" : "0xffffffff" |
| 842 | } |
| 843 | } |
| 844 | } |
| 845 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 846 | ], |
| 847 | "source_info" : { |
| 848 | "filename" : "include/port_meters.p4", |
| 849 | "line" : 27, |
| 850 | "column" : 53, |
| 851 | "source_fragment" : "(bit<32>)standard_metadata.ingress_port" |
| 852 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 853 | }, |
| 854 | { |
| 855 | "op" : "execute_meter", |
| 856 | "parameters" : [ |
| 857 | { |
| 858 | "type" : "meter_array", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 859 | "value" : "ingress.port_meters_ingress.ingress_port_meter" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 860 | }, |
| 861 | { |
| 862 | "type" : "field", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 863 | "value" : ["scalars", "tmp_0"] |
| 864 | }, |
| 865 | { |
| 866 | "type" : "field", |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 867 | "value" : ["scalars", "port_meters_ingress_ingress_color"] |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 868 | } |
| 869 | ], |
| 870 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 871 | "filename" : "include/port_meters.p4", |
| 872 | "line" : 27, |
| 873 | "column" : 8, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 874 | "source_fragment" : "ingress_port_meter.execute_meter<MeterColor>((bit<32>)standard_metadata.ingress_port, ingress_color)" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 875 | } |
| 876 | } |
| 877 | ] |
| 878 | }, |
| 879 | { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 880 | "name" : "act_1", |
| 881 | "id" : 10, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 882 | "runtime_data" : [], |
| 883 | "primitives" : [ |
| 884 | { |
| 885 | "op" : "assign", |
| 886 | "parameters" : [ |
| 887 | { |
| 888 | "type" : "field", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 889 | "value" : ["standard_metadata", "egress_spec"] |
| 890 | }, |
| 891 | { |
| 892 | "type" : "field", |
| 893 | "value" : ["packet_out", "egress_port"] |
| 894 | } |
| 895 | ], |
| 896 | "source_info" : { |
| 897 | "filename" : "include/packet_io.p4", |
| 898 | "line" : 27, |
| 899 | "column" : 12, |
| 900 | "source_fragment" : "standard_metadata.egress_spec = hdr.packet_out.egress_port" |
| 901 | } |
| 902 | }, |
| 903 | { |
| 904 | "op" : "remove_header", |
| 905 | "parameters" : [ |
| 906 | { |
| 907 | "type" : "header", |
| 908 | "value" : "packet_out" |
| 909 | } |
| 910 | ], |
| 911 | "source_info" : { |
| 912 | "filename" : "include/packet_io.p4", |
| 913 | "line" : 28, |
| 914 | "column" : 12, |
| 915 | "source_fragment" : "hdr.packet_out.setInvalid()" |
| 916 | } |
| 917 | } |
| 918 | ] |
| 919 | }, |
| 920 | { |
| 921 | "name" : "act_2", |
| 922 | "id" : 11, |
| 923 | "runtime_data" : [], |
| 924 | "primitives" : [ |
| 925 | { |
| 926 | "op" : "assign", |
| 927 | "parameters" : [ |
| 928 | { |
| 929 | "type" : "field", |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 930 | "value" : ["scalars", "host_meter_control_meter_tag"] |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 931 | }, |
| 932 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 933 | "type" : "hexstr", |
| 934 | "value" : "0x00" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 935 | } |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 936 | ], |
| 937 | "source_info" : { |
| 938 | "filename" : "include/defines.p4", |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 939 | "line" : 37, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 940 | "column" : 36, |
| 941 | "source_fragment" : "8w0; ..." |
| 942 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 943 | } |
| 944 | ] |
| 945 | }, |
| 946 | { |
| 947 | "name" : "act_3", |
| 948 | "id" : 12, |
| 949 | "runtime_data" : [], |
| 950 | "primitives" : [ |
| 951 | { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 952 | "op" : "drop", |
| 953 | "parameters" : [], |
| 954 | "source_info" : { |
| 955 | "filename" : "include/host_meter_table.p4", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 956 | "line" : 48, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 957 | "column" : 12, |
| 958 | "source_fragment" : "mark_to_drop()" |
| 959 | } |
| 960 | } |
| 961 | ] |
| 962 | }, |
| 963 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 964 | "name" : "act_4", |
| 965 | "id" : 13, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 966 | "runtime_data" : [], |
| 967 | "primitives" : [ |
| 968 | { |
| 969 | "op" : "drop", |
| 970 | "parameters" : [], |
| 971 | "source_info" : { |
| 972 | "filename" : "include/port_meters.p4", |
| 973 | "line" : 43, |
| 974 | "column" : 12, |
| 975 | "source_fragment" : "mark_to_drop()" |
| 976 | } |
| 977 | } |
| 978 | ] |
| 979 | }, |
| 980 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 981 | "name" : "act_5", |
| 982 | "id" : 14, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 983 | "runtime_data" : [], |
| 984 | "primitives" : [ |
| 985 | { |
| 986 | "op" : "assign", |
| 987 | "parameters" : [ |
| 988 | { |
| 989 | "type" : "field", |
| 990 | "value" : ["scalars", "tmp_1"] |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 991 | }, |
| 992 | { |
| 993 | "type" : "expression", |
| 994 | "value" : { |
| 995 | "type" : "expression", |
| 996 | "value" : { |
| 997 | "op" : "&", |
| 998 | "left" : { |
| 999 | "type" : "field", |
| 1000 | "value" : ["standard_metadata", "egress_port"] |
| 1001 | }, |
| 1002 | "right" : { |
| 1003 | "type" : "hexstr", |
| 1004 | "value" : "0xffffffff" |
| 1005 | } |
| 1006 | } |
| 1007 | } |
| 1008 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 1009 | ], |
| 1010 | "source_info" : { |
| 1011 | "filename" : "include/port_counters.p4", |
| 1012 | "line" : 39, |
| 1013 | "column" : 34, |
| 1014 | "source_fragment" : "(bit<32>) standard_metadata.egress_port" |
| 1015 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1016 | }, |
| 1017 | { |
| 1018 | "op" : "count", |
| 1019 | "parameters" : [ |
| 1020 | { |
| 1021 | "type" : "counter_array", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1022 | "value" : "egress.port_counters_egress.egress_port_counter" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1023 | }, |
| 1024 | { |
| 1025 | "type" : "field", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1026 | "value" : ["scalars", "tmp_1"] |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1027 | } |
| 1028 | ], |
| 1029 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1030 | "filename" : "include/port_counters.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1031 | "line" : 39, |
| 1032 | "column" : 8, |
| 1033 | "source_fragment" : "egress_port_counter.count((bit<32>) standard_metadata.egress_port)" |
| 1034 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1035 | }, |
| 1036 | { |
| 1037 | "op" : "assign", |
| 1038 | "parameters" : [ |
| 1039 | { |
| 1040 | "type" : "field", |
| 1041 | "value" : ["scalars", "tmp_2"] |
| 1042 | }, |
| 1043 | { |
| 1044 | "type" : "expression", |
| 1045 | "value" : { |
| 1046 | "type" : "expression", |
| 1047 | "value" : { |
| 1048 | "op" : "&", |
| 1049 | "left" : { |
| 1050 | "type" : "field", |
| 1051 | "value" : ["standard_metadata", "egress_port"] |
| 1052 | }, |
| 1053 | "right" : { |
| 1054 | "type" : "hexstr", |
| 1055 | "value" : "0xffffffff" |
| 1056 | } |
| 1057 | } |
| 1058 | } |
| 1059 | } |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 1060 | ], |
| 1061 | "source_info" : { |
| 1062 | "filename" : "include/port_meters.p4", |
| 1063 | "line" : 41, |
| 1064 | "column" : 52, |
| 1065 | "source_fragment" : "(bit<32>)standard_metadata.egress_port" |
| 1066 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1067 | }, |
| 1068 | { |
| 1069 | "op" : "execute_meter", |
| 1070 | "parameters" : [ |
| 1071 | { |
| 1072 | "type" : "meter_array", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1073 | "value" : "egress.port_meters_egress.egress_port_meter" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1074 | }, |
| 1075 | { |
| 1076 | "type" : "field", |
| 1077 | "value" : ["scalars", "tmp_2"] |
| 1078 | }, |
| 1079 | { |
| 1080 | "type" : "field", |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 1081 | "value" : ["scalars", "port_meters_egress_egress_color"] |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1082 | } |
| 1083 | ], |
| 1084 | "source_info" : { |
| 1085 | "filename" : "include/port_meters.p4", |
| 1086 | "line" : 41, |
| 1087 | "column" : 8, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1088 | "source_fragment" : "egress_port_meter.execute_meter<MeterColor>((bit<32>)standard_metadata.egress_port, egress_color)" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1089 | } |
| 1090 | } |
| 1091 | ] |
| 1092 | }, |
| 1093 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1094 | "name" : "act_6", |
| 1095 | "id" : 15, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1096 | "runtime_data" : [], |
| 1097 | "primitives" : [ |
| 1098 | { |
| 1099 | "op" : "add_header", |
| 1100 | "parameters" : [ |
| 1101 | { |
| 1102 | "type" : "header", |
| 1103 | "value" : "packet_in" |
| 1104 | } |
| 1105 | ], |
| 1106 | "source_info" : { |
| 1107 | "filename" : "include/packet_io.p4", |
| 1108 | "line" : 38, |
| 1109 | "column" : 12, |
| 1110 | "source_fragment" : "hdr.packet_in.setValid()" |
| 1111 | } |
| 1112 | }, |
| 1113 | { |
| 1114 | "op" : "assign", |
| 1115 | "parameters" : [ |
| 1116 | { |
| 1117 | "type" : "field", |
| 1118 | "value" : ["packet_in", "ingress_port"] |
| 1119 | }, |
| 1120 | { |
| 1121 | "type" : "field", |
| 1122 | "value" : ["standard_metadata", "ingress_port"] |
| 1123 | } |
| 1124 | ], |
| 1125 | "source_info" : { |
| 1126 | "filename" : "include/packet_io.p4", |
| 1127 | "line" : 39, |
| 1128 | "column" : 12, |
| 1129 | "source_fragment" : "hdr.packet_in.ingress_port = standard_metadata.ingress_port" |
| 1130 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1131 | } |
| 1132 | ] |
| 1133 | } |
| 1134 | ], |
| 1135 | "pipelines" : [ |
| 1136 | { |
| 1137 | "name" : "ingress", |
| 1138 | "id" : 0, |
| 1139 | "source_info" : { |
| 1140 | "filename" : "basic.p4", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1141 | "line" : 37, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1142 | "column" : 8, |
| 1143 | "source_fragment" : "ingress" |
| 1144 | }, |
| 1145 | "init_table" : "tbl_act", |
| 1146 | "tables" : [ |
| 1147 | { |
| 1148 | "name" : "tbl_act", |
| 1149 | "id" : 0, |
| 1150 | "key" : [], |
| 1151 | "match_type" : "exact", |
| 1152 | "type" : "simple", |
| 1153 | "max_size" : 1024, |
| 1154 | "with_counters" : false, |
| 1155 | "support_timeout" : false, |
| 1156 | "direct_meters" : null, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1157 | "action_ids" : [9], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1158 | "actions" : ["act_0"], |
| 1159 | "base_default_next" : "node_3", |
| 1160 | "next_tables" : { |
| 1161 | "act_0" : "node_3" |
| 1162 | }, |
| 1163 | "default_entry" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1164 | "action_id" : 9, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1165 | "action_const" : true, |
| 1166 | "action_data" : [], |
| 1167 | "action_entry_const" : true |
| 1168 | } |
| 1169 | }, |
| 1170 | { |
| 1171 | "name" : "tbl_act_0", |
| 1172 | "id" : 1, |
| 1173 | "key" : [], |
| 1174 | "match_type" : "exact", |
| 1175 | "type" : "simple", |
| 1176 | "max_size" : 1024, |
| 1177 | "with_counters" : false, |
| 1178 | "support_timeout" : false, |
| 1179 | "direct_meters" : null, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1180 | "action_ids" : [8], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1181 | "actions" : ["act"], |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1182 | "base_default_next" : "node_5", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1183 | "next_tables" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1184 | "act" : "node_5" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1185 | }, |
| 1186 | "default_entry" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1187 | "action_id" : 8, |
| 1188 | "action_const" : true, |
| 1189 | "action_data" : [], |
| 1190 | "action_entry_const" : true |
| 1191 | } |
| 1192 | }, |
| 1193 | { |
| 1194 | "name" : "tbl_act_1", |
| 1195 | "id" : 2, |
| 1196 | "key" : [], |
| 1197 | "match_type" : "exact", |
| 1198 | "type" : "simple", |
| 1199 | "max_size" : 1024, |
| 1200 | "with_counters" : false, |
| 1201 | "support_timeout" : false, |
| 1202 | "direct_meters" : null, |
| 1203 | "action_ids" : [10], |
| 1204 | "actions" : ["act_1"], |
| 1205 | "base_default_next" : null, |
| 1206 | "next_tables" : { |
| 1207 | "act_1" : null |
| 1208 | }, |
| 1209 | "default_entry" : { |
| 1210 | "action_id" : 10, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1211 | "action_const" : true, |
| 1212 | "action_data" : [], |
| 1213 | "action_entry_const" : true |
| 1214 | } |
| 1215 | }, |
| 1216 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1217 | "name" : "ingress.table0_control.table0", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1218 | "id" : 3, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1219 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1220 | "filename" : "include/table0.p4", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1221 | "line" : 41, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1222 | "column" : 10, |
| 1223 | "source_fragment" : "table0" |
| 1224 | }, |
| 1225 | "key" : [ |
| 1226 | { |
| 1227 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1228 | "name" : "standard_metadata.ingress_port", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1229 | "target" : ["standard_metadata", "ingress_port"], |
| 1230 | "mask" : null |
| 1231 | }, |
| 1232 | { |
| 1233 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1234 | "name" : "hdr.ethernet.src_addr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1235 | "target" : ["ethernet", "src_addr"], |
| 1236 | "mask" : null |
| 1237 | }, |
| 1238 | { |
| 1239 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1240 | "name" : "hdr.ethernet.dst_addr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1241 | "target" : ["ethernet", "dst_addr"], |
| 1242 | "mask" : null |
| 1243 | }, |
| 1244 | { |
| 1245 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1246 | "name" : "hdr.ethernet.ether_type", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1247 | "target" : ["ethernet", "ether_type"], |
| 1248 | "mask" : null |
| 1249 | }, |
| 1250 | { |
| 1251 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1252 | "name" : "hdr.ipv4.src_addr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1253 | "target" : ["ipv4", "src_addr"], |
| 1254 | "mask" : null |
| 1255 | }, |
| 1256 | { |
| 1257 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1258 | "name" : "hdr.ipv4.dst_addr", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1259 | "target" : ["ipv4", "dst_addr"], |
| 1260 | "mask" : null |
| 1261 | }, |
| 1262 | { |
| 1263 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1264 | "name" : "hdr.ipv4.protocol", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1265 | "target" : ["ipv4", "protocol"], |
| 1266 | "mask" : null |
| 1267 | }, |
| 1268 | { |
| 1269 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1270 | "name" : "local_metadata.l4_src_port", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1271 | "target" : ["scalars", "local_metadata_t.l4_src_port"], |
| 1272 | "mask" : null |
| 1273 | }, |
| 1274 | { |
| 1275 | "match_type" : "ternary", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1276 | "name" : "local_metadata.l4_dst_port", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1277 | "target" : ["scalars", "local_metadata_t.l4_dst_port"], |
| 1278 | "mask" : null |
| 1279 | } |
| 1280 | ], |
| 1281 | "match_type" : "ternary", |
| 1282 | "type" : "simple", |
| 1283 | "max_size" : 1024, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1284 | "with_counters" : true, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1285 | "support_timeout" : false, |
| 1286 | "direct_meters" : null, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1287 | "action_ids" : [5, 4, 3, 0], |
| 1288 | "actions" : ["ingress.table0_control.set_egress_port", "ingress.table0_control.send_to_cpu", "ingress.table0_control.set_next_hop_id", "_drop"], |
| 1289 | "base_default_next" : "tbl_act_2", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1290 | "next_tables" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1291 | "ingress.table0_control.set_egress_port" : "tbl_act_2", |
| 1292 | "ingress.table0_control.send_to_cpu" : "tbl_act_2", |
| 1293 | "ingress.table0_control.set_next_hop_id" : "tbl_act_2", |
| 1294 | "_drop" : "tbl_act_2" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1295 | }, |
| 1296 | "default_entry" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1297 | "action_id" : 0, |
| 1298 | "action_const" : true, |
| 1299 | "action_data" : [], |
| 1300 | "action_entry_const" : true |
| 1301 | } |
| 1302 | }, |
| 1303 | { |
| 1304 | "name" : "tbl_act_2", |
| 1305 | "id" : 4, |
| 1306 | "key" : [], |
| 1307 | "match_type" : "exact", |
| 1308 | "type" : "simple", |
| 1309 | "max_size" : 1024, |
| 1310 | "with_counters" : false, |
| 1311 | "support_timeout" : false, |
| 1312 | "direct_meters" : null, |
| 1313 | "action_ids" : [11], |
| 1314 | "actions" : ["act_2"], |
| 1315 | "base_default_next" : "ingress.host_meter_control.host_meter_table", |
| 1316 | "next_tables" : { |
| 1317 | "act_2" : "ingress.host_meter_control.host_meter_table" |
| 1318 | }, |
| 1319 | "default_entry" : { |
| 1320 | "action_id" : 11, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1321 | "action_const" : true, |
| 1322 | "action_data" : [], |
| 1323 | "action_entry_const" : true |
| 1324 | } |
| 1325 | }, |
| 1326 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1327 | "name" : "ingress.host_meter_control.host_meter_table", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1328 | "id" : 5, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1329 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1330 | "filename" : "include/host_meter_table.p4", |
| 1331 | "line" : 33, |
| 1332 | "column" : 10, |
| 1333 | "source_fragment" : "host_meter_table" |
| 1334 | }, |
| 1335 | "key" : [ |
| 1336 | { |
| 1337 | "match_type" : "lpm", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1338 | "name" : "hdr.ethernet.src_addr", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1339 | "target" : ["ethernet", "src_addr"], |
| 1340 | "mask" : null |
| 1341 | } |
| 1342 | ], |
| 1343 | "match_type" : "lpm", |
| 1344 | "type" : "simple", |
| 1345 | "max_size" : 1024, |
| 1346 | "with_counters" : false, |
| 1347 | "support_timeout" : false, |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1348 | "direct_meters" : "ingress.host_meter_control.host_meter", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1349 | "action_ids" : [6, 1], |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1350 | "actions" : ["ingress.host_meter_control.read_meter", "NoAction"], |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1351 | "base_default_next" : "node_10", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1352 | "next_tables" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1353 | "ingress.host_meter_control.read_meter" : "node_10", |
| 1354 | "NoAction" : "node_10" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1355 | }, |
| 1356 | "default_entry" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1357 | "action_id" : 1, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1358 | "action_const" : false, |
| 1359 | "action_data" : [], |
| 1360 | "action_entry_const" : false |
| 1361 | } |
| 1362 | }, |
| 1363 | { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1364 | "name" : "tbl_act_3", |
| 1365 | "id" : 6, |
| 1366 | "key" : [], |
| 1367 | "match_type" : "exact", |
| 1368 | "type" : "simple", |
| 1369 | "max_size" : 1024, |
| 1370 | "with_counters" : false, |
| 1371 | "support_timeout" : false, |
| 1372 | "direct_meters" : null, |
| 1373 | "action_ids" : [12], |
| 1374 | "actions" : ["act_3"], |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1375 | "base_default_next" : "node_12", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1376 | "next_tables" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1377 | "act_3" : "node_12" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1378 | }, |
| 1379 | "default_entry" : { |
| 1380 | "action_id" : 12, |
| 1381 | "action_const" : true, |
| 1382 | "action_data" : [], |
| 1383 | "action_entry_const" : true |
| 1384 | } |
| 1385 | }, |
| 1386 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1387 | "name" : "ingress.wcmp_control.wcmp_table", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1388 | "id" : 7, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1389 | "source_info" : { |
| 1390 | "filename" : "include/wcmp.p4", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1391 | "line" : 34, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1392 | "column" : 10, |
| 1393 | "source_fragment" : "wcmp_table" |
| 1394 | }, |
| 1395 | "key" : [ |
| 1396 | { |
| 1397 | "match_type" : "exact", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1398 | "name" : "local_metadata.next_hop_id", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1399 | "target" : ["scalars", "local_metadata_t.next_hop_id"], |
| 1400 | "mask" : null |
| 1401 | } |
| 1402 | ], |
| 1403 | "match_type" : "exact", |
| 1404 | "type" : "indirect_ws", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1405 | "action_profile" : "ingress.wcmp_control.wcmp_selector", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1406 | "max_size" : 1024, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1407 | "with_counters" : true, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1408 | "support_timeout" : false, |
| 1409 | "direct_meters" : null, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1410 | "action_ids" : [7, 2], |
| 1411 | "actions" : ["ingress.wcmp_control.set_egress_port", "NoAction"], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1412 | "base_default_next" : null, |
| 1413 | "next_tables" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1414 | "ingress.wcmp_control.set_egress_port" : null, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1415 | "NoAction" : null |
| 1416 | } |
| 1417 | } |
| 1418 | ], |
| 1419 | "action_profiles" : [ |
| 1420 | { |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1421 | "name" : "ingress.wcmp_control.wcmp_selector", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1422 | "id" : 0, |
Carmelo Cascone | 03ae0ac | 2018-10-11 08:31:59 -0700 | [diff] [blame] | 1423 | "source_info" : { |
| 1424 | "filename" : "include/wcmp.p4", |
| 1425 | "line" : 28, |
| 1426 | "column" : 55, |
| 1427 | "source_fragment" : "wcmp_selector" |
| 1428 | }, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1429 | "max_size" : 64, |
| 1430 | "selector" : { |
| 1431 | "algo" : "crc16", |
| 1432 | "input" : [ |
| 1433 | { |
| 1434 | "type" : "field", |
| 1435 | "value" : ["ipv4", "src_addr"] |
| 1436 | }, |
| 1437 | { |
| 1438 | "type" : "field", |
| 1439 | "value" : ["ipv4", "dst_addr"] |
| 1440 | }, |
| 1441 | { |
| 1442 | "type" : "field", |
| 1443 | "value" : ["ipv4", "protocol"] |
| 1444 | }, |
| 1445 | { |
| 1446 | "type" : "field", |
| 1447 | "value" : ["scalars", "local_metadata_t.l4_src_port"] |
| 1448 | }, |
| 1449 | { |
| 1450 | "type" : "field", |
| 1451 | "value" : ["scalars", "local_metadata_t.l4_dst_port"] |
| 1452 | } |
| 1453 | ] |
| 1454 | } |
| 1455 | } |
| 1456 | ], |
| 1457 | "conditionals" : [ |
| 1458 | { |
| 1459 | "name" : "node_3", |
| 1460 | "id" : 0, |
| 1461 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1462 | "filename" : "include/port_meters.p4", |
| 1463 | "line" : 28, |
| 1464 | "column" : 12, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1465 | "source_fragment" : "ingress_color == MeterColor_RED" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1466 | }, |
| 1467 | "expression" : { |
| 1468 | "type" : "expression", |
| 1469 | "value" : { |
| 1470 | "op" : "==", |
| 1471 | "left" : { |
| 1472 | "type" : "field", |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 1473 | "value" : ["scalars", "port_meters_ingress_ingress_color"] |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1474 | }, |
| 1475 | "right" : { |
| 1476 | "type" : "hexstr", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1477 | "value" : "0x02" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1478 | } |
| 1479 | } |
| 1480 | }, |
| 1481 | "true_next" : "tbl_act_0", |
| 1482 | "false_next" : "node_5" |
| 1483 | }, |
| 1484 | { |
| 1485 | "name" : "node_5", |
| 1486 | "id" : 1, |
| 1487 | "source_info" : { |
| 1488 | "filename" : "include/packet_io.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1489 | "line" : 26, |
| 1490 | "column" : 12, |
| 1491 | "source_fragment" : "standard_metadata.ingress_port == CPU_PORT" |
| 1492 | }, |
| 1493 | "expression" : { |
| 1494 | "type" : "expression", |
| 1495 | "value" : { |
| 1496 | "op" : "==", |
| 1497 | "left" : { |
| 1498 | "type" : "field", |
| 1499 | "value" : ["standard_metadata", "ingress_port"] |
| 1500 | }, |
| 1501 | "right" : { |
| 1502 | "type" : "hexstr", |
| 1503 | "value" : "0x00ff" |
| 1504 | } |
| 1505 | } |
| 1506 | }, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1507 | "true_next" : "tbl_act_1", |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1508 | "false_next" : "ingress.table0_control.table0" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1509 | }, |
| 1510 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1511 | "name" : "node_10", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1512 | "id" : 2, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1513 | "source_info" : { |
| 1514 | "filename" : "include/host_meter_table.p4", |
| 1515 | "line" : 47, |
| 1516 | "column" : 12, |
| 1517 | "source_fragment" : "meter_tag == MeterColor_RED" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1518 | }, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1519 | "expression" : { |
| 1520 | "type" : "expression", |
| 1521 | "value" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1522 | "op" : "==", |
| 1523 | "left" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1524 | "type" : "field", |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 1525 | "value" : ["scalars", "host_meter_control_meter_tag"] |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1526 | }, |
| 1527 | "right" : { |
| 1528 | "type" : "hexstr", |
| 1529 | "value" : "0x02" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1530 | } |
| 1531 | } |
| 1532 | }, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1533 | "true_next" : "tbl_act_3", |
| 1534 | "false_next" : "node_12" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1535 | }, |
| 1536 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1537 | "name" : "node_12", |
| 1538 | "id" : 3, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1539 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1540 | "filename" : "include/wcmp.p4", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1541 | "line" : 52, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1542 | "column" : 12, |
| 1543 | "source_fragment" : "local_metadata.next_hop_id != 0" |
| 1544 | }, |
| 1545 | "expression" : { |
| 1546 | "type" : "expression", |
| 1547 | "value" : { |
| 1548 | "op" : "!=", |
| 1549 | "left" : { |
| 1550 | "type" : "field", |
| 1551 | "value" : ["scalars", "local_metadata_t.next_hop_id"] |
| 1552 | }, |
| 1553 | "right" : { |
| 1554 | "type" : "hexstr", |
| 1555 | "value" : "0x0000" |
| 1556 | } |
| 1557 | } |
| 1558 | }, |
| 1559 | "false_next" : null, |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1560 | "true_next" : "ingress.wcmp_control.wcmp_table" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1561 | } |
| 1562 | ] |
| 1563 | }, |
| 1564 | { |
| 1565 | "name" : "egress", |
| 1566 | "id" : 1, |
| 1567 | "source_info" : { |
| 1568 | "filename" : "basic.p4", |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1569 | "line" : 55, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1570 | "column" : 8, |
| 1571 | "source_fragment" : "egress" |
| 1572 | }, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1573 | "init_table" : "tbl_act_4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1574 | "tables" : [ |
| 1575 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1576 | "name" : "tbl_act_4", |
| 1577 | "id" : 8, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1578 | "key" : [], |
| 1579 | "match_type" : "exact", |
| 1580 | "type" : "simple", |
| 1581 | "max_size" : 1024, |
| 1582 | "with_counters" : false, |
| 1583 | "support_timeout" : false, |
| 1584 | "direct_meters" : null, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1585 | "action_ids" : [14], |
| 1586 | "actions" : ["act_5"], |
| 1587 | "base_default_next" : "node_17", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1588 | "next_tables" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1589 | "act_5" : "node_17" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1590 | }, |
| 1591 | "default_entry" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1592 | "action_id" : 14, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1593 | "action_const" : true, |
| 1594 | "action_data" : [], |
| 1595 | "action_entry_const" : true |
| 1596 | } |
| 1597 | }, |
| 1598 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1599 | "name" : "tbl_act_5", |
| 1600 | "id" : 9, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1601 | "key" : [], |
| 1602 | "match_type" : "exact", |
| 1603 | "type" : "simple", |
| 1604 | "max_size" : 1024, |
| 1605 | "with_counters" : false, |
| 1606 | "support_timeout" : false, |
| 1607 | "direct_meters" : null, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1608 | "action_ids" : [13], |
| 1609 | "actions" : ["act_4"], |
| 1610 | "base_default_next" : "node_19", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1611 | "next_tables" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1612 | "act_4" : "node_19" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1613 | }, |
| 1614 | "default_entry" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1615 | "action_id" : 13, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1616 | "action_const" : true, |
| 1617 | "action_data" : [], |
| 1618 | "action_entry_const" : true |
| 1619 | } |
| 1620 | }, |
| 1621 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1622 | "name" : "tbl_act_6", |
| 1623 | "id" : 10, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1624 | "key" : [], |
| 1625 | "match_type" : "exact", |
| 1626 | "type" : "simple", |
| 1627 | "max_size" : 1024, |
| 1628 | "with_counters" : false, |
| 1629 | "support_timeout" : false, |
| 1630 | "direct_meters" : null, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1631 | "action_ids" : [15], |
| 1632 | "actions" : ["act_6"], |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1633 | "base_default_next" : null, |
| 1634 | "next_tables" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1635 | "act_6" : null |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1636 | }, |
| 1637 | "default_entry" : { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1638 | "action_id" : 15, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1639 | "action_const" : true, |
| 1640 | "action_data" : [], |
| 1641 | "action_entry_const" : true |
| 1642 | } |
| 1643 | } |
| 1644 | ], |
| 1645 | "action_profiles" : [], |
| 1646 | "conditionals" : [ |
| 1647 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1648 | "name" : "node_17", |
| 1649 | "id" : 4, |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1650 | "source_info" : { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1651 | "filename" : "include/port_meters.p4", |
| 1652 | "line" : 42, |
| 1653 | "column" : 12, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1654 | "source_fragment" : "egress_color == MeterColor_RED" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1655 | }, |
| 1656 | "expression" : { |
| 1657 | "type" : "expression", |
| 1658 | "value" : { |
| 1659 | "op" : "==", |
| 1660 | "left" : { |
| 1661 | "type" : "field", |
Carmelo Cascone | 776be38 | 2018-12-12 19:03:57 -0800 | [diff] [blame] | 1662 | "value" : ["scalars", "port_meters_egress_egress_color"] |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1663 | }, |
| 1664 | "right" : { |
| 1665 | "type" : "hexstr", |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1666 | "value" : "0x02" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1667 | } |
| 1668 | } |
| 1669 | }, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1670 | "true_next" : "tbl_act_5", |
| 1671 | "false_next" : "node_19" |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1672 | }, |
| 1673 | { |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1674 | "name" : "node_19", |
| 1675 | "id" : 5, |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame] | 1676 | "source_info" : { |
| 1677 | "filename" : "include/packet_io.p4", |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1678 | "line" : 37, |
| 1679 | "column" : 12, |
| 1680 | "source_fragment" : "standard_metadata.egress_port == CPU_PORT" |
| 1681 | }, |
| 1682 | "expression" : { |
| 1683 | "type" : "expression", |
| 1684 | "value" : { |
| 1685 | "op" : "==", |
| 1686 | "left" : { |
| 1687 | "type" : "field", |
| 1688 | "value" : ["standard_metadata", "egress_port"] |
| 1689 | }, |
| 1690 | "right" : { |
| 1691 | "type" : "hexstr", |
| 1692 | "value" : "0x00ff" |
| 1693 | } |
| 1694 | } |
| 1695 | }, |
| 1696 | "false_next" : null, |
Keesjan Karsten | 2336889 | 2018-05-22 10:46:01 +0000 | [diff] [blame] | 1697 | "true_next" : "tbl_act_6" |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1698 | } |
| 1699 | ] |
| 1700 | } |
| 1701 | ], |
Jonghwan Hyun | 6777d53 | 2018-11-18 20:50:16 +0900 | [diff] [blame] | 1702 | "checksums" : [ |
| 1703 | { |
| 1704 | "name" : "cksum", |
| 1705 | "id" : 0, |
| 1706 | "source_info" : { |
| 1707 | "filename" : "include/checksums.p4", |
| 1708 | "line" : 32, |
| 1709 | "column" : 8, |
| 1710 | "source_fragment" : "update_checksum(hdr.ipv4.isValid(), ..." |
| 1711 | }, |
| 1712 | "target" : ["ipv4", "hdr_checksum"], |
| 1713 | "type" : "generic", |
| 1714 | "calculation" : "calc", |
| 1715 | "if_cond" : { |
| 1716 | "type" : "expression", |
| 1717 | "value" : { |
| 1718 | "op" : "d2b", |
| 1719 | "left" : null, |
| 1720 | "right" : { |
| 1721 | "type" : "field", |
| 1722 | "value" : ["ipv4", "$valid$"] |
| 1723 | } |
| 1724 | } |
| 1725 | } |
| 1726 | } |
| 1727 | ], |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1728 | "force_arith" : [], |
| 1729 | "extern_instances" : [], |
| 1730 | "field_aliases" : [ |
| 1731 | [ |
| 1732 | "queueing_metadata.enq_timestamp", |
| 1733 | ["standard_metadata", "enq_timestamp"] |
| 1734 | ], |
| 1735 | [ |
| 1736 | "queueing_metadata.enq_qdepth", |
| 1737 | ["standard_metadata", "enq_qdepth"] |
| 1738 | ], |
| 1739 | [ |
| 1740 | "queueing_metadata.deq_timedelta", |
| 1741 | ["standard_metadata", "deq_timedelta"] |
| 1742 | ], |
| 1743 | [ |
| 1744 | "queueing_metadata.deq_qdepth", |
| 1745 | ["standard_metadata", "deq_qdepth"] |
| 1746 | ], |
| 1747 | [ |
| 1748 | "intrinsic_metadata.ingress_global_timestamp", |
| 1749 | ["standard_metadata", "ingress_global_timestamp"] |
| 1750 | ], |
| 1751 | [ |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1752 | "intrinsic_metadata.egress_global_timestamp", |
| 1753 | ["standard_metadata", "egress_global_timestamp"] |
| 1754 | ], |
| 1755 | [ |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1756 | "intrinsic_metadata.lf_field_list", |
| 1757 | ["standard_metadata", "lf_field_list"] |
| 1758 | ], |
| 1759 | [ |
| 1760 | "intrinsic_metadata.mcast_grp", |
| 1761 | ["standard_metadata", "mcast_grp"] |
| 1762 | ], |
| 1763 | [ |
| 1764 | "intrinsic_metadata.resubmit_flag", |
| 1765 | ["standard_metadata", "resubmit_flag"] |
| 1766 | ], |
| 1767 | [ |
| 1768 | "intrinsic_metadata.egress_rid", |
| 1769 | ["standard_metadata", "egress_rid"] |
Carmelo Cascone | 81929aa | 2018-04-07 01:38:55 -0700 | [diff] [blame] | 1770 | ], |
| 1771 | [ |
| 1772 | "intrinsic_metadata.recirculate_flag", |
| 1773 | ["standard_metadata", "recirculate_flag"] |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1774 | ] |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 1775 | ], |
| 1776 | "program" : "basic.p4", |
| 1777 | "__meta__" : { |
| 1778 | "version" : [2, 18], |
| 1779 | "compiler" : "https://github.com/p4lang/p4c" |
| 1780 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1781 | } |