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: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 220 | dpdk0: |
| 221 | bond: dpdkbond1 |
| 222 | driver: igb_uio |
| 223 | enabled: true |
| 224 | n_rxq: 2 |
| 225 | name: enp5s0f1 |
| 226 | pci: '0000:05:00.1' |
| 227 | type: dpdk_ovs_port |
| 228 | dpdk1: |
| 229 | bond: dpdkbond1 |
| 230 | driver: igb_uio |
| 231 | enabled: true |
| 232 | n_rxq: 2 |
| 233 | name: enp5s0f2 |
| 234 | pci: '0000:05:00.2' |
| 235 | type: dpdk_ovs_port |
| 236 | dpdkbond1: |
Oleksii Butenko | d58038c | 2017-09-01 16:57:45 +0300 | [diff] [blame] | 237 | bridge: br-prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 238 | enabled: true |
| 239 | mode: active-backup |
| 240 | type: dpdk_ovs_bond |
Oleksii Butenko | 8419aa7 | 2017-09-05 11:18:24 +0300 | [diff] [blame] | 241 | br-prv: |
| 242 | address: ${_param:_esc}{_param:tenant_address} |
| 243 | enabled: true |
| 244 | netmask: 255.255.255.0 |
| 245 | type: dpdk_ovs_bridge |
| 246 | iface1: |
| 247 | enabled: true |
| 248 | master: bond0 |
| 249 | name: enp3s0f1 |
| 250 | proto: manual |
| 251 | type: slave |
| 252 | ipflush_onchange: true |
| 253 | iface2: |
| 254 | enabled: true |
| 255 | master: bond0 |
| 256 | name: enp5s0f0 |
| 257 | proto: manual |
| 258 | type: slave |
| 259 | ipflush_onchange: true |
| 260 | bond0: |
| 261 | enabled: true |
| 262 | mode: active-backup |
| 263 | proto: manual |
| 264 | slaves: enp3s0f1 enp5s0f0 |
| 265 | type: bond |
| 266 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 267 | - enp3s0f1 |
| 268 | - enp5s0f0 |
| 269 | require_interfaces: |
| 270 | - enp3s0f1 |
| 271 | - enp5s0f0 |
| 272 | bond0.2416: |
| 273 | enabled: true |
| 274 | proto: manual |
| 275 | type: vlan |
| 276 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 277 | - bond0 |
| 278 | require_interfaces: |
| 279 | - bond0 |
| 280 | br_ctl: |
| 281 | address: ${_param:_esc}{_param:control_address} |
| 282 | enabled: true |
| 283 | netmask: 255.255.255.0 |
| 284 | proto: static |
| 285 | type: bridge |
| 286 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 287 | - bond0.2416 |
| 288 | require_interfaces: |
| 289 | - bond0.2416 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 290 | |
| 291 | classes: |
| 292 | - environment.lab03_ovs_dpdk.common |
| 293 | |
| 294 | openstack_compute_node02: |
| 295 | params: |
| 296 | # Use interfaces configuration from the context file, |
| 297 | # or generate your own 'linux.network.interface' object using |
| 298 | # additional inventory. |
| 299 | # For example, you can take the 'inventory_node_name' and find it's config |
| 300 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 301 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 302 | linux_network_interfaces: |
| 303 | eth1: |
| 304 | enabled: true |
| 305 | master: bond0 |
| 306 | name: eth0 |
| 307 | proto: manual |
| 308 | type: slave |
| 309 | ipflush_onchange: true |
| 310 | # eth2: |
| 311 | # enabled: true |
| 312 | # master: bond0 |
| 313 | # name: eth3 |
| 314 | # proto: manual |
| 315 | # type: slave |
| 316 | # ipflush_onchange: true |
| 317 | bond0: |
| 318 | enabled: true |
| 319 | mode: active-backup |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 320 | proto: manual |
| 321 | # slaves: eth0 eth3 |
| 322 | slaves: eth0 |
| 323 | type: bond |
| 324 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 325 | - eth0 |
| 326 | # - eth3 |
| 327 | require_interfaces: |
| 328 | - eth0 |
| 329 | # - eth3 |
| 330 | bond0.2416: |
| 331 | enabled: true |
| 332 | proto: manual |
| 333 | type: vlan |
| 334 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 335 | - bond0 |
| 336 | require_interfaces: |
| 337 | - bond0 |
Oleksii Butenko | d58038c | 2017-09-01 16:57:45 +0300 | [diff] [blame] | 338 | br-prv: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 339 | address: ${_param:_esc}{_param:tenant_address} |
| 340 | enabled: true |
| 341 | netmask: 255.255.255.0 |
| 342 | type: dpdk_ovs_bridge |
| 343 | br_ctl: |
| 344 | address: ${_param:_esc}{_param:control_address} |
| 345 | enabled: true |
| 346 | netmask: 255.255.255.0 |
| 347 | proto: static |
| 348 | type: bridge |
| 349 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 350 | - bond0.2416 |
| 351 | require_interfaces: |
| 352 | - bond0.2416 |
| 353 | dpdk0: |
| 354 | bond: dpdkbond1 |
| 355 | driver: igb_uio |
| 356 | enabled: true |
| 357 | n_rxq: 2 |
| 358 | name: eth2 |
| 359 | pci: '0000:05:00.1' |
| 360 | type: dpdk_ovs_port |
| 361 | dpdk1: |
| 362 | bond: dpdkbond1 |
| 363 | driver: igb_uio |
| 364 | enabled: true |
| 365 | n_rxq: 2 |
| 366 | name: eth4 |
| 367 | pci: 0000:0b:00.0 |
| 368 | type: dpdk_ovs_port |
| 369 | dpdkbond1: |
Oleksii Butenko | d58038c | 2017-09-01 16:57:45 +0300 | [diff] [blame] | 370 | bridge: br-prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 371 | enabled: true |
| 372 | mode: active-backup |
| 373 | type: dpdk_ovs_bond |
| 374 | |
| 375 | classes: |
| 376 | - environment.lab03_ovs_dpdk.common |
| 377 | |
| 378 | openstack_gateway_node01: |
| 379 | params: |
| 380 | # Use interfaces configuration from the context file, |
| 381 | # or generate your own 'linux.network.interface' object using |
| 382 | # additional inventory. |
| 383 | # For example, you can take the 'inventory_node_name' and find it's config |
| 384 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 385 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 386 | linux_network_interfaces: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 387 | primary_first_nic: |
| 388 | enabled: true |
| 389 | master: bond0 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 390 | name: enp3s0f1 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 391 | proto: manual |
| 392 | type: slave |
| 393 | ipflush_onchange: true |
Oleksii Butenko | 8419aa7 | 2017-09-05 11:18:24 +0300 | [diff] [blame] | 394 | bond0: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 395 | enabled: true |
Oleksii Butenko | 8419aa7 | 2017-09-05 11:18:24 +0300 | [diff] [blame] | 396 | mode: active-backup |
| 397 | proto: manual |
| 398 | slaves: enp3s0f1 |
| 399 | type: bond |
| 400 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 401 | - enp3s0f1 |
| 402 | require_interfaces: |
| 403 | - enp3s0f1 |
| 404 | bond0.2416: |
| 405 | enabled: true |
| 406 | proto: manual |
| 407 | type: vlan |
| 408 | use_interfaces: |
| 409 | - bond0 |
| 410 | bond0.2417: |
| 411 | enabled: true |
| 412 | proto: manual |
| 413 | type: vlan |
| 414 | use_interfaces: |
| 415 | - bond0 |
| 416 | |
| 417 | br_ctl: |
| 418 | enabled: true |
| 419 | proto: static |
| 420 | type: bridge |
| 421 | address: ${_param:_esc}{_param:single_address} |
| 422 | netmask: 255.255.255.0 |
| 423 | use_interfaces: |
| 424 | - bond0.2416 |
| 425 | |
| 426 | br-floating: |
| 427 | enabled: true |
| 428 | type: ovs_bridge |
| 429 | br-ex: |
| 430 | enabled: true |
| 431 | proto: static |
| 432 | type: bridge |
| 433 | address: 172.17.42.135 |
| 434 | netmask: 255.255.255.192 |
| 435 | gateway: 172.17.42.129 |
| 436 | use_interfaces: |
| 437 | - bond0.2417 |
| 438 | use_ovs_ports: |
| 439 | - float-to-ex |
| 440 | float-to-ex: |
| 441 | enabled: true |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 442 | type: ovs_port |
Oleksii Butenko | 8419aa7 | 2017-09-05 11:18:24 +0300 | [diff] [blame] | 443 | bridge: br-floating |
| 444 | |
| 445 | br-prv: |
| 446 | enabled: true |
| 447 | type: ovs_bridge |
| 448 | br_ten: |
| 449 | enabled: true |
| 450 | proto: manual |
| 451 | type: bridge |
| 452 | use_interfaces: |
| 453 | - bond0 |
| 454 | use_ovs_ports: |
| 455 | - prv-to-tenant |
| 456 | prv-to-tenant: |
| 457 | enabled: true |
| 458 | type: ovs_port |
| 459 | bridge: br-prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 460 | |
| 461 | classes: |
| 462 | - environment.lab03_ovs_dpdk.common |
| 463 | |
| 464 | openstack_gateway_node02: |
| 465 | params: |
| 466 | # Use interfaces configuration from the context file, |
| 467 | # or generate your own 'linux.network.interface' object using |
| 468 | # additional inventory. |
| 469 | # For example, you can take the 'inventory_node_name' and find it's config |
| 470 | # in an additional dict inventory[inventory_node_name] loaded from custom_inventory.yaml, |
| 471 | # or skip the original context from 'cookiecutter' object and iterate only custom inventory. |
| 472 | linux_network_interfaces: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 473 | primary_first_nic: |
| 474 | enabled: true |
| 475 | master: bond0 |
Dennis Dmitriev | 0b35429 | 2017-08-21 17:22:33 +0300 | [diff] [blame] | 476 | name: eno2 |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 477 | proto: manual |
| 478 | type: slave |
| 479 | ipflush_onchange: true |
Oleksii Butenko | 8419aa7 | 2017-09-05 11:18:24 +0300 | [diff] [blame] | 480 | bond0: |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 481 | enabled: true |
Oleksii Butenko | 8419aa7 | 2017-09-05 11:18:24 +0300 | [diff] [blame] | 482 | mode: active-backup |
| 483 | proto: manual |
| 484 | slaves: eno2 |
| 485 | type: bond |
| 486 | use_interfaces: # Remove 'use_interfaces' after https://gerrit.mcp.mirantis.net/#/c/8344 |
| 487 | - eno2 |
| 488 | require_interfaces: |
| 489 | - eno2 |
| 490 | bond0.2416: |
| 491 | enabled: true |
| 492 | proto: manual |
| 493 | type: vlan |
| 494 | use_interfaces: |
| 495 | - bond0 |
| 496 | bond0.2417: |
| 497 | enabled: true |
| 498 | proto: manual |
| 499 | type: vlan |
| 500 | use_interfaces: |
| 501 | - bond0 |
| 502 | |
| 503 | br_ctl: |
| 504 | enabled: true |
| 505 | proto: static |
| 506 | type: bridge |
| 507 | address: ${_param:_esc}{_param:single_address} |
| 508 | netmask: 255.255.255.0 |
| 509 | use_interfaces: |
| 510 | - bond0.2416 |
| 511 | |
| 512 | br-floating: |
| 513 | enabled: true |
| 514 | type: ovs_bridge |
| 515 | br-ex: |
| 516 | enabled: true |
| 517 | proto: static |
| 518 | type: bridge |
| 519 | address: 172.17.42.136 |
| 520 | netmask: 255.255.255.192 |
| 521 | gateway: 172.17.42.129 |
| 522 | use_interfaces: |
| 523 | - bond0.2417 |
| 524 | use_ovs_ports: |
| 525 | - float-to-ex |
| 526 | float-to-ex: |
| 527 | enabled: true |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 528 | type: ovs_port |
Oleksii Butenko | 8419aa7 | 2017-09-05 11:18:24 +0300 | [diff] [blame] | 529 | bridge: br-floating |
| 530 | |
| 531 | br-prv: |
| 532 | enabled: true |
| 533 | type: ovs_bridge |
| 534 | br_ten: |
| 535 | enabled: true |
| 536 | proto: manual |
| 537 | type: bridge |
| 538 | use_interfaces: |
| 539 | - bond0 |
| 540 | use_ovs_ports: |
| 541 | - prv-to-tenant |
| 542 | prv-to-tenant: |
| 543 | enabled: true |
| 544 | type: ovs_port |
| 545 | bridge: br-prv |
Dennis Dmitriev | 510e65c | 2017-08-12 12:50:36 +0300 | [diff] [blame] | 546 | |
| 547 | classes: |
| 548 | - environment.lab03_ovs_dpdk.common |