Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +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', 'virtual-mcp-ocata-dvr') %} |
| 5 | {% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %} |
| 6 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 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_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %} |
| 11 | {% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %} |
| 12 | {% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 13 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %} |
| 14 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %} |
| 15 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 16 | {% set HOSTNAME_DBS01 = os_env('HOSTNAME_DBS01', 'dbs01.' + DOMAIN_NAME) %} |
| 17 | {% set HOSTNAME_DBS02 = os_env('HOSTNAME_DBS02', 'dbs02.' + DOMAIN_NAME) %} |
| 18 | {% set HOSTNAME_DBS03 = os_env('HOSTNAME_DBS03', 'dbs03.' + DOMAIN_NAME) %} |
| 19 | {% set HOSTNAME_MSG01 = os_env('HOSTNAME_MSG01', 'msg01.' + DOMAIN_NAME) %} |
| 20 | {% set HOSTNAME_MSG02 = os_env('HOSTNAME_MSG02', 'msg02.' + DOMAIN_NAME) %} |
| 21 | {% set HOSTNAME_MSG03 = os_env('HOSTNAME_MSG03', 'msg03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 22 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.' + DOMAIN_NAME) %} |
| 23 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 24 | {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %} |
| 25 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
| 26 | |
| 27 | {% import 'cookieshape-mcp-ocata-dvr-vxlan/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 28 | {% import 'cookieshape-mcp-ocata-dvr-vxlan/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 29 | {% import 'cookieshape-mcp-ocata-dvr-vxlan/underlay--user-data-cicd.yaml' as CLOUDINIT_USER_DATA_CICD with context %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 30 | {% import 'cookieshape-mcp-ocata-dvr-vxlan/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %} |
| 31 | |
| 32 | --- |
| 33 | aliases: |
| 34 | - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }} |
| 35 | - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }} |
| 36 | - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 37 | - &cloudinit_user_data_cicd {{ CLOUDINIT_USER_DATA_CICD }} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 38 | - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }} |
| 39 | |
| 40 | template: |
| 41 | devops_settings: |
| 42 | env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 43 | |
| 44 | address_pools: |
| 45 | private-pool01: |
| 46 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 47 | params: |
| 48 | ip_reserved: |
| 49 | gateway: +1 |
| 50 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 51 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 52 | |
| 53 | default_{{ HOSTNAME_CID }}: +90 |
| 54 | default_{{ HOSTNAME_CID01 }}: +91 |
| 55 | default_{{ HOSTNAME_CID02 }}: +92 |
| 56 | default_{{ HOSTNAME_CID03 }}: +93 |
| 57 | |
| 58 | default_{{ HOSTNAME_KVM }}: +240 |
| 59 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 60 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 61 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 62 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 63 | default_{{ HOSTNAME_CTL }}: +10 |
| 64 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 65 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 66 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 67 | default_{{ HOSTNAME_DBS }}: +50 |
| 68 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 69 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 70 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 71 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 72 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 73 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 74 | default_{{ HOSTNAME_MSG }}: +40 |
| 75 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 76 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 77 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 78 | default_{{ HOSTNAME_PRX }}: +80 |
| 79 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 80 | default_{{ HOSTNAME_PRX02 }}: +82 |
| 81 | default_{{ HOSTNAME_MDB }}: +75 |
| 82 | default_{{ HOSTNAME_MDB01 }}: +76 |
| 83 | default_{{ HOSTNAME_MDB02 }}: +77 |
| 84 | default_{{ HOSTNAME_MDB03 }}: +78 |
| 85 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 86 | |
| 87 | default_{{ HOSTNAME_LOG }}: +60 |
| 88 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 89 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 90 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 91 | default_{{ HOSTNAME_MTR }}: +85 |
| 92 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 93 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 94 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 95 | |
| 96 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 97 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 98 | ip_ranges: |
| 99 | dhcp: [+90, -10] |
| 100 | |
| 101 | admin-pool01: |
| 102 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 103 | params: |
| 104 | ip_reserved: |
| 105 | gateway: +1 |
| 106 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 107 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 108 | |
| 109 | default_{{ HOSTNAME_CID }}: +90 |
| 110 | default_{{ HOSTNAME_CID01 }}: +91 |
| 111 | default_{{ HOSTNAME_CID02 }}: +92 |
| 112 | default_{{ HOSTNAME_CID03 }}: +93 |
| 113 | |
| 114 | default_{{ HOSTNAME_KVM }}: +240 |
| 115 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 116 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 117 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 118 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 119 | default_{{ HOSTNAME_CTL }}: +10 |
| 120 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 121 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 122 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 123 | default_{{ HOSTNAME_DBS }}: +50 |
| 124 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 125 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 126 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 127 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 128 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 129 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 130 | default_{{ HOSTNAME_MSG }}: +40 |
| 131 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 132 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 133 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 134 | default_{{ HOSTNAME_PRX }}: +80 |
| 135 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 136 | default_{{ HOSTNAME_PRX02 }}: +82 |
| 137 | default_{{ HOSTNAME_MDB }}: +75 |
| 138 | default_{{ HOSTNAME_MDB01 }}: +76 |
| 139 | default_{{ HOSTNAME_MDB02 }}: +77 |
| 140 | default_{{ HOSTNAME_MDB03 }}: +78 |
| 141 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 142 | |
| 143 | default_{{ HOSTNAME_LOG }}: +60 |
| 144 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 145 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 146 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 147 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 148 | default_{{ HOSTNAME_MTR }}: +85 |
| 149 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 150 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 151 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 152 | |
| 153 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 154 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 155 | ip_ranges: |
| 156 | dhcp: [+90, -10] |
| 157 | |
| 158 | tenant-pool01: |
| 159 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 160 | params: |
| 161 | ip_reserved: |
| 162 | gateway: +1 |
| 163 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 164 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 165 | |
| 166 | default_{{ HOSTNAME_CID }}: +90 |
| 167 | default_{{ HOSTNAME_CID01 }}: +91 |
| 168 | default_{{ HOSTNAME_CID02 }}: +92 |
| 169 | default_{{ HOSTNAME_CID03 }}: +93 |
| 170 | |
| 171 | default_{{ HOSTNAME_KVM }}: +240 |
| 172 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 173 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 174 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 175 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 176 | default_{{ HOSTNAME_CTL }}: +10 |
| 177 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 178 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 179 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 180 | default_{{ HOSTNAME_DBS }}: +50 |
| 181 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 182 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 183 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 184 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 185 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 186 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 187 | default_{{ HOSTNAME_MSG }}: +40 |
| 188 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 189 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 190 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 191 | default_{{ HOSTNAME_PRX }}: +80 |
| 192 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 193 | default_{{ HOSTNAME_PRX02 }}: +82 |
| 194 | default_{{ HOSTNAME_MDB }}: +75 |
| 195 | default_{{ HOSTNAME_MDB01 }}: +76 |
| 196 | default_{{ HOSTNAME_MDB02 }}: +77 |
| 197 | default_{{ HOSTNAME_MDB03 }}: +78 |
| 198 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 199 | |
| 200 | default_{{ HOSTNAME_LOG }}: +60 |
| 201 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 202 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 203 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 204 | default_{{ HOSTNAME_MTR }}: +85 |
| 205 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 206 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 207 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 208 | |
| 209 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 210 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 211 | ip_ranges: |
| 212 | dhcp: [+10, -10] |
| 213 | |
| 214 | external-pool01: |
| 215 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 216 | params: |
| 217 | ip_reserved: |
| 218 | gateway: +1 |
| 219 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 220 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 221 | |
| 222 | default_{{ HOSTNAME_CID }}: +90 |
| 223 | default_{{ HOSTNAME_CID01 }}: +91 |
| 224 | default_{{ HOSTNAME_CID02 }}: +92 |
| 225 | default_{{ HOSTNAME_CID03 }}: +93 |
| 226 | |
| 227 | default_{{ HOSTNAME_KVM }}: +240 |
| 228 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 229 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 230 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 231 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 232 | default_{{ HOSTNAME_CTL }}: +10 |
| 233 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 234 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 235 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 236 | default_{{ HOSTNAME_DBS }}: +50 |
| 237 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 238 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 239 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 240 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 241 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 242 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 243 | default_{{ HOSTNAME_MSG }}: +40 |
| 244 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 245 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 246 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 247 | default_{{ HOSTNAME_PRX }}: +80 |
| 248 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 249 | default_{{ HOSTNAME_PRX02 }}: +82 |
| 250 | default_{{ HOSTNAME_MDB }}: +75 |
| 251 | default_{{ HOSTNAME_MDB01 }}: +76 |
| 252 | default_{{ HOSTNAME_MDB02 }}: +77 |
| 253 | default_{{ HOSTNAME_MDB03 }}: +78 |
| 254 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 255 | |
| 256 | default_{{ HOSTNAME_LOG }}: +60 |
| 257 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 258 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 259 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 260 | default_{{ HOSTNAME_MTR }}: +85 |
| 261 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 262 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 263 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 264 | |
| 265 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 266 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 267 | ip_ranges: |
| 268 | dhcp: [+10, -10] |
| 269 | |
| 270 | |
| 271 | groups: |
| 272 | - name: default |
| 273 | driver: |
| 274 | name: devops.driver.libvirt |
| 275 | params: |
| 276 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 277 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 278 | stp: False |
| 279 | hpet: False |
| 280 | enable_acpi: true |
| 281 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 282 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
| 283 | |
| 284 | network_pools: |
| 285 | admin: admin-pool01 |
| 286 | private: private-pool01 |
| 287 | tenant: tenant-pool01 |
| 288 | external: external-pool01 |
| 289 | |
| 290 | l2_network_devices: |
| 291 | private: |
| 292 | address_pool: private-pool01 |
| 293 | dhcp: true |
| 294 | |
| 295 | admin: |
| 296 | address_pool: admin-pool01 |
| 297 | dhcp: true |
| 298 | forward: |
| 299 | mode: nat |
| 300 | |
| 301 | tenant: |
| 302 | address_pool: tenant-pool01 |
| 303 | dhcp: true |
| 304 | |
| 305 | external: |
| 306 | address_pool: external-pool01 |
| 307 | dhcp: true |
| 308 | forward: |
| 309 | mode: nat |
| 310 | |
| 311 | |
| 312 | group_volumes: |
| 313 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 314 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or |
| 315 | # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2 |
| 316 | format: qcow2 |
| 317 | |
| 318 | nodes: |
| 319 | - name: {{ HOSTNAME_CFG01 }} |
| 320 | role: salt_master |
| 321 | params: |
| 322 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 323 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 324 | boot: |
| 325 | - hd |
| 326 | cloud_init_volume_name: iso |
| 327 | cloud_init_iface_up: ens3 |
| 328 | volumes: |
| 329 | - name: system |
| 330 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 331 | backing_store: cloudimage1604 |
| 332 | format: qcow2 |
| 333 | - name: iso # Volume with name 'iso' will be used |
| 334 | # for store image with cloud-init metadata. |
| 335 | capacity: 1 |
| 336 | format: raw |
| 337 | device: cdrom |
| 338 | bus: ide |
| 339 | cloudinit_meta_data: *cloudinit_meta_data |
| 340 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 341 | |
| 342 | interfaces: |
| 343 | - label: ens3 |
| 344 | l2_network_device: admin |
| 345 | interface_model: *interface_model |
| 346 | - label: ens4 |
| 347 | l2_network_device: private |
| 348 | interface_model: *interface_model |
| 349 | network_config: |
| 350 | ens3: |
| 351 | networks: |
| 352 | - admin |
| 353 | ens4: |
| 354 | networks: |
| 355 | - private |
| 356 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 357 | - name: {{ HOSTNAME_CID01 }} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 358 | role: salt_minion |
| 359 | params: |
| 360 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 361 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 362 | boot: |
| 363 | - hd |
| 364 | cloud_init_volume_name: iso |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 365 | cloud_init_iface_up: ens4 |
| 366 | volumes: |
| 367 | - name: system |
| 368 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 369 | backing_store: cloudimage1604 |
| 370 | format: qcow2 |
| 371 | - name: iso # Volume with name 'iso' will be used |
| 372 | # for store image with cloud-init metadata. |
| 373 | capacity: 1 |
| 374 | format: raw |
| 375 | device: cdrom |
| 376 | bus: ide |
| 377 | cloudinit_meta_data: *cloudinit_meta_data |
| 378 | cloudinit_user_data: *cloudinit_user_data_cicd |
| 379 | |
| 380 | interfaces: &cid_interfaces |
| 381 | - label: ens3 |
| 382 | l2_network_device: private |
| 383 | interface_model: *interface_model |
| 384 | - label: ens4 |
| 385 | l2_network_device: admin |
| 386 | interface_model: *interface_model |
| 387 | network_config: &cid_network_config |
| 388 | ens3: |
| 389 | networks: |
| 390 | - private |
| 391 | ens4: |
| 392 | networks: |
| 393 | - admin |
| 394 | |
| 395 | # - name: {{ HOSTNAME_CID02 }} |
| 396 | # role: salt_minion |
| 397 | # params: |
| 398 | ## vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 399 | # memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 400 | # boot: |
| 401 | # - hd |
| 402 | # cloud_init_volume_name: iso |
| 403 | # cloud_init_iface_up: ens4 |
| 404 | # volumes: |
| 405 | # - name: system |
| 406 | # capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 407 | # backing_store: cloudimage1604 |
| 408 | # format: qcow2 |
| 409 | # - name: iso # Volume with name 'iso' will be used |
| 410 | # # for store image with cloud-init metadata. |
| 411 | # capacity: 1 |
| 412 | # format: raw |
| 413 | # device: cdrom |
| 414 | # bus: ide |
| 415 | # cloudinit_meta_data: *cloudinit_meta_data |
| 416 | # cloudinit_user_data: *cloudinit_user_data_cicd |
| 417 | # |
| 418 | # interfaces: *cid_interfaces |
| 419 | # network_config: *cid_network_config |
| 420 | |
| 421 | # - name: {{ HOSTNAME_CID03 }} |
| 422 | # role: salt_minion |
| 423 | # params: |
| 424 | # vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 425 | # memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 426 | # boot: |
| 427 | # - hd |
| 428 | # cloud_init_volume_name: iso |
| 429 | # cloud_init_iface_up: ens4 |
| 430 | # volumes: |
| 431 | # - name: system |
| 432 | # capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 433 | # backing_store: cloudimage1604 |
| 434 | # format: qcow2 |
| 435 | # - name: iso # Volume with name 'iso' will be used |
| 436 | # # for store image with cloud-init metadata. |
| 437 | # capacity: 1 |
| 438 | # format: raw |
| 439 | # device: cdrom |
| 440 | # bus: ide |
| 441 | # cloudinit_meta_data: *cloudinit_meta_data |
| 442 | # cloudinit_user_data: *cloudinit_user_data_cicd |
| 443 | # |
| 444 | # interfaces: *cid_interfaces |
| 445 | # network_config: *cid_network_config |
| 446 | |
| 447 | # KVM* nodes required for services like glusterfs.server |
| 448 | - name: {{ HOSTNAME_KVM01 }} |
| 449 | role: salt_minion |
| 450 | params: |
| 451 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 452 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 453 | boot: |
| 454 | - hd |
| 455 | cloud_init_volume_name: iso |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 456 | cloud_init_iface_up: ens3 |
| 457 | volumes: |
| 458 | - name: system |
| 459 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 460 | backing_store: cloudimage1604 |
| 461 | format: qcow2 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 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 | - label: ens3 |
| 473 | l2_network_device: admin |
| 474 | interface_model: *interface_model |
| 475 | - label: ens4 |
| 476 | l2_network_device: private |
| 477 | interface_model: *interface_model |
| 478 | network_config: &network_config |
| 479 | ens3: |
| 480 | networks: |
| 481 | - admin |
| 482 | ens4: |
| 483 | networks: |
| 484 | - private |
| 485 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 486 | - name: {{ HOSTNAME_KVM02 }} |
| 487 | role: salt_minion |
| 488 | params: |
| 489 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 490 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 491 | boot: |
| 492 | - hd |
| 493 | cloud_init_volume_name: iso |
| 494 | cloud_init_iface_up: ens3 |
| 495 | volumes: |
| 496 | - name: system |
| 497 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 498 | backing_store: cloudimage1604 |
| 499 | format: qcow2 |
| 500 | - name: iso # Volume with name 'iso' will be used |
| 501 | # for store image with cloud-init metadata. |
| 502 | capacity: 1 |
| 503 | format: raw |
| 504 | device: cdrom |
| 505 | bus: ide |
| 506 | cloudinit_meta_data: *cloudinit_meta_data |
| 507 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 508 | |
| 509 | interfaces: *interfaces |
| 510 | network_config: *network_config |
| 511 | |
| 512 | - name: {{ HOSTNAME_KVM03 }} |
| 513 | role: salt_minion |
| 514 | params: |
| 515 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 516 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 517 | boot: |
| 518 | - hd |
| 519 | cloud_init_volume_name: iso |
| 520 | cloud_init_iface_up: ens3 |
| 521 | volumes: |
| 522 | - name: system |
| 523 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 524 | backing_store: cloudimage1604 |
| 525 | format: qcow2 |
| 526 | - name: iso # Volume with name 'iso' will be used |
| 527 | # for store image with cloud-init metadata. |
| 528 | capacity: 1 |
| 529 | format: raw |
| 530 | device: cdrom |
| 531 | bus: ide |
| 532 | cloudinit_meta_data: *cloudinit_meta_data |
| 533 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 534 | |
| 535 | interfaces: *interfaces |
| 536 | network_config: *network_config |
| 537 | |
| 538 | - name: {{ HOSTNAME_DBS01 }} |
| 539 | role: salt_minion |
| 540 | params: |
| 541 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 542 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 543 | boot: |
| 544 | - hd |
| 545 | cloud_init_volume_name: iso |
| 546 | cloud_init_iface_up: ens4 |
| 547 | volumes: |
| 548 | - name: system |
| 549 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 550 | backing_store: cloudimage1604 |
| 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_cicd |
| 560 | |
| 561 | interfaces: *cid_interfaces |
| 562 | network_config: *cid_network_config |
| 563 | |
| 564 | - name: {{ HOSTNAME_DBS02 }} |
| 565 | role: salt_minion |
| 566 | params: |
| 567 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 568 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 569 | boot: |
| 570 | - hd |
| 571 | cloud_init_volume_name: iso |
| 572 | cloud_init_iface_up: ens4 |
| 573 | volumes: |
| 574 | - name: system |
| 575 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 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 |
| 585 | cloudinit_user_data: *cloudinit_user_data_cicd |
| 586 | |
| 587 | interfaces: *cid_interfaces |
| 588 | network_config: *cid_network_config |
| 589 | |
| 590 | - name: {{ HOSTNAME_DBS03 }} |
| 591 | role: salt_minion |
| 592 | params: |
| 593 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 594 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 595 | boot: |
| 596 | - hd |
| 597 | cloud_init_volume_name: iso |
| 598 | cloud_init_iface_up: ens4 |
| 599 | volumes: |
| 600 | - name: system |
| 601 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 602 | backing_store: cloudimage1604 |
| 603 | format: qcow2 |
| 604 | - name: iso # Volume with name 'iso' will be used |
| 605 | # for store image with cloud-init metadata. |
| 606 | capacity: 1 |
| 607 | format: raw |
| 608 | device: cdrom |
| 609 | bus: ide |
| 610 | cloudinit_meta_data: *cloudinit_meta_data |
| 611 | cloudinit_user_data: *cloudinit_user_data_cicd |
| 612 | |
| 613 | interfaces: *cid_interfaces |
| 614 | network_config: *cid_network_config |
| 615 | |
| 616 | - name: {{ HOSTNAME_MSG01 }} |
| 617 | role: salt_minion |
| 618 | params: |
| 619 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 620 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 621 | boot: |
| 622 | - hd |
| 623 | cloud_init_volume_name: iso |
| 624 | cloud_init_iface_up: ens4 |
| 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_cicd |
| 638 | |
| 639 | interfaces: *cid_interfaces |
| 640 | network_config: *cid_network_config |
| 641 | |
| 642 | # - name: {{ HOSTNAME_MSG02 }} |
| 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: ens4 |
| 651 | # volumes: |
| 652 | # - name: system |
| 653 | # capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 654 | # backing_store: cloudimage1604 |
| 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_cicd |
| 664 | # |
| 665 | # interfaces: *cid_interfaces |
| 666 | # network_config: *cid_network_config |
| 667 | |
| 668 | # - name: {{ HOSTNAME_MSG03 }} |
| 669 | # role: salt_minion |
| 670 | # params: |
| 671 | # vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 672 | # memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 673 | # boot: |
| 674 | # - hd |
| 675 | # cloud_init_volume_name: iso |
| 676 | # cloud_init_iface_up: ens4 |
| 677 | # volumes: |
| 678 | # - name: system |
| 679 | # capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 680 | # backing_store: cloudimage1604 |
| 681 | # format: qcow2 |
| 682 | # - name: iso # Volume with name 'iso' will be used |
| 683 | # # for store image with cloud-init metadata. |
| 684 | # capacity: 1 |
| 685 | # format: raw |
| 686 | # device: cdrom |
| 687 | # bus: ide |
| 688 | # cloudinit_meta_data: *cloudinit_meta_data |
| 689 | # cloudinit_user_data: *cloudinit_user_data_cicd |
| 690 | # |
| 691 | # interfaces: *cid_interfaces |
| 692 | # network_config: *cid_network_config |
| 693 | |
| 694 | - name: {{ HOSTNAME_CTL01 }} |
| 695 | role: salt_minion |
| 696 | params: |
| 697 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 698 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 699 | boot: |
| 700 | - hd |
| 701 | cloud_init_volume_name: iso |
| 702 | cloud_init_iface_up: ens4 |
| 703 | volumes: |
| 704 | - name: system |
| 705 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 706 | backing_store: cloudimage1604 |
| 707 | format: qcow2 |
| 708 | - name: cinder |
| 709 | capacity: 50 |
| 710 | format: qcow2 |
| 711 | - name: iso # Volume with name 'iso' will be used |
| 712 | # for store image with cloud-init metadata. |
| 713 | capacity: 1 |
| 714 | format: raw |
| 715 | device: cdrom |
| 716 | bus: ide |
| 717 | cloudinit_meta_data: *cloudinit_meta_data |
| 718 | cloudinit_user_data: *cloudinit_user_data_cicd |
| 719 | |
| 720 | interfaces: *cid_interfaces |
| 721 | network_config: *cid_network_config |
| 722 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 723 | - name: {{ HOSTNAME_CTL02 }} |
| 724 | role: salt_minion |
| 725 | params: |
| 726 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 727 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 728 | boot: |
| 729 | - hd |
| 730 | cloud_init_volume_name: iso |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 731 | cloud_init_iface_up: ens4 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 732 | volumes: |
| 733 | - name: system |
| 734 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 735 | backing_store: cloudimage1604 |
| 736 | format: qcow2 |
| 737 | - name: cinder |
| 738 | capacity: 50 |
| 739 | format: qcow2 |
| 740 | - name: iso # Volume with name 'iso' will be used |
| 741 | # for store image with cloud-init metadata. |
| 742 | capacity: 1 |
| 743 | format: raw |
| 744 | device: cdrom |
| 745 | bus: ide |
| 746 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 747 | cloudinit_user_data: *cloudinit_user_data_cicd |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 748 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 749 | interfaces: *cid_interfaces |
| 750 | network_config: *cid_network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 751 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 752 | # - name: {{ HOSTNAME_CTL03 }} |
| 753 | # role: salt_minion |
| 754 | # params: |
| 755 | # vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 756 | # memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 757 | # boot: |
| 758 | # - hd |
| 759 | # cloud_init_volume_name: iso |
| 760 | # cloud_init_iface_up: ens4 |
| 761 | # volumes: |
| 762 | # - name: system |
| 763 | # capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 764 | # backing_store: cloudimage1604 |
| 765 | # format: qcow2 |
| 766 | # - name: cinder |
| 767 | # capacity: 50 |
| 768 | # format: qcow2 |
| 769 | # - name: iso # Volume with name 'iso' will be used |
| 770 | # # for store image with cloud-init metadata. |
| 771 | # capacity: 1 |
| 772 | # format: raw |
| 773 | # device: cdrom |
| 774 | # bus: ide |
| 775 | # cloudinit_meta_data: *cloudinit_meta_data |
| 776 | # cloudinit_user_data: *cloudinit_user_data_cicd |
| 777 | # |
| 778 | # interfaces: *cid_interfaces |
| 779 | # network_config: *cid_network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 780 | |
| 781 | - name: {{ HOSTNAME_PRX01 }} |
| 782 | role: salt_minion |
| 783 | params: |
| 784 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 785 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 786 | boot: |
| 787 | - hd |
| 788 | cloud_init_volume_name: iso |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 789 | cloud_init_iface_up: ens4 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 790 | volumes: |
| 791 | - name: system |
| 792 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 793 | backing_store: cloudimage1604 |
| 794 | format: qcow2 |
| 795 | - name: cinder |
| 796 | capacity: 50 |
| 797 | format: qcow2 |
| 798 | - name: iso # Volume with name 'iso' will be used |
| 799 | # for store image with cloud-init metadata. |
| 800 | capacity: 1 |
| 801 | format: raw |
| 802 | device: cdrom |
| 803 | bus: ide |
| 804 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 805 | cloudinit_user_data: *cloudinit_user_data_cicd |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 806 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 807 | interfaces: *cid_interfaces |
| 808 | network_config: *cid_network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 809 | |
| 810 | - name: {{ HOSTNAME_CMP01 }} |
| 811 | role: salt_minion |
| 812 | params: |
| 813 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 814 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 815 | boot: |
| 816 | - hd |
| 817 | cloud_init_volume_name: iso |
| 818 | cloud_init_iface_up: ens3 |
| 819 | volumes: |
| 820 | - name: system |
| 821 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 822 | backing_store: cloudimage1604 |
| 823 | format: qcow2 |
| 824 | - name: iso # Volume with name 'iso' will be used |
| 825 | # for store image with cloud-init metadata. |
| 826 | capacity: 1 |
| 827 | format: raw |
| 828 | device: cdrom |
| 829 | bus: ide |
| 830 | cloudinit_meta_data: *cloudinit_meta_data |
| 831 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 832 | |
| 833 | |
| 834 | interfaces: &all_interfaces |
| 835 | - label: ens3 |
| 836 | l2_network_device: admin |
| 837 | interface_model: *interface_model |
| 838 | - label: ens4 |
| 839 | l2_network_device: private |
| 840 | interface_model: *interface_model |
| 841 | - label: ens5 |
| 842 | l2_network_device: tenant |
| 843 | interface_model: *interface_model |
| 844 | - label: ens6 |
| 845 | l2_network_device: external |
| 846 | interface_model: *interface_model |
| 847 | network_config: &all_network_config |
| 848 | ens3: |
| 849 | networks: |
| 850 | - admin |
| 851 | ens4: |
| 852 | networks: |
| 853 | - private |
| 854 | ens5: |
| 855 | networks: |
| 856 | - tenant |
| 857 | ens6: |
| 858 | networks: |
| 859 | - external |
| 860 | |
| 861 | - name: {{ HOSTNAME_CMP02 }} |
| 862 | role: salt_minion |
| 863 | params: |
| 864 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 865 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 866 | boot: |
| 867 | - hd |
| 868 | cloud_init_volume_name: iso |
| 869 | cloud_init_iface_up: ens3 |
| 870 | volumes: |
| 871 | - name: system |
| 872 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 873 | backing_store: cloudimage1604 |
| 874 | format: qcow2 |
| 875 | - name: iso # Volume with name 'iso' will be used |
| 876 | # for store image with cloud-init metadata. |
| 877 | capacity: 1 |
| 878 | format: raw |
| 879 | device: cdrom |
| 880 | bus: ide |
| 881 | cloudinit_meta_data: *cloudinit_meta_data |
| 882 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 883 | |
| 884 | interfaces: *all_interfaces |
| 885 | network_config: *all_network_config |
| 886 | |
| 887 | - name: {{ HOSTNAME_GTW01 }} |
| 888 | role: salt_minion |
| 889 | params: |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame^] | 890 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 891 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 892 | boot: |
| 893 | - hd |
| 894 | cloud_init_volume_name: iso |
| 895 | cloud_init_iface_up: ens3 |
| 896 | volumes: |
| 897 | - name: system |
| 898 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 899 | backing_store: cloudimage1604 |
| 900 | format: qcow2 |
| 901 | - name: iso # Volume with name 'iso' will be used |
| 902 | # for store image with cloud-init metadata. |
| 903 | capacity: 1 |
| 904 | format: raw |
| 905 | device: cdrom |
| 906 | bus: ide |
| 907 | cloudinit_meta_data: *cloudinit_meta_data |
| 908 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 909 | |
| 910 | interfaces: *all_interfaces |
| 911 | network_config: *all_network_config |