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