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