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-ceph-rgw/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 5 | {% import 'virtual-mcp-pike-dvr-ceph-rgw/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
| 6 | {% import 'virtual-mcp-pike-dvr-ceph-rgw/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-ceph-rgw') %} |
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) %} |
| 23 | {% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01.' + DOMAIN_NAME) %} |
| 24 | {% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02.' + DOMAIN_NAME) %} |
| 25 | {% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03.' + DOMAIN_NAME) %} |
| 26 | {% set HOSTNAME_RGW01 = os_env('HOSTNAME_CMN01', 'rgw01.' + DOMAIN_NAME) %} |
| 27 | {% set HOSTNAME_RGW02 = os_env('HOSTNAME_CMN02', 'rgw02.' + DOMAIN_NAME) %} |
| 28 | {% set HOSTNAME_RGW03 = os_env('HOSTNAME_CMN03', 'rgw03.' + DOMAIN_NAME) %} |
| 29 | {% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd01.' + DOMAIN_NAME) %} |
| 30 | {% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd02.' + DOMAIN_NAME) %} |
| 31 | {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %} |
| 32 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
| 33 | |
| 34 | template: |
| 35 | devops_settings: |
Tatyana Leontovich | b0b68d9 | 2018-01-11 13:27:08 +0200 | [diff] [blame] | 36 | env_name: {{ os_env('ENV_NAME', 'virtual-mcp-pike-dvr-ceph-rgw_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 37 | |
| 38 | address_pools: |
| 39 | private-pool01: |
| 40 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 41 | params: |
| 42 | ip_reserved: |
| 43 | gateway: +1 |
| 44 | l2_network_device: +1 |
| 45 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 46 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 47 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 48 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 49 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 50 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 51 | default_{{ HOSTNAME_OSD01 }}: +94 |
| 52 | default_{{ HOSTNAME_OSD02 }}: +95 |
| 53 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 54 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 55 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 56 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 57 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 58 | default_{{ HOSTNAME_RGW03 }}: +78 |
| 59 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 60 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 61 | ip_ranges: |
| 62 | dhcp: [+70, -10] |
| 63 | |
| 64 | admin-pool01: |
| 65 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 66 | params: |
| 67 | ip_reserved: |
| 68 | gateway: +1 |
| 69 | l2_network_device: +1 |
| 70 | default_{{ HOSTNAME_CFG01 }}: +90 |
| 71 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 72 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 73 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 74 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 75 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 76 | default_{{ HOSTNAME_OSD01 }}: +94 |
| 77 | default_{{ HOSTNAME_OSD02 }}: +95 |
| 78 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 79 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 80 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 81 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 82 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 83 | default_{{ HOSTNAME_RGW03 }}: +78 |
| 84 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 85 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 86 | ip_ranges: |
| 87 | dhcp: [+70, -10] |
| 88 | |
| 89 | tenant-pool01: |
| 90 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 91 | params: |
| 92 | ip_reserved: |
| 93 | gateway: +1 |
| 94 | l2_network_device: +1 |
| 95 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 96 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 97 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 98 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 99 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 100 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 101 | default_{{ HOSTNAME_OSD01 }}: +94 |
| 102 | default_{{ HOSTNAME_OSD02 }}: +95 |
| 103 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 104 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 105 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 106 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 107 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 108 | default_{{ HOSTNAME_RGW03 }}: +78 |
| 109 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 110 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 111 | ip_ranges: |
| 112 | dhcp: [+10, -10] |
| 113 | |
| 114 | external-pool01: |
| 115 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 116 | params: |
| 117 | ip_reserved: |
| 118 | gateway: +1 |
| 119 | l2_network_device: +1 |
| 120 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 121 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 122 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 123 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 124 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 125 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 126 | default_{{ HOSTNAME_OSD01 }}: +94 |
| 127 | default_{{ HOSTNAME_OSD02 }}: +95 |
| 128 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 129 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 130 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 131 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 132 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 133 | default_{{ HOSTNAME_RGW03 }}: +78 |
| 134 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 135 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 136 | ip_ranges: |
| 137 | dhcp: [+10, -10] |
| 138 | |
| 139 | |
| 140 | groups: |
| 141 | - name: default |
| 142 | driver: |
| 143 | name: devops.driver.libvirt |
| 144 | params: |
| 145 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 146 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 147 | stp: False |
| 148 | hpet: False |
| 149 | enable_acpi: true |
| 150 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 151 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
| 152 | |
| 153 | network_pools: |
| 154 | admin: admin-pool01 |
| 155 | private: private-pool01 |
| 156 | tenant: tenant-pool01 |
| 157 | external: external-pool01 |
| 158 | |
| 159 | l2_network_devices: |
| 160 | private: |
| 161 | address_pool: private-pool01 |
| 162 | dhcp: true |
Dennis Dmitriev | a5978eb | 2018-02-21 10:12:33 +0200 | [diff] [blame] | 163 | forward: |
| 164 | mode: route |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 165 | |
| 166 | admin: |
| 167 | address_pool: admin-pool01 |
| 168 | dhcp: true |
| 169 | forward: |
| 170 | mode: nat |
| 171 | |
| 172 | tenant: |
| 173 | address_pool: tenant-pool01 |
| 174 | dhcp: true |
| 175 | |
| 176 | external: |
| 177 | address_pool: external-pool01 |
| 178 | dhcp: true |
| 179 | forward: |
| 180 | mode: nat |
| 181 | |
| 182 | |
| 183 | group_volumes: |
| 184 | - 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] | 185 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img |
| 186 | format: qcow2 |
| 187 | - name: cfg01_day01_image # Pre-configured day01 image |
| 188 | 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] | 189 | format: qcow2 |
Tatyana Leontovich | ded2990 | 2018-01-30 09:53:34 +0200 | [diff] [blame] | 190 | - name: mcp_ubuntu_1604_image # Pre-configured image for control plane |
| 191 | source_image: !os_env MCP_IMAGE_PATH1604 |
| 192 | format: qcow2 |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 193 | |
| 194 | nodes: |
| 195 | - name: {{ HOSTNAME_CFG01 }} |
| 196 | role: salt_master |
| 197 | params: |
| 198 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 75e250f | 2018-02-26 17:13:59 +0200 | [diff] [blame^] | 199 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 200 | boot: |
| 201 | - hd |
| 202 | cloud_init_volume_name: iso |
| 203 | cloud_init_iface_up: ens3 |
| 204 | volumes: |
| 205 | - name: system |
| 206 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | f00a384 | 2018-01-24 16:44:26 +0200 | [diff] [blame] | 207 | backing_store: cfg01_day01_image |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 208 | format: qcow2 |
| 209 | - name: iso # Volume with name 'iso' will be used |
| 210 | # for store image with cloud-init metadata. |
| 211 | capacity: 1 |
| 212 | format: raw |
| 213 | device: cdrom |
| 214 | bus: ide |
| 215 | cloudinit_meta_data: *cloudinit_meta_data |
| 216 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 217 | |
| 218 | interfaces: |
| 219 | - label: ens3 |
| 220 | l2_network_device: admin |
| 221 | interface_model: *interface_model |
| 222 | - label: ens4 |
| 223 | l2_network_device: private |
| 224 | interface_model: *interface_model |
| 225 | network_config: |
| 226 | ens3: |
| 227 | networks: |
| 228 | - admin |
| 229 | ens4: |
| 230 | networks: |
| 231 | - private |
| 232 | |
| 233 | - name: {{ HOSTNAME_CTL01 }} |
| 234 | role: salt_minion |
| 235 | params: |
| 236 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 75e250f | 2018-02-26 17:13:59 +0200 | [diff] [blame^] | 237 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 238 | boot: |
| 239 | - hd |
| 240 | cloud_init_volume_name: iso |
| 241 | cloud_init_iface_up: ens3 |
| 242 | volumes: |
| 243 | - name: system |
| 244 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Tatyana Leontovich | ded2990 | 2018-01-30 09:53:34 +0200 | [diff] [blame] | 245 | backing_store: mcp_ubuntu_1604_image |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 246 | format: qcow2 |
| 247 | - name: cinder |
| 248 | capacity: 50 |
| 249 | format: qcow2 |
| 250 | - name: iso # Volume with name 'iso' will be used |
| 251 | # for store image with cloud-init metadata. |
| 252 | capacity: 1 |
| 253 | format: raw |
| 254 | device: cdrom |
| 255 | bus: ide |
| 256 | cloudinit_meta_data: *cloudinit_meta_data |
| 257 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 258 | |
| 259 | interfaces: &interfaces |
| 260 | - label: ens3 |
| 261 | l2_network_device: admin |
| 262 | interface_model: *interface_model |
| 263 | - label: ens4 |
| 264 | l2_network_device: private |
| 265 | interface_model: *interface_model |
| 266 | network_config: &network_config |
| 267 | ens3: |
| 268 | networks: |
| 269 | - admin |
| 270 | ens4: |
| 271 | networks: |
| 272 | - private |
| 273 | |
| 274 | - name: {{ HOSTNAME_CTL02 }} |
| 275 | role: salt_minion |
| 276 | params: |
| 277 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 75e250f | 2018-02-26 17:13:59 +0200 | [diff] [blame^] | 278 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 279 | boot: |
| 280 | - hd |
| 281 | cloud_init_volume_name: iso |
| 282 | cloud_init_iface_up: ens3 |
| 283 | volumes: |
| 284 | - name: system |
| 285 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Tatyana Leontovich | ded2990 | 2018-01-30 09:53:34 +0200 | [diff] [blame] | 286 | backing_store: mcp_ubuntu_1604_image |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 287 | format: qcow2 |
| 288 | - name: cinder |
| 289 | capacity: 50 |
| 290 | format: qcow2 |
| 291 | - name: iso # Volume with name 'iso' will be used |
| 292 | # for store image with cloud-init metadata. |
| 293 | capacity: 1 |
| 294 | format: raw |
| 295 | device: cdrom |
| 296 | bus: ide |
| 297 | cloudinit_meta_data: *cloudinit_meta_data |
| 298 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 299 | |
| 300 | interfaces: *interfaces |
| 301 | network_config: *network_config |
| 302 | |
| 303 | - name: {{ HOSTNAME_CTL03 }} |
| 304 | role: salt_minion |
| 305 | params: |
| 306 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 75e250f | 2018-02-26 17:13:59 +0200 | [diff] [blame^] | 307 | memory: !os_env SLAVE_NODE_MEMORY, 16384 |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 308 | boot: |
| 309 | - hd |
| 310 | cloud_init_volume_name: iso |
| 311 | cloud_init_iface_up: ens3 |
| 312 | volumes: |
| 313 | - name: system |
| 314 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Tatyana Leontovich | ded2990 | 2018-01-30 09:53:34 +0200 | [diff] [blame] | 315 | backing_store: mcp_ubuntu_1604_image |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 316 | format: qcow2 |
| 317 | - name: cinder |
| 318 | capacity: 50 |
| 319 | format: qcow2 |
| 320 | - name: iso # Volume with name 'iso' will be used |
| 321 | # for store image with cloud-init metadata. |
| 322 | capacity: 1 |
| 323 | format: raw |
| 324 | device: cdrom |
| 325 | bus: ide |
| 326 | cloudinit_meta_data: *cloudinit_meta_data |
| 327 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 328 | |
| 329 | interfaces: *interfaces |
| 330 | network_config: *network_config |
| 331 | |
| 332 | - name: {{ HOSTNAME_CMN01 }} |
| 333 | role: salt_minion |
| 334 | params: |
| 335 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 336 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 337 | boot: |
| 338 | - hd |
| 339 | cloud_init_volume_name: iso |
| 340 | cloud_init_iface_up: ens3 |
| 341 | volumes: |
| 342 | - name: system |
| 343 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 344 | backing_store: cloudimage1604 |
| 345 | format: qcow2 |
| 346 | - name: iso # Volume with name 'iso' will be used |
| 347 | # for store image with cloud-init metadata. |
| 348 | capacity: 1 |
| 349 | format: raw |
| 350 | device: cdrom |
| 351 | bus: ide |
| 352 | cloudinit_meta_data: *cloudinit_meta_data |
| 353 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 354 | |
| 355 | interfaces: *interfaces |
| 356 | network_config: *network_config |
| 357 | |
| 358 | - name: {{ HOSTNAME_CMN02 }} |
| 359 | role: salt_minion |
| 360 | params: |
| 361 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 362 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 363 | boot: |
| 364 | - hd |
| 365 | cloud_init_volume_name: iso |
| 366 | cloud_init_iface_up: ens3 |
| 367 | volumes: |
| 368 | - name: system |
| 369 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 370 | backing_store: cloudimage1604 |
| 371 | format: qcow2 |
| 372 | - name: iso # Volume with name 'iso' will be used |
| 373 | # for store image with cloud-init metadata. |
| 374 | capacity: 1 |
| 375 | format: raw |
| 376 | device: cdrom |
| 377 | bus: ide |
| 378 | cloudinit_meta_data: *cloudinit_meta_data |
| 379 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 380 | |
| 381 | interfaces: *interfaces |
| 382 | network_config: *network_config |
| 383 | |
| 384 | - name: {{ HOSTNAME_CMN03 }} |
| 385 | role: salt_minion |
| 386 | params: |
| 387 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 388 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 389 | boot: |
| 390 | - hd |
| 391 | cloud_init_volume_name: iso |
| 392 | cloud_init_iface_up: ens3 |
| 393 | volumes: |
| 394 | - name: system |
| 395 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 396 | backing_store: cloudimage1604 |
| 397 | format: qcow2 |
| 398 | - name: iso # Volume with name 'iso' will be used |
| 399 | # for store image with cloud-init metadata. |
| 400 | capacity: 1 |
| 401 | format: raw |
| 402 | device: cdrom |
| 403 | bus: ide |
| 404 | cloudinit_meta_data: *cloudinit_meta_data |
| 405 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 406 | |
| 407 | interfaces: *interfaces |
| 408 | network_config: *network_config |
| 409 | |
| 410 | - name: {{ HOSTNAME_OSD01 }} |
| 411 | role: salt_minion |
| 412 | params: |
| 413 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 414 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 415 | boot: |
| 416 | - hd |
| 417 | cloud_init_volume_name: iso |
| 418 | cloud_init_iface_up: ens3 |
| 419 | volumes: |
| 420 | - name: system |
| 421 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 422 | backing_store: cloudimage1604 |
| 423 | format: qcow2 |
| 424 | - name: cinder |
| 425 | capacity: 50 |
| 426 | format: qcow2 |
| 427 | - name: ceph |
| 428 | capacity: 50 |
| 429 | format: qcow2 |
| 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 | interfaces: *interfaces |
| 440 | network_config: *network_config |
| 441 | |
| 442 | - name: {{ HOSTNAME_OSD02 }} |
| 443 | role: salt_minion |
| 444 | params: |
| 445 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 446 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 447 | boot: |
| 448 | - hd |
| 449 | cloud_init_volume_name: iso |
| 450 | cloud_init_iface_up: ens3 |
| 451 | volumes: |
| 452 | - name: system |
| 453 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 454 | backing_store: cloudimage1604 |
| 455 | format: qcow2 |
| 456 | - name: cinder |
| 457 | capacity: 50 |
| 458 | format: qcow2 |
| 459 | - name: ceph |
| 460 | capacity: 50 |
| 461 | format: qcow2 |
| 462 | - name: iso # Volume with name 'iso' will be used |
| 463 | # for store image with cloud-init metadata. |
| 464 | capacity: 1 |
| 465 | format: raw |
| 466 | device: cdrom |
| 467 | bus: ide |
| 468 | cloudinit_meta_data: *cloudinit_meta_data |
| 469 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 470 | |
| 471 | interfaces: *interfaces |
| 472 | network_config: *network_config |
| 473 | |
| 474 | - name: {{ HOSTNAME_RGW01 }} |
| 475 | role: salt_minion |
| 476 | params: |
| 477 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 478 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 479 | boot: |
| 480 | - hd |
| 481 | cloud_init_volume_name: iso |
| 482 | cloud_init_iface_up: ens3 |
| 483 | volumes: |
| 484 | - name: system |
| 485 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 486 | backing_store: cloudimage1604 |
| 487 | format: qcow2 |
| 488 | - name: iso # Volume with name 'iso' will be used |
| 489 | # for store image with cloud-init metadata. |
| 490 | capacity: 1 |
| 491 | format: raw |
| 492 | device: cdrom |
| 493 | bus: ide |
| 494 | cloudinit_meta_data: *cloudinit_meta_data |
| 495 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 496 | |
| 497 | interfaces: *interfaces |
| 498 | network_config: *network_config |
| 499 | |
| 500 | - name: {{ HOSTNAME_RGW02 }} |
| 501 | role: salt_minion |
| 502 | params: |
| 503 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 504 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 505 | boot: |
| 506 | - hd |
| 507 | cloud_init_volume_name: iso |
| 508 | cloud_init_iface_up: ens3 |
| 509 | volumes: |
| 510 | - name: system |
| 511 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 512 | backing_store: cloudimage1604 |
| 513 | format: qcow2 |
| 514 | - name: iso # Volume with name 'iso' will be used |
| 515 | # for store image with cloud-init metadata. |
| 516 | capacity: 1 |
| 517 | format: raw |
| 518 | device: cdrom |
| 519 | bus: ide |
| 520 | cloudinit_meta_data: *cloudinit_meta_data |
| 521 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 522 | |
| 523 | interfaces: *interfaces |
| 524 | network_config: *network_config |
| 525 | - name: {{ HOSTNAME_RGW03 }} |
| 526 | role: salt_minion |
| 527 | params: |
| 528 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 529 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 530 | boot: |
| 531 | - hd |
| 532 | cloud_init_volume_name: iso |
| 533 | cloud_init_iface_up: ens3 |
| 534 | volumes: |
| 535 | - name: system |
| 536 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 537 | backing_store: cloudimage1604 |
| 538 | format: qcow2 |
| 539 | - name: iso # Volume with name 'iso' will be used |
| 540 | # for store image with cloud-init metadata. |
| 541 | capacity: 1 |
| 542 | format: raw |
| 543 | device: cdrom |
| 544 | bus: ide |
| 545 | cloudinit_meta_data: *cloudinit_meta_data |
| 546 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 547 | |
| 548 | interfaces: *interfaces |
| 549 | network_config: *network_config |
| 550 | |
| 551 | - name: {{ HOSTNAME_PRX01 }} |
| 552 | role: salt_minion |
| 553 | params: |
| 554 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 555 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 556 | boot: |
| 557 | - hd |
| 558 | cloud_init_volume_name: iso |
| 559 | cloud_init_iface_up: ens3 |
| 560 | volumes: |
| 561 | - name: system |
| 562 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Tatyana Leontovich | ded2990 | 2018-01-30 09:53:34 +0200 | [diff] [blame] | 563 | backing_store: mcp_ubuntu_1604_image |
Tatyana Leontovich | 56005da | 2017-12-11 13:16:51 +0200 | [diff] [blame] | 564 | format: qcow2 |
| 565 | - name: iso # Volume with name 'iso' will be used |
| 566 | # for store image with cloud-init metadata. |
| 567 | capacity: 1 |
| 568 | format: raw |
| 569 | device: cdrom |
| 570 | bus: ide |
| 571 | cloudinit_meta_data: *cloudinit_meta_data |
| 572 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 573 | |
| 574 | interfaces: *interfaces |
| 575 | network_config: *network_config |
| 576 | |
| 577 | - name: {{ HOSTNAME_CMP01 }} |
| 578 | role: salt_minion |
| 579 | params: |
| 580 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 581 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 582 | boot: |
| 583 | - hd |
| 584 | cloud_init_volume_name: iso |
| 585 | cloud_init_iface_up: ens3 |
| 586 | volumes: |
| 587 | - name: system |
| 588 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 589 | backing_store: cloudimage1604 |
| 590 | format: qcow2 |
| 591 | - name: iso # Volume with name 'iso' will be used |
| 592 | # for store image with cloud-init metadata. |
| 593 | capacity: 1 |
| 594 | format: raw |
| 595 | device: cdrom |
| 596 | bus: ide |
| 597 | cloudinit_meta_data: *cloudinit_meta_data |
| 598 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 599 | |
| 600 | |
| 601 | interfaces: &all_interfaces |
| 602 | - label: ens3 |
| 603 | l2_network_device: admin |
| 604 | interface_model: *interface_model |
| 605 | - label: ens4 |
| 606 | l2_network_device: private |
| 607 | interface_model: *interface_model |
| 608 | - label: ens5 |
| 609 | l2_network_device: tenant |
| 610 | interface_model: *interface_model |
| 611 | - label: ens6 |
| 612 | l2_network_device: external |
| 613 | interface_model: *interface_model |
| 614 | network_config: &all_network_config |
| 615 | ens3: |
| 616 | networks: |
| 617 | - admin |
| 618 | ens4: |
| 619 | networks: |
| 620 | - private |
| 621 | ens5: |
| 622 | networks: |
| 623 | - tenant |
| 624 | ens6: |
| 625 | networks: |
| 626 | - external |
| 627 | |
| 628 | - name: {{ HOSTNAME_CMP02 }} |
| 629 | role: salt_minion |
| 630 | params: |
| 631 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
| 632 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 633 | boot: |
| 634 | - hd |
| 635 | cloud_init_volume_name: iso |
| 636 | cloud_init_iface_up: ens3 |
| 637 | volumes: |
| 638 | - name: system |
| 639 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 640 | backing_store: cloudimage1604 |
| 641 | format: qcow2 |
| 642 | - name: iso # Volume with name 'iso' will be used |
| 643 | # for store image with cloud-init metadata. |
| 644 | capacity: 1 |
| 645 | format: raw |
| 646 | device: cdrom |
| 647 | bus: ide |
| 648 | cloudinit_meta_data: *cloudinit_meta_data |
| 649 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 650 | |
| 651 | interfaces: *all_interfaces |
| 652 | network_config: *all_network_config |
| 653 | |
| 654 | - name: {{ HOSTNAME_GTW01 }} |
| 655 | role: salt_minion |
| 656 | params: |
| 657 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 658 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 659 | boot: |
| 660 | - hd |
| 661 | cloud_init_volume_name: iso |
| 662 | cloud_init_iface_up: ens3 |
| 663 | volumes: |
| 664 | - name: system |
| 665 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 666 | backing_store: cloudimage1604 |
| 667 | format: qcow2 |
| 668 | - name: iso # Volume with name 'iso' will be used |
| 669 | # for store image with cloud-init metadata. |
| 670 | capacity: 1 |
| 671 | format: raw |
| 672 | device: cdrom |
| 673 | bus: ide |
| 674 | cloudinit_meta_data: *cloudinit_meta_data |
| 675 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 676 | |
| 677 | interfaces: *all_interfaces |
| 678 | network_config: *all_network_config |