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 { |
Carmelo Cascone | eb01812 | 2017-09-06 13:16:03 +0200 | [diff] [blame] | 69 | id: 16784184 |
Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 70 | } |
| 71 | direct_resource_ids: 301990488 |
| 72 | size: 1024 |
| 73 | with_entry_timeout: true |
| 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: 16800567 |
| 90 | name: "NoAction" |
| 91 | alias: "NoAction" |
| 92 | } |
| 93 | } |
| 94 | actions { |
| 95 | preamble { |
| 96 | id: 16829080 |
| 97 | name: "send_to_cpu" |
| 98 | alias: "send_to_cpu" |
| 99 | } |
| 100 | } |
| 101 | actions { |
| 102 | preamble { |
Carmelo Cascone | eb01812 | 2017-09-06 13:16:03 +0200 | [diff] [blame] | 103 | id: 16784184 |
| 104 | name: "_drop" |
| 105 | alias: "_drop" |
Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 106 | } |
| 107 | } |
| 108 | actions { |
| 109 | preamble { |
| 110 | id: 16830055 |
| 111 | name: "ecmp_group" |
| 112 | alias: "ecmp_group" |
| 113 | } |
| 114 | params { |
| 115 | id: 1 |
| 116 | name: "group_id" |
| 117 | bitwidth: 16 |
| 118 | } |
Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 119 | } |
| 120 | counters { |
| 121 | preamble { |
| 122 | id: 302025528 |
| 123 | name: "port_counters_control.egress_port_counter" |
| 124 | alias: "egress_port_counter" |
| 125 | } |
| 126 | spec { |
| 127 | unit: PACKETS |
| 128 | } |
Carmelo Cascone | f2a5ea6 | 2017-09-15 01:19:28 +0200 | [diff] [blame] | 129 | size: 255 |
Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 130 | } |
| 131 | counters { |
| 132 | preamble { |
| 133 | id: 301999025 |
| 134 | name: "port_counters_control.ingress_port_counter" |
| 135 | alias: "ingress_port_counter" |
| 136 | } |
| 137 | spec { |
| 138 | unit: PACKETS |
| 139 | } |
Carmelo Cascone | f2a5ea6 | 2017-09-15 01:19:28 +0200 | [diff] [blame] | 140 | size: 255 |
Carmelo Cascone | 3304fd5 | 2017-07-30 00:43:01 -0400 | [diff] [blame] | 141 | } |
| 142 | direct_counters { |
| 143 | preamble { |
| 144 | id: 302009688 |
| 145 | name: "ecmp_group_table_counter" |
| 146 | alias: "ecmp_group_table_counter" |
| 147 | } |
| 148 | spec { |
| 149 | unit: PACKETS |
| 150 | } |
| 151 | direct_table_id: 33612022 |
| 152 | } |
| 153 | direct_counters { |
| 154 | preamble { |
| 155 | id: 301990488 |
| 156 | name: "table0_counter" |
| 157 | alias: "table0_counter" |
| 158 | } |
| 159 | spec { |
| 160 | unit: PACKETS |
| 161 | } |
| 162 | direct_table_id: 33617813 |
| 163 | } |
| 164 | controller_packet_metadata { |
| 165 | preamble { |
| 166 | id: 2868941301 |
| 167 | name: "packet_in" |
| 168 | annotations: "@controller_header(\"packet_in\")" |
| 169 | } |
| 170 | metadata { |
| 171 | id: 1 |
| 172 | name: "ingress_port" |
| 173 | bitwidth: 9 |
| 174 | } |
| 175 | } |
| 176 | controller_packet_metadata { |
| 177 | preamble { |
| 178 | id: 2868916615 |
| 179 | name: "packet_out" |
| 180 | annotations: "@controller_header(\"packet_out\")" |
| 181 | } |
| 182 | metadata { |
| 183 | id: 1 |
| 184 | name: "egress_port" |
| 185 | bitwidth: 9 |
| 186 | } |
| 187 | } |