Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +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 'cookied-cicd-queens-dvr-sl/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 5 | {% import 'cookied-cicd-queens-dvr-sl/underlay--user-data1604-swp.yaml' as CLOUDINIT_USER_DATA_1604_SWP with context %} |
Dennis Dmitriev | f5f2e60 | 2017-11-03 15:36:19 +0200 | [diff] [blame] | 6 | {%- macro user_data() %}{{ CLOUDINIT_USER_DATA_1604_SWP }}{% endmacro %} |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 7 | |
| 8 | --- |
| 9 | aliases: |
| 10 | - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }} |
| 11 | - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }} |
Dennis Dmitriev | f5f2e60 | 2017-11-03 15:36:19 +0200 | [diff] [blame] | 12 | - &cloudinit_user_data_1604_swp | |
| 13 | {{ user_data()|indent(4, first=True) }} |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 14 | |
| 15 | {% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-cicd-queens-dvr-sl') %} |
| 16 | {% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME) + '.local' %} |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 17 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01') %} |
| 18 | {% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01') %} |
| 19 | {% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02') %} |
| 20 | {% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03') %} |
| 21 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01') %} |
| 22 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02') %} |
| 23 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03') %} |
| 24 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001') %} |
| 25 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002') %} |
| 26 | {% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01') %} |
| 27 | {% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02') %} |
| 28 | {% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03') %} |
| 29 | {% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01') %} |
| 30 | {% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02') %} |
| 31 | {% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03') %} |
| 32 | {% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01') %} |
| 33 | {% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02') %} |
| 34 | {% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03') %} |
| 35 | {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01') %} |
| 36 | {% set HOSTNAME_GTW02 = os_env('HOSTNAME_GTW02', 'gtw02') %} |
| 37 | {% set HOSTNAME_GTW03 = os_env('HOSTNAME_GTW03', 'gtw03') %} |
| 38 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01') %} |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 39 | {% set HOSTNAME_PRX02 = os_env('HOSTNAME_PRX02', 'prx02') %} |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 40 | {% set HOSTNAME_KMN01 = os_env('HOSTNAME_KMN01', 'kmn01') %} |
| 41 | {% set HOSTNAME_KMN02 = os_env('HOSTNAME_KMN02', 'kmn02') %} |
| 42 | {% set HOSTNAME_KMN03 = os_env('HOSTNAME_KMN03', 'kmn03') %} |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 43 | {% set HOSTNAME_CMN01 = os_env('HOSTNAME_CMN01', 'cmn01') %} |
| 44 | {% set HOSTNAME_CMN02 = os_env('HOSTNAME_CMN02', 'cmn02') %} |
| 45 | {% set HOSTNAME_CMN03 = os_env('HOSTNAME_CMN03', 'cmn03') %} |
| 46 | {% set HOSTNAME_RGW01 = os_env('HOSTNAME_RGW01', 'rgw01') %} |
| 47 | {% set HOSTNAME_RGW02 = os_env('HOSTNAME_RGW02', 'rgw02') %} |
| 48 | {% set HOSTNAME_RGW03 = os_env('HOSTNAME_RGW03', 'rgw03') %} |
| 49 | {% set HOSTNAME_OSD01 = os_env('HOSTNAME_OSD01', 'osd001') %} |
| 50 | {% set HOSTNAME_OSD02 = os_env('HOSTNAME_OSD02', 'osd002') %} |
| 51 | {% set HOSTNAME_OSD03 = os_env('HOSTNAME_OSD03', 'osd003') %} |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 52 | {% set HOSTNAME_DNS01 = os_env('HOSTNAME_DNS01', 'dns01') %} |
| 53 | {% set HOSTNAME_DNS02 = os_env('HOSTNAME_DNS02', 'dns02') %} |
| 54 | |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 55 | |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 56 | |
| 57 | template: |
| 58 | devops_settings: |
| 59 | env_name: {{ os_env('ENV_NAME', 'cookied-cicd-queens-dvr-sl_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 60 | |
| 61 | address_pools: |
| 62 | private-pool01: |
| 63 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 64 | params: |
| 65 | ip_reserved: |
| 66 | gateway: +1 |
| 67 | l2_network_device: +1 |
| 68 | default_{{ HOSTNAME_CFG01 }}: +15 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 69 | default_{{ HOSTNAME_CID }}: +90 |
| 70 | default_{{ HOSTNAME_CID01 }}: +91 |
| 71 | default_{{ HOSTNAME_CID02 }}: +92 |
| 72 | default_{{ HOSTNAME_CID03 }}: +93 |
| 73 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 74 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 75 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 76 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 77 | default_{{ HOSTNAME_CMP02 }}: +106 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 78 | default_{{ HOSTNAME_KMN01 }}: +45 |
| 79 | default_{{ HOSTNAME_KMN02 }}: +46 |
| 80 | default_{{ HOSTNAME_KMN03 }}: +47 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 81 | default_{{ HOSTNAME_MON01 }}: +71 |
| 82 | default_{{ HOSTNAME_MON02 }}: +72 |
| 83 | default_{{ HOSTNAME_MON03 }}: +73 |
| 84 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 85 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 86 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 87 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 88 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 89 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 90 | default_{{ HOSTNAME_GTW01 }}: +110 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 91 | default_{{ HOSTNAME_GTW02 }}: +111 |
| 92 | default_{{ HOSTNAME_GTW03 }}: +112 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 93 | default_{{ HOSTNAME_PRX01 }}: +121 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 94 | default_{{ HOSTNAME_PRX02 }}: +122 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 95 | default_{{ HOSTNAME_OSD01 }}: +37 |
| 96 | default_{{ HOSTNAME_OSD02 }}: +38 |
| 97 | default_{{ HOSTNAME_OSD03 }}: +39 |
| 98 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 99 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 100 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 101 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 102 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 103 | default_{{ HOSTNAME_RGW03 }}: +78 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 104 | default_{{ HOSTNAME_DNS01 }}: +113 |
| 105 | default_{{ HOSTNAME_DNS02 }}: +114 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 106 | ip_ranges: |
| 107 | dhcp: [+90, -10] |
| 108 | |
| 109 | admin-pool01: |
| 110 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 111 | params: |
| 112 | ip_reserved: |
| 113 | gateway: +1 |
| 114 | l2_network_device: +1 |
| 115 | default_{{ HOSTNAME_CFG01 }}: +15 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 116 | default_{{ HOSTNAME_CID }}: +90 |
| 117 | default_{{ HOSTNAME_CID01 }}: +91 |
| 118 | default_{{ HOSTNAME_CID02 }}: +92 |
| 119 | default_{{ HOSTNAME_CID03 }}: +93 |
| 120 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 121 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 122 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 123 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 124 | default_{{ HOSTNAME_CMP02 }}: +106 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 125 | default_{{ HOSTNAME_KMN01 }}: +45 |
| 126 | default_{{ HOSTNAME_KMN02 }}: +46 |
| 127 | default_{{ HOSTNAME_KMN03 }}: +47 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 128 | default_{{ HOSTNAME_MON01 }}: +71 |
| 129 | default_{{ HOSTNAME_MON02 }}: +72 |
| 130 | default_{{ HOSTNAME_MON03 }}: +73 |
| 131 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 132 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 133 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 134 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 135 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 136 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 137 | default_{{ HOSTNAME_GTW01 }}: +110 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 138 | default_{{ HOSTNAME_GTW02 }}: +111 |
| 139 | default_{{ HOSTNAME_GTW03 }}: +112 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 140 | default_{{ HOSTNAME_PRX01 }}: +121 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 141 | default_{{ HOSTNAME_PRX02 }}: +122 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 142 | default_{{ HOSTNAME_OSD01 }}: +37 |
| 143 | default_{{ HOSTNAME_OSD02 }}: +38 |
| 144 | default_{{ HOSTNAME_OSD03 }}: +39 |
| 145 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 146 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 147 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 148 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 149 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 150 | default_{{ HOSTNAME_RGW03 }}: +78 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 151 | default_{{ HOSTNAME_DNS01 }}: +113 |
| 152 | default_{{ HOSTNAME_DNS02 }}: +114 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 153 | ip_ranges: |
| 154 | dhcp: [+90, -10] |
| 155 | |
| 156 | tenant-pool01: |
| 157 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 158 | params: |
| 159 | ip_reserved: |
| 160 | gateway: +1 |
| 161 | l2_network_device: +1 |
| 162 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 163 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 164 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 165 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 166 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 167 | default_{{ HOSTNAME_CMP02 }}: +106 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 168 | default_{{ HOSTNAME_KMN01 }}: +45 |
| 169 | default_{{ HOSTNAME_KMN02 }}: +46 |
| 170 | default_{{ HOSTNAME_KMN03 }}: +47 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 171 | default_{{ HOSTNAME_MON01 }}: +71 |
| 172 | default_{{ HOSTNAME_MON02 }}: +72 |
| 173 | default_{{ HOSTNAME_MON03 }}: +73 |
| 174 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 175 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 176 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 177 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 178 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 179 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 180 | default_{{ HOSTNAME_GTW01 }}: +110 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 181 | default_{{ HOSTNAME_GTW02 }}: +111 |
| 182 | default_{{ HOSTNAME_GTW03 }}: +112 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 183 | default_{{ HOSTNAME_PRX01 }}: +121 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 184 | default_{{ HOSTNAME_PRX02 }}: +122 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 185 | default_{{ HOSTNAME_OSD01 }}: +37 |
| 186 | default_{{ HOSTNAME_OSD02 }}: +38 |
| 187 | default_{{ HOSTNAME_OSD03 }}: +39 |
| 188 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 189 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 190 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 191 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 192 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 193 | default_{{ HOSTNAME_RGW03 }}: +78 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 194 | default_{{ HOSTNAME_DNS01 }}: +113 |
| 195 | default_{{ HOSTNAME_DNS02 }}: +114 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 196 | ip_ranges: |
| 197 | dhcp: [+10, -10] |
| 198 | |
| 199 | external-pool01: |
| 200 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 201 | params: |
| 202 | ip_reserved: |
| 203 | gateway: +1 |
| 204 | l2_network_device: +1 |
| 205 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 206 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 207 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 208 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 209 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 210 | default_{{ HOSTNAME_CMP02 }}: +106 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 211 | default_{{ HOSTNAME_KMN01 }}: +45 |
| 212 | default_{{ HOSTNAME_KMN02 }}: +46 |
| 213 | default_{{ HOSTNAME_KMN03 }}: +47 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 214 | default_{{ HOSTNAME_MON01 }}: +71 |
| 215 | default_{{ HOSTNAME_MON02 }}: +72 |
| 216 | default_{{ HOSTNAME_MON03 }}: +73 |
| 217 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 218 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 219 | default_{{ HOSTNAME_LOG03 }}: +63 |
| 220 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 221 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 222 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 223 | default_{{ HOSTNAME_GTW01 }}: +110 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 224 | default_{{ HOSTNAME_GTW02 }}: +111 |
| 225 | default_{{ HOSTNAME_GTW03 }}: +112 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 226 | default_{{ HOSTNAME_PRX01 }}: +121 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 227 | default_{{ HOSTNAME_PRX02 }}: +122 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 228 | default_{{ HOSTNAME_OSD01 }}: +37 |
| 229 | default_{{ HOSTNAME_OSD02 }}: +38 |
| 230 | default_{{ HOSTNAME_OSD03 }}: +39 |
| 231 | default_{{ HOSTNAME_CMN01 }}: +96 |
| 232 | default_{{ HOSTNAME_CMN02 }}: +97 |
| 233 | default_{{ HOSTNAME_CMN03 }}: +98 |
| 234 | default_{{ HOSTNAME_RGW01 }}: +76 |
| 235 | default_{{ HOSTNAME_RGW02 }}: +77 |
| 236 | default_{{ HOSTNAME_RGW03 }}: +78 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 237 | default_{{ HOSTNAME_DNS01 }}: +113 |
| 238 | default_{{ HOSTNAME_DNS02 }}: +114 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 239 | ip_ranges: |
| 240 | dhcp: [+180, +220] |
| 241 | |
| 242 | groups: |
| 243 | - name: default |
| 244 | driver: |
| 245 | name: devops.driver.libvirt |
| 246 | params: |
| 247 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 248 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 249 | stp: False |
| 250 | hpet: False |
| 251 | enable_acpi: true |
| 252 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 253 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
| 254 | |
| 255 | network_pools: |
| 256 | admin: admin-pool01 |
| 257 | private: private-pool01 |
| 258 | tenant: tenant-pool01 |
| 259 | external: external-pool01 |
| 260 | |
| 261 | l2_network_devices: |
| 262 | private: |
| 263 | address_pool: private-pool01 |
| 264 | dhcp: false |
| 265 | forward: |
| 266 | mode: route |
| 267 | |
| 268 | admin: |
| 269 | address_pool: admin-pool01 |
| 270 | dhcp: true |
| 271 | forward: |
| 272 | mode: nat |
| 273 | |
| 274 | tenant: |
| 275 | address_pool: tenant-pool01 |
| 276 | dhcp: false |
| 277 | |
| 278 | external: |
| 279 | address_pool: external-pool01 |
| 280 | dhcp: false |
| 281 | forward: |
| 282 | mode: route |
| 283 | |
| 284 | |
| 285 | group_volumes: |
| 286 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 287 | source_image: {{ os_env('MCP_IMAGE_PATH1604') }} # http://ci.mcp.mirantis.net:8085/images/ubuntu-16-04-x64-mcpproposed.qcow2 |
| 288 | format: qcow2 |
| 289 | - name: cfg01_day01_image # Pre-configured day01 image |
| 290 | source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01') }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604 |
| 291 | format: qcow2 |
| 292 | - name: mcp_ubuntu_1604_image # Pre-configured image for control plane |
| 293 | source_image: !os_env MCP_IMAGE_PATH1604 |
| 294 | format: qcow2 |
| 295 | |
| 296 | nodes: |
| 297 | - name: {{ HOSTNAME_CFG01 }} |
| 298 | role: salt_master |
| 299 | params: |
| 300 | vcpu: {{ os_env('CFG_NODE_CPU', 3) }} |
Tatyana Leontovich | 6047977 | 2019-03-21 00:13:58 +0200 | [diff] [blame] | 301 | memory: {{ os_env('CFG_NODE_MEMORY', 12288) }} |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 302 | boot: |
| 303 | - hd |
| 304 | volumes: |
| 305 | - name: system |
| 306 | capacity: {{ os_env('CFG_NODE_VOLUME_SIZE', 150) }} |
| 307 | backing_store: cfg01_day01_image |
| 308 | format: qcow2 |
| 309 | - name: config |
| 310 | capacity: 1 |
| 311 | format: raw |
| 312 | device: cdrom |
| 313 | bus: ide |
| 314 | # source_image: !os_env CFG01_CONFIG_PATH # no source image required. |
| 315 | # it will be uploaded after config drive generation |
| 316 | interfaces: |
| 317 | - label: ens3 |
| 318 | l2_network_device: admin |
| 319 | interface_model: *interface_model |
| 320 | - label: ens4 |
| 321 | l2_network_device: private |
| 322 | interface_model: *interface_model |
| 323 | network_config: |
| 324 | ens3: |
| 325 | networks: |
| 326 | - admin |
| 327 | ens4: |
| 328 | networks: |
| 329 | - private |
| 330 | |
| 331 | - name: {{ HOSTNAME_CTL01 }} |
| 332 | role: salt_minion |
| 333 | params: |
| 334 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 6047977 | 2019-03-21 00:13:58 +0200 | [diff] [blame] | 335 | memory: !os_env SLAVE_NODE_MEMORY, 12288 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 336 | boot: |
| 337 | - hd |
| 338 | cloud_init_volume_name: iso |
| 339 | cloud_init_iface_up: ens3 |
| 340 | volumes: |
| 341 | - name: system |
| 342 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 343 | backing_store: mcp_ubuntu_1604_image |
| 344 | format: qcow2 |
| 345 | - name: iso # Volume with name 'iso' will be used |
| 346 | # for store image with cloud-init metadata. |
| 347 | capacity: 1 |
| 348 | format: raw |
| 349 | device: cdrom |
| 350 | bus: ide |
| 351 | cloudinit_meta_data: *cloudinit_meta_data |
| 352 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 353 | |
| 354 | interfaces: &interfaces |
| 355 | - label: ens3 |
| 356 | l2_network_device: admin |
| 357 | interface_model: *interface_model |
| 358 | - label: ens4 |
| 359 | l2_network_device: private |
| 360 | interface_model: *interface_model |
| 361 | network_config: &network_config |
| 362 | ens3: |
| 363 | networks: |
| 364 | - admin |
| 365 | ens4: |
| 366 | networks: |
| 367 | - private |
| 368 | |
| 369 | - name: {{ HOSTNAME_CTL02 }} |
| 370 | role: salt_minion |
| 371 | params: |
| 372 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 6047977 | 2019-03-21 00:13:58 +0200 | [diff] [blame] | 373 | memory: !os_env SLAVE_NODE_MEMORY, 12288 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 374 | boot: |
| 375 | - hd |
| 376 | cloud_init_volume_name: iso |
| 377 | cloud_init_iface_up: ens3 |
| 378 | volumes: |
| 379 | - name: system |
| 380 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 381 | backing_store: mcp_ubuntu_1604_image |
| 382 | format: qcow2 |
| 383 | - name: iso # Volume with name 'iso' will be used |
| 384 | # for store image with cloud-init metadata. |
| 385 | capacity: 1 |
| 386 | format: raw |
| 387 | device: cdrom |
| 388 | bus: ide |
| 389 | cloudinit_meta_data: *cloudinit_meta_data |
| 390 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 391 | |
| 392 | interfaces: *interfaces |
| 393 | network_config: *network_config |
| 394 | |
| 395 | - name: {{ HOSTNAME_CTL03 }} |
| 396 | role: salt_minion |
| 397 | params: |
| 398 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 6047977 | 2019-03-21 00:13:58 +0200 | [diff] [blame] | 399 | memory: !os_env SLAVE_NODE_MEMORY, 12288 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 400 | boot: |
| 401 | - hd |
| 402 | cloud_init_volume_name: iso |
| 403 | cloud_init_iface_up: ens3 |
| 404 | volumes: |
| 405 | - name: system |
| 406 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 407 | backing_store: mcp_ubuntu_1604_image |
| 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_1604_swp |
| 417 | |
| 418 | interfaces: *interfaces |
| 419 | network_config: *network_config |
| 420 | |
| 421 | - name: {{ HOSTNAME_MON01 }} |
| 422 | role: salt_minion |
| 423 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 424 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 425 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 426 | boot: |
| 427 | - hd |
| 428 | cloud_init_volume_name: iso |
| 429 | cloud_init_iface_up: ens3 |
| 430 | volumes: |
| 431 | - name: system |
| 432 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 433 | backing_store: mcp_ubuntu_1604_image |
| 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_1604_swp |
| 443 | |
| 444 | interfaces: *interfaces |
| 445 | network_config: *network_config |
| 446 | |
| 447 | - name: {{ HOSTNAME_MON02 }} |
| 448 | role: salt_minion |
| 449 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 450 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 451 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 452 | boot: |
| 453 | - hd |
| 454 | cloud_init_volume_name: iso |
| 455 | cloud_init_iface_up: ens3 |
| 456 | volumes: |
| 457 | - name: system |
| 458 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 459 | backing_store: mcp_ubuntu_1604_image |
| 460 | format: qcow2 |
| 461 | - name: iso # Volume with name 'iso' will be used |
| 462 | # for store image with cloud-init metadata. |
| 463 | capacity: 1 |
| 464 | format: raw |
| 465 | device: cdrom |
| 466 | bus: ide |
| 467 | cloudinit_meta_data: *cloudinit_meta_data |
| 468 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 469 | |
| 470 | interfaces: *interfaces |
| 471 | network_config: *network_config |
| 472 | |
| 473 | - name: {{ HOSTNAME_MON03 }} |
| 474 | role: salt_minion |
| 475 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 476 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 477 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 478 | boot: |
| 479 | - hd |
| 480 | cloud_init_volume_name: iso |
| 481 | cloud_init_iface_up: ens3 |
| 482 | volumes: |
| 483 | - name: system |
| 484 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 485 | backing_store: mcp_ubuntu_1604_image |
| 486 | format: qcow2 |
| 487 | - name: iso # Volume with name 'iso' will be used |
| 488 | # for store image with cloud-init metadata. |
| 489 | capacity: 1 |
| 490 | format: raw |
| 491 | device: cdrom |
| 492 | bus: ide |
| 493 | cloudinit_meta_data: *cloudinit_meta_data |
| 494 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 495 | |
| 496 | interfaces: *interfaces |
| 497 | network_config: *network_config |
| 498 | |
| 499 | - name: {{ HOSTNAME_LOG01 }} |
| 500 | role: salt_minion |
| 501 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 502 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 503 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 504 | boot: |
| 505 | - hd |
| 506 | cloud_init_volume_name: iso |
| 507 | cloud_init_iface_up: ens3 |
| 508 | volumes: |
| 509 | - name: system |
| 510 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 511 | backing_store: mcp_ubuntu_1604_image |
| 512 | format: qcow2 |
| 513 | - name: iso # Volume with name 'iso' will be used |
| 514 | # for store image with cloud-init metadata. |
| 515 | capacity: 1 |
| 516 | format: raw |
| 517 | device: cdrom |
| 518 | bus: ide |
| 519 | cloudinit_meta_data: *cloudinit_meta_data |
| 520 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 521 | |
| 522 | interfaces: *interfaces |
| 523 | network_config: *network_config |
| 524 | |
| 525 | - name: {{ HOSTNAME_LOG02 }} |
| 526 | role: salt_minion |
| 527 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 528 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 529 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 530 | boot: |
| 531 | - hd |
| 532 | cloud_init_volume_name: iso |
| 533 | cloud_init_iface_up: ens3 |
| 534 | volumes: |
| 535 | - name: system |
| 536 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 537 | backing_store: mcp_ubuntu_1604_image |
| 538 | format: qcow2 |
| 539 | - name: iso # Volume with name 'iso' will be used |
| 540 | # for store image with cloud-init metadata. |
| 541 | capacity: 1 |
| 542 | format: raw |
| 543 | device: cdrom |
| 544 | bus: ide |
| 545 | cloudinit_meta_data: *cloudinit_meta_data |
| 546 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 547 | |
| 548 | interfaces: *interfaces |
| 549 | network_config: *network_config |
| 550 | |
| 551 | - name: {{ HOSTNAME_LOG03 }} |
| 552 | role: salt_minion |
| 553 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 554 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 555 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 556 | boot: |
| 557 | - hd |
| 558 | cloud_init_volume_name: iso |
| 559 | cloud_init_iface_up: ens3 |
| 560 | volumes: |
| 561 | - name: system |
| 562 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 563 | backing_store: mcp_ubuntu_1604_image |
| 564 | format: qcow2 |
| 565 | - name: iso # Volume with name 'iso' will be used |
| 566 | # for store image with cloud-init metadata. |
| 567 | capacity: 1 |
| 568 | format: raw |
| 569 | device: cdrom |
| 570 | bus: ide |
| 571 | cloudinit_meta_data: *cloudinit_meta_data |
| 572 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 573 | |
| 574 | interfaces: *interfaces |
| 575 | network_config: *network_config |
| 576 | |
| 577 | - name: {{ HOSTNAME_MTR01 }} |
| 578 | role: salt_minion |
| 579 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 580 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 581 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 582 | boot: |
| 583 | - hd |
| 584 | cloud_init_volume_name: iso |
| 585 | cloud_init_iface_up: ens3 |
| 586 | volumes: |
| 587 | - name: system |
| 588 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 589 | backing_store: mcp_ubuntu_1604_image |
| 590 | format: qcow2 |
| 591 | - name: iso # Volume with name 'iso' will be used |
| 592 | # for store image with cloud-init metadata. |
| 593 | capacity: 1 |
| 594 | format: raw |
| 595 | device: cdrom |
| 596 | bus: ide |
| 597 | cloudinit_meta_data: *cloudinit_meta_data |
| 598 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 599 | |
| 600 | interfaces: *interfaces |
| 601 | network_config: *network_config |
| 602 | |
| 603 | - name: {{ HOSTNAME_MTR02 }} |
| 604 | role: salt_minion |
| 605 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 606 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 607 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 608 | boot: |
| 609 | - hd |
| 610 | cloud_init_volume_name: iso |
| 611 | cloud_init_iface_up: ens3 |
| 612 | volumes: |
| 613 | - name: system |
| 614 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 615 | backing_store: mcp_ubuntu_1604_image |
| 616 | format: qcow2 |
| 617 | - name: iso # Volume with name 'iso' will be used |
| 618 | # for store image with cloud-init metadata. |
| 619 | capacity: 1 |
| 620 | format: raw |
| 621 | device: cdrom |
| 622 | bus: ide |
| 623 | cloudinit_meta_data: *cloudinit_meta_data |
| 624 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 625 | |
| 626 | interfaces: *interfaces |
| 627 | network_config: *network_config |
| 628 | |
| 629 | - name: {{ HOSTNAME_MTR03 }} |
| 630 | role: salt_minion |
| 631 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 632 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 633 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 634 | boot: |
| 635 | - hd |
| 636 | cloud_init_volume_name: iso |
| 637 | cloud_init_iface_up: ens3 |
| 638 | volumes: |
| 639 | - name: system |
| 640 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 641 | backing_store: mcp_ubuntu_1604_image |
| 642 | format: qcow2 |
| 643 | - name: iso # Volume with name 'iso' will be used |
| 644 | # for store image with cloud-init metadata. |
| 645 | capacity: 1 |
| 646 | format: raw |
| 647 | device: cdrom |
| 648 | bus: ide |
| 649 | cloudinit_meta_data: *cloudinit_meta_data |
| 650 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 651 | |
| 652 | interfaces: *interfaces |
| 653 | network_config: *network_config |
| 654 | |
| 655 | - name: {{ HOSTNAME_PRX01 }} |
| 656 | role: salt_minion |
| 657 | params: |
| 658 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 659 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 660 | boot: |
| 661 | - hd |
| 662 | cloud_init_volume_name: iso |
| 663 | cloud_init_iface_up: ens3 |
| 664 | volumes: |
| 665 | - name: system |
| 666 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 667 | backing_store: mcp_ubuntu_1604_image |
| 668 | format: qcow2 |
| 669 | - name: iso # Volume with name 'iso' will be used |
| 670 | # for store image with cloud-init metadata. |
| 671 | capacity: 1 |
| 672 | format: raw |
| 673 | device: cdrom |
| 674 | bus: ide |
| 675 | cloudinit_meta_data: *cloudinit_meta_data |
| 676 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 677 | |
| 678 | interfaces: |
| 679 | - label: ens3 |
| 680 | l2_network_device: admin |
| 681 | interface_model: *interface_model |
| 682 | - label: ens4 |
| 683 | l2_network_device: private |
| 684 | interface_model: *interface_model |
| 685 | - label: ens5 |
| 686 | l2_network_device: external |
| 687 | interface_model: *interface_model |
| 688 | network_config: |
| 689 | ens3: |
| 690 | networks: |
| 691 | - admin |
| 692 | ens4: |
| 693 | networks: |
| 694 | - private |
| 695 | ens5: |
| 696 | networks: |
| 697 | - external |
| 698 | |
| 699 | - name: {{ HOSTNAME_PRX02 }} |
| 700 | role: salt_minion |
| 701 | params: |
| 702 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 703 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 704 | boot: |
| 705 | - hd |
| 706 | cloud_init_volume_name: iso |
| 707 | cloud_init_iface_up: ens3 |
| 708 | volumes: |
| 709 | - name: system |
| 710 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 711 | backing_store: mcp_ubuntu_1604_image |
| 712 | format: qcow2 |
| 713 | - name: iso # Volume with name 'iso' will be used |
| 714 | # for store image with cloud-init metadata. |
| 715 | capacity: 1 |
| 716 | format: raw |
| 717 | device: cdrom |
| 718 | bus: ide |
| 719 | cloudinit_meta_data: *cloudinit_meta_data |
| 720 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 721 | |
Dennis Dmitriev | b612c44 | 2018-11-28 16:42:49 +0200 | [diff] [blame] | 722 | interfaces: |
| 723 | - label: ens3 |
| 724 | l2_network_device: admin |
| 725 | interface_model: *interface_model |
| 726 | - label: ens4 |
| 727 | l2_network_device: private |
| 728 | interface_model: *interface_model |
| 729 | - label: ens5 |
| 730 | l2_network_device: external |
| 731 | interface_model: *interface_model |
| 732 | network_config: |
| 733 | ens3: |
| 734 | networks: |
| 735 | - admin |
| 736 | ens4: |
| 737 | networks: |
| 738 | - private |
| 739 | ens5: |
| 740 | networks: |
| 741 | - external |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 742 | |
| 743 | - name: {{ HOSTNAME_CMP01 }} |
| 744 | role: salt_minion |
| 745 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 746 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 747 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 748 | boot: |
| 749 | - hd |
| 750 | cloud_init_volume_name: iso |
| 751 | cloud_init_iface_up: ens3 |
| 752 | volumes: |
| 753 | - name: system |
| 754 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 755 | backing_store: cloudimage1604 |
| 756 | format: qcow2 |
| 757 | - name: cinder |
| 758 | capacity: 50 |
| 759 | format: qcow2 |
| 760 | - name: iso # Volume with name 'iso' will be used |
| 761 | # for store image with cloud-init metadata. |
| 762 | capacity: 1 |
| 763 | format: raw |
| 764 | device: cdrom |
| 765 | bus: ide |
| 766 | cloudinit_meta_data: *cloudinit_meta_data |
| 767 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 768 | |
| 769 | |
| 770 | interfaces: &all_interfaces |
| 771 | - label: ens3 |
| 772 | l2_network_device: admin |
| 773 | interface_model: *interface_model |
| 774 | - label: ens4 |
| 775 | l2_network_device: private |
| 776 | interface_model: *interface_model |
| 777 | - label: ens5 |
| 778 | l2_network_device: tenant |
| 779 | interface_model: *interface_model |
| 780 | - label: ens6 |
| 781 | l2_network_device: external |
| 782 | interface_model: *interface_model |
| 783 | network_config: &all_network_config |
| 784 | ens3: |
| 785 | networks: |
| 786 | - admin |
| 787 | ens4: |
| 788 | networks: |
| 789 | - private |
| 790 | ens5: |
| 791 | networks: |
| 792 | - tenant |
| 793 | ens6: |
| 794 | networks: |
| 795 | - external |
| 796 | |
| 797 | - name: {{ HOSTNAME_CMP02 }} |
| 798 | role: salt_minion |
| 799 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 800 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 801 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 802 | boot: |
| 803 | - hd |
| 804 | cloud_init_volume_name: iso |
| 805 | cloud_init_iface_up: ens3 |
| 806 | volumes: |
| 807 | - name: system |
| 808 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 809 | backing_store: cloudimage1604 |
| 810 | format: qcow2 |
| 811 | - name: cinder |
| 812 | capacity: 50 |
| 813 | format: qcow2 |
| 814 | - name: iso # Volume with name 'iso' will be used |
| 815 | # for store image with cloud-init metadata. |
| 816 | capacity: 1 |
| 817 | format: raw |
| 818 | device: cdrom |
| 819 | bus: ide |
| 820 | cloudinit_meta_data: *cloudinit_meta_data |
| 821 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 822 | |
| 823 | interfaces: *all_interfaces |
| 824 | network_config: *all_network_config |
| 825 | |
| 826 | - name: {{ HOSTNAME_GTW01 }} |
| 827 | role: salt_minion |
| 828 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 829 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 830 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 831 | boot: |
| 832 | - hd |
| 833 | cloud_init_volume_name: iso |
| 834 | cloud_init_iface_up: ens3 |
| 835 | volumes: |
| 836 | - name: system |
| 837 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 838 | backing_store: cloudimage1604 |
| 839 | format: qcow2 |
| 840 | - name: iso # Volume with name 'iso' will be used |
| 841 | # for store image with cloud-init metadata. |
| 842 | capacity: 1 |
| 843 | format: raw |
| 844 | device: cdrom |
| 845 | bus: ide |
| 846 | cloudinit_meta_data: *cloudinit_meta_data |
| 847 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 848 | |
| 849 | interfaces: *all_interfaces |
| 850 | network_config: *all_network_config |
| 851 | |
| 852 | - name: {{ HOSTNAME_GTW02 }} |
| 853 | role: salt_minion |
| 854 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 855 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 856 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 857 | boot: |
| 858 | - hd |
| 859 | cloud_init_volume_name: iso |
| 860 | cloud_init_iface_up: ens3 |
| 861 | volumes: |
| 862 | - name: system |
| 863 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 864 | backing_store: cloudimage1604 |
| 865 | format: qcow2 |
| 866 | - name: iso # Volume with name 'iso' will be used |
| 867 | # for store image with cloud-init metadata. |
| 868 | capacity: 1 |
| 869 | format: raw |
| 870 | device: cdrom |
| 871 | bus: ide |
| 872 | cloudinit_meta_data: *cloudinit_meta_data |
| 873 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 874 | |
| 875 | interfaces: *all_interfaces |
| 876 | network_config: *all_network_config |
| 877 | |
| 878 | - name: {{ HOSTNAME_GTW03 }} |
| 879 | role: salt_minion |
| 880 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 881 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 882 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 883 | boot: |
| 884 | - hd |
| 885 | cloud_init_volume_name: iso |
| 886 | cloud_init_iface_up: ens3 |
| 887 | volumes: |
| 888 | - name: system |
| 889 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 890 | backing_store: cloudimage1604 |
| 891 | format: qcow2 |
| 892 | - name: iso # Volume with name 'iso' will be used |
| 893 | # for store image with cloud-init metadata. |
| 894 | capacity: 1 |
| 895 | format: raw |
| 896 | device: cdrom |
| 897 | bus: ide |
| 898 | cloudinit_meta_data: *cloudinit_meta_data |
| 899 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 900 | |
| 901 | interfaces: *all_interfaces |
| 902 | network_config: *all_network_config |
| 903 | |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 904 | - name: {{ HOSTNAME_CID01 }} |
| 905 | role: salt_minion |
| 906 | params: |
Tatyana Leontovich | eeea716 | 2019-03-04 09:24:19 +0200 | [diff] [blame] | 907 | vcpu: {{ os_env('CID_NODE_CPU', 2) }} |
Tatyana Leontovich | 6047977 | 2019-03-21 00:13:58 +0200 | [diff] [blame] | 908 | memory: {{ os_env('CID_NODE_MEMORY', 6144) }} |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 909 | boot: |
| 910 | - hd |
| 911 | cloud_init_volume_name: iso |
| 912 | cloud_init_iface_up: ens3 |
| 913 | volumes: |
| 914 | - name: system |
| 915 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
| 916 | backing_store: mcp_ubuntu_1604_image |
| 917 | format: qcow2 |
| 918 | - name: iso # Volume with name 'iso' will be used |
| 919 | # for store image with cloud-init metadata. |
| 920 | capacity: 1 |
| 921 | format: raw |
| 922 | device: cdrom |
| 923 | bus: ide |
| 924 | cloudinit_meta_data: *cloudinit_meta_data |
| 925 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 926 | |
| 927 | interfaces: *interfaces |
| 928 | network_config: *network_config |
| 929 | |
| 930 | - name: {{ HOSTNAME_CID02 }} |
| 931 | role: salt_minion |
| 932 | params: |
Tatyana Leontovich | eeea716 | 2019-03-04 09:24:19 +0200 | [diff] [blame] | 933 | vcpu: {{ os_env('CID_NODE_CPU', 2) }} |
Tatyana Leontovich | 6047977 | 2019-03-21 00:13:58 +0200 | [diff] [blame] | 934 | memory: {{ os_env('CID_NODE_MEMORY', 6144) }} |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 935 | boot: |
| 936 | - hd |
| 937 | cloud_init_volume_name: iso |
| 938 | cloud_init_iface_up: ens3 |
| 939 | volumes: |
| 940 | - name: system |
| 941 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
| 942 | backing_store: mcp_ubuntu_1604_image |
| 943 | format: qcow2 |
| 944 | - name: iso # Volume with name 'iso' will be used |
| 945 | # for store image with cloud-init metadata. |
| 946 | capacity: 1 |
| 947 | format: raw |
| 948 | device: cdrom |
| 949 | bus: ide |
| 950 | cloudinit_meta_data: *cloudinit_meta_data |
| 951 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 952 | |
| 953 | interfaces: *interfaces |
| 954 | network_config: *network_config |
| 955 | |
| 956 | - name: {{ HOSTNAME_CID03 }} |
| 957 | role: salt_minion |
| 958 | params: |
Tatyana Leontovich | eeea716 | 2019-03-04 09:24:19 +0200 | [diff] [blame] | 959 | vcpu: {{ os_env('CID_NODE_CPU', 2) }} |
Tatyana Leontovich | 6047977 | 2019-03-21 00:13:58 +0200 | [diff] [blame] | 960 | memory: {{ os_env('CID_NODE_MEMORY', 6144) }} |
Tatyana Leontovich | f371844 | 2018-10-31 13:36:13 +0200 | [diff] [blame] | 961 | boot: |
| 962 | - hd |
| 963 | cloud_init_volume_name: iso |
| 964 | cloud_init_iface_up: ens3 |
| 965 | volumes: |
| 966 | - name: system |
| 967 | capacity: {{ os_env('CID_NODE_VOLUME_SIZE', 150) }} |
| 968 | backing_store: mcp_ubuntu_1604_image |
| 969 | format: qcow2 |
| 970 | - name: iso # Volume with name 'iso' will be used |
| 971 | # for store image with cloud-init metadata. |
| 972 | capacity: 1 |
| 973 | format: raw |
| 974 | device: cdrom |
| 975 | bus: ide |
| 976 | cloudinit_meta_data: *cloudinit_meta_data |
| 977 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 978 | |
| 979 | interfaces: *interfaces |
| 980 | network_config: *network_config |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 981 | |
| 982 | - name: {{ HOSTNAME_KMN01 }} |
| 983 | role: salt_minion |
| 984 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 985 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 986 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 987 | boot: |
| 988 | - hd |
| 989 | cloud_init_volume_name: iso |
| 990 | cloud_init_iface_up: ens3 |
| 991 | volumes: |
| 992 | - name: system |
| 993 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 994 | backing_store: mcp_ubuntu_1604_image |
| 995 | format: qcow2 |
| 996 | - name: iso # Volume with name 'iso' will be used |
| 997 | # for store image with cloud-init metadata. |
| 998 | capacity: 1 |
| 999 | format: raw |
| 1000 | device: cdrom |
| 1001 | bus: ide |
| 1002 | cloudinit_meta_data: *cloudinit_meta_data |
| 1003 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1004 | |
| 1005 | interfaces: *interfaces |
| 1006 | network_config: *network_config |
| 1007 | |
| 1008 | - name: {{ HOSTNAME_KMN02 }} |
| 1009 | role: salt_minion |
| 1010 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1011 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1012 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 1013 | boot: |
| 1014 | - hd |
| 1015 | cloud_init_volume_name: iso |
| 1016 | cloud_init_iface_up: ens3 |
| 1017 | volumes: |
| 1018 | - name: system |
| 1019 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1020 | backing_store: mcp_ubuntu_1604_image |
| 1021 | format: qcow2 |
| 1022 | - name: iso # Volume with name 'iso' will be used |
| 1023 | # for store image with cloud-init metadata. |
| 1024 | capacity: 1 |
| 1025 | format: raw |
| 1026 | device: cdrom |
| 1027 | bus: ide |
| 1028 | cloudinit_meta_data: *cloudinit_meta_data |
| 1029 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1030 | |
| 1031 | interfaces: *interfaces |
| 1032 | network_config: *network_config |
| 1033 | |
| 1034 | - name: {{ HOSTNAME_KMN03 }} |
| 1035 | role: salt_minion |
| 1036 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1037 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1038 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | e6fc340 | 2019-02-12 17:29:38 +0200 | [diff] [blame] | 1039 | boot: |
| 1040 | - hd |
| 1041 | cloud_init_volume_name: iso |
| 1042 | cloud_init_iface_up: ens3 |
| 1043 | volumes: |
| 1044 | - name: system |
| 1045 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1046 | backing_store: mcp_ubuntu_1604_image |
| 1047 | format: qcow2 |
| 1048 | - name: iso # Volume with name 'iso' will be used |
| 1049 | # for store image with cloud-init metadata. |
| 1050 | capacity: 1 |
| 1051 | format: raw |
| 1052 | device: cdrom |
| 1053 | bus: ide |
| 1054 | cloudinit_meta_data: *cloudinit_meta_data |
| 1055 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1056 | |
| 1057 | interfaces: *interfaces |
| 1058 | network_config: *network_config |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1059 | |
| 1060 | - name: {{ HOSTNAME_CMN01 }} |
| 1061 | role: salt_minion |
| 1062 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1063 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1064 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1065 | boot: |
| 1066 | - hd |
| 1067 | cloud_init_volume_name: iso |
| 1068 | cloud_init_iface_up: ens3 |
| 1069 | volumes: |
| 1070 | - name: system |
| 1071 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1072 | backing_store: cloudimage1604 |
| 1073 | format: qcow2 |
| 1074 | - name: iso # Volume with name 'iso' will be used |
| 1075 | # for store image with cloud-init metadata. |
| 1076 | capacity: 1 |
| 1077 | format: raw |
| 1078 | device: cdrom |
| 1079 | bus: ide |
| 1080 | cloudinit_meta_data: *cloudinit_meta_data |
| 1081 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1082 | |
| 1083 | interfaces: *interfaces |
| 1084 | network_config: *network_config |
| 1085 | |
| 1086 | - name: {{ HOSTNAME_CMN02 }} |
| 1087 | role: salt_minion |
| 1088 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1089 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1090 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1091 | boot: |
| 1092 | - hd |
| 1093 | cloud_init_volume_name: iso |
| 1094 | cloud_init_iface_up: ens3 |
| 1095 | volumes: |
| 1096 | - name: system |
| 1097 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1098 | backing_store: cloudimage1604 |
| 1099 | format: qcow2 |
| 1100 | - name: iso # Volume with name 'iso' will be used |
| 1101 | # for store image with cloud-init metadata. |
| 1102 | capacity: 1 |
| 1103 | format: raw |
| 1104 | device: cdrom |
| 1105 | bus: ide |
| 1106 | cloudinit_meta_data: *cloudinit_meta_data |
| 1107 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1108 | |
| 1109 | interfaces: *interfaces |
| 1110 | network_config: *network_config |
| 1111 | |
| 1112 | - name: {{ HOSTNAME_CMN03 }} |
| 1113 | role: salt_minion |
| 1114 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1115 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1116 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1117 | boot: |
| 1118 | - hd |
| 1119 | cloud_init_volume_name: iso |
| 1120 | cloud_init_iface_up: ens3 |
| 1121 | volumes: |
| 1122 | - name: system |
| 1123 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1124 | backing_store: cloudimage1604 |
| 1125 | format: qcow2 |
| 1126 | - name: iso # Volume with name 'iso' will be used |
| 1127 | # for store image with cloud-init metadata. |
| 1128 | capacity: 1 |
| 1129 | format: raw |
| 1130 | device: cdrom |
| 1131 | bus: ide |
| 1132 | cloudinit_meta_data: *cloudinit_meta_data |
| 1133 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1134 | |
| 1135 | interfaces: *interfaces |
| 1136 | network_config: *network_config |
| 1137 | |
| 1138 | - name: {{ HOSTNAME_OSD01 }} |
| 1139 | role: salt_minion |
| 1140 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1141 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1142 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1143 | boot: |
| 1144 | - hd |
| 1145 | cloud_init_volume_name: iso |
| 1146 | cloud_init_iface_up: ens3 |
| 1147 | volumes: |
| 1148 | - name: system |
| 1149 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1150 | backing_store: cloudimage1604 |
| 1151 | format: qcow2 |
| 1152 | - name: ceph_osd |
| 1153 | capacity: 50 |
| 1154 | format: qcow2 |
| 1155 | - name: ceph_journal |
| 1156 | capacity: 50 |
| 1157 | format: qcow2 |
| 1158 | - name: iso # Volume with name 'iso' will be used |
| 1159 | # for store image with cloud-init metadata. |
| 1160 | capacity: 1 |
| 1161 | format: raw |
| 1162 | device: cdrom |
| 1163 | bus: ide |
| 1164 | cloudinit_meta_data: *cloudinit_meta_data |
| 1165 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1166 | |
| 1167 | interfaces: *interfaces |
| 1168 | network_config: *network_config |
| 1169 | |
| 1170 | - name: {{ HOSTNAME_OSD02 }} |
| 1171 | role: salt_minion |
| 1172 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1173 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1174 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1175 | boot: |
| 1176 | - hd |
| 1177 | cloud_init_volume_name: iso |
| 1178 | cloud_init_iface_up: ens3 |
| 1179 | volumes: |
| 1180 | - name: system |
| 1181 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1182 | backing_store: cloudimage1604 |
| 1183 | format: qcow2 |
| 1184 | - name: ceph_osd |
| 1185 | capacity: 50 |
| 1186 | format: qcow2 |
| 1187 | - name: ceph_journal |
| 1188 | capacity: 50 |
| 1189 | format: qcow2 |
| 1190 | - name: iso # Volume with name 'iso' will be used |
| 1191 | # for store image with cloud-init metadata. |
| 1192 | capacity: 1 |
| 1193 | format: raw |
| 1194 | device: cdrom |
| 1195 | bus: ide |
| 1196 | cloudinit_meta_data: *cloudinit_meta_data |
| 1197 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1198 | |
| 1199 | interfaces: *interfaces |
| 1200 | network_config: *network_config |
| 1201 | |
| 1202 | - name: {{ HOSTNAME_OSD03 }} |
| 1203 | role: salt_minion |
| 1204 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1205 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1206 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1207 | boot: |
| 1208 | - hd |
| 1209 | cloud_init_volume_name: iso |
| 1210 | cloud_init_iface_up: ens3 |
| 1211 | volumes: |
| 1212 | - name: system |
| 1213 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1214 | backing_store: cloudimage1604 |
| 1215 | format: qcow2 |
| 1216 | - name: ceph_osd |
| 1217 | capacity: 50 |
| 1218 | format: qcow2 |
| 1219 | - name: ceph_journal |
| 1220 | capacity: 50 |
| 1221 | format: qcow2 |
| 1222 | - name: iso # Volume with name 'iso' will be used |
| 1223 | # for store image with cloud-init metadata. |
| 1224 | capacity: 1 |
| 1225 | format: raw |
| 1226 | device: cdrom |
| 1227 | bus: ide |
| 1228 | cloudinit_meta_data: *cloudinit_meta_data |
| 1229 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1230 | |
| 1231 | interfaces: *interfaces |
| 1232 | network_config: *network_config |
| 1233 | |
| 1234 | - name: {{ HOSTNAME_RGW01 }} |
| 1235 | role: salt_minion |
| 1236 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1237 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1238 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1239 | boot: |
| 1240 | - hd |
| 1241 | cloud_init_volume_name: iso |
| 1242 | cloud_init_iface_up: ens3 |
| 1243 | volumes: |
| 1244 | - name: system |
| 1245 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1246 | backing_store: cloudimage1604 |
| 1247 | format: qcow2 |
| 1248 | - name: iso # Volume with name 'iso' will be used |
| 1249 | # for store image with cloud-init metadata. |
| 1250 | capacity: 1 |
| 1251 | format: raw |
| 1252 | device: cdrom |
| 1253 | bus: ide |
| 1254 | cloudinit_meta_data: *cloudinit_meta_data |
| 1255 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1256 | |
| 1257 | interfaces: *interfaces |
| 1258 | network_config: *network_config |
| 1259 | |
| 1260 | - name: {{ HOSTNAME_RGW02 }} |
| 1261 | role: salt_minion |
| 1262 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1263 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1264 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1265 | boot: |
| 1266 | - hd |
| 1267 | cloud_init_volume_name: iso |
| 1268 | cloud_init_iface_up: ens3 |
| 1269 | volumes: |
| 1270 | - name: system |
| 1271 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1272 | backing_store: cloudimage1604 |
| 1273 | format: qcow2 |
| 1274 | - name: iso # Volume with name 'iso' will be used |
| 1275 | # for store image with cloud-init metadata. |
| 1276 | capacity: 1 |
| 1277 | format: raw |
| 1278 | device: cdrom |
| 1279 | bus: ide |
| 1280 | cloudinit_meta_data: *cloudinit_meta_data |
| 1281 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1282 | |
| 1283 | interfaces: *interfaces |
| 1284 | network_config: *network_config |
| 1285 | |
| 1286 | - name: {{ HOSTNAME_RGW03 }} |
| 1287 | role: salt_minion |
| 1288 | params: |
Tatyana Leontovich | 63a2c60 | 2019-02-21 13:24:20 +0200 | [diff] [blame] | 1289 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1290 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 1291 | boot: |
| 1292 | - hd |
| 1293 | cloud_init_volume_name: iso |
| 1294 | cloud_init_iface_up: ens3 |
| 1295 | volumes: |
| 1296 | - name: system |
| 1297 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1298 | backing_store: cloudimage1604 |
| 1299 | format: qcow2 |
| 1300 | - name: iso # Volume with name 'iso' will be used |
| 1301 | # for store image with cloud-init metadata. |
| 1302 | capacity: 1 |
| 1303 | format: raw |
| 1304 | device: cdrom |
| 1305 | bus: ide |
| 1306 | cloudinit_meta_data: *cloudinit_meta_data |
| 1307 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1308 | |
| 1309 | interfaces: *interfaces |
| 1310 | network_config: *network_config |
| 1311 | |
| 1312 | - name: {{ HOSTNAME_DNS01 }} |
| 1313 | role: salt_minion |
| 1314 | params: |
| 1315 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1316 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 1317 | boot: |
| 1318 | - hd |
| 1319 | cloud_init_volume_name: iso |
| 1320 | cloud_init_iface_up: ens3 |
| 1321 | volumes: |
| 1322 | - name: system |
| 1323 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1324 | backing_store: cloudimage1604 |
| 1325 | format: qcow2 |
| 1326 | - name: iso # Volume with name 'iso' will be used |
| 1327 | # for store image with cloud-init metadata. |
| 1328 | capacity: 1 |
| 1329 | format: raw |
| 1330 | device: cdrom |
| 1331 | bus: ide |
| 1332 | cloudinit_meta_data: *cloudinit_meta_data |
| 1333 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1334 | |
| 1335 | interfaces: *interfaces |
| 1336 | network_config: *network_config |
| 1337 | |
| 1338 | - name: {{ HOSTNAME_DNS02 }} |
| 1339 | role: salt_minion |
| 1340 | params: |
| 1341 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1342 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Tatyana Leontovich | 0ea26dc | 2019-02-20 13:31:17 +0200 | [diff] [blame] | 1343 | boot: |
| 1344 | - hd |
| 1345 | cloud_init_volume_name: iso |
| 1346 | cloud_init_iface_up: ens3 |
| 1347 | volumes: |
| 1348 | - name: system |
| 1349 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1350 | backing_store: cloudimage1604 |
| 1351 | format: qcow2 |
| 1352 | - name: iso # Volume with name 'iso' will be used |
| 1353 | # for store image with cloud-init metadata. |
| 1354 | capacity: 1 |
| 1355 | format: raw |
| 1356 | device: cdrom |
| 1357 | bus: ide |
| 1358 | cloudinit_meta_data: *cloudinit_meta_data |
| 1359 | cloudinit_user_data: *cloudinit_user_data_1604_swp |
| 1360 | |
| 1361 | interfaces: *interfaces |
| 1362 | network_config: *network_config |