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