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