Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 1 | tables { |
| 2 | preamble { |
| 3 | id: 33612022 |
| 4 | name: "ecmp_group_table" |
| 5 | alias: "ecmp_group_table" |
| 6 | } |
| 7 | match_fields { |
| 8 | id: 1 |
| 9 | name: "meta.ecmp_metadata.group_id" |
| 10 | bitwidth: 16 |
| 11 | match_type: EXACT |
| 12 | } |
| 13 | match_fields { |
| 14 | id: 2 |
| 15 | name: "meta.ecmp_metadata.selector" |
| 16 | bitwidth: 16 |
| 17 | match_type: EXACT |
| 18 | } |
| 19 | action_refs { |
| 20 | id: 16794308 |
| 21 | } |
| 22 | action_refs { |
| 23 | id: 16800567 |
| 24 | annotations: "@defaultonly()" |
| 25 | } |
| 26 | direct_resource_ids: 302009688 |
| 27 | size: 1024 |
| 28 | } |
| 29 | tables { |
| 30 | preamble { |
| 31 | id: 33617813 |
| 32 | name: "table0" |
| 33 | alias: "table0" |
| 34 | } |
| 35 | match_fields { |
| 36 | id: 1 |
| 37 | name: "standard_metadata.ingress_port" |
| 38 | bitwidth: 9 |
| 39 | match_type: TERNARY |
| 40 | } |
| 41 | match_fields { |
| 42 | id: 2 |
| 43 | name: "hdr.ethernet.dstAddr" |
| 44 | bitwidth: 48 |
| 45 | match_type: TERNARY |
| 46 | } |
| 47 | match_fields { |
| 48 | id: 3 |
| 49 | name: "hdr.ethernet.srcAddr" |
| 50 | bitwidth: 48 |
| 51 | match_type: TERNARY |
| 52 | } |
| 53 | match_fields { |
| 54 | id: 4 |
| 55 | name: "hdr.ethernet.etherType" |
| 56 | bitwidth: 16 |
| 57 | match_type: TERNARY |
| 58 | } |
| 59 | action_refs { |
| 60 | id: 16830055 |
| 61 | } |
| 62 | action_refs { |
| 63 | id: 16794308 |
| 64 | } |
| 65 | action_refs { |
| 66 | id: 16829080 |
| 67 | } |
| 68 | action_refs { |
| 69 | id: 16793508 |
| 70 | } |
| 71 | action_refs { |
| 72 | id: 16800567 |
| 73 | annotations: "@defaultonly()" |
| 74 | } |
| 75 | direct_resource_ids: 301990488 |
| 76 | size: 1024 |
| 77 | with_entry_timeout: true |
| 78 | } |
| 79 | actions { |
| 80 | preamble { |
| 81 | id: 16794308 |
| 82 | name: "set_egress_port" |
| 83 | alias: "set_egress_port" |
| 84 | } |
| 85 | params { |
| 86 | id: 1 |
| 87 | name: "port" |
| 88 | bitwidth: 9 |
| 89 | } |
| 90 | } |
| 91 | actions { |
| 92 | preamble { |
| 93 | id: 16800567 |
| 94 | name: "NoAction" |
| 95 | alias: "NoAction" |
| 96 | } |
| 97 | } |
| 98 | actions { |
| 99 | preamble { |
| 100 | id: 16829080 |
| 101 | name: "send_to_cpu" |
| 102 | alias: "send_to_cpu" |
| 103 | } |
| 104 | } |
| 105 | actions { |
| 106 | preamble { |
| 107 | id: 16793508 |
| 108 | name: "drop" |
| 109 | alias: "drop" |
| 110 | } |
| 111 | } |
| 112 | actions { |
| 113 | preamble { |
| 114 | id: 16830055 |
| 115 | name: "ecmp_group" |
| 116 | alias: "ecmp_group" |
| 117 | } |
| 118 | params { |
| 119 | id: 1 |
| 120 | name: "group_id" |
| 121 | bitwidth: 16 |
| 122 | } |
| 123 | params { |
| 124 | id: 2 |
| 125 | name: "groupSize" |
| 126 | bitwidth: 8 |
| 127 | } |
| 128 | } |
| 129 | counters { |
| 130 | preamble { |
| 131 | id: 302025528 |
| 132 | name: "port_counters_control.egress_port_counter" |
| 133 | alias: "egress_port_counter" |
| 134 | } |
| 135 | spec { |
| 136 | unit: PACKETS |
| 137 | } |
| 138 | size: 254 |
| 139 | } |
| 140 | counters { |
| 141 | preamble { |
| 142 | id: 301999025 |
| 143 | name: "port_counters_control.ingress_port_counter" |
| 144 | alias: "ingress_port_counter" |
| 145 | } |
| 146 | spec { |
| 147 | unit: PACKETS |
| 148 | } |
| 149 | size: 254 |
| 150 | } |
| 151 | direct_counters { |
| 152 | preamble { |
| 153 | id: 302009688 |
| 154 | name: "ecmp_group_table_counter" |
| 155 | alias: "ecmp_group_table_counter" |
| 156 | } |
| 157 | spec { |
| 158 | unit: PACKETS |
| 159 | } |
| 160 | direct_table_id: 33612022 |
| 161 | } |
| 162 | direct_counters { |
| 163 | preamble { |
| 164 | id: 301990488 |
| 165 | name: "table0_counter" |
| 166 | alias: "table0_counter" |
| 167 | } |
| 168 | spec { |
| 169 | unit: PACKETS |
| 170 | } |
| 171 | direct_table_id: 33617813 |
| 172 | } |
| 173 | controller_packet_metadata { |
| 174 | preamble { |
| 175 | id: 2868941301 |
| 176 | name: "packet_in" |
| 177 | annotations: "@controller_header(\"packet_in\")" |
| 178 | } |
| 179 | metadata { |
| 180 | id: 1 |
| 181 | name: "ingress_port" |
| 182 | bitwidth: 9 |
| 183 | } |
| 184 | } |
| 185 | controller_packet_metadata { |
| 186 | preamble { |
| 187 | id: 2868916615 |
| 188 | name: "packet_out" |
| 189 | annotations: "@controller_header(\"packet_out\")" |
| 190 | } |
| 191 | metadata { |
| 192 | id: 1 |
| 193 | name: "egress_port" |
| 194 | bitwidth: 9 |
| 195 | } |
| 196 | } |