Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 1 | tables { |
| 2 | preamble { |
| 3 | id: 33578399 |
| 4 | name: "filtering.ingress_port_vlan" |
| 5 | alias: "ingress_port_vlan" |
| 6 | } |
| 7 | match_fields { |
| 8 | id: 1 |
| 9 | name: "standard_metadata.ingress_port" |
| 10 | bitwidth: 9 |
| 11 | match_type: EXACT |
| 12 | } |
| 13 | match_fields { |
| 14 | id: 2 |
| 15 | name: "hdr.vlan_tag.is_valid" |
| 16 | bitwidth: 1 |
| 17 | match_type: EXACT |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "hdr.vlan_tag.vlan_id" |
| 22 | bitwidth: 12 |
| 23 | match_type: TERNARY |
| 24 | } |
| 25 | action_refs { |
| 26 | id: 16794505 |
| 27 | } |
| 28 | action_refs { |
| 29 | id: 16782367 |
| 30 | } |
| 31 | action_refs { |
| 32 | id: 16819938 |
| 33 | } |
| 34 | action_refs { |
| 35 | id: 16826365 |
| 36 | } |
| 37 | const_default_action_id: 16819938 |
| 38 | direct_resource_ids: 302015144 |
| 39 | size: 1024 |
| 40 | } |
| 41 | tables { |
| 42 | preamble { |
| 43 | id: 33619540 |
| 44 | name: "filtering.fwd_classifier" |
| 45 | alias: "fwd_classifier" |
| 46 | } |
| 47 | match_fields { |
| 48 | id: 1 |
| 49 | name: "standard_metadata.ingress_port" |
| 50 | bitwidth: 9 |
| 51 | match_type: EXACT |
| 52 | } |
| 53 | match_fields { |
| 54 | id: 2 |
| 55 | name: "hdr.ethernet.dst_addr" |
| 56 | bitwidth: 48 |
| 57 | match_type: EXACT |
| 58 | } |
| 59 | match_fields { |
| 60 | id: 3 |
| 61 | name: "fabric_metadata.original_ether_type" |
| 62 | bitwidth: 16 |
| 63 | match_type: EXACT |
| 64 | } |
| 65 | action_refs { |
| 66 | id: 16838162 |
| 67 | } |
| 68 | const_default_action_id: 16838162 |
| 69 | direct_resource_ids: 302033694 |
| 70 | size: 1024 |
| 71 | } |
| 72 | tables { |
| 73 | preamble { |
| 74 | id: 33569146 |
| 75 | name: "forwarding.bridging" |
| 76 | alias: "bridging" |
| 77 | } |
| 78 | match_fields { |
| 79 | id: 1 |
| 80 | name: "hdr.vlan_tag.vlan_id" |
| 81 | bitwidth: 12 |
| 82 | match_type: EXACT |
| 83 | } |
| 84 | match_fields { |
| 85 | id: 2 |
| 86 | name: "hdr.ethernet.dst_addr" |
| 87 | bitwidth: 48 |
| 88 | match_type: TERNARY |
| 89 | } |
| 90 | action_refs { |
| 91 | id: 16829931 |
| 92 | } |
| 93 | action_refs { |
| 94 | id: 16800567 |
| 95 | annotations: "@defaultonly()" |
| 96 | } |
| 97 | direct_resource_ids: 302047449 |
| 98 | size: 1024 |
| 99 | } |
| 100 | tables { |
| 101 | preamble { |
| 102 | id: 33565386 |
| 103 | name: "forwarding.mpls" |
| 104 | alias: "mpls" |
| 105 | } |
| 106 | match_fields { |
| 107 | id: 1 |
| 108 | name: "hdr.mpls.label" |
| 109 | bitwidth: 20 |
| 110 | match_type: EXACT |
| 111 | } |
| 112 | action_refs { |
| 113 | id: 16842717 |
| 114 | } |
| 115 | action_refs { |
| 116 | id: 16800567 |
| 117 | annotations: "@defaultonly()" |
| 118 | } |
| 119 | direct_resource_ids: 302001577 |
| 120 | size: 1024 |
| 121 | } |
| 122 | tables { |
| 123 | preamble { |
| 124 | id: 33589684 |
| 125 | name: "forwarding.unicast_v4" |
| 126 | alias: "unicast_v4" |
| 127 | } |
| 128 | match_fields { |
| 129 | id: 1 |
| 130 | name: "hdr.ipv4.dst_addr" |
| 131 | bitwidth: 32 |
| 132 | match_type: LPM |
| 133 | } |
| 134 | action_refs { |
| 135 | id: 16829931 |
| 136 | } |
| 137 | action_refs { |
| 138 | id: 16800567 |
| 139 | annotations: "@defaultonly()" |
| 140 | } |
| 141 | direct_resource_ids: 302038636 |
| 142 | size: 1024 |
| 143 | } |
| 144 | tables { |
| 145 | preamble { |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 146 | id: 33587782 |
| 147 | name: "forwarding.acl" |
| 148 | alias: "acl" |
| 149 | } |
| 150 | match_fields { |
| 151 | id: 1 |
| 152 | name: "standard_metadata.ingress_port" |
| 153 | bitwidth: 9 |
| 154 | match_type: TERNARY |
| 155 | } |
| 156 | match_fields { |
| 157 | id: 2 |
| 158 | name: "fabric_metadata.ip_proto" |
| 159 | bitwidth: 8 |
| 160 | match_type: TERNARY |
| 161 | } |
| 162 | match_fields { |
| 163 | id: 3 |
| 164 | name: "fabric_metadata.l4_src_port" |
| 165 | bitwidth: 16 |
| 166 | match_type: TERNARY |
| 167 | } |
| 168 | match_fields { |
| 169 | id: 4 |
| 170 | name: "fabric_metadata.l4_dst_port" |
| 171 | bitwidth: 16 |
| 172 | match_type: TERNARY |
| 173 | } |
| 174 | match_fields { |
| 175 | id: 5 |
| 176 | name: "fabric_metadata.original_ether_type" |
| 177 | bitwidth: 16 |
| 178 | match_type: TERNARY |
| 179 | } |
| 180 | match_fields { |
| 181 | id: 6 |
| 182 | name: "hdr.ethernet.dst_addr" |
| 183 | bitwidth: 48 |
| 184 | match_type: TERNARY |
| 185 | } |
| 186 | match_fields { |
| 187 | id: 7 |
| 188 | name: "hdr.ethernet.src_addr" |
| 189 | bitwidth: 48 |
| 190 | match_type: TERNARY |
| 191 | } |
| 192 | match_fields { |
| 193 | id: 8 |
| 194 | name: "hdr.vlan_tag.vlan_id" |
| 195 | bitwidth: 12 |
| 196 | match_type: TERNARY |
| 197 | } |
| 198 | match_fields { |
| 199 | id: 9 |
| 200 | name: "hdr.ipv4.src_addr" |
| 201 | bitwidth: 32 |
| 202 | match_type: TERNARY |
| 203 | } |
| 204 | match_fields { |
| 205 | id: 10 |
| 206 | name: "hdr.ipv4.dst_addr" |
| 207 | bitwidth: 32 |
| 208 | match_type: TERNARY |
| 209 | } |
| 210 | match_fields { |
| 211 | id: 11 |
| 212 | name: "hdr.icmp.icmp_type" |
| 213 | bitwidth: 8 |
| 214 | match_type: TERNARY |
| 215 | } |
| 216 | match_fields { |
| 217 | id: 12 |
| 218 | name: "hdr.icmp.icmp_code" |
| 219 | bitwidth: 8 |
| 220 | match_type: TERNARY |
| 221 | } |
| 222 | action_refs { |
| 223 | id: 16829931 |
| 224 | } |
| 225 | action_refs { |
| 226 | id: 16805452 |
| 227 | } |
| 228 | action_refs { |
| 229 | id: 16815978 |
| 230 | } |
| 231 | action_refs { |
| 232 | id: 16819938 |
| 233 | } |
| 234 | const_default_action_id: 16819938 |
| 235 | direct_resource_ids: 302000008 |
| 236 | size: 256 |
| 237 | } |
| 238 | tables { |
| 239 | preamble { |
| 240 | id: 33615740 |
| 241 | name: "next.simple" |
| 242 | alias: "simple" |
| 243 | } |
| 244 | match_fields { |
| 245 | id: 1 |
| 246 | name: "fabric_metadata.next_id" |
| 247 | bitwidth: 32 |
| 248 | match_type: EXACT |
| 249 | } |
| 250 | action_refs { |
| 251 | id: 16818315 |
| 252 | } |
| 253 | action_refs { |
| 254 | id: 16837690 |
| 255 | } |
| 256 | action_refs { |
| 257 | id: 16804266 |
| 258 | } |
| 259 | action_refs { |
| 260 | id: 16841192 |
| 261 | } |
| 262 | action_refs { |
| 263 | id: 16800567 |
| 264 | annotations: "@defaultonly()" |
| 265 | } |
| 266 | direct_resource_ids: 301991179 |
| 267 | size: 1024 |
| 268 | } |
| 269 | tables { |
| 270 | preamble { |
| 271 | id: 33569488 |
| 272 | name: "next.hashed" |
| 273 | alias: "hashed" |
| 274 | } |
| 275 | match_fields { |
| 276 | id: 1 |
| 277 | name: "fabric_metadata.next_id" |
| 278 | bitwidth: 32 |
| 279 | match_type: EXACT |
| 280 | } |
| 281 | action_refs { |
| 282 | id: 16804266 |
| 283 | } |
| 284 | action_refs { |
| 285 | id: 16841192 |
| 286 | } |
| 287 | action_refs { |
| 288 | id: 16788519 |
| 289 | } |
| 290 | action_refs { |
| 291 | id: 16800567 |
| 292 | annotations: "@defaultonly()" |
| 293 | } |
| 294 | implementation_id: 285225078 |
| 295 | direct_resource_ids: 301993193 |
| 296 | size: 1024 |
| 297 | } |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 298 | actions { |
| 299 | preamble { |
| 300 | id: 16819938 |
| 301 | name: "nop" |
| 302 | alias: "nop" |
| 303 | } |
| 304 | } |
| 305 | actions { |
| 306 | preamble { |
| 307 | id: 16800567 |
| 308 | name: "NoAction" |
| 309 | alias: "NoAction" |
| 310 | } |
| 311 | } |
| 312 | actions { |
| 313 | preamble { |
| 314 | id: 16826365 |
| 315 | name: "filtering.drop" |
| 316 | alias: "filtering.drop" |
| 317 | } |
| 318 | } |
| 319 | actions { |
| 320 | preamble { |
| 321 | id: 16782367 |
| 322 | name: "filtering.set_vlan" |
| 323 | alias: "set_vlan" |
| 324 | } |
| 325 | params { |
| 326 | id: 1 |
| 327 | name: "new_vlan_id" |
| 328 | bitwidth: 12 |
| 329 | } |
| 330 | } |
| 331 | actions { |
| 332 | preamble { |
| 333 | id: 16794505 |
| 334 | name: "filtering.push_internal_vlan" |
| 335 | alias: "push_internal_vlan" |
| 336 | } |
| 337 | params { |
| 338 | id: 1 |
| 339 | name: "new_vlan_id" |
| 340 | bitwidth: 12 |
| 341 | } |
| 342 | } |
| 343 | actions { |
| 344 | preamble { |
| 345 | id: 16838162 |
| 346 | name: "filtering.set_forwarding_type" |
| 347 | alias: "set_forwarding_type" |
| 348 | } |
| 349 | params { |
| 350 | id: 1 |
| 351 | name: "fwd_type" |
| 352 | bitwidth: 3 |
| 353 | } |
| 354 | } |
| 355 | actions { |
| 356 | preamble { |
| 357 | id: 16815978 |
| 358 | name: "forwarding.drop" |
| 359 | alias: "forwarding.drop" |
| 360 | } |
| 361 | } |
| 362 | actions { |
| 363 | preamble { |
| 364 | id: 16829931 |
| 365 | name: "forwarding.set_next_id" |
| 366 | alias: "set_next_id" |
| 367 | } |
| 368 | params { |
| 369 | id: 1 |
| 370 | name: "next_id" |
| 371 | bitwidth: 32 |
| 372 | } |
| 373 | } |
| 374 | actions { |
| 375 | preamble { |
| 376 | id: 16842717 |
| 377 | name: "forwarding.pop_mpls_and_next" |
| 378 | alias: "pop_mpls_and_next" |
| 379 | } |
| 380 | params { |
| 381 | id: 1 |
| 382 | name: "next_id" |
| 383 | bitwidth: 32 |
| 384 | } |
| 385 | } |
| 386 | actions { |
| 387 | preamble { |
| 388 | id: 16805452 |
| 389 | name: "forwarding.duplicate_to_controller" |
| 390 | alias: "duplicate_to_controller" |
| 391 | } |
| 392 | } |
| 393 | actions { |
| 394 | preamble { |
| 395 | id: 16818315 |
| 396 | name: "next.output" |
| 397 | alias: "output" |
| 398 | } |
| 399 | params { |
| 400 | id: 1 |
| 401 | name: "port_num" |
| 402 | bitwidth: 9 |
| 403 | } |
| 404 | } |
| 405 | actions { |
| 406 | preamble { |
| 407 | id: 16837690 |
| 408 | name: "next.set_vlan_output" |
| 409 | alias: "set_vlan_output" |
| 410 | } |
| 411 | params { |
| 412 | id: 1 |
| 413 | name: "new_vlan_id" |
| 414 | bitwidth: 12 |
| 415 | } |
| 416 | params { |
| 417 | id: 2 |
| 418 | name: "port_num" |
| 419 | bitwidth: 9 |
| 420 | } |
| 421 | } |
| 422 | actions { |
| 423 | preamble { |
| 424 | id: 16804266 |
| 425 | name: "next.l3_routing" |
| 426 | alias: "l3_routing" |
| 427 | } |
| 428 | params { |
| 429 | id: 1 |
| 430 | name: "port_num" |
| 431 | bitwidth: 9 |
| 432 | } |
| 433 | params { |
| 434 | id: 2 |
| 435 | name: "smac" |
| 436 | bitwidth: 48 |
| 437 | } |
| 438 | params { |
| 439 | id: 3 |
| 440 | name: "dmac" |
| 441 | bitwidth: 48 |
| 442 | } |
| 443 | } |
| 444 | actions { |
| 445 | preamble { |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 446 | id: 16841192 |
| 447 | name: "next.mpls_routing_v4" |
| 448 | alias: "mpls_routing_v4" |
| 449 | } |
| 450 | params { |
| 451 | id: 1 |
| 452 | name: "port_num" |
| 453 | bitwidth: 9 |
| 454 | } |
| 455 | params { |
| 456 | id: 2 |
| 457 | name: "smac" |
| 458 | bitwidth: 48 |
| 459 | } |
| 460 | params { |
| 461 | id: 3 |
| 462 | name: "dmac" |
| 463 | bitwidth: 48 |
| 464 | } |
| 465 | params { |
| 466 | id: 4 |
| 467 | name: "label" |
| 468 | bitwidth: 20 |
| 469 | } |
| 470 | } |
| 471 | actions { |
| 472 | preamble { |
| 473 | id: 16788519 |
| 474 | name: "next.mpls_routing_v6" |
| 475 | alias: "mpls_routing_v6" |
| 476 | } |
| 477 | params { |
| 478 | id: 1 |
| 479 | name: "port_num" |
| 480 | bitwidth: 9 |
| 481 | } |
| 482 | params { |
| 483 | id: 2 |
| 484 | name: "smac" |
| 485 | bitwidth: 48 |
| 486 | } |
| 487 | params { |
| 488 | id: 3 |
| 489 | name: "dmac" |
| 490 | bitwidth: 48 |
| 491 | } |
| 492 | params { |
| 493 | id: 4 |
| 494 | name: "label" |
| 495 | bitwidth: 20 |
| 496 | } |
| 497 | } |
| 498 | action_profiles { |
| 499 | preamble { |
| 500 | id: 285225078 |
| 501 | name: "next.ecmp_selector" |
| 502 | alias: "ecmp_selector" |
| 503 | } |
| 504 | table_ids: 33569488 |
| 505 | with_selector: true |
| 506 | size: 64 |
| 507 | } |
| 508 | counters { |
| 509 | preamble { |
| 510 | id: 302025528 |
| 511 | name: "port_counters_control.egress_port_counter" |
| 512 | alias: "egress_port_counter" |
| 513 | } |
| 514 | spec { |
Carmelo Cascone | 8ac4fc8 | 2018-02-01 13:27:50 -0800 | [diff] [blame] | 515 | unit: BOTH |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 516 | } |
| 517 | size: 511 |
| 518 | } |
| 519 | counters { |
| 520 | preamble { |
| 521 | id: 301999025 |
| 522 | name: "port_counters_control.ingress_port_counter" |
| 523 | alias: "ingress_port_counter" |
| 524 | } |
| 525 | spec { |
Carmelo Cascone | 8ac4fc8 | 2018-02-01 13:27:50 -0800 | [diff] [blame] | 526 | unit: BOTH |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 527 | } |
| 528 | size: 511 |
| 529 | } |
| 530 | direct_counters { |
| 531 | preamble { |
| 532 | id: 302015144 |
| 533 | name: "filtering.ingress_port_vlan_counter" |
| 534 | alias: "ingress_port_vlan_counter" |
| 535 | } |
| 536 | spec { |
| 537 | unit: BOTH |
| 538 | } |
| 539 | direct_table_id: 33578399 |
| 540 | } |
| 541 | direct_counters { |
| 542 | preamble { |
| 543 | id: 302033694 |
| 544 | name: "filtering.fwd_classifier_counter" |
| 545 | alias: "fwd_classifier_counter" |
| 546 | } |
| 547 | spec { |
| 548 | unit: BOTH |
| 549 | } |
| 550 | direct_table_id: 33619540 |
| 551 | } |
| 552 | direct_counters { |
| 553 | preamble { |
| 554 | id: 302047449 |
| 555 | name: "forwarding.bridging_counter" |
| 556 | alias: "bridging_counter" |
| 557 | } |
| 558 | spec { |
| 559 | unit: BOTH |
| 560 | } |
| 561 | direct_table_id: 33569146 |
| 562 | } |
| 563 | direct_counters { |
| 564 | preamble { |
| 565 | id: 302001577 |
| 566 | name: "forwarding.mpls_counter" |
| 567 | alias: "mpls_counter" |
| 568 | } |
| 569 | spec { |
| 570 | unit: BOTH |
| 571 | } |
| 572 | direct_table_id: 33565386 |
| 573 | } |
| 574 | direct_counters { |
| 575 | preamble { |
| 576 | id: 302038636 |
| 577 | name: "forwarding.unicast_v4_counter" |
| 578 | alias: "unicast_v4_counter" |
| 579 | } |
| 580 | spec { |
| 581 | unit: BOTH |
| 582 | } |
| 583 | direct_table_id: 33589684 |
| 584 | } |
| 585 | direct_counters { |
| 586 | preamble { |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 587 | id: 302000008 |
| 588 | name: "forwarding.acl_counter" |
| 589 | alias: "acl_counter" |
| 590 | } |
| 591 | spec { |
| 592 | unit: BOTH |
| 593 | } |
| 594 | direct_table_id: 33587782 |
| 595 | } |
| 596 | direct_counters { |
| 597 | preamble { |
| 598 | id: 301991179 |
| 599 | name: "next.simple_counter" |
| 600 | alias: "simple_counter" |
| 601 | } |
| 602 | spec { |
| 603 | unit: BOTH |
| 604 | } |
| 605 | direct_table_id: 33615740 |
| 606 | } |
| 607 | direct_counters { |
| 608 | preamble { |
| 609 | id: 301993193 |
| 610 | name: "next.hashed_counter" |
| 611 | alias: "hashed_counter" |
| 612 | } |
| 613 | spec { |
| 614 | unit: BOTH |
| 615 | } |
| 616 | direct_table_id: 33569488 |
| 617 | } |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 618 | controller_packet_metadata { |
| 619 | preamble { |
| 620 | id: 2868941301 |
| 621 | name: "packet_in" |
| 622 | annotations: "@controller_header(\"packet_in\")" |
| 623 | } |
| 624 | metadata { |
| 625 | id: 1 |
| 626 | name: "ingress_port" |
| 627 | bitwidth: 9 |
| 628 | } |
| 629 | metadata { |
| 630 | id: 2 |
| 631 | name: "_pad" |
| 632 | bitwidth: 7 |
| 633 | } |
| 634 | } |
| 635 | controller_packet_metadata { |
| 636 | preamble { |
| 637 | id: 2868916615 |
| 638 | name: "packet_out" |
Carmelo Cascone | 8ac4fc8 | 2018-02-01 13:27:50 -0800 | [diff] [blame] | 639 | annotations: "@not_extracted_in_egress()" |
Carmelo Cascone | 04098db | 2018-01-30 18:10:32 -0800 | [diff] [blame] | 640 | annotations: "@controller_header(\"packet_out\")" |
| 641 | } |
| 642 | metadata { |
| 643 | id: 1 |
| 644 | name: "egress_port" |
| 645 | bitwidth: 9 |
| 646 | } |
| 647 | metadata { |
| 648 | id: 2 |
| 649 | name: "_pad" |
| 650 | bitwidth: 7 |
| 651 | } |
| 652 | } |