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