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