ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [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-mitaka-ovs/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 5 | {% import 'cookied-mcp-mitaka-ovs/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
| 6 | {% import 'cookied-mcp-mitaka-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-mitaka-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) %} |
| 21 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp01.' + DOMAIN_NAME) %} |
| 22 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp02.' + DOMAIN_NAME) %} |
| 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_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %} |
ibumarskov | 6a592b8 | 2018-06-25 15:39:39 +0400 | [diff] [blame] | 27 | {% set HOSTNAME_GTW02 = os_env('HOSTNAME_GTW02', 'gtw02.' + DOMAIN_NAME) %} |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 28 | {% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01.' + DOMAIN_NAME) %} |
| 29 | {% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02.' + DOMAIN_NAME) %} |
| 30 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
| 31 | |
| 32 | template: |
| 33 | devops_settings: |
| 34 | env_name: {{ os_env('ENV_NAME', 'cookied-mcp-mitaka-ovs_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 35 | |
| 36 | address_pools: |
| 37 | private-pool01: |
| 38 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 39 | params: |
| 40 | ip_reserved: |
| 41 | gateway: +1 |
| 42 | l2_network_device: +1 |
| 43 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 44 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 45 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 46 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 47 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 48 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 49 | default_{{ HOSTNAME_MON01 }}: +71 |
| 50 | default_{{ HOSTNAME_MON02 }}: +72 |
| 51 | default_{{ HOSTNAME_MON03 }}: +73 |
ibumarskov | c075df8 | 2018-07-30 13:23:07 +0400 | [diff] [blame] | 52 | default_{{ HOSTNAME_GTW01 }}: +110 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 53 | default_{{ HOSTNAME_DNS01 }}: +111 |
| 54 | default_{{ HOSTNAME_DNS02 }}: +112 |
| 55 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 56 | ip_ranges: |
| 57 | dhcp: [+90, -10] |
| 58 | |
| 59 | admin-pool01: |
| 60 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 61 | params: |
| 62 | ip_reserved: |
| 63 | gateway: +1 |
| 64 | l2_network_device: +1 |
| 65 | default_{{ HOSTNAME_CFG01 }}: +90 |
| 66 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 67 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 68 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 69 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 70 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 71 | default_{{ HOSTNAME_MON01 }}: +71 |
| 72 | default_{{ HOSTNAME_MON02 }}: +72 |
| 73 | default_{{ HOSTNAME_MON03 }}: +73 |
ibumarskov | c075df8 | 2018-07-30 13:23:07 +0400 | [diff] [blame] | 74 | default_{{ HOSTNAME_GTW01 }}: +110 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 75 | default_{{ HOSTNAME_DNS01 }}: +111 |
| 76 | default_{{ HOSTNAME_DNS02 }}: +112 |
| 77 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 78 | ip_ranges: |
| 79 | dhcp: [+90, -10] |
| 80 | |
| 81 | tenant-pool01: |
| 82 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 83 | params: |
| 84 | ip_reserved: |
| 85 | gateway: +1 |
| 86 | l2_network_device: +1 |
| 87 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 88 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 89 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 90 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 91 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 92 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 93 | default_{{ HOSTNAME_MON01 }}: +71 |
| 94 | default_{{ HOSTNAME_MON02 }}: +72 |
| 95 | default_{{ HOSTNAME_MON03 }}: +73 |
ibumarskov | c075df8 | 2018-07-30 13:23:07 +0400 | [diff] [blame] | 96 | default_{{ HOSTNAME_GTW01 }}: +110 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 97 | default_{{ HOSTNAME_DNS01 }}: +111 |
| 98 | default_{{ HOSTNAME_DNS02 }}: +112 |
| 99 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 100 | ip_ranges: |
| 101 | dhcp: [+10, -10] |
| 102 | |
| 103 | external-pool01: |
| 104 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 105 | params: |
| 106 | ip_reserved: |
| 107 | gateway: +1 |
| 108 | l2_network_device: +1 |
| 109 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 110 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 111 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 112 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 113 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 114 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 115 | default_{{ HOSTNAME_MON01 }}: +71 |
| 116 | default_{{ HOSTNAME_MON02 }}: +72 |
| 117 | default_{{ HOSTNAME_MON03 }}: +73 |
ibumarskov | c075df8 | 2018-07-30 13:23:07 +0400 | [diff] [blame] | 118 | default_{{ HOSTNAME_GTW01 }}: +110 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 119 | default_{{ HOSTNAME_DNS01 }}: +111 |
| 120 | default_{{ HOSTNAME_DNS02 }}: +112 |
| 121 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 122 | ip_ranges: |
| 123 | dhcp: [+10, -10] |
| 124 | |
| 125 | |
| 126 | groups: |
| 127 | - name: default |
| 128 | driver: |
| 129 | name: devops.driver.libvirt |
| 130 | params: |
| 131 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 132 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 133 | stp: False |
| 134 | hpet: False |
| 135 | enable_acpi: true |
| 136 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 137 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
| 138 | |
| 139 | network_pools: |
| 140 | admin: admin-pool01 |
| 141 | private: private-pool01 |
| 142 | tenant: tenant-pool01 |
| 143 | external: external-pool01 |
| 144 | |
| 145 | l2_network_devices: |
| 146 | private: |
| 147 | address_pool: private-pool01 |
| 148 | dhcp: false |
| 149 | forward: |
| 150 | mode: route |
| 151 | |
| 152 | admin: |
| 153 | address_pool: admin-pool01 |
| 154 | dhcp: true |
| 155 | forward: |
| 156 | mode: nat |
| 157 | |
| 158 | tenant: |
| 159 | address_pool: tenant-pool01 |
| 160 | dhcp: false |
| 161 | |
| 162 | external: |
| 163 | address_pool: external-pool01 |
| 164 | dhcp: false |
| 165 | forward: |
| 166 | mode: route |
| 167 | |
| 168 | |
| 169 | group_volumes: |
| 170 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 171 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img |
| 172 | format: qcow2 |
| 173 | - name: cfg01_day01_image # Pre-configured day01 image |
| 174 | source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604 |
| 175 | format: qcow2 |
| 176 | - name: mcp_ubuntu_1604_image # Pre-configured image for control plane |
| 177 | source_image: {{ os_env('MCP_IMAGE_PATH1604', os_env('IMAGE_PATH1604')) }} |
| 178 | format: qcow2 |
| 179 | |
| 180 | nodes: |
| 181 | - name: {{ HOSTNAME_CFG01 }} |
| 182 | role: salt_master |
| 183 | params: |
| 184 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 185 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 186 | boot: |
| 187 | - hd |
| 188 | cloud_init_volume_name: iso |
| 189 | cloud_init_iface_up: ens3 |
| 190 | volumes: |
| 191 | - name: system |
| 192 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 193 | backing_store: cfg01_day01_image |
| 194 | format: qcow2 |
| 195 | - name: iso # Volume with name 'iso' will be used |
| 196 | # for store image with cloud-init metadata. |
| 197 | capacity: 1 |
| 198 | format: raw |
| 199 | device: cdrom |
| 200 | bus: ide |
| 201 | cloudinit_meta_data: *cloudinit_meta_data |
| 202 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 203 | |
| 204 | interfaces: |
| 205 | - label: ens3 |
| 206 | l2_network_device: admin |
| 207 | interface_model: *interface_model |
| 208 | - label: ens4 |
| 209 | l2_network_device: private |
| 210 | interface_model: *interface_model |
| 211 | network_config: |
| 212 | ens3: |
| 213 | networks: |
| 214 | - admin |
| 215 | ens4: |
| 216 | networks: |
| 217 | - private |
| 218 | |
| 219 | - name: {{ HOSTNAME_CTL01 }} |
| 220 | role: salt_minion |
| 221 | params: |
| 222 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 223 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 224 | boot: |
| 225 | - hd |
| 226 | cloud_init_volume_name: iso |
| 227 | cloud_init_iface_up: ens3 |
| 228 | volumes: |
| 229 | - name: system |
| 230 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 231 | backing_store: mcp_ubuntu_1604_image |
| 232 | format: qcow2 |
| 233 | - name: cinder |
| 234 | capacity: 50 |
| 235 | format: qcow2 |
| 236 | - name: iso # Volume with name 'iso' will be used |
| 237 | # for store image with cloud-init metadata. |
| 238 | capacity: 1 |
| 239 | format: raw |
| 240 | device: cdrom |
| 241 | bus: ide |
| 242 | cloudinit_meta_data: *cloudinit_meta_data |
| 243 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 244 | |
| 245 | interfaces: &interfaces |
| 246 | - label: ens3 |
| 247 | l2_network_device: admin |
| 248 | interface_model: *interface_model |
| 249 | - label: ens4 |
| 250 | l2_network_device: private |
| 251 | interface_model: *interface_model |
| 252 | network_config: &network_config |
| 253 | ens3: |
| 254 | networks: |
| 255 | - admin |
| 256 | ens4: |
| 257 | networks: |
| 258 | - private |
| 259 | |
| 260 | - name: {{ HOSTNAME_CTL02 }} |
| 261 | role: salt_minion |
| 262 | params: |
| 263 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 264 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 265 | boot: |
| 266 | - hd |
| 267 | cloud_init_volume_name: iso |
| 268 | cloud_init_iface_up: ens3 |
| 269 | volumes: |
| 270 | - name: system |
| 271 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 272 | backing_store: mcp_ubuntu_1604_image |
| 273 | format: qcow2 |
| 274 | - name: cinder |
| 275 | capacity: 50 |
| 276 | format: qcow2 |
| 277 | - name: iso # Volume with name 'iso' will be used |
| 278 | # for store image with cloud-init metadata. |
| 279 | capacity: 1 |
| 280 | format: raw |
| 281 | device: cdrom |
| 282 | bus: ide |
| 283 | cloudinit_meta_data: *cloudinit_meta_data |
| 284 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 285 | |
| 286 | interfaces: *interfaces |
| 287 | network_config: *network_config |
| 288 | |
| 289 | - name: {{ HOSTNAME_CTL03 }} |
| 290 | role: salt_minion |
| 291 | params: |
| 292 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 293 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 294 | boot: |
| 295 | - hd |
| 296 | cloud_init_volume_name: iso |
| 297 | cloud_init_iface_up: ens3 |
| 298 | volumes: |
| 299 | - name: system |
| 300 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 301 | backing_store: mcp_ubuntu_1604_image |
| 302 | format: qcow2 |
| 303 | - name: cinder |
| 304 | capacity: 50 |
| 305 | format: qcow2 |
| 306 | - name: iso # Volume with name 'iso' will be used |
| 307 | # for store image with cloud-init metadata. |
| 308 | capacity: 1 |
| 309 | format: raw |
| 310 | device: cdrom |
| 311 | bus: ide |
| 312 | cloudinit_meta_data: *cloudinit_meta_data |
| 313 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 314 | |
| 315 | interfaces: *interfaces |
| 316 | network_config: *network_config |
| 317 | |
| 318 | - name: {{ HOSTNAME_MON01 }} |
| 319 | role: salt_minion |
| 320 | params: |
| 321 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 322 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 323 | boot: |
| 324 | - hd |
| 325 | cloud_init_volume_name: iso |
| 326 | cloud_init_iface_up: ens3 |
| 327 | volumes: |
| 328 | - name: system |
| 329 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 330 | backing_store: mcp_ubuntu_1604_image |
| 331 | format: qcow2 |
| 332 | - name: iso # Volume with name 'iso' will be used |
| 333 | # for store image with cloud-init metadata. |
| 334 | capacity: 1 |
| 335 | format: raw |
| 336 | device: cdrom |
| 337 | bus: ide |
| 338 | cloudinit_meta_data: *cloudinit_meta_data |
| 339 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 340 | |
| 341 | interfaces: *interfaces |
| 342 | network_config: *network_config |
| 343 | |
| 344 | - name: {{ HOSTNAME_MON02 }} |
| 345 | role: salt_minion |
| 346 | params: |
| 347 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 348 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 349 | boot: |
| 350 | - hd |
| 351 | cloud_init_volume_name: iso |
| 352 | cloud_init_iface_up: ens3 |
| 353 | volumes: |
| 354 | - name: system |
| 355 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 356 | backing_store: mcp_ubuntu_1604_image |
| 357 | format: qcow2 |
| 358 | - name: iso # Volume with name 'iso' will be used |
| 359 | # for store image with cloud-init metadata. |
| 360 | capacity: 1 |
| 361 | format: raw |
| 362 | device: cdrom |
| 363 | bus: ide |
| 364 | cloudinit_meta_data: *cloudinit_meta_data |
| 365 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 366 | |
| 367 | interfaces: *interfaces |
| 368 | network_config: *network_config |
| 369 | |
| 370 | - name: {{ HOSTNAME_MON03 }} |
| 371 | role: salt_minion |
| 372 | params: |
| 373 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 374 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 375 | boot: |
| 376 | - hd |
| 377 | cloud_init_volume_name: iso |
| 378 | cloud_init_iface_up: ens3 |
| 379 | volumes: |
| 380 | - name: system |
| 381 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 382 | backing_store: mcp_ubuntu_1604_image |
| 383 | format: qcow2 |
| 384 | - name: iso # Volume with name 'iso' will be used |
| 385 | # for store image with cloud-init metadata. |
| 386 | capacity: 1 |
| 387 | format: raw |
| 388 | device: cdrom |
| 389 | bus: ide |
| 390 | cloudinit_meta_data: *cloudinit_meta_data |
| 391 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 392 | |
| 393 | interfaces: *interfaces |
| 394 | network_config: *network_config |
| 395 | |
| 396 | - name: {{ HOSTNAME_PRX01 }} |
| 397 | role: salt_minion |
| 398 | params: |
| 399 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 400 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 401 | boot: |
| 402 | - hd |
| 403 | cloud_init_volume_name: iso |
| 404 | cloud_init_iface_up: ens3 |
| 405 | volumes: |
| 406 | - name: system |
| 407 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 408 | backing_store: mcp_ubuntu_1604_image |
| 409 | format: qcow2 |
| 410 | - name: cinder |
| 411 | capacity: 50 |
| 412 | format: qcow2 |
| 413 | - name: iso # Volume with name 'iso' will be used |
| 414 | # for store image with cloud-init metadata. |
| 415 | capacity: 1 |
| 416 | format: raw |
| 417 | device: cdrom |
| 418 | bus: ide |
| 419 | cloudinit_meta_data: *cloudinit_meta_data |
| 420 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 421 | |
| 422 | interfaces: *interfaces |
| 423 | network_config: *network_config |
| 424 | |
| 425 | - name: {{ HOSTNAME_CMP01 }} |
| 426 | role: salt_minion |
| 427 | params: |
| 428 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 429 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 430 | boot: |
| 431 | - hd |
| 432 | cloud_init_volume_name: iso |
| 433 | cloud_init_iface_up: ens3 |
| 434 | volumes: |
| 435 | - name: system |
| 436 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 437 | backing_store: cloudimage1604 |
| 438 | format: qcow2 |
| 439 | - name: iso # Volume with name 'iso' will be used |
| 440 | # for store image with cloud-init metadata. |
| 441 | capacity: 1 |
| 442 | format: raw |
| 443 | device: cdrom |
| 444 | bus: ide |
| 445 | cloudinit_meta_data: *cloudinit_meta_data |
| 446 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 447 | |
| 448 | |
| 449 | interfaces: &all_interfaces |
| 450 | - label: ens3 |
| 451 | l2_network_device: admin |
| 452 | interface_model: *interface_model |
| 453 | - label: ens4 |
| 454 | l2_network_device: private |
| 455 | interface_model: *interface_model |
| 456 | - label: ens5 |
| 457 | l2_network_device: tenant |
| 458 | interface_model: *interface_model |
| 459 | - label: ens6 |
| 460 | l2_network_device: external |
| 461 | interface_model: *interface_model |
| 462 | network_config: &all_network_config |
| 463 | ens3: |
| 464 | networks: |
| 465 | - admin |
| 466 | ens4: |
| 467 | networks: |
| 468 | - private |
| 469 | ens5: |
| 470 | networks: |
| 471 | - tenant |
| 472 | ens6: |
| 473 | networks: |
| 474 | - external |
| 475 | |
| 476 | - name: {{ HOSTNAME_CMP02 }} |
| 477 | role: salt_minion |
| 478 | params: |
| 479 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 480 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 481 | boot: |
| 482 | - hd |
| 483 | cloud_init_volume_name: iso |
| 484 | cloud_init_iface_up: ens3 |
| 485 | volumes: |
| 486 | - name: system |
| 487 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 488 | backing_store: cloudimage1604 |
| 489 | format: qcow2 |
| 490 | - name: iso # Volume with name 'iso' will be used |
| 491 | # for store image with cloud-init metadata. |
| 492 | capacity: 1 |
| 493 | format: raw |
| 494 | device: cdrom |
| 495 | bus: ide |
| 496 | cloudinit_meta_data: *cloudinit_meta_data |
| 497 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 498 | |
| 499 | interfaces: *all_interfaces |
| 500 | network_config: *all_network_config |
| 501 | |
| 502 | - name: {{ HOSTNAME_GTW01 }} |
| 503 | role: salt_minion |
| 504 | params: |
ibumarskov | 6a592b8 | 2018-06-25 15:39:39 +0400 | [diff] [blame] | 505 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 506 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 507 | boot: |
| 508 | - hd |
| 509 | cloud_init_volume_name: iso |
| 510 | cloud_init_iface_up: ens3 |
| 511 | volumes: |
| 512 | - name: system |
| 513 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 514 | backing_store: cloudimage1604 |
| 515 | format: qcow2 |
| 516 | - name: iso # Volume with name 'iso' will be used |
| 517 | # for store image with cloud-init metadata. |
| 518 | capacity: 1 |
| 519 | format: raw |
| 520 | device: cdrom |
| 521 | bus: ide |
| 522 | cloudinit_meta_data: *cloudinit_meta_data |
| 523 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 524 | |
| 525 | interfaces: *all_interfaces |
| 526 | network_config: *all_network_config |
| 527 | |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 528 | - name: {{ HOSTNAME_DNS01 }} |
| 529 | role: salt_minion |
| 530 | params: |
| 531 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 532 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 533 | boot: |
| 534 | - hd |
| 535 | cloud_init_volume_name: iso |
| 536 | cloud_init_iface_up: ens3 |
| 537 | volumes: |
| 538 | - name: system |
| 539 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 540 | backing_store: mcp_ubuntu_1604_image |
| 541 | format: qcow2 |
| 542 | - name: iso # Volume with name 'iso' will be used |
| 543 | # for store image with cloud-init metadata. |
| 544 | capacity: 1 |
| 545 | format: raw |
| 546 | device: cdrom |
| 547 | bus: ide |
| 548 | cloudinit_meta_data: *cloudinit_meta_data |
| 549 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 550 | |
| 551 | interfaces: *all_interfaces |
| 552 | network_config: *all_network_config |
| 553 | |
| 554 | - name: {{ HOSTNAME_DNS02 }} |
| 555 | role: salt_minion |
| 556 | params: |
| 557 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 558 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 559 | boot: |
| 560 | - hd |
| 561 | cloud_init_volume_name: iso |
| 562 | cloud_init_iface_up: ens3 |
| 563 | volumes: |
| 564 | - name: system |
| 565 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 566 | backing_store: mcp_ubuntu_1604_image |
| 567 | format: qcow2 |
| 568 | - name: iso # Volume with name 'iso' will be used |
| 569 | # for store image with cloud-init metadata. |
| 570 | capacity: 1 |
| 571 | format: raw |
| 572 | device: cdrom |
| 573 | bus: ide |
| 574 | cloudinit_meta_data: *cloudinit_meta_data |
| 575 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 576 | |
| 577 | interfaces: *all_interfaces |
| 578 | network_config: *all_network_config |