Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 1 | tables { |
| 2 | preamble { |
| 3 | id: 33606914 |
| 4 | name: "c_ingress.t_l2_fwd" |
| 5 | alias: "t_l2_fwd" |
| 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.dst_addr" |
| 16 | bitwidth: 48 |
| 17 | match_type: TERNARY |
| 18 | } |
| 19 | match_fields { |
| 20 | id: 3 |
| 21 | name: "hdr.ethernet.src_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 | action_refs { |
| 32 | id: 16831479 |
| 33 | } |
| 34 | action_refs { |
| 35 | id: 16822540 |
| 36 | } |
| 37 | action_refs { |
| 38 | id: 16808599 |
| 39 | } |
| 40 | action_refs { |
| 41 | id: 16800567 |
| 42 | } |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 43 | direct_resource_ids: 318778805 |
Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 44 | size: 1024 |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 45 | idle_timeout_behavior: NO_TIMEOUT |
Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 46 | } |
| 47 | tables { |
| 48 | preamble { |
| 49 | id: 33565612 |
| 50 | name: "c_ingress.t_tunnel_ingress" |
| 51 | alias: "t_tunnel_ingress" |
| 52 | } |
| 53 | match_fields { |
| 54 | id: 1 |
| 55 | name: "hdr.ipv4.dst_addr" |
| 56 | bitwidth: 32 |
| 57 | match_type: LPM |
| 58 | } |
| 59 | action_refs { |
| 60 | id: 16835665 |
| 61 | } |
| 62 | action_refs { |
| 63 | id: 16808599 |
| 64 | } |
| 65 | size: 1024 |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 66 | idle_timeout_behavior: NO_TIMEOUT |
Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 67 | } |
| 68 | tables { |
| 69 | preamble { |
| 70 | id: 33556067 |
| 71 | name: "c_ingress.t_tunnel_fwd" |
| 72 | alias: "t_tunnel_fwd" |
| 73 | } |
| 74 | match_fields { |
| 75 | id: 1 |
| 76 | name: "hdr.my_tunnel.tun_id" |
| 77 | bitwidth: 32 |
| 78 | match_type: EXACT |
| 79 | } |
| 80 | action_refs { |
| 81 | id: 16831479 |
| 82 | } |
| 83 | action_refs { |
| 84 | id: 16800149 |
| 85 | } |
| 86 | action_refs { |
| 87 | id: 16808599 |
| 88 | } |
| 89 | size: 1024 |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 90 | idle_timeout_behavior: NO_TIMEOUT |
Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 91 | } |
| 92 | actions { |
| 93 | preamble { |
| 94 | id: 16800567 |
| 95 | name: "NoAction" |
| 96 | alias: "NoAction" |
| 97 | } |
| 98 | } |
| 99 | actions { |
| 100 | preamble { |
| 101 | id: 16822540 |
| 102 | name: "c_ingress.send_to_cpu" |
| 103 | alias: "send_to_cpu" |
| 104 | } |
| 105 | } |
| 106 | actions { |
| 107 | preamble { |
| 108 | id: 16831479 |
| 109 | name: "c_ingress.set_out_port" |
| 110 | alias: "set_out_port" |
| 111 | } |
| 112 | params { |
| 113 | id: 1 |
| 114 | name: "port" |
| 115 | bitwidth: 9 |
| 116 | } |
| 117 | } |
| 118 | actions { |
| 119 | preamble { |
| 120 | id: 16808599 |
| 121 | name: "c_ingress._drop" |
| 122 | alias: "_drop" |
| 123 | } |
| 124 | } |
| 125 | actions { |
| 126 | preamble { |
| 127 | id: 16835665 |
| 128 | name: "c_ingress.my_tunnel_ingress" |
| 129 | alias: "my_tunnel_ingress" |
| 130 | } |
| 131 | params { |
| 132 | id: 1 |
| 133 | name: "tun_id" |
| 134 | bitwidth: 32 |
| 135 | } |
| 136 | } |
| 137 | actions { |
| 138 | preamble { |
| 139 | id: 16800149 |
| 140 | name: "c_ingress.my_tunnel_egress" |
| 141 | alias: "my_tunnel_egress" |
| 142 | } |
| 143 | params { |
| 144 | id: 1 |
| 145 | name: "port" |
| 146 | bitwidth: 9 |
| 147 | } |
| 148 | } |
| 149 | counters { |
| 150 | preamble { |
| 151 | id: 302003196 |
| 152 | name: "c_ingress.tx_port_counter" |
| 153 | alias: "tx_port_counter" |
| 154 | } |
| 155 | spec { |
| 156 | unit: BOTH |
| 157 | } |
| 158 | size: 255 |
| 159 | } |
| 160 | counters { |
| 161 | preamble { |
| 162 | id: 302045227 |
| 163 | name: "c_ingress.rx_port_counter" |
| 164 | alias: "rx_port_counter" |
| 165 | } |
| 166 | spec { |
| 167 | unit: BOTH |
| 168 | } |
| 169 | size: 255 |
| 170 | } |
| 171 | direct_counters { |
| 172 | preamble { |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 173 | id: 318778805 |
Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 174 | name: "c_ingress.l2_fwd_counter" |
| 175 | alias: "l2_fwd_counter" |
| 176 | } |
| 177 | spec { |
| 178 | unit: BOTH |
| 179 | } |
| 180 | direct_table_id: 33606914 |
| 181 | } |
| 182 | controller_packet_metadata { |
| 183 | preamble { |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 184 | id: 67146229 |
Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 185 | name: "packet_in" |
| 186 | annotations: "@controller_header(\"packet_in\")" |
| 187 | } |
| 188 | metadata { |
| 189 | id: 1 |
| 190 | name: "ingress_port" |
| 191 | bitwidth: 9 |
| 192 | } |
| 193 | } |
| 194 | controller_packet_metadata { |
| 195 | preamble { |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 196 | id: 67121543 |
Carmelo Cascone | 700648c | 2018-04-11 12:02:16 -0700 | [diff] [blame] | 197 | name: "packet_out" |
| 198 | annotations: "@controller_header(\"packet_out\")" |
| 199 | } |
| 200 | metadata { |
| 201 | id: 1 |
| 202 | name: "egress_port" |
| 203 | bitwidth: 9 |
| 204 | } |
| 205 | } |
Carmelo Cascone | 4bf427f | 2018-06-19 23:23:32 +0200 | [diff] [blame] | 206 | type_info { |
| 207 | } |