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