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 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 233 | - name: iso # Volume with name 'iso' will be used |
| 234 | # for store image with cloud-init metadata. |
| 235 | capacity: 1 |
| 236 | format: raw |
| 237 | device: cdrom |
| 238 | bus: ide |
| 239 | cloudinit_meta_data: *cloudinit_meta_data |
| 240 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 241 | |
| 242 | interfaces: &interfaces |
| 243 | - label: ens3 |
| 244 | l2_network_device: admin |
| 245 | interface_model: *interface_model |
| 246 | - label: ens4 |
| 247 | l2_network_device: private |
| 248 | interface_model: *interface_model |
| 249 | network_config: &network_config |
| 250 | ens3: |
| 251 | networks: |
| 252 | - admin |
| 253 | ens4: |
| 254 | networks: |
| 255 | - private |
| 256 | |
| 257 | - name: {{ HOSTNAME_CTL02 }} |
| 258 | role: salt_minion |
| 259 | params: |
| 260 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 261 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 262 | boot: |
| 263 | - hd |
| 264 | cloud_init_volume_name: iso |
| 265 | cloud_init_iface_up: ens3 |
| 266 | volumes: |
| 267 | - name: system |
| 268 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 269 | backing_store: mcp_ubuntu_1604_image |
| 270 | format: qcow2 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 271 | - name: iso # Volume with name 'iso' will be used |
| 272 | # for store image with cloud-init metadata. |
| 273 | capacity: 1 |
| 274 | format: raw |
| 275 | device: cdrom |
| 276 | bus: ide |
| 277 | cloudinit_meta_data: *cloudinit_meta_data |
| 278 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 279 | |
| 280 | interfaces: *interfaces |
| 281 | network_config: *network_config |
| 282 | |
| 283 | - name: {{ HOSTNAME_CTL03 }} |
| 284 | role: salt_minion |
| 285 | params: |
| 286 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 287 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 288 | boot: |
| 289 | - hd |
| 290 | cloud_init_volume_name: iso |
| 291 | cloud_init_iface_up: ens3 |
| 292 | volumes: |
| 293 | - name: system |
| 294 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 295 | backing_store: mcp_ubuntu_1604_image |
| 296 | format: qcow2 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 297 | - name: iso # Volume with name 'iso' will be used |
| 298 | # for store image with cloud-init metadata. |
| 299 | capacity: 1 |
| 300 | format: raw |
| 301 | device: cdrom |
| 302 | bus: ide |
| 303 | cloudinit_meta_data: *cloudinit_meta_data |
| 304 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 305 | |
| 306 | interfaces: *interfaces |
| 307 | network_config: *network_config |
| 308 | |
| 309 | - name: {{ HOSTNAME_MON01 }} |
| 310 | role: salt_minion |
| 311 | params: |
| 312 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 313 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 314 | boot: |
| 315 | - hd |
| 316 | cloud_init_volume_name: iso |
| 317 | cloud_init_iface_up: ens3 |
| 318 | volumes: |
| 319 | - name: system |
| 320 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 321 | backing_store: mcp_ubuntu_1604_image |
| 322 | format: qcow2 |
| 323 | - name: iso # Volume with name 'iso' will be used |
| 324 | # for store image with cloud-init metadata. |
| 325 | capacity: 1 |
| 326 | format: raw |
| 327 | device: cdrom |
| 328 | bus: ide |
| 329 | cloudinit_meta_data: *cloudinit_meta_data |
| 330 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 331 | |
| 332 | interfaces: *interfaces |
| 333 | network_config: *network_config |
| 334 | |
| 335 | - name: {{ HOSTNAME_MON02 }} |
| 336 | role: salt_minion |
| 337 | params: |
| 338 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 339 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 340 | boot: |
| 341 | - hd |
| 342 | cloud_init_volume_name: iso |
| 343 | cloud_init_iface_up: ens3 |
| 344 | volumes: |
| 345 | - name: system |
| 346 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 347 | backing_store: mcp_ubuntu_1604_image |
| 348 | format: qcow2 |
| 349 | - name: iso # Volume with name 'iso' will be used |
| 350 | # for store image with cloud-init metadata. |
| 351 | capacity: 1 |
| 352 | format: raw |
| 353 | device: cdrom |
| 354 | bus: ide |
| 355 | cloudinit_meta_data: *cloudinit_meta_data |
| 356 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 357 | |
| 358 | interfaces: *interfaces |
| 359 | network_config: *network_config |
| 360 | |
| 361 | - name: {{ HOSTNAME_MON03 }} |
| 362 | role: salt_minion |
| 363 | params: |
| 364 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 365 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 366 | boot: |
| 367 | - hd |
| 368 | cloud_init_volume_name: iso |
| 369 | cloud_init_iface_up: ens3 |
| 370 | volumes: |
| 371 | - name: system |
| 372 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 373 | backing_store: mcp_ubuntu_1604_image |
| 374 | format: qcow2 |
| 375 | - name: iso # Volume with name 'iso' will be used |
| 376 | # for store image with cloud-init metadata. |
| 377 | capacity: 1 |
| 378 | format: raw |
| 379 | device: cdrom |
| 380 | bus: ide |
| 381 | cloudinit_meta_data: *cloudinit_meta_data |
| 382 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 383 | |
| 384 | interfaces: *interfaces |
| 385 | network_config: *network_config |
| 386 | |
| 387 | - name: {{ HOSTNAME_PRX01 }} |
| 388 | role: salt_minion |
| 389 | params: |
| 390 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 391 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 392 | boot: |
| 393 | - hd |
| 394 | cloud_init_volume_name: iso |
| 395 | cloud_init_iface_up: ens3 |
| 396 | volumes: |
| 397 | - name: system |
| 398 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 399 | backing_store: mcp_ubuntu_1604_image |
| 400 | format: qcow2 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 401 | - name: iso # Volume with name 'iso' will be used |
| 402 | # for store image with cloud-init metadata. |
| 403 | capacity: 1 |
| 404 | format: raw |
| 405 | device: cdrom |
| 406 | bus: ide |
| 407 | cloudinit_meta_data: *cloudinit_meta_data |
| 408 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 409 | |
| 410 | interfaces: *interfaces |
| 411 | network_config: *network_config |
| 412 | |
| 413 | - name: {{ HOSTNAME_CMP01 }} |
| 414 | role: salt_minion |
| 415 | params: |
| 416 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 417 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 418 | boot: |
| 419 | - hd |
| 420 | cloud_init_volume_name: iso |
| 421 | cloud_init_iface_up: ens3 |
| 422 | volumes: |
| 423 | - name: system |
| 424 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 425 | backing_store: cloudimage1604 |
| 426 | format: qcow2 |
Dennis Dmitriev | 1b8979d | 2018-10-19 19:53:02 +0300 | [diff] [blame] | 427 | - name: cinder |
| 428 | capacity: 50 |
| 429 | format: qcow2 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 430 | - name: iso # Volume with name 'iso' will be used |
| 431 | # for store image with cloud-init metadata. |
| 432 | capacity: 1 |
| 433 | format: raw |
| 434 | device: cdrom |
| 435 | bus: ide |
| 436 | cloudinit_meta_data: *cloudinit_meta_data |
| 437 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 438 | |
| 439 | |
| 440 | interfaces: &all_interfaces |
| 441 | - label: ens3 |
| 442 | l2_network_device: admin |
| 443 | interface_model: *interface_model |
| 444 | - label: ens4 |
| 445 | l2_network_device: private |
| 446 | interface_model: *interface_model |
| 447 | - label: ens5 |
| 448 | l2_network_device: tenant |
| 449 | interface_model: *interface_model |
| 450 | - label: ens6 |
| 451 | l2_network_device: external |
| 452 | interface_model: *interface_model |
| 453 | network_config: &all_network_config |
| 454 | ens3: |
| 455 | networks: |
| 456 | - admin |
| 457 | ens4: |
| 458 | networks: |
| 459 | - private |
| 460 | ens5: |
| 461 | networks: |
| 462 | - tenant |
| 463 | ens6: |
| 464 | networks: |
| 465 | - external |
| 466 | |
| 467 | - name: {{ HOSTNAME_CMP02 }} |
| 468 | role: salt_minion |
| 469 | params: |
| 470 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 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: cloudimage1604 |
| 480 | format: qcow2 |
Dennis Dmitriev | 1b8979d | 2018-10-19 19:53:02 +0300 | [diff] [blame] | 481 | - name: cinder |
| 482 | capacity: 50 |
| 483 | format: qcow2 |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 484 | - name: iso # Volume with name 'iso' will be used |
| 485 | # for store image with cloud-init metadata. |
| 486 | capacity: 1 |
| 487 | format: raw |
| 488 | device: cdrom |
| 489 | bus: ide |
| 490 | cloudinit_meta_data: *cloudinit_meta_data |
| 491 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 492 | |
| 493 | interfaces: *all_interfaces |
| 494 | network_config: *all_network_config |
| 495 | |
| 496 | - name: {{ HOSTNAME_GTW01 }} |
| 497 | role: salt_minion |
| 498 | params: |
ibumarskov | 6a592b8 | 2018-06-25 15:39:39 +0400 | [diff] [blame] | 499 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 500 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 501 | boot: |
| 502 | - hd |
| 503 | cloud_init_volume_name: iso |
| 504 | cloud_init_iface_up: ens3 |
| 505 | volumes: |
| 506 | - name: system |
| 507 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 508 | backing_store: cloudimage1604 |
| 509 | format: qcow2 |
| 510 | - name: iso # Volume with name 'iso' will be used |
| 511 | # for store image with cloud-init metadata. |
| 512 | capacity: 1 |
| 513 | format: raw |
| 514 | device: cdrom |
| 515 | bus: ide |
| 516 | cloudinit_meta_data: *cloudinit_meta_data |
| 517 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 518 | |
| 519 | interfaces: *all_interfaces |
| 520 | network_config: *all_network_config |
| 521 | |
ibumarskov | 76aa5c7 | 2018-06-13 10:15:37 +0400 | [diff] [blame] | 522 | - name: {{ HOSTNAME_DNS01 }} |
| 523 | role: salt_minion |
| 524 | params: |
| 525 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 526 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 527 | boot: |
| 528 | - hd |
| 529 | cloud_init_volume_name: iso |
| 530 | cloud_init_iface_up: ens3 |
| 531 | volumes: |
| 532 | - name: system |
| 533 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 534 | backing_store: mcp_ubuntu_1604_image |
| 535 | format: qcow2 |
| 536 | - name: iso # Volume with name 'iso' will be used |
| 537 | # for store image with cloud-init metadata. |
| 538 | capacity: 1 |
| 539 | format: raw |
| 540 | device: cdrom |
| 541 | bus: ide |
| 542 | cloudinit_meta_data: *cloudinit_meta_data |
| 543 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 544 | |
| 545 | interfaces: *all_interfaces |
| 546 | network_config: *all_network_config |
| 547 | |
| 548 | - name: {{ HOSTNAME_DNS02 }} |
| 549 | role: salt_minion |
| 550 | params: |
| 551 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 552 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 553 | boot: |
| 554 | - hd |
| 555 | cloud_init_volume_name: iso |
| 556 | cloud_init_iface_up: ens3 |
| 557 | volumes: |
| 558 | - name: system |
| 559 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 560 | backing_store: mcp_ubuntu_1604_image |
| 561 | format: qcow2 |
| 562 | - name: iso # Volume with name 'iso' will be used |
| 563 | # for store image with cloud-init metadata. |
| 564 | capacity: 1 |
| 565 | format: raw |
| 566 | device: cdrom |
| 567 | bus: ide |
| 568 | cloudinit_meta_data: *cloudinit_meta_data |
| 569 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 570 | |
| 571 | interfaces: *all_interfaces |
| 572 | network_config: *all_network_config |