Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 1 | parameters: |
Dennis Dmitriev | 6fecfdb | 2017-07-20 22:39:01 +0300 | [diff] [blame] | 2 | # Simulate escape sequence to not interpolate some values, |
| 3 | # so these values may get into the node yamls as ${_param:...} |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 4 | _param: |
| 5 | _esc: $ |
Dennis Dmitriev | 6fecfdb | 2017-07-20 22:39:01 +0300 | [diff] [blame] | 6 | |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 7 | reclass: |
| 8 | storage: |
| 9 | node: |
| 10 | stacklight_telemetry_node03: |
| 11 | params: |
| 12 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 13 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 14 | classes: |
| 15 | - environment.lab03_ovs_dpdk.common |
| 16 | openstack_telemetry_node03: |
| 17 | params: |
| 18 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 19 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 20 | classes: |
| 21 | - environment.lab03_ovs_dpdk.common |
| 22 | openstack_message_queue_node02: |
| 23 | params: |
| 24 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 25 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 26 | classes: |
| 27 | - environment.lab03_ovs_dpdk.common |
| 28 | openstack_gateway_node03: |
| 29 | params: |
| 30 | # Use interfaces configuration from the context file, |
| 31 | # or generate your own 'linux.network.interface' object using |
| 32 | # additional inventory. |
| 33 | # For example, you can take the 'inventory_node_name' and find it's config |
| 34 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 35 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 36 | linux_network_interfaces: |
| 37 | bond0: |
| 38 | enabled: true |
| 39 | mode: active-backup |
| 40 | ovs_bridge: br-floating |
| 41 | ovs_type: OVSPort |
| 42 | proto: manual |
| 43 | slaves: enp2s0f1 |
| 44 | type: bond |
| 45 | use_interfaces: |
| 46 | - enp2s0f1 |
| 47 | br-floating: |
| 48 | enabled: true |
| 49 | type: ovs_bridge |
| 50 | br-prv: |
| 51 | enabled: true |
| 52 | type: ovs_bridge |
| 53 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 54 | address: ${_param:_esc}{_param:single_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 55 | bridge: br-floating |
| 56 | enabled: true |
| 57 | netmask: 255.255.255.0 |
| 58 | ovs_options: tag=2416 |
| 59 | proto: static |
| 60 | type: ovs_port |
| 61 | floating-to-prv: |
| 62 | bridge: br-floating |
| 63 | enabled: true |
| 64 | peer: prv-to-floating |
| 65 | port_type: patch |
| 66 | type: ovs_port |
| 67 | primary_first_nic: |
| 68 | enabled: true |
| 69 | master: bond0 |
| 70 | name: enp2s0f1 |
| 71 | proto: manual |
| 72 | type: slave |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 73 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 74 | prv-to-floating: |
| 75 | bridge: br-prv |
| 76 | enabled: true |
| 77 | peer: floating-to-prv |
| 78 | port_type: patch |
| 79 | type: ovs_port |
| 80 | |
| 81 | classes: |
| 82 | - environment.lab03_ovs_dpdk.common |
| 83 | openstack_database_node02: |
| 84 | params: |
| 85 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 86 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 87 | classes: |
| 88 | - environment.lab03_ovs_dpdk.common |
| 89 | openstack_gateway_node02: |
| 90 | params: |
| 91 | # Use interfaces configuration from the context file, |
| 92 | # or generate your own 'linux.network.interface' object using |
| 93 | # additional inventory. |
| 94 | # For example, you can take the 'inventory_node_name' and find it's config |
| 95 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 96 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 97 | linux_network_interfaces: |
| 98 | bond0: |
| 99 | enabled: true |
| 100 | mode: active-backup |
| 101 | ovs_bridge: br-floating |
| 102 | ovs_type: OVSPort |
| 103 | proto: manual |
| 104 | slaves: enp2s0f1 |
| 105 | type: bond |
| 106 | use_interfaces: |
| 107 | - enp2s0f1 |
| 108 | br-floating: |
| 109 | enabled: true |
| 110 | type: ovs_bridge |
| 111 | br-prv: |
| 112 | enabled: true |
| 113 | type: ovs_bridge |
| 114 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 115 | address: ${_param:_esc}{_param:single_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 116 | bridge: br-floating |
| 117 | enabled: true |
| 118 | netmask: 255.255.255.0 |
| 119 | ovs_options: tag=2416 |
| 120 | proto: static |
| 121 | type: ovs_port |
| 122 | floating-to-prv: |
| 123 | bridge: br-floating |
| 124 | enabled: true |
| 125 | peer: prv-to-floating |
| 126 | port_type: patch |
| 127 | type: ovs_port |
| 128 | primary_first_nic: |
| 129 | enabled: true |
| 130 | master: bond0 |
| 131 | name: enp2s0f1 |
| 132 | proto: manual |
| 133 | type: slave |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 134 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 135 | prv-to-floating: |
| 136 | bridge: br-prv |
| 137 | enabled: true |
| 138 | peer: floating-to-prv |
| 139 | port_type: patch |
| 140 | type: ovs_port |
| 141 | |
| 142 | classes: |
| 143 | - environment.lab03_ovs_dpdk.common |
| 144 | openstack_control_node02: |
| 145 | params: |
| 146 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 147 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 148 | classes: |
| 149 | - environment.lab03_ovs_dpdk.common |
| 150 | stacklight_monitor_node02: |
| 151 | params: |
| 152 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 153 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 154 | classes: |
| 155 | - environment.lab03_ovs_dpdk.common |
| 156 | stacklight_telemetry_node01: |
| 157 | params: |
| 158 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 159 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 160 | classes: |
| 161 | - environment.lab03_ovs_dpdk.common |
| 162 | openstack_message_queue_node03: |
| 163 | params: |
| 164 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 165 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 166 | classes: |
| 167 | - environment.lab03_ovs_dpdk.common |
| 168 | infra_kvm_node01: |
| 169 | params: |
| 170 | # Use interfaces configuration from the context file, |
| 171 | # or generate your own 'linux.network.interface' object using |
| 172 | # additional inventory. |
| 173 | # For example, you can take the 'inventory_node_name' and find it's config |
| 174 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 175 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 176 | linux_network_interfaces: |
| 177 | bond0: |
| 178 | enabled: true |
| 179 | mode: active-backup |
| 180 | proto: manual |
| 181 | slaves: enp3s0f1 |
| 182 | type: bond |
| 183 | use_interfaces: |
| 184 | - enp3s0f1 |
| 185 | bond0.2416: |
| 186 | enabled: true |
| 187 | proto: manual |
| 188 | type: vlan |
| 189 | use_interfaces: |
| 190 | - bond0 |
| 191 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 192 | address: ${_param:_esc}{_param:single_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 193 | enabled: true |
| 194 | netmask: 255.255.255.0 |
| 195 | proto: static |
| 196 | type: bridge |
| 197 | use_interfaces: |
| 198 | - bond0.2416 |
| 199 | br_mgm: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 200 | address: ${_param:_esc}{_param:deploy_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 201 | enabled: true |
| 202 | gateway: 172.16.49.1 |
| 203 | name_servers: |
| 204 | - 8.8.8.8 |
| 205 | - 8.8.4.4 |
| 206 | netmask: 255.255.255.192 |
| 207 | proto: static |
| 208 | type: bridge |
| 209 | use_interfaces: |
| 210 | - enp3s0f0 |
| 211 | eth1: |
| 212 | enabled: true |
| 213 | master: bond0 |
| 214 | name: enp3s0f1 |
| 215 | proto: manual |
| 216 | type: slave |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 217 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 218 | eth2: |
| 219 | enabled: true |
| 220 | name: enp3s0f0 |
| 221 | proto: manual |
| 222 | type: eth |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 223 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 224 | |
| 225 | classes: |
| 226 | - environment.lab03_ovs_dpdk.common |
| 227 | openstack_proxy_node02: |
| 228 | params: |
| 229 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 230 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 231 | classes: |
| 232 | - environment.lab03_ovs_dpdk.common |
| 233 | openstack_telemetry_node01: |
| 234 | params: |
| 235 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 236 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 237 | classes: |
| 238 | - environment.lab03_ovs_dpdk.common |
| 239 | infra_kvm_node02: |
| 240 | params: |
| 241 | # Use interfaces configuration from the context file, |
| 242 | # or generate your own 'linux.network.interface' object using |
| 243 | # additional inventory. |
| 244 | # For example, you can take the 'inventory_node_name' and find it's config |
| 245 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 246 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 247 | linux_network_interfaces: |
| 248 | bond0: |
| 249 | enabled: true |
| 250 | mode: active-backup |
| 251 | proto: manual |
| 252 | slaves: eno2 |
| 253 | type: bond |
| 254 | use_interfaces: |
| 255 | - eno2 |
| 256 | bond0.2416: |
| 257 | enabled: true |
| 258 | proto: manual |
| 259 | type: vlan |
| 260 | use_interfaces: |
| 261 | - bond0 |
| 262 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 263 | address: ${_param:_esc}{_param:single_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 264 | enabled: true |
| 265 | netmask: 255.255.255.0 |
| 266 | proto: static |
| 267 | type: bridge |
| 268 | use_interfaces: |
| 269 | - bond0.2416 |
| 270 | br_mgm: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 271 | address: ${_param:_esc}{_param:deploy_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 272 | enabled: true |
| 273 | gateway: 172.16.49.1 |
| 274 | name_servers: |
| 275 | - 8.8.8.8 |
| 276 | - 8.8.4.4 |
| 277 | netmask: 255.255.255.192 |
| 278 | proto: static |
| 279 | type: bridge |
| 280 | use_interfaces: |
| 281 | - eno1 |
| 282 | eth1: |
| 283 | enabled: true |
| 284 | master: bond0 |
| 285 | name: eno2 |
| 286 | proto: manual |
| 287 | type: slave |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 288 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 289 | eth2: |
| 290 | enabled: true |
| 291 | name: eno1 |
| 292 | proto: manual |
| 293 | type: eth |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 294 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 295 | |
| 296 | classes: |
| 297 | - environment.lab03_ovs_dpdk.common |
| 298 | stacklight_monitor_node03: |
| 299 | params: |
| 300 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 301 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 302 | classes: |
| 303 | - environment.lab03_ovs_dpdk.common |
| 304 | openstack_telemetry_node02: |
| 305 | params: |
| 306 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 307 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 308 | classes: |
| 309 | - environment.lab03_ovs_dpdk.common |
| 310 | stacklight_log_node02: |
| 311 | params: |
| 312 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 313 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 314 | classes: |
| 315 | - environment.lab03_ovs_dpdk.common |
| 316 | openstack_proxy_node01: |
| 317 | params: |
| 318 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 319 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 320 | classes: |
| 321 | - environment.lab03_ovs_dpdk.common |
| 322 | openstack_message_queue_node01: |
| 323 | params: |
| 324 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 325 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 326 | classes: |
| 327 | - environment.lab03_ovs_dpdk.common |
| 328 | stacklight_log_node01: |
| 329 | params: |
| 330 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 331 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 332 | classes: |
| 333 | - environment.lab03_ovs_dpdk.common |
| 334 | openstack_database_node01: |
| 335 | params: |
| 336 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 337 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 338 | classes: |
| 339 | - environment.lab03_ovs_dpdk.common |
| 340 | openstack_control_node03: |
| 341 | params: |
| 342 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 343 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 344 | classes: |
| 345 | - environment.lab03_ovs_dpdk.common |
| 346 | openstack_compute_node02: |
| 347 | params: |
| 348 | # Use interfaces configuration from the context file, |
| 349 | # or generate your own 'linux.network.interface' object using |
| 350 | # additional inventory. |
| 351 | # For example, you can take the 'inventory_node_name' and find it's config |
| 352 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 353 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 354 | linux_network_interfaces: |
obutenko | a2a0781 | 2017-08-03 18:27:38 +0300 | [diff] [blame] | 355 | bond0: |
| 356 | enabled: true |
| 357 | mode: active-backup |
| 358 | ovs_bridge: br-floating |
| 359 | ovs_type: OVSPort |
| 360 | proto: manual |
| 361 | slaves: enp2s0f1 |
| 362 | type: bond |
| 363 | use_interfaces: |
| 364 | - enp2s0f1 |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 365 | bond0.2416: |
| 366 | enabled: true |
| 367 | proto: manual |
| 368 | type: vlan |
| 369 | use_interfaces: |
| 370 | - bond0 |
| 371 | br-prv: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 372 | address: ${_param:_esc}{_param:tenant_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 373 | enabled: true |
| 374 | netmask: 255.255.255.0 |
| 375 | type: dpdk_ovs_bridge |
| 376 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 377 | address: ${_param:_esc}{_param:control_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 378 | enabled: true |
| 379 | netmask: 255.255.255.0 |
| 380 | proto: static |
| 381 | type: bridge |
| 382 | use_interfaces: |
| 383 | - bond0.2416 |
| 384 | dpdk0: |
| 385 | bond: dpdkbond1 |
| 386 | driver: igb_uio |
| 387 | enabled: true |
| 388 | n_rxq: 2 |
| 389 | name: eth2 |
| 390 | pci: '0000:05:00.1' |
| 391 | type: dpdk_ovs_port |
| 392 | dpdk1: |
| 393 | bond: dpdkbond1 |
| 394 | driver: igb_uio |
| 395 | enabled: true |
| 396 | n_rxq: 2 |
| 397 | name: eth4 |
| 398 | pci: 0000:0b:00.0 |
| 399 | type: dpdk_ovs_port |
| 400 | dpdkbond1: |
| 401 | bridge: br-prv |
| 402 | enabled: true |
| 403 | mode: active-backup |
| 404 | type: dpdk_ovs_bond |
| 405 | |
| 406 | classes: |
| 407 | - environment.lab03_ovs_dpdk.common |
| 408 | openstack_gateway_node01: |
| 409 | params: |
| 410 | # Use interfaces configuration from the context file, |
| 411 | # or generate your own 'linux.network.interface' object using |
| 412 | # additional inventory. |
| 413 | # For example, you can take the 'inventory_node_name' and find it's config |
| 414 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 415 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 416 | linux_network_interfaces: |
| 417 | bond0: |
| 418 | enabled: true |
| 419 | mode: active-backup |
| 420 | ovs_bridge: br-floating |
| 421 | ovs_type: OVSPort |
| 422 | proto: manual |
| 423 | slaves: enp2s0f1 |
| 424 | type: bond |
| 425 | use_interfaces: |
| 426 | - enp2s0f1 |
| 427 | br-floating: |
| 428 | enabled: true |
| 429 | type: ovs_bridge |
| 430 | br-prv: |
| 431 | enabled: true |
| 432 | type: ovs_bridge |
| 433 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 434 | address: ${_param:_esc}{_param:single_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 435 | bridge: br-floating |
| 436 | enabled: true |
| 437 | netmask: 255.255.255.0 |
| 438 | ovs_options: tag=2416 |
| 439 | proto: static |
| 440 | type: ovs_port |
| 441 | floating-to-prv: |
| 442 | bridge: br-floating |
| 443 | enabled: true |
| 444 | peer: prv-to-floating |
| 445 | port_type: patch |
| 446 | type: ovs_port |
| 447 | primary_first_nic: |
| 448 | enabled: true |
| 449 | master: bond0 |
| 450 | name: enp2s0f1 |
| 451 | proto: manual |
| 452 | type: slave |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 453 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 454 | prv-to-floating: |
| 455 | bridge: br-prv |
| 456 | enabled: true |
| 457 | peer: floating-to-prv |
| 458 | port_type: patch |
| 459 | type: ovs_port |
| 460 | |
| 461 | classes: |
| 462 | - environment.lab03_ovs_dpdk.common |
| 463 | stacklight_log_node03: |
| 464 | params: |
| 465 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 466 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 467 | classes: |
| 468 | - environment.lab03_ovs_dpdk.common |
| 469 | openstack_compute_node01: |
| 470 | params: |
| 471 | # Use interfaces configuration from the context file, |
| 472 | # or generate your own 'linux.network.interface' object using |
| 473 | # additional inventory. |
| 474 | # For example, you can take the 'inventory_node_name' and find it's config |
| 475 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 476 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 477 | linux_network_interfaces: |
obutenko | a2a0781 | 2017-08-03 18:27:38 +0300 | [diff] [blame] | 478 | bond0: |
| 479 | enabled: true |
| 480 | mode: active-backup |
| 481 | ovs_bridge: br-floating |
| 482 | ovs_type: OVSPort |
| 483 | proto: manual |
| 484 | slaves: enp2s0f1 |
| 485 | type: bond |
| 486 | use_interfaces: |
| 487 | - enp2s0f1 |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 488 | bond0.2416: |
| 489 | enabled: true |
| 490 | proto: manual |
| 491 | type: vlan |
| 492 | use_interfaces: |
| 493 | - bond0 |
| 494 | br-prv: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 495 | address: ${_param:_esc}{_param:tenant_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 496 | enabled: true |
| 497 | netmask: 255.255.255.0 |
| 498 | type: dpdk_ovs_bridge |
| 499 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 500 | address: ${_param:_esc}{_param:control_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 501 | enabled: true |
| 502 | netmask: 255.255.255.0 |
| 503 | proto: static |
| 504 | type: bridge |
| 505 | use_interfaces: |
| 506 | - bond0.2416 |
| 507 | dpdk0: |
| 508 | bond: dpdkbond1 |
| 509 | driver: igb_uio |
| 510 | enabled: true |
| 511 | n_rxq: 2 |
| 512 | name: enp5s0f1 |
| 513 | pci: '0000:05:00.1' |
| 514 | type: dpdk_ovs_port |
| 515 | dpdk1: |
| 516 | bond: dpdkbond1 |
| 517 | driver: igb_uio |
| 518 | enabled: true |
| 519 | n_rxq: 2 |
| 520 | name: enp5s0f2 |
| 521 | pci: '0000:05:00.2' |
| 522 | type: dpdk_ovs_port |
| 523 | dpdkbond1: |
| 524 | bridge: br-prv |
| 525 | enabled: true |
| 526 | mode: active-backup |
| 527 | type: dpdk_ovs_bond |
| 528 | |
| 529 | classes: |
| 530 | - environment.lab03_ovs_dpdk.common |
| 531 | openstack_database_node03: |
| 532 | params: |
| 533 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 534 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 535 | classes: |
| 536 | - environment.lab03_ovs_dpdk.common |
| 537 | infra_kvm_node03: |
| 538 | params: |
| 539 | # Use interfaces configuration from the context file, |
| 540 | # or generate your own 'linux.network.interface' object using |
| 541 | # additional inventory. |
| 542 | # For example, you can take the 'inventory_node_name' and find it's config |
| 543 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 544 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 545 | linux_network_interfaces: |
| 546 | bond0: |
| 547 | enabled: true |
| 548 | mode: active-backup |
| 549 | proto: manual |
| 550 | slaves: eno2 |
| 551 | type: bond |
| 552 | use_interfaces: |
| 553 | - eno2 |
| 554 | bond0.2416: |
| 555 | enabled: true |
| 556 | proto: manual |
| 557 | type: vlan |
| 558 | use_interfaces: |
| 559 | - bond0 |
| 560 | br_ctl: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 561 | address: ${_param:_esc}{_param:single_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 562 | enabled: true |
| 563 | netmask: 255.255.255.0 |
| 564 | proto: static |
| 565 | type: bridge |
| 566 | use_interfaces: |
| 567 | - bond0.2416 |
| 568 | br_mgm: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 569 | address: ${_param:_esc}{_param:deploy_address} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 570 | enabled: true |
| 571 | gateway: 172.16.49.1 |
| 572 | name_servers: |
| 573 | - 8.8.8.8 |
| 574 | - 8.8.4.4 |
| 575 | netmask: 255.255.255.192 |
| 576 | proto: static |
| 577 | type: bridge |
| 578 | use_interfaces: |
| 579 | - eno1 |
| 580 | eth1: |
| 581 | enabled: true |
| 582 | master: bond0 |
| 583 | name: eno2 |
| 584 | proto: manual |
| 585 | type: slave |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 586 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 587 | eth2: |
| 588 | enabled: true |
| 589 | name: eno1 |
| 590 | proto: manual |
| 591 | type: eth |
Dennis Dmitriev | b4c48c1 | 2017-07-19 15:05:09 +0300 | [diff] [blame] | 592 | ipflush_onchange: true |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 593 | |
| 594 | classes: |
| 595 | - environment.lab03_ovs_dpdk.common |
| 596 | stacklight_monitor_node01: |
| 597 | params: |
| 598 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 599 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 600 | classes: |
| 601 | - environment.lab03_ovs_dpdk.common |
| 602 | openstack_control_node01: |
| 603 | params: |
| 604 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 605 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 606 | classes: |
| 607 | - environment.lab03_ovs_dpdk.common |
| 608 | stacklight_telemetry_node02: |
| 609 | params: |
| 610 | linux_network_interfaces: |
Dennis Dmitriev | 20a327c | 2017-07-21 16:07:56 +0300 | [diff] [blame] | 611 | ens3: ${_param:_esc}{_param:linux_single_interface} |
Dennis Dmitriev | 458aac3 | 2017-07-18 13:28:21 +0300 | [diff] [blame] | 612 | classes: |
| 613 | - environment.lab03_ovs_dpdk.common |