Carmelo Cascone | c8e8498 | 2017-07-26 15:34:42 -0400 | [diff] [blame] | 1 | tables { |
| 2 | preamble { |
| 3 | id: 33617813 |
| 4 | name: "table0" |
| 5 | alias: "table0" |
| 6 | } |
| 7 | match_fields { |
| 8 | id: 1 |
| 9 | name: "standard_metadata.ingress_port" |
| 10 | bitwidth: 9 |
| 11 | match_type: TERNARY |
| 12 | } |
| 13 | match_fields { |
| 14 | id: 2 |
| 15 | name: "hdr.ethernet.dstAddr" |
| 16 | bitwidth: 48 |
| 17 | match_type: TERNARY |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "hdr.ethernet.srcAddr" |
| 22 | bitwidth: 48 |
| 23 | match_type: TERNARY |
| 24 | } |
| 25 | match_fields { |
| 26 | id: 4 |
| 27 | name: "hdr.ethernet.etherType" |
| 28 | bitwidth: 16 |
| 29 | match_type: TERNARY |
| 30 | } |
| 31 | action_refs { |
| 32 | id: 16794308 |
| 33 | } |
| 34 | action_refs { |
| 35 | id: 16829080 |
| 36 | } |
| 37 | action_refs { |
| 38 | id: 16793508 |
| 39 | } |
| 40 | action_refs { |
| 41 | id: 16800567 |
| 42 | annotations: "@defaultonly()" |
| 43 | } |
| 44 | direct_resource_ids: 301990488 |
| 45 | size: 1024 |
Carmelo Cascone | c8e8498 | 2017-07-26 15:34:42 -0400 | [diff] [blame] | 46 | } |
| 47 | actions { |
| 48 | preamble { |
| 49 | id: 16794308 |
| 50 | name: "set_egress_port" |
| 51 | alias: "set_egress_port" |
| 52 | } |
| 53 | params { |
| 54 | id: 1 |
| 55 | name: "port" |
| 56 | bitwidth: 9 |
| 57 | } |
| 58 | } |
| 59 | actions { |
| 60 | preamble { |
| 61 | id: 16829080 |
| 62 | name: "send_to_cpu" |
| 63 | alias: "send_to_cpu" |
| 64 | } |
| 65 | } |
| 66 | actions { |
| 67 | preamble { |
| 68 | id: 16793508 |
| 69 | name: "drop" |
| 70 | alias: "drop" |
| 71 | } |
| 72 | } |
| 73 | actions { |
| 74 | preamble { |
| 75 | id: 16800567 |
| 76 | name: "NoAction" |
| 77 | alias: "NoAction" |
| 78 | } |
| 79 | } |
| 80 | counters { |
| 81 | preamble { |
| 82 | id: 302025528 |
| 83 | name: "port_counters_control.egress_port_counter" |
| 84 | alias: "egress_port_counter" |
| 85 | } |
| 86 | spec { |
| 87 | unit: PACKETS |
| 88 | } |
| 89 | size: 254 |
| 90 | } |
| 91 | counters { |
| 92 | preamble { |
| 93 | id: 301999025 |
| 94 | name: "port_counters_control.ingress_port_counter" |
| 95 | alias: "ingress_port_counter" |
| 96 | } |
| 97 | spec { |
| 98 | unit: PACKETS |
| 99 | } |
| 100 | size: 254 |
| 101 | } |
| 102 | direct_counters { |
| 103 | preamble { |
| 104 | id: 301990488 |
| 105 | name: "table0_counter" |
| 106 | alias: "table0_counter" |
| 107 | } |
| 108 | spec { |
| 109 | unit: PACKETS |
| 110 | } |
| 111 | direct_table_id: 33617813 |
| 112 | } |
| 113 | controller_packet_metadata { |
| 114 | preamble { |
| 115 | id: 2868941301 |
| 116 | name: "packet_in" |
| 117 | annotations: "@controller_header(\"packet_in\")" |
| 118 | } |
| 119 | metadata { |
| 120 | id: 1 |
| 121 | name: "ingress_port" |
| 122 | bitwidth: 9 |
| 123 | } |
Carmelo Cascone | c8e8498 | 2017-07-26 15:34:42 -0400 | [diff] [blame] | 124 | } |
| 125 | controller_packet_metadata { |
| 126 | preamble { |
| 127 | id: 2868916615 |
| 128 | name: "packet_out" |
| 129 | annotations: "@controller_header(\"packet_out\")" |
| 130 | } |
| 131 | metadata { |
| 132 | id: 1 |
| 133 | name: "egress_port" |
| 134 | bitwidth: 9 |
| 135 | } |
Carmelo Cascone | c8e8498 | 2017-07-26 15:34:42 -0400 | [diff] [blame] | 136 | } |