Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -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: 16791212 |
| 36 | } |
| 37 | action_refs { |
| 38 | id: 16829080 |
| 39 | } |
| 40 | action_refs { |
Carmelo Cascone | 16de6db | 2017-08-22 00:27:57 +0200 | [diff] [blame] | 41 | id: 16784184 |
Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 42 | } |
| 43 | direct_resource_ids: 301990488 |
| 44 | size: 1024 |
| 45 | with_entry_timeout: true |
| 46 | } |
| 47 | tables { |
| 48 | preamble { |
| 49 | id: 33596222 |
| 50 | name: "wcmp_group_table" |
| 51 | alias: "wcmp_group_table" |
| 52 | } |
| 53 | match_fields { |
| 54 | id: 1 |
| 55 | name: "meta.wcmp_metadata.group_id" |
| 56 | bitwidth: 16 |
| 57 | match_type: EXACT |
| 58 | } |
| 59 | match_fields { |
| 60 | id: 2 |
| 61 | name: "meta.wcmp_metadata.selector" |
| 62 | bitwidth: 64 |
| 63 | match_type: LPM |
| 64 | } |
| 65 | action_refs { |
| 66 | id: 16794308 |
| 67 | } |
| 68 | action_refs { |
| 69 | id: 16800567 |
| 70 | annotations: "@defaultonly()" |
| 71 | } |
| 72 | direct_resource_ids: 302006421 |
| 73 | size: 1024 |
| 74 | } |
| 75 | actions { |
| 76 | preamble { |
| 77 | id: 16794308 |
| 78 | name: "set_egress_port" |
| 79 | alias: "set_egress_port" |
| 80 | } |
| 81 | params { |
| 82 | id: 1 |
| 83 | name: "port" |
| 84 | bitwidth: 9 |
| 85 | } |
| 86 | } |
| 87 | actions { |
| 88 | preamble { |
| 89 | id: 16829080 |
| 90 | name: "send_to_cpu" |
| 91 | alias: "send_to_cpu" |
| 92 | } |
| 93 | } |
| 94 | actions { |
| 95 | preamble { |
Carmelo Cascone | 16de6db | 2017-08-22 00:27:57 +0200 | [diff] [blame] | 96 | id: 16784184 |
| 97 | name: "_drop" |
| 98 | alias: "_drop" |
Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 99 | } |
| 100 | } |
| 101 | actions { |
| 102 | preamble { |
| 103 | id: 16800567 |
| 104 | name: "NoAction" |
| 105 | alias: "NoAction" |
| 106 | } |
| 107 | } |
| 108 | actions { |
| 109 | preamble { |
| 110 | id: 16791212 |
| 111 | name: "wcmp_group" |
| 112 | alias: "wcmp_group" |
| 113 | } |
| 114 | params { |
| 115 | id: 1 |
| 116 | name: "group_id" |
| 117 | bitwidth: 16 |
| 118 | } |
| 119 | } |
| 120 | actions { |
| 121 | preamble { |
| 122 | id: 16819919 |
| 123 | name: "wcmp_set_selector" |
| 124 | alias: "wcmp_set_selector" |
| 125 | } |
| 126 | } |
| 127 | counters { |
| 128 | preamble { |
| 129 | id: 302025528 |
| 130 | name: "port_counters_control.egress_port_counter" |
| 131 | alias: "egress_port_counter" |
| 132 | } |
| 133 | spec { |
| 134 | unit: PACKETS |
| 135 | } |
| 136 | size: 254 |
| 137 | } |
| 138 | counters { |
| 139 | preamble { |
| 140 | id: 301999025 |
| 141 | name: "port_counters_control.ingress_port_counter" |
| 142 | alias: "ingress_port_counter" |
| 143 | } |
| 144 | spec { |
| 145 | unit: PACKETS |
| 146 | } |
| 147 | size: 254 |
| 148 | } |
| 149 | direct_counters { |
| 150 | preamble { |
| 151 | id: 301990488 |
| 152 | name: "table0_counter" |
| 153 | alias: "table0_counter" |
| 154 | } |
| 155 | spec { |
| 156 | unit: PACKETS |
| 157 | } |
| 158 | direct_table_id: 33617813 |
| 159 | } |
| 160 | direct_counters { |
| 161 | preamble { |
| 162 | id: 302006421 |
| 163 | name: "wcmp_group_table_counter" |
| 164 | alias: "wcmp_group_table_counter" |
| 165 | } |
| 166 | spec { |
| 167 | unit: PACKETS |
| 168 | } |
| 169 | direct_table_id: 33596222 |
| 170 | } |
| 171 | controller_packet_metadata { |
| 172 | preamble { |
| 173 | id: 2868941301 |
| 174 | name: "packet_in" |
| 175 | annotations: "@controller_header(\"packet_in\")" |
| 176 | } |
| 177 | metadata { |
| 178 | id: 1 |
| 179 | name: "ingress_port" |
| 180 | bitwidth: 9 |
| 181 | } |
| 182 | } |
| 183 | controller_packet_metadata { |
| 184 | preamble { |
| 185 | id: 2868916615 |
| 186 | name: "packet_out" |
| 187 | annotations: "@controller_header(\"packet_out\")" |
| 188 | } |
| 189 | metadata { |
| 190 | id: 1 |
| 191 | name: "egress_port" |
| 192 | bitwidth: 9 |
| 193 | } |
| 194 | } |