Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +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-cicd-pike-dpdk/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 5 | {% import 'cookied-cicd-pike-dpdk/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
| 6 | {% import 'cookied-cicd-pike-dpdk/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP 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_swp {{ CLOUDINIT_USER_DATA_1604_SWP }} |
| 14 | |
| 15 | {% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-pike-dpdk') %} |
| 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_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %} |
| 19 | {% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %} |
| 20 | {% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %} |
| 21 | {% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %} |
| 22 | {% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %} |
| 23 | {% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %} |
| 24 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %} |
| 25 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %} |
| 26 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %} |
| 27 | {% set HOSTNAME_DBS = os_env('HOSTNAME_DBS', 'dbs.' + DOMAIN_NAME) %} |
| 28 | {% set HOSTNAME_DBS01 = os_env('HOSTNAME_DBS01', 'dbs01.' + DOMAIN_NAME) %} |
| 29 | {% set HOSTNAME_DBS02 = os_env('HOSTNAME_DBS02', 'dbs02.' + DOMAIN_NAME) %} |
| 30 | {% set HOSTNAME_DBS03 = os_env('HOSTNAME_DBS03', 'dbs03.' + DOMAIN_NAME) %} |
| 31 | {% set HOSTNAME_MSG = os_env('HOSTNAME_MSG', 'msg.' + DOMAIN_NAME) %} |
| 32 | {% set HOSTNAME_MSG01 = os_env('HOSTNAME_MSG01', 'msg01.' + DOMAIN_NAME) %} |
| 33 | {% set HOSTNAME_MSG02 = os_env('HOSTNAME_MSG02', 'msg02.' + DOMAIN_NAME) %} |
| 34 | {% set HOSTNAME_MSG03 = os_env('HOSTNAME_MSG03', 'msg03.' + DOMAIN_NAME) %} |
| 35 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.' + DOMAIN_NAME) %} |
| 36 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.' + DOMAIN_NAME) %} |
| 37 | {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %} |
| 38 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
| 39 | |
| 40 | template: |
| 41 | devops_settings: |
| 42 | env_name: {{ os_env('ENV_NAME', 'cookied-cicd-pike-dpdk_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 43 | |
| 44 | address_pools: |
| 45 | private-pool01: |
| 46 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 47 | params: |
| 48 | ip_reserved: |
| 49 | gateway: +1 |
| 50 | l2_network_device: +1 |
| 51 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 52 | default_{{ HOSTNAME_KVM }}: +240 |
| 53 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 54 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 55 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 56 | default_{{ HOSTNAME_CID }}: +90 |
| 57 | default_{{ HOSTNAME_CID01 }}: +91 |
| 58 | default_{{ HOSTNAME_CID02 }}: +92 |
| 59 | default_{{ HOSTNAME_CID03 }}: +93 |
| 60 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 61 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 62 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 63 | default_{{ HOSTNAME_DBS }}: +50 |
| 64 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 65 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 66 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 67 | default_{{ HOSTNAME_MSG }}: +40 |
| 68 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 69 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 70 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 71 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 72 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 73 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 74 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 75 | ip_ranges: |
| 76 | dhcp: [+90, -10] |
| 77 | |
| 78 | admin-pool01: |
| 79 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 80 | params: |
| 81 | ip_reserved: |
| 82 | gateway: +1 |
| 83 | l2_network_device: +1 |
| 84 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 85 | default_{{ HOSTNAME_KVM }}: +240 |
| 86 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 87 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 88 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 89 | default_{{ HOSTNAME_CID }}: +90 |
| 90 | default_{{ HOSTNAME_CID01 }}: +91 |
| 91 | default_{{ HOSTNAME_CID02 }}: +92 |
| 92 | default_{{ HOSTNAME_CID03 }}: +93 |
| 93 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 94 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 95 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 96 | default_{{ HOSTNAME_DBS }}: +50 |
| 97 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 98 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 99 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 100 | default_{{ HOSTNAME_MSG }}: +40 |
| 101 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 102 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 103 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 104 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 105 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 106 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 107 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 108 | ip_ranges: |
| 109 | dhcp: [+90, -10] |
| 110 | |
| 111 | tenant-pool01: |
| 112 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 113 | params: |
| 114 | ip_reserved: |
| 115 | gateway: +1 |
| 116 | l2_network_device: +1 |
| 117 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 118 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 119 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 120 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 121 | default_{{ HOSTNAME_DBS }}: +50 |
| 122 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 123 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 124 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 125 | default_{{ HOSTNAME_MSG }}: +40 |
| 126 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 127 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 128 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 129 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 130 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 131 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 132 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 133 | ip_ranges: |
| 134 | dhcp: [+10, -10] |
| 135 | |
| 136 | external-pool01: |
| 137 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 138 | params: |
| 139 | ip_reserved: |
| 140 | gateway: +1 |
| 141 | l2_network_device: +1 |
| 142 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 143 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 144 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 145 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 146 | default_{{ HOSTNAME_DBS }}: +50 |
| 147 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 148 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 149 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 150 | default_{{ HOSTNAME_MSG }}: +40 |
| 151 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 152 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 153 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 154 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 155 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 156 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 157 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 158 | ip_ranges: |
| 159 | dhcp: [+10, -10] |
| 160 | |
| 161 | |
| 162 | groups: |
| 163 | - name: default |
| 164 | driver: |
| 165 | name: devops.driver.libvirt |
| 166 | params: |
| 167 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 168 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 169 | stp: False |
| 170 | hpet: True |
| 171 | use_hugepages: True |
| 172 | enable_acpi: true |
| 173 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 174 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
| 175 | |
| 176 | network_pools: |
| 177 | admin: admin-pool01 |
| 178 | private: private-pool01 |
| 179 | tenant: tenant-pool01 |
| 180 | external: external-pool01 |
| 181 | |
| 182 | l2_network_devices: |
| 183 | private: |
| 184 | address_pool: private-pool01 |
| 185 | dhcp: false |
| 186 | forward: |
| 187 | mode: route |
| 188 | |
| 189 | admin: |
| 190 | address_pool: admin-pool01 |
| 191 | dhcp: true |
| 192 | forward: |
| 193 | mode: nat |
| 194 | |
| 195 | tenant: |
| 196 | address_pool: tenant-pool01 |
| 197 | dhcp: false |
| 198 | |
| 199 | external: |
| 200 | address_pool: external-pool01 |
| 201 | dhcp: true |
| 202 | forward: |
| 203 | mode: route |
| 204 | |
| 205 | |
| 206 | group_volumes: |
| 207 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 208 | source_image: {{ os_env('MCP_IMAGE_PATH1604') }} # http://ci.mcp.mirantis.net:8085/images/ubuntu-16-04-x64-mcpproposed.qcow2 |
| 209 | format: qcow2 |
| 210 | |
| 211 | - name: cfg01_day01_image # Pre-configured day01 image |
| 212 | source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604 |
| 213 | format: qcow2 |
| 214 | |
| 215 | nodes: |
| 216 | - name: {{ HOSTNAME_CFG01 }} |
| 217 | role: salt_master |
| 218 | params: |
| 219 | vcpu: {{ os_env('CFG_NODE_CPU', 3) }} |
| 220 | memory: {{ os_env('CFG_NODE_MEMORY', 8192) }} |
| 221 | boot: |
| 222 | - hd |
| 223 | cloud_init_volume_name: iso |
| 224 | cloud_init_iface_up: ens3 |
| 225 | volumes: |
| 226 | - name: system |
| 227 | capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }} |
| 228 | backing_store: cfg01_day01_image |
| 229 | format: qcow2 |
| 230 | - name: config |
| 231 | capacity: 1 |
| 232 | format: raw |
| 233 | device: cdrom |
| 234 | bus: ide |
| 235 | # source_image: !os_env CFG01_CONFIG_PATH # no source image required. |
| 236 | # it will be uploaded after config drive generation |
| 237 | - name: iso # Volume with name 'iso' will be used |
| 238 | # for store image with cloud-init metadata. |
| 239 | capacity: 1 |
| 240 | format: raw |
| 241 | device: cdrom |
| 242 | bus: ide |
| 243 | cloudinit_meta_data: *cloudinit_meta_data |
| 244 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 245 | |
| 246 | interfaces: |
| 247 | - label: ens3 |
| 248 | l2_network_device: admin |
| 249 | interface_model: *interface_model |
| 250 | - label: ens4 |
| 251 | l2_network_device: private |
| 252 | interface_model: *interface_model |
| 253 | network_config: |
| 254 | ens3: |
| 255 | networks: |
| 256 | - admin |
| 257 | ens4: |
| 258 | networks: |
| 259 | - private |
| 260 | |
| 261 | - name: {{ HOSTNAME_CTL01 }} |
| 262 | role: salt_minion |
| 263 | params: |
| 264 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 265 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 266 | boot: |
| 267 | - hd |
| 268 | cloud_init_volume_name: iso |
| 269 | cloud_init_iface_up: ens3 |
| 270 | volumes: |
| 271 | - name: system |
| 272 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 273 | backing_store: cloudimage1604 |
| 274 | format: qcow2 |
| 275 | - name: iso # Volume with name 'iso' will be used |
| 276 | # for store image with cloud-init metadata. |
| 277 | capacity: 1 |
| 278 | format: raw |
| 279 | device: cdrom |
| 280 | bus: ide |
| 281 | cloudinit_meta_data: *cloudinit_meta_data |
| 282 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 283 | |
| 284 | interfaces: &interfaces |
| 285 | - label: ens3 |
| 286 | l2_network_device: admin |
| 287 | interface_model: *interface_model |
| 288 | - label: ens4 |
| 289 | l2_network_device: private |
| 290 | interface_model: *interface_model |
| 291 | network_config: &network_config |
| 292 | ens3: |
| 293 | networks: |
| 294 | - admin |
| 295 | ens4: |
| 296 | networks: |
| 297 | - private |
| 298 | |
| 299 | - name: {{ HOSTNAME_CTL02 }} |
| 300 | role: salt_minion |
| 301 | params: |
| 302 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 303 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 304 | boot: |
| 305 | - hd |
| 306 | cloud_init_volume_name: iso |
| 307 | cloud_init_iface_up: ens3 |
| 308 | volumes: |
| 309 | - name: system |
| 310 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 311 | backing_store: cloudimage1604 |
| 312 | format: qcow2 |
| 313 | - name: iso # Volume with name 'iso' will be used |
| 314 | # for store image with cloud-init metadata. |
| 315 | capacity: 1 |
| 316 | format: raw |
| 317 | device: cdrom |
| 318 | bus: ide |
| 319 | cloudinit_meta_data: *cloudinit_meta_data |
| 320 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 321 | |
| 322 | interfaces: *interfaces |
| 323 | network_config: *network_config |
| 324 | |
| 325 | - name: {{ HOSTNAME_CTL03 }} |
| 326 | role: salt_minion |
| 327 | params: |
| 328 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 329 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
| 330 | boot: |
| 331 | - hd |
| 332 | cloud_init_volume_name: iso |
| 333 | cloud_init_iface_up: ens3 |
| 334 | volumes: |
| 335 | - name: system |
| 336 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 337 | backing_store: cloudimage1604 |
| 338 | format: qcow2 |
| 339 | - name: iso # Volume with name 'iso' will be used |
| 340 | # for store image with cloud-init metadata. |
| 341 | capacity: 1 |
| 342 | format: raw |
| 343 | device: cdrom |
| 344 | bus: ide |
| 345 | cloudinit_meta_data: *cloudinit_meta_data |
| 346 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 347 | |
| 348 | interfaces: *interfaces |
| 349 | network_config: *network_config |
| 350 | |
| 351 | - name: {{ HOSTNAME_DBS01 }} |
| 352 | role: salt_minion |
| 353 | params: |
| 354 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 355 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 356 | boot: |
| 357 | - hd |
| 358 | cloud_init_volume_name: iso |
| 359 | cloud_init_iface_up: ens3 |
| 360 | volumes: |
| 361 | - name: system |
| 362 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 363 | backing_store: cloudimage1604 |
| 364 | format: qcow2 |
| 365 | - name: iso # Volume with name 'iso' will be used |
| 366 | # for store image with cloud-init metadata. |
| 367 | capacity: 1 |
| 368 | format: raw |
| 369 | device: cdrom |
| 370 | bus: ide |
| 371 | cloudinit_meta_data: *cloudinit_meta_data |
| 372 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 373 | |
| 374 | interfaces: *interfaces |
| 375 | network_config: *network_config |
| 376 | |
| 377 | - name: {{ HOSTNAME_DBS02 }} |
| 378 | role: salt_minion |
| 379 | params: |
| 380 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 381 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 382 | boot: |
| 383 | - hd |
| 384 | cloud_init_volume_name: iso |
| 385 | cloud_init_iface_up: ens3 |
| 386 | volumes: |
| 387 | - name: system |
| 388 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 389 | backing_store: cloudimage1604 |
| 390 | format: qcow2 |
| 391 | - name: iso # Volume with name 'iso' will be used |
| 392 | # for store image with cloud-init metadata. |
| 393 | capacity: 1 |
| 394 | format: raw |
| 395 | device: cdrom |
| 396 | bus: ide |
| 397 | cloudinit_meta_data: *cloudinit_meta_data |
| 398 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 399 | |
| 400 | interfaces: *interfaces |
| 401 | network_config: *network_config |
| 402 | |
| 403 | - name: {{ HOSTNAME_DBS03 }} |
| 404 | role: salt_minion |
| 405 | params: |
| 406 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 407 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 408 | boot: |
| 409 | - hd |
| 410 | cloud_init_volume_name: iso |
| 411 | cloud_init_iface_up: ens3 |
| 412 | volumes: |
| 413 | - name: system |
| 414 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 415 | backing_store: cloudimage1604 |
| 416 | format: qcow2 |
| 417 | - name: iso # Volume with name 'iso' will be used |
| 418 | # for store image with cloud-init metadata. |
| 419 | capacity: 1 |
| 420 | format: raw |
| 421 | device: cdrom |
| 422 | bus: ide |
| 423 | cloudinit_meta_data: *cloudinit_meta_data |
| 424 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 425 | |
| 426 | interfaces: *interfaces |
| 427 | network_config: *network_config |
| 428 | |
| 429 | - name: {{ HOSTNAME_MSG01 }} |
| 430 | role: salt_minion |
| 431 | params: |
| 432 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 433 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 434 | boot: |
| 435 | - hd |
| 436 | cloud_init_volume_name: iso |
| 437 | cloud_init_iface_up: ens3 |
| 438 | volumes: |
| 439 | - name: system |
| 440 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 441 | backing_store: cloudimage1604 |
| 442 | format: qcow2 |
| 443 | - name: iso # Volume with name 'iso' will be used |
| 444 | # for store image with cloud-init metadata. |
| 445 | capacity: 1 |
| 446 | format: raw |
| 447 | device: cdrom |
| 448 | bus: ide |
| 449 | cloudinit_meta_data: *cloudinit_meta_data |
| 450 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 451 | |
| 452 | interfaces: *interfaces |
| 453 | network_config: *network_config |
| 454 | |
| 455 | - name: {{ HOSTNAME_MSG02 }} |
| 456 | role: salt_minion |
| 457 | params: |
| 458 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 459 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 460 | boot: |
| 461 | - hd |
| 462 | cloud_init_volume_name: iso |
| 463 | cloud_init_iface_up: ens3 |
| 464 | volumes: |
| 465 | - name: system |
| 466 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 467 | backing_store: cloudimage1604 |
| 468 | format: qcow2 |
| 469 | - name: iso # Volume with name 'iso' will be used |
| 470 | # for store image with cloud-init metadata. |
| 471 | capacity: 1 |
| 472 | format: raw |
| 473 | device: cdrom |
| 474 | bus: ide |
| 475 | cloudinit_meta_data: *cloudinit_meta_data |
| 476 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 477 | |
| 478 | interfaces: *interfaces |
| 479 | network_config: *network_config |
| 480 | |
| 481 | - name: {{ HOSTNAME_MSG03 }} |
| 482 | role: salt_minion |
| 483 | params: |
| 484 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 485 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 486 | boot: |
| 487 | - hd |
| 488 | cloud_init_volume_name: iso |
| 489 | cloud_init_iface_up: ens3 |
| 490 | volumes: |
| 491 | - name: system |
| 492 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 493 | backing_store: cloudimage1604 |
| 494 | format: qcow2 |
| 495 | - name: iso # Volume with name 'iso' will be used |
| 496 | # for store image with cloud-init metadata. |
| 497 | capacity: 1 |
| 498 | format: raw |
| 499 | device: cdrom |
| 500 | bus: ide |
| 501 | cloudinit_meta_data: *cloudinit_meta_data |
| 502 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 503 | |
| 504 | interfaces: *interfaces |
| 505 | network_config: *network_config |
| 506 | |
| 507 | - name: {{ HOSTNAME_PRX01 }} |
| 508 | role: salt_minion |
| 509 | params: |
| 510 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 511 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 512 | boot: |
| 513 | - hd |
| 514 | cloud_init_volume_name: iso |
| 515 | cloud_init_iface_up: ens3 |
| 516 | volumes: |
| 517 | - name: system |
| 518 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 519 | backing_store: cloudimage1604 |
| 520 | format: qcow2 |
| 521 | - name: cinder |
| 522 | capacity: 50 |
| 523 | format: qcow2 |
| 524 | - name: iso # Volume with name 'iso' will be used |
| 525 | # for store image with cloud-init metadata. |
| 526 | capacity: 1 |
| 527 | format: raw |
| 528 | device: cdrom |
| 529 | bus: ide |
| 530 | cloudinit_meta_data: *cloudinit_meta_data |
| 531 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 532 | |
| 533 | interfaces: *interfaces |
| 534 | network_config: *network_config |
| 535 | |
| 536 | |
| 537 | - name: {{ HOSTNAME_CMP01 }} |
| 538 | role: salt_minion |
| 539 | params: |
| 540 | vcpu: !os_env SLAVE_NODE_CPU, 12 |
| 541 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 542 | numa: |
| 543 | - cpus: 0,1,2,3,4,5 |
| 544 | memory: 4096 |
| 545 | - cpus: 6,7,8,9,10,11 |
| 546 | memory: 4096 |
| 547 | boot: |
| 548 | - hd |
| 549 | cloud_init_volume_name: iso |
| 550 | cloud_init_iface_up: ens3 |
| 551 | volumes: |
| 552 | - name: system |
| 553 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 554 | backing_store: cloudimage1604 |
| 555 | format: qcow2 |
| 556 | - name: cinder |
| 557 | capacity: 50 |
| 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_swp |
| 567 | |
| 568 | |
| 569 | interfaces: &all_interfaces |
| 570 | - label: ens3 |
| 571 | l2_network_device: admin |
| 572 | interface_model: *interface_model |
| 573 | - label: ens4 |
| 574 | l2_network_device: private |
| 575 | interface_model: *interface_model |
| 576 | - label: ens5 |
| 577 | l2_network_device: tenant |
| 578 | interface_model: e1000 |
| 579 | - label: ens6 |
| 580 | l2_network_device: tenant |
| 581 | interface_model: e1000 |
| 582 | - label: ens7 |
| 583 | l2_network_device: external |
| 584 | interface_model: *interface_model |
| 585 | network_config: &all_network_config |
| 586 | ens3: |
| 587 | networks: |
| 588 | - admin |
| 589 | ens4: |
| 590 | networks: |
| 591 | - private |
| 592 | ens5: |
| 593 | networks: |
| 594 | - tenant |
| 595 | ens6: |
| 596 | networks: |
| 597 | - tenant |
| 598 | ens7: |
| 599 | networks: |
| 600 | - external |
| 601 | |
| 602 | - name: {{ HOSTNAME_CMP02 }} |
| 603 | role: salt_minion |
| 604 | params: |
| 605 | vcpu: !os_env SLAVE_NODE_CPU, 12 |
| 606 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 607 | numa: |
| 608 | - cpus: 0,1,2,3,4,5 |
| 609 | memory: 4096 |
| 610 | - cpus: 6,7,8,9,10,11 |
| 611 | memory: 4096 |
| 612 | boot: |
| 613 | - hd |
| 614 | cloud_init_volume_name: iso |
| 615 | cloud_init_iface_up: ens3 |
| 616 | volumes: |
| 617 | - name: system |
| 618 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 619 | backing_store: cloudimage1604 |
| 620 | format: qcow2 |
| 621 | - name: cinder |
| 622 | capacity: 50 |
| 623 | format: qcow2 |
| 624 | - name: iso # Volume with name 'iso' will be used |
| 625 | # for store image with cloud-init metadata. |
| 626 | capacity: 1 |
| 627 | format: raw |
| 628 | device: cdrom |
| 629 | bus: ide |
| 630 | cloudinit_meta_data: *cloudinit_meta_data |
| 631 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 632 | |
| 633 | interfaces: *all_interfaces |
| 634 | network_config: *all_network_config |
| 635 | |
| 636 | - name: {{ HOSTNAME_GTW01 }} |
| 637 | role: salt_minion |
| 638 | params: |
| 639 | vcpu: !os_env SLAVE_NODE_CPU, 4 |
| 640 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 641 | boot: |
| 642 | - hd |
| 643 | cloud_init_volume_name: iso |
| 644 | cloud_init_iface_up: ens3 |
| 645 | volumes: |
| 646 | - name: system |
| 647 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 648 | backing_store: cloudimage1604 |
| 649 | format: qcow2 |
| 650 | - name: iso # Volume with name 'iso' will be used |
| 651 | # for store image with cloud-init metadata. |
| 652 | capacity: 1 |
| 653 | format: raw |
| 654 | device: cdrom |
| 655 | bus: ide |
| 656 | cloudinit_meta_data: *cloudinit_meta_data |
| 657 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 658 | |
| 659 | interfaces: *all_interfaces |
| 660 | network_config: *all_network_config |
| 661 | |
| 662 | - name: {{ HOSTNAME_KVM01 }} |
| 663 | role: salt_minion |
| 664 | params: |
| 665 | vcpu: {{ os_env('KVM_NODE_CPU', 1) }} |
| 666 | memory: {{ os_env('KVM_NODE_MEMORY', 1024) }} |
| 667 | boot: |
| 668 | - hd |
| 669 | cloud_init_volume_name: iso |
| 670 | cloud_init_iface_up: ens3 |
| 671 | volumes: |
| 672 | - name: system |
| 673 | capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }} |
Dennis Dmitriev | a6d717b | 2018-07-27 14:46:02 +0300 | [diff] [blame^] | 674 | backing_store: cloudimage1604 |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 675 | format: qcow2 |
| 676 | - name: iso # Volume with name 'iso' will be used |
| 677 | # for store image with cloud-init metadata. |
| 678 | capacity: 1 |
| 679 | format: raw |
| 680 | device: cdrom |
| 681 | bus: ide |
| 682 | cloudinit_meta_data: *cloudinit_meta_data |
| 683 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 684 | |
| 685 | interfaces: *interfaces |
| 686 | network_config: *network_config |
| 687 | |
| 688 | - name: {{ HOSTNAME_KVM02 }} |
| 689 | role: salt_minion |
| 690 | params: |
| 691 | vcpu: {{ os_env('KVM_NODE_CPU', 1) }} |
| 692 | memory: {{ os_env('KVM_NODE_MEMORY', 1024) }} |
| 693 | boot: |
| 694 | - hd |
| 695 | cloud_init_volume_name: iso |
| 696 | cloud_init_iface_up: ens3 |
| 697 | volumes: |
| 698 | - name: system |
| 699 | capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }} |
Dennis Dmitriev | a6d717b | 2018-07-27 14:46:02 +0300 | [diff] [blame^] | 700 | backing_store: cloudimage1604 |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 701 | format: qcow2 |
| 702 | - name: iso # Volume with name 'iso' will be used |
| 703 | # for store image with cloud-init metadata. |
| 704 | capacity: 1 |
| 705 | format: raw |
| 706 | device: cdrom |
| 707 | bus: ide |
| 708 | cloudinit_meta_data: *cloudinit_meta_data |
| 709 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 710 | |
| 711 | interfaces: *interfaces |
| 712 | network_config: *network_config |
| 713 | |
| 714 | - name: {{ HOSTNAME_KVM03 }} |
| 715 | role: salt_minion |
| 716 | params: |
| 717 | vcpu: {{ os_env('KVM_NODE_CPU', 1) }} |
| 718 | memory: {{ os_env('KVM_NODE_MEMORY', 1024) }} |
| 719 | boot: |
| 720 | - hd |
| 721 | cloud_init_volume_name: iso |
| 722 | cloud_init_iface_up: ens3 |
| 723 | volumes: |
| 724 | - name: system |
| 725 | capacity: {{ os_env('KVM_NODE_VOLUME_SIZE', 150) }} |
Dennis Dmitriev | a6d717b | 2018-07-27 14:46:02 +0300 | [diff] [blame^] | 726 | backing_store: cloudimage1604 |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 727 | format: qcow2 |
| 728 | - name: iso # Volume with name 'iso' will be used |
| 729 | # for store image with cloud-init metadata. |
| 730 | capacity: 1 |
| 731 | format: raw |
| 732 | device: cdrom |
| 733 | bus: ide |
| 734 | cloudinit_meta_data: *cloudinit_meta_data |
| 735 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 736 | |
| 737 | interfaces: *interfaces |
| 738 | network_config: *network_config |
| 739 | |
| 740 | - name: {{ HOSTNAME_CID01 }} |
| 741 | role: salt_minion |
| 742 | params: |
| 743 | vcpu: {{ os_env('CID_NODE_CPU', 3) }} |
| 744 | memory: {{ os_env('CID_NODE_MEMORY', 8192) }} |
| 745 | boot: |
| 746 | - hd |
| 747 | cloud_init_volume_name: iso |
| 748 | cloud_init_iface_up: ens3 |
| 749 | volumes: |
| 750 | - name: system |
| 751 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
Dennis Dmitriev | a6d717b | 2018-07-27 14:46:02 +0300 | [diff] [blame^] | 752 | backing_store: cloudimage1604 |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 753 | format: qcow2 |
| 754 | - name: iso # Volume with name 'iso' will be used |
| 755 | # for store image with cloud-init metadata. |
| 756 | capacity: 1 |
| 757 | format: raw |
| 758 | device: cdrom |
| 759 | bus: ide |
| 760 | cloudinit_meta_data: *cloudinit_meta_data |
| 761 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 762 | |
| 763 | interfaces: *interfaces |
| 764 | network_config: *network_config |
| 765 | |
| 766 | - name: {{ HOSTNAME_CID02 }} |
| 767 | role: salt_minion |
| 768 | params: |
| 769 | vcpu: {{ os_env('CID_NODE_CPU', 3) }} |
| 770 | memory: {{ os_env('CID_NODE_MEMORY', 8192) }} |
| 771 | boot: |
| 772 | - hd |
| 773 | cloud_init_volume_name: iso |
| 774 | cloud_init_iface_up: ens3 |
| 775 | volumes: |
| 776 | - name: system |
| 777 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
Dennis Dmitriev | a6d717b | 2018-07-27 14:46:02 +0300 | [diff] [blame^] | 778 | backing_store: cloudimage1604 |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 779 | format: qcow2 |
| 780 | - name: iso # Volume with name 'iso' will be used |
| 781 | # for store image with cloud-init metadata. |
| 782 | capacity: 1 |
| 783 | format: raw |
| 784 | device: cdrom |
| 785 | bus: ide |
| 786 | cloudinit_meta_data: *cloudinit_meta_data |
| 787 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 788 | |
| 789 | interfaces: *interfaces |
| 790 | network_config: *network_config |
| 791 | |
| 792 | - name: {{ HOSTNAME_CID03 }} |
| 793 | role: salt_minion |
| 794 | params: |
| 795 | vcpu: {{ os_env('CID_NODE_CPU', 3) }} |
| 796 | memory: {{ os_env('CID_NODE_MEMORY', 8192) }} |
| 797 | boot: |
| 798 | - hd |
| 799 | cloud_init_volume_name: iso |
| 800 | cloud_init_iface_up: ens3 |
| 801 | volumes: |
| 802 | - name: system |
| 803 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
Dennis Dmitriev | a6d717b | 2018-07-27 14:46:02 +0300 | [diff] [blame^] | 804 | backing_store: cloudimage1604 |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 805 | format: qcow2 |
| 806 | - name: iso # Volume with name 'iso' will be used |
| 807 | # for store image with cloud-init metadata. |
| 808 | capacity: 1 |
| 809 | format: raw |
| 810 | device: cdrom |
| 811 | bus: ide |
| 812 | cloudinit_meta_data: *cloudinit_meta_data |
| 813 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 814 | |
| 815 | interfaces: *interfaces |
| 816 | network_config: *network_config |