Carmelo Cascone | fc3776d | 2017-08-21 23:17:22 +0200 | [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: "ethernet.dstAddr" |
| 16 | bitwidth: 48 |
| 17 | match_type: TERNARY |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "ethernet.srcAddr" |
| 22 | bitwidth: 48 |
| 23 | match_type: TERNARY |
| 24 | } |
| 25 | match_fields { |
| 26 | id: 4 |
| 27 | name: "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 { |
| 41 | id: 16793508 |
| 42 | } |
| 43 | action_refs { |
| 44 | id: 16800567 |
| 45 | annotations: "@defaultonly()" |
| 46 | } |
| 47 | direct_resource_ids: 301990488 |
| 48 | size: 1024 |
| 49 | with_entry_timeout: true |
| 50 | } |
| 51 | tables { |
| 52 | preamble { |
| 53 | id: 33596222 |
| 54 | name: "wcmp_group_table" |
| 55 | alias: "wcmp_group_table" |
| 56 | } |
| 57 | match_fields { |
| 58 | id: 1 |
| 59 | name: "wcmp_meta.groupId" |
| 60 | bitwidth: 16 |
| 61 | match_type: EXACT |
| 62 | } |
| 63 | match_fields { |
| 64 | id: 2 |
| 65 | name: "wcmp_meta.selector" |
| 66 | bitwidth: 32 |
| 67 | match_type: LPM |
| 68 | } |
| 69 | action_refs { |
| 70 | id: 16794308 |
| 71 | } |
| 72 | action_refs { |
| 73 | id: 16800567 |
| 74 | annotations: "@defaultonly()" |
| 75 | } |
| 76 | direct_resource_ids: 302006421 |
| 77 | size: 1024 |
| 78 | } |
| 79 | tables { |
| 80 | preamble { |
| 81 | id: 33613026 |
| 82 | name: "wcmp_set_selector_table" |
| 83 | alias: "wcmp_set_selector_table" |
| 84 | } |
| 85 | action_refs { |
| 86 | id: 16819919 |
| 87 | } |
| 88 | action_refs { |
| 89 | id: 16800567 |
| 90 | annotations: "@defaultonly()" |
| 91 | } |
| 92 | size: 1024 |
| 93 | } |
| 94 | tables { |
| 95 | preamble { |
| 96 | id: 33583368 |
| 97 | name: "port_count_table" |
| 98 | alias: "port_count_table" |
| 99 | } |
| 100 | action_refs { |
| 101 | id: 16781545 |
| 102 | } |
| 103 | action_refs { |
| 104 | id: 16800567 |
| 105 | annotations: "@defaultonly()" |
| 106 | } |
| 107 | size: 1024 |
| 108 | } |
| 109 | actions { |
| 110 | preamble { |
| 111 | id: 16800567 |
| 112 | name: "NoAction" |
| 113 | alias: "NoAction" |
| 114 | } |
| 115 | } |
| 116 | actions { |
| 117 | preamble { |
| 118 | id: 16819919 |
| 119 | name: "wcmp_set_selector" |
| 120 | alias: "wcmp_set_selector" |
| 121 | } |
| 122 | } |
| 123 | actions { |
| 124 | preamble { |
| 125 | id: 16794308 |
| 126 | name: "set_egress_port" |
| 127 | alias: "set_egress_port" |
| 128 | } |
| 129 | params { |
| 130 | id: 1 |
| 131 | name: "port" |
| 132 | bitwidth: 9 |
| 133 | } |
| 134 | } |
| 135 | actions { |
| 136 | preamble { |
| 137 | id: 16791212 |
| 138 | name: "wcmp_group" |
| 139 | alias: "wcmp_group" |
| 140 | } |
| 141 | params { |
| 142 | id: 1 |
| 143 | name: "groupId" |
| 144 | bitwidth: 16 |
| 145 | } |
| 146 | } |
| 147 | actions { |
| 148 | preamble { |
| 149 | id: 16829080 |
| 150 | name: "send_to_cpu" |
| 151 | alias: "send_to_cpu" |
| 152 | } |
| 153 | } |
| 154 | actions { |
| 155 | preamble { |
| 156 | id: 16793508 |
| 157 | name: "drop" |
| 158 | alias: "drop" |
| 159 | } |
| 160 | } |
| 161 | actions { |
| 162 | preamble { |
| 163 | id: 16781545 |
| 164 | name: "count_packet" |
| 165 | alias: "count_packet" |
| 166 | } |
| 167 | } |
| 168 | counters { |
| 169 | preamble { |
| 170 | id: 302008596 |
| 171 | name: "egress_port_counter" |
| 172 | alias: "egress_port_counter" |
| 173 | annotations: "@min_width(32)" |
| 174 | } |
| 175 | spec { |
| 176 | unit: PACKETS |
| 177 | } |
| 178 | size: 254 |
| 179 | } |
| 180 | counters { |
| 181 | preamble { |
| 182 | id: 301991238 |
| 183 | name: "ingress_port_counter" |
| 184 | alias: "ingress_port_counter" |
| 185 | annotations: "@min_width(32)" |
| 186 | } |
| 187 | spec { |
| 188 | unit: PACKETS |
| 189 | } |
| 190 | size: 254 |
| 191 | } |
| 192 | direct_counters { |
| 193 | preamble { |
| 194 | id: 301990488 |
| 195 | name: "table0_counter" |
| 196 | alias: "table0_counter" |
| 197 | } |
| 198 | spec { |
| 199 | unit: PACKETS |
| 200 | } |
| 201 | direct_table_id: 33617813 |
| 202 | } |
| 203 | direct_counters { |
| 204 | preamble { |
| 205 | id: 302006421 |
| 206 | name: "wcmp_group_table_counter" |
| 207 | alias: "wcmp_group_table_counter" |
| 208 | } |
| 209 | spec { |
| 210 | unit: PACKETS |
| 211 | } |
| 212 | direct_table_id: 33596222 |
| 213 | } |