Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1 | tables { |
| 2 | preamble { |
| 3 | id: 33571508 |
| 4 | name: "table0_control.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.src_addr" |
| 16 | bitwidth: 48 |
| 17 | match_type: TERNARY |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "hdr.ethernet.dst_addr" |
| 22 | bitwidth: 48 |
| 23 | match_type: TERNARY |
| 24 | } |
| 25 | match_fields { |
| 26 | id: 4 |
| 27 | name: "hdr.ethernet.ether_type" |
| 28 | bitwidth: 16 |
| 29 | match_type: TERNARY |
| 30 | } |
| 31 | match_fields { |
| 32 | id: 5 |
| 33 | name: "hdr.ipv4.src_addr" |
| 34 | bitwidth: 32 |
| 35 | match_type: TERNARY |
| 36 | } |
| 37 | match_fields { |
| 38 | id: 6 |
| 39 | name: "hdr.ipv4.dst_addr" |
| 40 | bitwidth: 32 |
| 41 | match_type: TERNARY |
| 42 | } |
| 43 | match_fields { |
| 44 | id: 7 |
| 45 | name: "hdr.ipv4.protocol" |
| 46 | bitwidth: 8 |
| 47 | match_type: TERNARY |
| 48 | } |
| 49 | match_fields { |
| 50 | id: 8 |
| 51 | name: "local_metadata.l4_src_port" |
| 52 | bitwidth: 16 |
| 53 | match_type: TERNARY |
| 54 | } |
| 55 | match_fields { |
| 56 | id: 9 |
| 57 | name: "local_metadata.l4_dst_port" |
| 58 | bitwidth: 16 |
| 59 | match_type: TERNARY |
| 60 | } |
| 61 | action_refs { |
| 62 | id: 16794308 |
| 63 | } |
| 64 | action_refs { |
| 65 | id: 16829080 |
| 66 | } |
| 67 | action_refs { |
| 68 | id: 16802895 |
| 69 | } |
| 70 | action_refs { |
| 71 | id: 16784184 |
| 72 | } |
| 73 | const_default_action_id: 16784184 |
| 74 | direct_resource_ids: 302046050 |
| 75 | size: 1024 |
| 76 | } |
| 77 | tables { |
| 78 | preamble { |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame^] | 79 | id: 33597882 |
| 80 | name: "host_meter_control.host_meter_table" |
| 81 | alias: "host_meter_table" |
| 82 | } |
| 83 | match_fields { |
| 84 | id: 1 |
| 85 | name: "hdr.ethernet.src_addr" |
| 86 | bitwidth: 48 |
| 87 | match_type: LPM |
| 88 | } |
| 89 | action_refs { |
| 90 | id: 16832719 |
| 91 | } |
| 92 | action_refs { |
| 93 | id: 16800567 |
| 94 | } |
| 95 | direct_resource_ids: 318776014 |
| 96 | size: 1024 |
| 97 | } |
| 98 | tables { |
| 99 | preamble { |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 100 | id: 33592597 |
| 101 | name: "wcmp_control.wcmp_table" |
| 102 | alias: "wcmp_table" |
| 103 | } |
| 104 | match_fields { |
| 105 | id: 1 |
| 106 | name: "local_metadata.next_hop_id" |
| 107 | bitwidth: 16 |
| 108 | match_type: EXACT |
| 109 | } |
| 110 | action_refs { |
| 111 | id: 16794308 |
| 112 | } |
| 113 | action_refs { |
| 114 | id: 16800567 |
| 115 | annotations: "@defaultonly()" |
| 116 | } |
| 117 | implementation_id: 285259294 |
| 118 | direct_resource_ids: 302001091 |
| 119 | size: 1024 |
| 120 | } |
| 121 | actions { |
| 122 | preamble { |
| 123 | id: 16794308 |
| 124 | name: "set_egress_port" |
| 125 | alias: "set_egress_port" |
| 126 | } |
| 127 | params { |
| 128 | id: 1 |
| 129 | name: "port" |
| 130 | bitwidth: 9 |
| 131 | } |
| 132 | } |
| 133 | actions { |
| 134 | preamble { |
| 135 | id: 16829080 |
| 136 | name: "send_to_cpu" |
| 137 | alias: "send_to_cpu" |
| 138 | } |
| 139 | } |
| 140 | actions { |
| 141 | preamble { |
| 142 | id: 16784184 |
| 143 | name: "_drop" |
| 144 | alias: "_drop" |
| 145 | } |
| 146 | } |
| 147 | actions { |
| 148 | preamble { |
| 149 | id: 16800567 |
| 150 | name: "NoAction" |
| 151 | alias: "NoAction" |
| 152 | } |
| 153 | } |
| 154 | actions { |
| 155 | preamble { |
| 156 | id: 16802895 |
| 157 | name: "table0_control.set_next_hop_id" |
| 158 | alias: "set_next_hop_id" |
| 159 | } |
| 160 | params { |
| 161 | id: 1 |
| 162 | name: "next_hop_id" |
| 163 | bitwidth: 16 |
| 164 | } |
| 165 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame^] | 166 | actions { |
| 167 | preamble { |
| 168 | id: 16832719 |
| 169 | name: "host_meter_control.read_meter" |
| 170 | alias: "read_meter" |
| 171 | } |
| 172 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 173 | action_profiles { |
| 174 | preamble { |
| 175 | id: 285259294 |
| 176 | name: "wcmp_control.wcmp_selector" |
| 177 | alias: "wcmp_selector" |
| 178 | } |
| 179 | table_ids: 33592597 |
| 180 | with_selector: true |
| 181 | size: 64 |
| 182 | } |
| 183 | counters { |
| 184 | preamble { |
| 185 | id: 302012579 |
| 186 | name: "port_counters_ingress.ingress_port_counter" |
| 187 | alias: "ingress_port_counter" |
| 188 | } |
| 189 | spec { |
| 190 | unit: PACKETS |
| 191 | } |
| 192 | size: 511 |
| 193 | } |
| 194 | counters { |
| 195 | preamble { |
| 196 | id: 302012501 |
| 197 | name: "port_counters_egress.egress_port_counter" |
| 198 | alias: "egress_port_counter" |
| 199 | } |
| 200 | spec { |
| 201 | unit: PACKETS |
| 202 | } |
| 203 | size: 511 |
| 204 | } |
| 205 | direct_counters { |
| 206 | preamble { |
| 207 | id: 302046050 |
| 208 | name: "table0_control.table0_counter" |
| 209 | alias: "table0_counter" |
| 210 | } |
| 211 | spec { |
| 212 | unit: BOTH |
| 213 | } |
| 214 | direct_table_id: 33571508 |
| 215 | } |
| 216 | direct_counters { |
| 217 | preamble { |
| 218 | id: 302001091 |
| 219 | name: "wcmp_control.wcmp_table_counter" |
| 220 | alias: "wcmp_table_counter" |
| 221 | } |
| 222 | spec { |
| 223 | unit: BOTH |
| 224 | } |
| 225 | direct_table_id: 33592597 |
| 226 | } |
Frank Wang | d7e3b4b | 2017-09-24 13:37:54 +0900 | [diff] [blame^] | 227 | meters { |
| 228 | preamble { |
| 229 | id: 318770010 |
| 230 | name: "port_meters_ingress.ingress_port_meter" |
| 231 | alias: "ingress_port_meter" |
| 232 | } |
| 233 | spec { |
| 234 | unit: BYTES |
| 235 | } |
| 236 | size: 511 |
| 237 | } |
| 238 | meters { |
| 239 | preamble { |
| 240 | id: 318779497 |
| 241 | name: "port_meters_egress.egress_port_meter" |
| 242 | alias: "egress_port_meter" |
| 243 | } |
| 244 | spec { |
| 245 | unit: BYTES |
| 246 | } |
| 247 | size: 511 |
| 248 | } |
| 249 | direct_meters { |
| 250 | preamble { |
| 251 | id: 318776014 |
| 252 | name: "host_meter_control.host_meter" |
| 253 | alias: "host_meter" |
| 254 | } |
| 255 | spec { |
| 256 | unit: BYTES |
| 257 | } |
| 258 | direct_table_id: 33597882 |
| 259 | } |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 260 | controller_packet_metadata { |
| 261 | preamble { |
| 262 | id: 2868941301 |
| 263 | name: "packet_in" |
| 264 | annotations: "@controller_header(\"packet_in\")" |
| 265 | } |
| 266 | metadata { |
| 267 | id: 1 |
| 268 | name: "ingress_port" |
| 269 | bitwidth: 9 |
| 270 | } |
| 271 | } |
| 272 | controller_packet_metadata { |
| 273 | preamble { |
| 274 | id: 2868916615 |
| 275 | name: "packet_out" |
| 276 | annotations: "@controller_header(\"packet_out\")" |
| 277 | } |
| 278 | metadata { |
| 279 | id: 1 |
| 280 | name: "egress_port" |
| 281 | bitwidth: 9 |
| 282 | } |
| 283 | } |