Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 1 | parameters: |
| 2 | # Simulate escape sequence to not interpolate some values, |
| 3 | # so these values may get into the node yamls as ${_param:...} |
| 4 | _param: |
| 5 | _esc: $ |
| 6 | |
| 7 | reclass: |
| 8 | storage: |
| 9 | node: |
| 10 | infra_kvm_node01: |
| 11 | params: |
| 12 | # Use interfaces configuration from the context file, |
| 13 | # or generate your own 'linux.network.interface' object using |
| 14 | # additional inventory. |
| 15 | # For example, you can take the 'inventory_node_name' and find it's config |
| 16 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 17 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 18 | linux_network_interfaces: |
| 19 | bond0: |
| 20 | enabled: true |
| 21 | mode: active-backup |
| 22 | proto: manual |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 23 | slaves: enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 24 | type: bond |
| 25 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 26 | - enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 27 | require_interfaces: |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 28 | - enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 29 | bond0.2416: |
| 30 | enabled: true |
| 31 | proto: manual |
| 32 | type: vlan |
| 33 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 34 | - bond0 |
| 35 | require_interfaces: |
| 36 | - bond0 |
| 37 | br_ctl: |
| 38 | address: ${_param:_esc}{_param:single_address} |
| 39 | enabled: true |
| 40 | netmask: 255.255.255.0 |
| 41 | proto: static |
| 42 | type: bridge |
| 43 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 44 | - bond0.2416 |
| 45 | require_interfaces: |
| 46 | - bond0.2416 |
| 47 | br_mgm: |
| 48 | address: ${_param:_esc}{_param:deploy_address} |
| 49 | enabled: true |
| 50 | gateway: 172.16.49.1 |
| 51 | name_servers: |
| 52 | - 8.8.8.8 |
| 53 | - 8.8.4.4 |
| 54 | netmask: 255.255.255.192 |
| 55 | proto: static |
| 56 | type: bridge |
| 57 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 58 | - enp2s0f0 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 59 | require_interfaces: |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 60 | - enp2s0f0 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 61 | eth1: |
| 62 | enabled: true |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 63 | name: enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 64 | proto: manual |
Oleksii Butenko | 19c74eb | 2017-08-17 14:17:23 +0300 | [diff] [blame] | 65 | type: eth |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 66 | ipflush_onchange: true |
| 67 | eth2: |
| 68 | enabled: true |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 69 | name: enp2s0f0 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 70 | proto: manual |
| 71 | type: eth |
| 72 | ipflush_onchange: true |
| 73 | |
| 74 | classes: |
| 75 | - environment.lab03_ovs_dpdk.common |
| 76 | |
| 77 | infra_kvm_node02: |
| 78 | params: |
| 79 | # Use interfaces configuration from the context file, |
| 80 | # or generate your own 'linux.network.interface' object using |
| 81 | # additional inventory. |
| 82 | # For example, you can take the 'inventory_node_name' and find it's config |
| 83 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 84 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 85 | linux_network_interfaces: |
| 86 | bond0: |
| 87 | enabled: true |
| 88 | mode: active-backup |
| 89 | proto: manual |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 90 | slaves: enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 91 | type: bond |
| 92 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 93 | - enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 94 | require_interfaces: |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 95 | - enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 96 | bond0.2416: |
| 97 | enabled: true |
| 98 | proto: manual |
| 99 | type: vlan |
| 100 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 101 | - bond0 |
| 102 | require_interfaces: |
| 103 | - bond0 |
| 104 | br_ctl: |
| 105 | address: ${_param:_esc}{_param:single_address} |
| 106 | enabled: true |
| 107 | netmask: 255.255.255.0 |
| 108 | proto: static |
| 109 | type: bridge |
| 110 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 111 | - bond0.2416 |
| 112 | require_interfaces: |
| 113 | - bond0.2416 |
| 114 | br_mgm: |
| 115 | address: ${_param:_esc}{_param:deploy_address} |
| 116 | enabled: true |
| 117 | gateway: 172.16.49.1 |
| 118 | name_servers: |
| 119 | - 8.8.8.8 |
| 120 | - 8.8.4.4 |
| 121 | netmask: 255.255.255.192 |
| 122 | proto: static |
| 123 | type: bridge |
| 124 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 125 | - enp2s0f0 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 126 | require_interfaces: |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 127 | - enp2s0f0 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 128 | eth1: |
| 129 | enabled: true |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 130 | name: enp2s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 131 | proto: manual |
Oleksii Butenko | 19c74eb | 2017-08-17 14:17:23 +0300 | [diff] [blame] | 132 | type: eth |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 133 | ipflush_onchange: true |
| 134 | eth2: |
| 135 | enabled: true |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 136 | name: enp2s0f0 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 137 | proto: manual |
| 138 | type: eth |
| 139 | ipflush_onchange: true |
| 140 | |
| 141 | classes: |
| 142 | - environment.lab03_ovs_dpdk.common |
| 143 | |
| 144 | infra_kvm_node03: |
| 145 | params: |
| 146 | # Use interfaces configuration from the context file, |
| 147 | # or generate your own 'linux.network.interface' object using |
| 148 | # additional inventory. |
| 149 | # For example, you can take the 'inventory_node_name' and find it's config |
| 150 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 151 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 152 | linux_network_interfaces: |
| 153 | bond0: |
| 154 | enabled: true |
| 155 | mode: active-backup |
| 156 | proto: manual |
| 157 | slaves: eno2 |
| 158 | type: bond |
| 159 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 160 | - eno2 |
| 161 | require_interfaces: |
| 162 | - eno2 |
| 163 | bond0.2416: |
| 164 | enabled: true |
| 165 | proto: manual |
| 166 | type: vlan |
| 167 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 168 | - bond0 |
| 169 | require_interfaces: |
| 170 | - bond0 |
| 171 | br_ctl: |
| 172 | address: ${_param:_esc}{_param:single_address} |
| 173 | enabled: true |
| 174 | netmask: 255.255.255.0 |
| 175 | proto: static |
| 176 | type: bridge |
| 177 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 178 | - bond0.2416 |
| 179 | require_interfaces: |
| 180 | - bond0.2416 |
| 181 | br_mgm: |
| 182 | address: ${_param:_esc}{_param:deploy_address} |
| 183 | enabled: true |
| 184 | gateway: 172.16.49.1 |
| 185 | name_servers: |
| 186 | - 8.8.8.8 |
| 187 | - 8.8.4.4 |
| 188 | netmask: 255.255.255.192 |
| 189 | proto: static |
| 190 | type: bridge |
| 191 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 192 | - eno1 |
| 193 | require_interfaces: |
| 194 | - eno1 |
| 195 | eth1: |
| 196 | enabled: true |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 197 | name: eno2 |
| 198 | proto: manual |
Oleksii Butenko | 19c74eb | 2017-08-17 14:17:23 +0300 | [diff] [blame] | 199 | type: eth |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 200 | ipflush_onchange: true |
| 201 | eth2: |
| 202 | enabled: true |
| 203 | name: eno1 |
| 204 | proto: manual |
| 205 | type: eth |
| 206 | ipflush_onchange: true |
| 207 | |
| 208 | classes: |
| 209 | - environment.lab03_ovs_dpdk.common |
| 210 | |
| 211 | openstack_compute_node01: |
| 212 | params: |
| 213 | # Use interfaces configuration from the context file, |
| 214 | # or generate your own 'linux.network.interface' object using |
| 215 | # additional inventory. |
| 216 | # For example, you can take the 'inventory_node_name' and find it's config |
| 217 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 218 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 219 | linux_network_interfaces: |
| 220 | iface1: |
| 221 | enabled: true |
| 222 | master: bond0 |
| 223 | name: enp3s0f1 |
| 224 | proto: manual |
| 225 | type: slave |
| 226 | ipflush_onchange: true |
| 227 | iface2: |
| 228 | enabled: true |
| 229 | master: bond0 |
| 230 | name: enp5s0f0 |
| 231 | proto: manual |
| 232 | type: slave |
| 233 | ipflush_onchange: true |
| 234 | bond0: |
| 235 | enabled: true |
| 236 | mode: active-backup |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 237 | ovs_bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 238 | ovs_type: OVSPort |
| 239 | proto: manual |
| 240 | slaves: enp3s0f1 enp5s0f0 |
| 241 | type: bond |
| 242 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 243 | - enp3s0f1 |
| 244 | - enp5s0f0 |
| 245 | require_interfaces: |
| 246 | - enp3s0f1 |
| 247 | - enp5s0f0 |
| 248 | bond0.2416: |
| 249 | enabled: true |
| 250 | proto: manual |
| 251 | type: vlan |
| 252 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 253 | - bond0 |
| 254 | require_interfaces: |
| 255 | - bond0 |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 256 | br_prv: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 257 | address: ${_param:_esc}{_param:tenant_address} |
| 258 | enabled: true |
| 259 | netmask: 255.255.255.0 |
| 260 | type: dpdk_ovs_bridge |
| 261 | br_ctl: |
| 262 | address: ${_param:_esc}{_param:control_address} |
| 263 | enabled: true |
| 264 | netmask: 255.255.255.0 |
| 265 | proto: static |
| 266 | type: bridge |
| 267 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 268 | - bond0.2416 |
| 269 | require_interfaces: |
| 270 | - bond0.2416 |
| 271 | dpdk0: |
| 272 | bond: dpdkbond1 |
| 273 | driver: igb_uio |
| 274 | enabled: true |
| 275 | n_rxq: 2 |
| 276 | name: enp5s0f1 |
| 277 | pci: '0000:05:00.1' |
| 278 | type: dpdk_ovs_port |
| 279 | dpdk1: |
| 280 | bond: dpdkbond1 |
| 281 | driver: igb_uio |
| 282 | enabled: true |
| 283 | n_rxq: 2 |
| 284 | name: enp5s0f2 |
| 285 | pci: '0000:05:00.2' |
| 286 | type: dpdk_ovs_port |
| 287 | dpdkbond1: |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 288 | bridge: br_prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 289 | enabled: true |
| 290 | mode: active-backup |
| 291 | type: dpdk_ovs_bond |
| 292 | |
| 293 | classes: |
| 294 | - environment.lab03_ovs_dpdk.common |
| 295 | |
| 296 | openstack_compute_node02: |
| 297 | params: |
| 298 | # Use interfaces configuration from the context file, |
| 299 | # or generate your own 'linux.network.interface' object using |
| 300 | # additional inventory. |
| 301 | # For example, you can take the 'inventory_node_name' and find it's config |
| 302 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 303 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 304 | linux_network_interfaces: |
| 305 | eth1: |
| 306 | enabled: true |
| 307 | master: bond0 |
| 308 | name: eth0 |
| 309 | proto: manual |
| 310 | type: slave |
| 311 | ipflush_onchange: true |
| 312 | # eth2: |
| 313 | # enabled: true |
| 314 | # master: bond0 |
| 315 | # name: eth3 |
| 316 | # proto: manual |
| 317 | # type: slave |
| 318 | # ipflush_onchange: true |
| 319 | bond0: |
| 320 | enabled: true |
| 321 | mode: active-backup |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 322 | ovs_bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 323 | ovs_type: OVSPort |
| 324 | proto: manual |
| 325 | # slaves: eth0 eth3 |
| 326 | slaves: eth0 |
| 327 | type: bond |
| 328 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 329 | - eth0 |
| 330 | # - eth3 |
| 331 | require_interfaces: |
| 332 | - eth0 |
| 333 | # - eth3 |
| 334 | bond0.2416: |
| 335 | enabled: true |
| 336 | proto: manual |
| 337 | type: vlan |
| 338 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 339 | - bond0 |
| 340 | require_interfaces: |
| 341 | - bond0 |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 342 | br_prv: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 343 | address: ${_param:_esc}{_param:tenant_address} |
| 344 | enabled: true |
| 345 | netmask: 255.255.255.0 |
| 346 | type: dpdk_ovs_bridge |
| 347 | br_ctl: |
| 348 | address: ${_param:_esc}{_param:control_address} |
| 349 | enabled: true |
| 350 | netmask: 255.255.255.0 |
| 351 | proto: static |
| 352 | type: bridge |
| 353 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 354 | - bond0.2416 |
| 355 | require_interfaces: |
| 356 | - bond0.2416 |
| 357 | dpdk0: |
| 358 | bond: dpdkbond1 |
| 359 | driver: igb_uio |
| 360 | enabled: true |
| 361 | n_rxq: 2 |
| 362 | name: eth2 |
| 363 | pci: '0000:05:00.1' |
| 364 | type: dpdk_ovs_port |
| 365 | dpdk1: |
| 366 | bond: dpdkbond1 |
| 367 | driver: igb_uio |
| 368 | enabled: true |
| 369 | n_rxq: 2 |
| 370 | name: eth4 |
| 371 | pci: 0000:0b:00.0 |
| 372 | type: dpdk_ovs_port |
| 373 | dpdkbond1: |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 374 | bridge: br_prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 375 | enabled: true |
| 376 | mode: active-backup |
| 377 | type: dpdk_ovs_bond |
| 378 | |
| 379 | classes: |
| 380 | - environment.lab03_ovs_dpdk.common |
| 381 | |
| 382 | openstack_gateway_node01: |
| 383 | params: |
| 384 | # Use interfaces configuration from the context file, |
| 385 | # or generate your own 'linux.network.interface' object using |
| 386 | # additional inventory. |
| 387 | # For example, you can take the 'inventory_node_name' and find it's config |
| 388 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 389 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 390 | linux_network_interfaces: |
| 391 | bond0: |
| 392 | enabled: true |
| 393 | mode: active-backup |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 394 | ovs_bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 395 | ovs_type: OVSPort |
| 396 | proto: manual |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 397 | slaves: enp3s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 398 | type: bond |
| 399 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 400 | - enp3s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 401 | require_interfaces: |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 402 | - enp3s0f1 |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 403 | br_floating: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 404 | enabled: true |
| 405 | type: ovs_bridge |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 406 | br_floating.2417: |
| 407 | address: 172.17.42.135 |
| 408 | netmask: 255.255.255.192 |
| 409 | enabled: true |
| 410 | proto: static |
| 411 | type: vlan |
| 412 | br_prv: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 413 | enabled: true |
| 414 | type: ovs_bridge |
| 415 | br_ctl: |
| 416 | address: ${_param:_esc}{_param:single_address} |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 417 | bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 418 | enabled: true |
| 419 | netmask: 255.255.255.0 |
| 420 | ovs_options: tag=2416 |
| 421 | proto: static |
| 422 | type: ovs_port |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 423 | floating_to_prv: |
| 424 | bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 425 | enabled: true |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 426 | peer: prv_to_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 427 | port_type: patch |
| 428 | type: ovs_port |
| 429 | primary_first_nic: |
| 430 | enabled: true |
| 431 | master: bond0 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 432 | name: enp3s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 433 | proto: manual |
| 434 | type: slave |
| 435 | ipflush_onchange: true |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 436 | prv_to_floating: |
| 437 | bridge: br_prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 438 | enabled: true |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 439 | peer: floating_to_prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 440 | port_type: patch |
| 441 | type: ovs_port |
| 442 | |
| 443 | classes: |
| 444 | - environment.lab03_ovs_dpdk.common |
| 445 | |
| 446 | openstack_gateway_node02: |
| 447 | params: |
| 448 | # Use interfaces configuration from the context file, |
| 449 | # or generate your own 'linux.network.interface' object using |
| 450 | # additional inventory. |
| 451 | # For example, you can take the 'inventory_node_name' and find it's config |
| 452 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 453 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 454 | linux_network_interfaces: |
| 455 | bond0: |
| 456 | enabled: true |
| 457 | mode: active-backup |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 458 | ovs_bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 459 | ovs_type: OVSPort |
| 460 | proto: manual |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 461 | slaves: eno2 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 462 | type: bond |
| 463 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 464 | - eno2 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 465 | require_interfaces: |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 466 | - eno2 |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 467 | br_floating: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 468 | enabled: true |
| 469 | type: ovs_bridge |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 470 | br_floating.2417: |
| 471 | address: 172.17.42.136 |
| 472 | netmask: 255.255.255.192 |
| 473 | enabled: true |
| 474 | proto: static |
| 475 | type: vlan |
| 476 | br_prv: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 477 | enabled: true |
| 478 | type: ovs_bridge |
| 479 | br_ctl: |
| 480 | address: ${_param:_esc}{_param:single_address} |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 481 | bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 482 | enabled: true |
| 483 | netmask: 255.255.255.0 |
| 484 | ovs_options: tag=2416 |
| 485 | proto: static |
| 486 | type: ovs_port |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 487 | floating_to_prv: |
| 488 | bridge: br_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 489 | enabled: true |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 490 | peer: prv_to_floating |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 491 | port_type: patch |
| 492 | type: ovs_port |
| 493 | primary_first_nic: |
| 494 | enabled: true |
| 495 | master: bond0 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 496 | name: eno2 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 497 | proto: manual |
| 498 | type: slave |
| 499 | ipflush_onchange: true |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 500 | prv_to_floating: |
| 501 | bridge: br_prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 502 | enabled: true |
Oleksii Butenko | d8438bd | 2017-08-23 17:11:42 +0300 | [diff] [blame^] | 503 | peer: floating_to_prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 504 | port_type: patch |
| 505 | type: ovs_port |
| 506 | |
| 507 | classes: |
| 508 | - environment.lab03_ovs_dpdk.common |