Oleksii Butenko | 87d00c0 | 2018-09-05 19:11:17 +0300 | [diff] [blame] | 1 | # Set the repository suite, one of the: 'nightly', 'testing', 'stable', or any other required |
| 2 | {% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %} |
| 3 | |
| 4 | {% import 'cookied-mcp-queens-ovs/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 5 | {% import 'cookied-mcp-queens-ovs/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
| 6 | {% import 'cookied-mcp-queens-ovs/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %} |
| 7 | |
| 8 | --- |
| 9 | aliases: |
| 10 | - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }} |
| 11 | - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }} |
| 12 | - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }} |
| 13 | - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }} |
| 14 | |
| 15 | {% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-queens-ovs') %} |
| 16 | {% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %} |
| 17 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %} |
| 18 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %} |
| 19 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %} |
| 20 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %} |
Oleksii Butenko | 0d68279 | 2018-09-11 18:48:05 +0300 | [diff] [blame] | 21 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp1.' + DOMAIN_NAME) %} |
| 22 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp2.' + DOMAIN_NAME) %} |
Oleksii Butenko | 87d00c0 | 2018-09-05 19:11:17 +0300 | [diff] [blame] | 23 | {% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %} |
| 24 | {% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %} |
| 25 | {% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %} |
| 26 | {% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %} |
| 27 | {% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %} |
| 28 | {% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %} |
| 29 | {% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %} |
| 30 | {% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %} |
| 31 | {% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %} |
| 32 | {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %} |
| 33 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
| 34 | |
| 35 | template: |
| 36 | devops_settings: |
| 37 | env_name: {{ os_env('ENV_NAME', 'cookied-mcp-queens-ovs_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 38 | |
| 39 | address_pools: |
| 40 | private-pool01: |
| 41 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 42 | params: |
| 43 | ip_reserved: |
| 44 | gateway: +1 |
| 45 | l2_network_device: +1 |
| 46 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 47 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 48 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 49 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 50 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 51 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 52 | default_{{ HOSTNAME_MON01 }}: +71 |
| 53 | default_{{ HOSTNAME_MON02 }}: +72 |
| 54 | default_{{ HOSTNAME_MON03 }}: +73 |
| 55 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 56 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 57 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 58 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 59 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 60 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 61 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 62 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 63 | ip_ranges: |
| 64 | dhcp: [+90, -10] |
| 65 | |
| 66 | admin-pool01: |
| 67 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 68 | params: |
| 69 | ip_reserved: |
| 70 | gateway: +1 |
| 71 | l2_network_device: +1 |
| 72 | default_{{ HOSTNAME_CFG01 }}: +90 |
| 73 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 74 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 75 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 76 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 77 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 78 | default_{{ HOSTNAME_MON01 }}: +71 |
| 79 | default_{{ HOSTNAME_MON02 }}: +72 |
| 80 | default_{{ HOSTNAME_MON03 }}: +73 |
| 81 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 82 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 83 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 84 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 85 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 86 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 87 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 88 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 89 | ip_ranges: |
| 90 | dhcp: [+90, -10] |
| 91 | |
| 92 | tenant-pool01: |
| 93 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 94 | params: |
| 95 | ip_reserved: |
| 96 | gateway: +1 |
| 97 | l2_network_device: +1 |
| 98 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 99 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 100 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 101 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 102 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 103 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 104 | default_{{ HOSTNAME_MON01 }}: +71 |
| 105 | default_{{ HOSTNAME_MON02 }}: +72 |
| 106 | default_{{ HOSTNAME_MON03 }}: +73 |
| 107 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 108 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 109 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 110 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 111 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 112 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 113 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 114 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 115 | ip_ranges: |
| 116 | dhcp: [+10, -10] |
| 117 | |
| 118 | external-pool01: |
| 119 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 120 | params: |
| 121 | ip_reserved: |
| 122 | gateway: +1 |
| 123 | l2_network_device: +1 |
| 124 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 125 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 126 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 127 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 128 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 129 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 130 | default_{{ HOSTNAME_MON01 }}: +71 |
| 131 | default_{{ HOSTNAME_MON02 }}: +72 |
| 132 | default_{{ HOSTNAME_MON03 }}: +73 |
| 133 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 134 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 135 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 136 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 137 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 138 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 139 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 140 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 141 | ip_ranges: |
| 142 | dhcp: [+10, -10] |
| 143 | |
| 144 | |
| 145 | groups: |
| 146 | - name: default |
| 147 | driver: |
| 148 | name: devops.driver.libvirt |
| 149 | params: |
| 150 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 151 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 152 | stp: False |
| 153 | hpet: False |
| 154 | enable_acpi: true |
| 155 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 156 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
| 157 | |
| 158 | network_pools: |
| 159 | admin: admin-pool01 |
| 160 | private: private-pool01 |
| 161 | tenant: tenant-pool01 |
| 162 | external: external-pool01 |
| 163 | |
| 164 | l2_network_devices: |
| 165 | private: |
| 166 | address_pool: private-pool01 |
| 167 | dhcp: false |
| 168 | forward: |
| 169 | mode: route |
| 170 | |
| 171 | admin: |
| 172 | address_pool: admin-pool01 |
| 173 | dhcp: true |
| 174 | forward: |
| 175 | mode: nat |
| 176 | |
| 177 | tenant: |
| 178 | address_pool: tenant-pool01 |
| 179 | dhcp: false |
| 180 | |
| 181 | external: |
| 182 | address_pool: external-pool01 |
| 183 | dhcp: false |
| 184 | forward: |
| 185 | mode: route |
| 186 | |
| 187 | |
| 188 | group_volumes: |
| 189 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 190 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img |
| 191 | format: qcow2 |
| 192 | - name: cfg01_day01_image # Pre-configured day01 image |
| 193 | source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604 |
| 194 | format: qcow2 |
| 195 | - name: mcp_ubuntu_1604_image # Pre-configured image for control plane |
| 196 | source_image: !os_env MCP_IMAGE_PATH1604 |
| 197 | format: qcow2 |
| 198 | |
| 199 | nodes: |
| 200 | - name: {{ HOSTNAME_CFG01 }} |
| 201 | role: salt_master |
| 202 | params: |
| 203 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 204 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 205 | boot: |
| 206 | - hd |
| 207 | cloud_init_volume_name: iso |
| 208 | cloud_init_iface_up: ens3 |
| 209 | volumes: |
| 210 | - name: system |
| 211 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 212 | backing_store: cfg01_day01_image |
| 213 | format: qcow2 |
| 214 | - name: iso # Volume with name 'iso' will be used |
| 215 | # for store image with cloud-init metadata. |
| 216 | capacity: 1 |
| 217 | format: raw |
| 218 | device: cdrom |
| 219 | bus: ide |
| 220 | cloudinit_meta_data: *cloudinit_meta_data |
| 221 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 222 | |
| 223 | interfaces: |
| 224 | - label: ens3 |
| 225 | l2_network_device: admin |
| 226 | interface_model: *interface_model |
| 227 | - label: ens4 |
| 228 | l2_network_device: private |
| 229 | interface_model: *interface_model |
| 230 | network_config: |
| 231 | ens3: |
| 232 | networks: |
| 233 | - admin |
| 234 | ens4: |
| 235 | networks: |
| 236 | - private |
| 237 | |
| 238 | - name: {{ HOSTNAME_CTL01 }} |
| 239 | role: salt_minion |
| 240 | params: |
| 241 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 242 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 243 | boot: |
| 244 | - hd |
| 245 | cloud_init_volume_name: iso |
| 246 | cloud_init_iface_up: ens3 |
| 247 | volumes: |
| 248 | - name: system |
| 249 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 250 | backing_store: mcp_ubuntu_1604_image |
| 251 | format: qcow2 |
| 252 | - name: cinder |
| 253 | capacity: 50 |
| 254 | format: qcow2 |
| 255 | - name: iso # Volume with name 'iso' will be used |
| 256 | # for store image with cloud-init metadata. |
| 257 | capacity: 1 |
| 258 | format: raw |
| 259 | device: cdrom |
| 260 | bus: ide |
| 261 | cloudinit_meta_data: *cloudinit_meta_data |
| 262 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 263 | |
| 264 | interfaces: &interfaces |
| 265 | - label: ens3 |
| 266 | l2_network_device: admin |
| 267 | interface_model: *interface_model |
| 268 | - label: ens4 |
| 269 | l2_network_device: private |
| 270 | interface_model: *interface_model |
| 271 | network_config: &network_config |
| 272 | ens3: |
| 273 | networks: |
| 274 | - admin |
| 275 | ens4: |
| 276 | networks: |
| 277 | - private |
| 278 | |
| 279 | - name: {{ HOSTNAME_CTL02 }} |
| 280 | role: salt_minion |
| 281 | params: |
| 282 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 283 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 284 | boot: |
| 285 | - hd |
| 286 | cloud_init_volume_name: iso |
| 287 | cloud_init_iface_up: ens3 |
| 288 | volumes: |
| 289 | - name: system |
| 290 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 291 | backing_store: mcp_ubuntu_1604_image |
| 292 | format: qcow2 |
| 293 | - name: cinder |
| 294 | capacity: 50 |
| 295 | format: qcow2 |
| 296 | - name: iso # Volume with name 'iso' will be used |
| 297 | # for store image with cloud-init metadata. |
| 298 | capacity: 1 |
| 299 | format: raw |
| 300 | device: cdrom |
| 301 | bus: ide |
| 302 | cloudinit_meta_data: *cloudinit_meta_data |
| 303 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 304 | |
| 305 | interfaces: *interfaces |
| 306 | network_config: *network_config |
| 307 | |
| 308 | - name: {{ HOSTNAME_CTL03 }} |
| 309 | role: salt_minion |
| 310 | params: |
| 311 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 312 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 313 | boot: |
| 314 | - hd |
| 315 | cloud_init_volume_name: iso |
| 316 | cloud_init_iface_up: ens3 |
| 317 | volumes: |
| 318 | - name: system |
| 319 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 320 | backing_store: mcp_ubuntu_1604_image |
| 321 | format: qcow2 |
| 322 | - name: cinder |
| 323 | capacity: 50 |
| 324 | format: qcow2 |
| 325 | - name: iso # Volume with name 'iso' will be used |
| 326 | # for store image with cloud-init metadata. |
| 327 | capacity: 1 |
| 328 | format: raw |
| 329 | device: cdrom |
| 330 | bus: ide |
| 331 | cloudinit_meta_data: *cloudinit_meta_data |
| 332 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 333 | |
| 334 | interfaces: *interfaces |
| 335 | network_config: *network_config |
| 336 | |
| 337 | - name: {{ HOSTNAME_MON01 }} |
| 338 | role: salt_minion |
| 339 | params: |
| 340 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 341 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 342 | boot: |
| 343 | - hd |
| 344 | cloud_init_volume_name: iso |
| 345 | cloud_init_iface_up: ens3 |
| 346 | volumes: |
| 347 | - name: system |
| 348 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 349 | backing_store: mcp_ubuntu_1604_image |
| 350 | format: qcow2 |
| 351 | - name: iso # Volume with name 'iso' will be used |
| 352 | # for store image with cloud-init metadata. |
| 353 | capacity: 1 |
| 354 | format: raw |
| 355 | device: cdrom |
| 356 | bus: ide |
| 357 | cloudinit_meta_data: *cloudinit_meta_data |
| 358 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 359 | |
| 360 | interfaces: *interfaces |
| 361 | network_config: *network_config |
| 362 | |
| 363 | - name: {{ HOSTNAME_MON02 }} |
| 364 | role: salt_minion |
| 365 | params: |
| 366 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 367 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 368 | boot: |
| 369 | - hd |
| 370 | cloud_init_volume_name: iso |
| 371 | cloud_init_iface_up: ens3 |
| 372 | volumes: |
| 373 | - name: system |
| 374 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 375 | backing_store: mcp_ubuntu_1604_image |
| 376 | format: qcow2 |
| 377 | - name: iso # Volume with name 'iso' will be used |
| 378 | # for store image with cloud-init metadata. |
| 379 | capacity: 1 |
| 380 | format: raw |
| 381 | device: cdrom |
| 382 | bus: ide |
| 383 | cloudinit_meta_data: *cloudinit_meta_data |
| 384 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 385 | |
| 386 | interfaces: *interfaces |
| 387 | network_config: *network_config |
| 388 | |
| 389 | - name: {{ HOSTNAME_MON03 }} |
| 390 | role: salt_minion |
| 391 | params: |
| 392 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 393 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 394 | boot: |
| 395 | - hd |
| 396 | cloud_init_volume_name: iso |
| 397 | cloud_init_iface_up: ens3 |
| 398 | volumes: |
| 399 | - name: system |
| 400 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 401 | backing_store: mcp_ubuntu_1604_image |
| 402 | format: qcow2 |
| 403 | - name: iso # Volume with name 'iso' will be used |
| 404 | # for store image with cloud-init metadata. |
| 405 | capacity: 1 |
| 406 | format: raw |
| 407 | device: cdrom |
| 408 | bus: ide |
| 409 | cloudinit_meta_data: *cloudinit_meta_data |
| 410 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 411 | |
| 412 | interfaces: *interfaces |
| 413 | network_config: *network_config |
| 414 | |
| 415 | - name: {{ HOSTNAME_LOG01 }} |
| 416 | role: salt_minion |
| 417 | params: |
| 418 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 419 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 420 | boot: |
| 421 | - hd |
| 422 | cloud_init_volume_name: iso |
| 423 | cloud_init_iface_up: ens3 |
| 424 | volumes: |
| 425 | - name: system |
| 426 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 427 | backing_store: mcp_ubuntu_1604_image |
| 428 | format: qcow2 |
| 429 | - name: iso # Volume with name 'iso' will be used |
| 430 | # for store image with cloud-init metadata. |
| 431 | capacity: 1 |
| 432 | format: raw |
| 433 | device: cdrom |
| 434 | bus: ide |
| 435 | cloudinit_meta_data: *cloudinit_meta_data |
| 436 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 437 | |
| 438 | interfaces: *interfaces |
| 439 | network_config: *network_config |
| 440 | |
| 441 | - name: {{ HOSTNAME_LOG02 }} |
| 442 | role: salt_minion |
| 443 | params: |
| 444 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 445 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 446 | boot: |
| 447 | - hd |
| 448 | cloud_init_volume_name: iso |
| 449 | cloud_init_iface_up: ens3 |
| 450 | volumes: |
| 451 | - name: system |
| 452 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 453 | backing_store: mcp_ubuntu_1604_image |
| 454 | format: qcow2 |
| 455 | - name: iso # Volume with name 'iso' will be used |
| 456 | # for store image with cloud-init metadata. |
| 457 | capacity: 1 |
| 458 | format: raw |
| 459 | device: cdrom |
| 460 | bus: ide |
| 461 | cloudinit_meta_data: *cloudinit_meta_data |
| 462 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 463 | |
| 464 | interfaces: *interfaces |
| 465 | network_config: *network_config |
| 466 | |
| 467 | - name: {{ HOSTNAME_LOG03 }} |
| 468 | role: salt_minion |
| 469 | params: |
| 470 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 471 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 472 | boot: |
| 473 | - hd |
| 474 | cloud_init_volume_name: iso |
| 475 | cloud_init_iface_up: ens3 |
| 476 | volumes: |
| 477 | - name: system |
| 478 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 479 | backing_store: mcp_ubuntu_1604_image |
| 480 | format: qcow2 |
| 481 | - name: iso # Volume with name 'iso' will be used |
| 482 | # for store image with cloud-init metadata. |
| 483 | capacity: 1 |
| 484 | format: raw |
| 485 | device: cdrom |
| 486 | bus: ide |
| 487 | cloudinit_meta_data: *cloudinit_meta_data |
| 488 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 489 | |
| 490 | interfaces: *interfaces |
| 491 | network_config: *network_config |
| 492 | |
| 493 | - name: {{ HOSTNAME_MTR01 }} |
| 494 | role: salt_minion |
| 495 | params: |
| 496 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 497 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 498 | boot: |
| 499 | - hd |
| 500 | cloud_init_volume_name: iso |
| 501 | cloud_init_iface_up: ens3 |
| 502 | volumes: |
| 503 | - name: system |
| 504 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 505 | backing_store: mcp_ubuntu_1604_image |
| 506 | format: qcow2 |
| 507 | - name: iso # Volume with name 'iso' will be used |
| 508 | # for store image with cloud-init metadata. |
| 509 | capacity: 1 |
| 510 | format: raw |
| 511 | device: cdrom |
| 512 | bus: ide |
| 513 | cloudinit_meta_data: *cloudinit_meta_data |
| 514 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 515 | |
| 516 | interfaces: *interfaces |
| 517 | network_config: *network_config |
| 518 | |
| 519 | - name: {{ HOSTNAME_MTR02 }} |
| 520 | role: salt_minion |
| 521 | params: |
| 522 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 523 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 524 | boot: |
| 525 | - hd |
| 526 | cloud_init_volume_name: iso |
| 527 | cloud_init_iface_up: ens3 |
| 528 | volumes: |
| 529 | - name: system |
| 530 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 531 | backing_store: mcp_ubuntu_1604_image |
| 532 | format: qcow2 |
| 533 | - name: iso # Volume with name 'iso' will be used |
| 534 | # for store image with cloud-init metadata. |
| 535 | capacity: 1 |
| 536 | format: raw |
| 537 | device: cdrom |
| 538 | bus: ide |
| 539 | cloudinit_meta_data: *cloudinit_meta_data |
| 540 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 541 | |
| 542 | interfaces: *interfaces |
| 543 | network_config: *network_config |
| 544 | |
| 545 | - name: {{ HOSTNAME_MTR03 }} |
| 546 | role: salt_minion |
| 547 | params: |
| 548 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 549 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 550 | boot: |
| 551 | - hd |
| 552 | cloud_init_volume_name: iso |
| 553 | cloud_init_iface_up: ens3 |
| 554 | volumes: |
| 555 | - name: system |
| 556 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 557 | backing_store: mcp_ubuntu_1604_image |
| 558 | format: qcow2 |
| 559 | - name: iso # Volume with name 'iso' will be used |
| 560 | # for store image with cloud-init metadata. |
| 561 | capacity: 1 |
| 562 | format: raw |
| 563 | device: cdrom |
| 564 | bus: ide |
| 565 | cloudinit_meta_data: *cloudinit_meta_data |
| 566 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 567 | |
| 568 | interfaces: *interfaces |
| 569 | network_config: *network_config |
| 570 | |
| 571 | - name: {{ HOSTNAME_PRX01 }} |
| 572 | role: salt_minion |
| 573 | params: |
| 574 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 575 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 576 | boot: |
| 577 | - hd |
| 578 | cloud_init_volume_name: iso |
| 579 | cloud_init_iface_up: ens3 |
| 580 | volumes: |
| 581 | - name: system |
| 582 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 583 | backing_store: mcp_ubuntu_1604_image |
| 584 | format: qcow2 |
| 585 | - name: cinder |
| 586 | capacity: 50 |
| 587 | format: qcow2 |
| 588 | - name: iso # Volume with name 'iso' will be used |
| 589 | # for store image with cloud-init metadata. |
| 590 | capacity: 1 |
| 591 | format: raw |
| 592 | device: cdrom |
| 593 | bus: ide |
| 594 | cloudinit_meta_data: *cloudinit_meta_data |
| 595 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 596 | |
| 597 | interfaces: *interfaces |
| 598 | network_config: *network_config |
| 599 | |
| 600 | - name: {{ HOSTNAME_CMP01 }} |
| 601 | role: salt_minion |
| 602 | params: |
| 603 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 604 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 605 | boot: |
| 606 | - hd |
| 607 | cloud_init_volume_name: iso |
| 608 | cloud_init_iface_up: ens3 |
| 609 | volumes: |
| 610 | - name: system |
| 611 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 612 | backing_store: cloudimage1604 |
| 613 | format: qcow2 |
| 614 | - name: iso # Volume with name 'iso' will be used |
| 615 | # for store image with cloud-init metadata. |
| 616 | capacity: 1 |
| 617 | format: raw |
| 618 | device: cdrom |
| 619 | bus: ide |
| 620 | cloudinit_meta_data: *cloudinit_meta_data |
| 621 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 622 | |
| 623 | |
| 624 | interfaces: &all_interfaces |
| 625 | - label: ens3 |
| 626 | l2_network_device: admin |
| 627 | interface_model: *interface_model |
| 628 | - label: ens4 |
| 629 | l2_network_device: private |
| 630 | interface_model: *interface_model |
| 631 | - label: ens5 |
| 632 | l2_network_device: tenant |
| 633 | interface_model: *interface_model |
| 634 | - label: ens6 |
| 635 | l2_network_device: external |
| 636 | interface_model: *interface_model |
| 637 | network_config: &all_network_config |
| 638 | ens3: |
| 639 | networks: |
| 640 | - admin |
| 641 | ens4: |
| 642 | networks: |
| 643 | - private |
| 644 | ens5: |
| 645 | networks: |
| 646 | - tenant |
| 647 | ens6: |
| 648 | networks: |
| 649 | - external |
| 650 | |
| 651 | - name: {{ HOSTNAME_CMP02 }} |
| 652 | role: salt_minion |
| 653 | params: |
| 654 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 655 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 656 | boot: |
| 657 | - hd |
| 658 | cloud_init_volume_name: iso |
| 659 | cloud_init_iface_up: ens3 |
| 660 | volumes: |
| 661 | - name: system |
| 662 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 663 | backing_store: cloudimage1604 |
| 664 | format: qcow2 |
| 665 | - name: iso # Volume with name 'iso' will be used |
| 666 | # for store image with cloud-init metadata. |
| 667 | capacity: 1 |
| 668 | format: raw |
| 669 | device: cdrom |
| 670 | bus: ide |
| 671 | cloudinit_meta_data: *cloudinit_meta_data |
| 672 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 673 | |
| 674 | interfaces: *all_interfaces |
| 675 | network_config: *all_network_config |
| 676 | |
| 677 | - name: {{ HOSTNAME_GTW01 }} |
| 678 | role: salt_minion |
| 679 | params: |
| 680 | vcpu: !os_env SLAVE_NODE_CPU, 4 |
| 681 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 682 | boot: |
| 683 | - hd |
| 684 | cloud_init_volume_name: iso |
| 685 | cloud_init_iface_up: ens3 |
| 686 | volumes: |
| 687 | - name: system |
| 688 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 689 | backing_store: cloudimage1604 |
| 690 | format: qcow2 |
| 691 | - name: iso # Volume with name 'iso' will be used |
| 692 | # for store image with cloud-init metadata. |
| 693 | capacity: 1 |
| 694 | format: raw |
| 695 | device: cdrom |
| 696 | bus: ide |
| 697 | cloudinit_meta_data: *cloudinit_meta_data |
| 698 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 699 | |
| 700 | interfaces: *all_interfaces |
| 701 | network_config: *all_network_config |