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 | |
Dennis Dmitriev | eea5bb3 | 2017-09-03 23:20:54 +0300 | [diff] [blame] | 4 | {% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-mcp-ocata-dvr-vxlan') %} |
Dennis Dmitriev | 0048fcd | 2017-10-21 12:26:48 +0300 | [diff] [blame] | 5 | {% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 6 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 37828bc | 2017-10-14 17:17:58 +0300 | [diff] [blame] | 7 | {% set HOSTNAME_CID = os_env('HOSTNAME_CID', 'cid.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 8 | {% set HOSTNAME_CID01 = os_env('HOSTNAME_CID01', 'cid01.' + DOMAIN_NAME) %} |
| 9 | {% set HOSTNAME_CID02 = os_env('HOSTNAME_CID02', 'cid02.' + DOMAIN_NAME) %} |
| 10 | {% set HOSTNAME_CID03 = os_env('HOSTNAME_CID03', 'cid03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 37828bc | 2017-10-14 17:17:58 +0300 | [diff] [blame] | 11 | {% set HOSTNAME_KVM = os_env('HOSTNAME_KVM', 'kvm.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 12 | {% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %} |
| 13 | {% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %} |
| 14 | {% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 37828bc | 2017-10-14 17:17:58 +0300 | [diff] [blame] | 15 | {% set HOSTNAME_CTL = os_env('HOSTNAME_CTL', 'ctl.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 16 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %} |
| 17 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %} |
| 18 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 37828bc | 2017-10-14 17:17:58 +0300 | [diff] [blame] | 19 | {% set HOSTNAME_DBS = os_env('HOSTNAME_DBS', 'dbs.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 20 | {% set HOSTNAME_DBS01 = os_env('HOSTNAME_DBS01', 'dbs01.' + DOMAIN_NAME) %} |
| 21 | {% set HOSTNAME_DBS02 = os_env('HOSTNAME_DBS02', 'dbs02.' + DOMAIN_NAME) %} |
| 22 | {% set HOSTNAME_DBS03 = os_env('HOSTNAME_DBS03', 'dbs03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 37828bc | 2017-10-14 17:17:58 +0300 | [diff] [blame] | 23 | {% set HOSTNAME_MSG = os_env('HOSTNAME_MSG', 'msg.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 24 | {% set HOSTNAME_MSG01 = os_env('HOSTNAME_MSG01', 'msg01.' + DOMAIN_NAME) %} |
| 25 | {% set HOSTNAME_MSG02 = os_env('HOSTNAME_MSG02', 'msg02.' + DOMAIN_NAME) %} |
| 26 | {% set HOSTNAME_MSG03 = os_env('HOSTNAME_MSG03', 'msg03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 37828bc | 2017-10-14 17:17:58 +0300 | [diff] [blame] | 27 | {% set HOSTNAME_MON = os_env('HOSTNAME_MON', 'mon.' + DOMAIN_NAME) %} |
| 28 | {% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %} |
| 29 | {% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %} |
| 30 | {% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %} |
| 31 | {% set HOSTNAME_LOG = os_env('HOSTNAME_LOG', 'log.' + DOMAIN_NAME) %} |
| 32 | {% set HOSTNAME_LOG01 = os_env('HOSTNAME_LOG01', 'log01.' + DOMAIN_NAME) %} |
| 33 | {% set HOSTNAME_LOG02 = os_env('HOSTNAME_LOG02', 'log02.' + DOMAIN_NAME) %} |
| 34 | {% set HOSTNAME_LOG03 = os_env('HOSTNAME_LOG03', 'log03.' + DOMAIN_NAME) %} |
| 35 | {% set HOSTNAME_MTR = os_env('HOSTNAME_MTR', 'mtr.' + DOMAIN_NAME) %} |
| 36 | {% set HOSTNAME_MTR01 = os_env('HOSTNAME_MTR01', 'mtr01.' + DOMAIN_NAME) %} |
| 37 | {% set HOSTNAME_MTR02 = os_env('HOSTNAME_MTR02', 'mtr02.' + DOMAIN_NAME) %} |
| 38 | {% set HOSTNAME_MTR03 = os_env('HOSTNAME_MTR03', 'mtr03.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 39 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp001.' + DOMAIN_NAME) %} |
| 40 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp002.' + DOMAIN_NAME) %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 41 | {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %} |
| 42 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
| 43 | |
Dennis Dmitriev | eea5bb3 | 2017-09-03 23:20:54 +0300 | [diff] [blame] | 44 | {% import 'cookied-mcp-ocata-dvr-vxlan/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 45 | {% import 'cookied-mcp-ocata-dvr-vxlan/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
Dennis Dmitriev | eea5bb3 | 2017-09-03 23:20:54 +0300 | [diff] [blame] | 46 | {% import 'cookied-mcp-ocata-dvr-vxlan/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 47 | |
| 48 | --- |
| 49 | aliases: |
| 50 | - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }} |
| 51 | - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }} |
| 52 | - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }} |
| 53 | - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }} |
| 54 | |
| 55 | template: |
| 56 | devops_settings: |
| 57 | env_name: {{ os_env('ENV_NAME', LAB_CONFIG_NAME + '_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 58 | |
| 59 | address_pools: |
| 60 | private-pool01: |
| 61 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 62 | params: |
| 63 | ip_reserved: |
| 64 | gateway: +1 |
| 65 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 66 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 67 | |
| 68 | default_{{ HOSTNAME_CID }}: +90 |
| 69 | default_{{ HOSTNAME_CID01 }}: +91 |
| 70 | default_{{ HOSTNAME_CID02 }}: +92 |
| 71 | default_{{ HOSTNAME_CID03 }}: +93 |
| 72 | |
| 73 | default_{{ HOSTNAME_KVM }}: +240 |
| 74 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 75 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 76 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 77 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 78 | default_{{ HOSTNAME_CTL }}: +10 |
| 79 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 80 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 81 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 82 | default_{{ HOSTNAME_DBS }}: +50 |
| 83 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 84 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 85 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 86 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 87 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 88 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 89 | default_{{ HOSTNAME_MSG }}: +40 |
| 90 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 91 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 92 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 93 | default_{{ HOSTNAME_PRX }}: +80 |
| 94 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 95 | default_{{ HOSTNAME_PRX02 }}: +82 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 96 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 97 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 98 | default_{{ HOSTNAME_MON }}: +70 |
| 99 | default_{{ HOSTNAME_MON01 }}: +71 |
| 100 | default_{{ HOSTNAME_MON02 }}: +72 |
| 101 | default_{{ HOSTNAME_MON03 }}: +73 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 102 | default_{{ HOSTNAME_LOG }}: +60 |
| 103 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 104 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 105 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 106 | default_{{ HOSTNAME_MTR }}: +85 |
| 107 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 108 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 109 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 110 | |
| 111 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 112 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 113 | ip_ranges: |
| 114 | dhcp: [+90, -10] |
| 115 | |
| 116 | admin-pool01: |
| 117 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16:24') }} |
| 118 | params: |
| 119 | ip_reserved: |
| 120 | gateway: +1 |
| 121 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 122 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 123 | |
| 124 | default_{{ HOSTNAME_CID }}: +90 |
| 125 | default_{{ HOSTNAME_CID01 }}: +91 |
| 126 | default_{{ HOSTNAME_CID02 }}: +92 |
| 127 | default_{{ HOSTNAME_CID03 }}: +93 |
| 128 | |
| 129 | default_{{ HOSTNAME_KVM }}: +240 |
| 130 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 131 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 132 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 133 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 134 | default_{{ HOSTNAME_CTL }}: +10 |
| 135 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 136 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 137 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 138 | default_{{ HOSTNAME_DBS }}: +50 |
| 139 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 140 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 141 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 142 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 143 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 144 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 145 | default_{{ HOSTNAME_MSG }}: +40 |
| 146 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 147 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 148 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 149 | default_{{ HOSTNAME_PRX }}: +80 |
| 150 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 151 | default_{{ HOSTNAME_PRX02 }}: +82 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 152 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 153 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 154 | default_{{ HOSTNAME_MON }}: +70 |
| 155 | default_{{ HOSTNAME_MON01 }}: +71 |
| 156 | default_{{ HOSTNAME_MON02 }}: +72 |
| 157 | default_{{ HOSTNAME_MON03 }}: +73 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 158 | default_{{ HOSTNAME_LOG }}: +60 |
| 159 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 160 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 161 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 162 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 163 | default_{{ HOSTNAME_MTR }}: +85 |
| 164 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 165 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 166 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 167 | |
| 168 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 169 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 170 | ip_ranges: |
| 171 | dhcp: [+90, -10] |
| 172 | |
| 173 | tenant-pool01: |
| 174 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 175 | params: |
| 176 | ip_reserved: |
| 177 | gateway: +1 |
| 178 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 179 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 180 | |
| 181 | default_{{ HOSTNAME_CID }}: +90 |
| 182 | default_{{ HOSTNAME_CID01 }}: +91 |
| 183 | default_{{ HOSTNAME_CID02 }}: +92 |
| 184 | default_{{ HOSTNAME_CID03 }}: +93 |
| 185 | |
| 186 | default_{{ HOSTNAME_KVM }}: +240 |
| 187 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 188 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 189 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 190 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 191 | default_{{ HOSTNAME_CTL }}: +10 |
| 192 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 193 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 194 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 195 | default_{{ HOSTNAME_DBS }}: +50 |
| 196 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 197 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 198 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 199 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 200 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 201 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 202 | default_{{ HOSTNAME_MSG }}: +40 |
| 203 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 204 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 205 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 206 | default_{{ HOSTNAME_PRX }}: +80 |
| 207 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 208 | default_{{ HOSTNAME_PRX02 }}: +82 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 209 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 210 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 211 | default_{{ HOSTNAME_MON }}: +70 |
| 212 | default_{{ HOSTNAME_MON01 }}: +71 |
| 213 | default_{{ HOSTNAME_MON02 }}: +72 |
| 214 | default_{{ HOSTNAME_MON03 }}: +73 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 215 | default_{{ HOSTNAME_LOG }}: +60 |
| 216 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 217 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 218 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 219 | default_{{ HOSTNAME_MTR }}: +85 |
| 220 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 221 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 222 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 223 | |
| 224 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 225 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 226 | ip_ranges: |
| 227 | dhcp: [+10, -10] |
| 228 | |
| 229 | external-pool01: |
| 230 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 231 | params: |
| 232 | ip_reserved: |
| 233 | gateway: +1 |
| 234 | l2_network_device: +1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 235 | default_{{ HOSTNAME_CFG01 }}: +15 |
| 236 | |
| 237 | default_{{ HOSTNAME_CID }}: +90 |
| 238 | default_{{ HOSTNAME_CID01 }}: +91 |
| 239 | default_{{ HOSTNAME_CID02 }}: +92 |
| 240 | default_{{ HOSTNAME_CID03 }}: +93 |
| 241 | |
| 242 | default_{{ HOSTNAME_KVM }}: +240 |
| 243 | default_{{ HOSTNAME_KVM01 }}: +241 |
| 244 | default_{{ HOSTNAME_KVM02 }}: +242 |
| 245 | default_{{ HOSTNAME_KVM03 }}: +243 |
| 246 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 247 | default_{{ HOSTNAME_CTL }}: +10 |
| 248 | default_{{ HOSTNAME_CTL01 }}: +11 |
| 249 | default_{{ HOSTNAME_CTL02 }}: +12 |
| 250 | default_{{ HOSTNAME_CTL03 }}: +13 |
| 251 | default_{{ HOSTNAME_DBS }}: +50 |
| 252 | default_{{ HOSTNAME_DBS01 }}: +51 |
| 253 | default_{{ HOSTNAME_DBS02 }}: +52 |
| 254 | default_{{ HOSTNAME_DBS03 }}: +53 |
| 255 | default_{{ HOSTNAME_GTW01 }}: +224 |
| 256 | default_{{ HOSTNAME_GTW02 }}: +225 |
| 257 | default_{{ HOSTNAME_GTW03 }}: +226 |
| 258 | default_{{ HOSTNAME_MSG }}: +40 |
| 259 | default_{{ HOSTNAME_MSG01 }}: +41 |
| 260 | default_{{ HOSTNAME_MSG02 }}: +42 |
| 261 | default_{{ HOSTNAME_MSG03 }}: +43 |
| 262 | default_{{ HOSTNAME_PRX }}: +80 |
| 263 | default_{{ HOSTNAME_PRX01 }}: +81 |
| 264 | default_{{ HOSTNAME_PRX02 }}: +82 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 265 | default_{{ HOSTNAME_BMK01 }}: +85 |
| 266 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 267 | default_{{ HOSTNAME_MON }}: +70 |
| 268 | default_{{ HOSTNAME_MON01 }}: +71 |
| 269 | default_{{ HOSTNAME_MON02 }}: +72 |
| 270 | default_{{ HOSTNAME_MON03 }}: +73 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 271 | default_{{ HOSTNAME_LOG }}: +60 |
| 272 | default_{{ HOSTNAME_LOG01 }}: +61 |
| 273 | default_{{ HOSTNAME_LOG02 }}: +62 |
| 274 | default_{{ HOSTNAME_LOG03 }}: +63 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 275 | default_{{ HOSTNAME_MTR }}: +85 |
| 276 | default_{{ HOSTNAME_MTR01 }}: +86 |
| 277 | default_{{ HOSTNAME_MTR02 }}: +87 |
| 278 | default_{{ HOSTNAME_MTR03 }}: +88 |
| 279 | |
| 280 | default_{{ HOSTNAME_CMP01 }}: +101 |
| 281 | default_{{ HOSTNAME_CMP02 }}: +102 |
| 282 | ip_ranges: |
| 283 | dhcp: [+10, -10] |
| 284 | |
| 285 | |
| 286 | groups: |
| 287 | - name: default |
| 288 | driver: |
| 289 | name: devops.driver.libvirt |
| 290 | params: |
| 291 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 292 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 293 | stp: False |
| 294 | hpet: False |
| 295 | enable_acpi: true |
| 296 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 297 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
| 298 | |
| 299 | network_pools: |
| 300 | admin: admin-pool01 |
| 301 | private: private-pool01 |
| 302 | tenant: tenant-pool01 |
| 303 | external: external-pool01 |
| 304 | |
| 305 | l2_network_devices: |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 306 | admin: |
| 307 | address_pool: admin-pool01 |
| 308 | dhcp: true |
| 309 | forward: |
| 310 | mode: nat |
| 311 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 312 | private: |
| 313 | address_pool: private-pool01 |
| 314 | dhcp: false |
| 315 | |
| 316 | #tenant: |
| 317 | # address_pool: tenant-pool01 |
| 318 | # dhcp: false |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 319 | |
| 320 | external: |
| 321 | address_pool: external-pool01 |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 322 | dhcp: false |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 323 | forward: |
| 324 | mode: nat |
| 325 | |
| 326 | |
| 327 | group_volumes: |
| 328 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
Dennis Dmitriev | f00a384 | 2018-01-24 16:44:26 +0200 | [diff] [blame] | 329 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img |
| 330 | format: qcow2 |
| 331 | - name: cfg01_day01_image # Pre-configured day01 image |
| 332 | source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 333 | format: qcow2 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 334 | - name: mcp_ubuntu_1604_image # Pre-configured image for VCP nodes initially based on kvm nodes. |
| 335 | # http://images.mirantis.com/ubuntu-16-04-x64-latest.qcow2 (preffered) |
| 336 | # or |
| 337 | # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img |
| 338 | source_image: {{ os_env('MCP_IMAGE_PATH1604', os_env('IMAGE_PATH1604')) }} |
| 339 | format: qcow2 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 340 | |
| 341 | nodes: |
| 342 | - name: {{ HOSTNAME_CFG01 }} |
| 343 | role: salt_master |
| 344 | params: |
| 345 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | b182279 | 2017-10-24 18:22:23 +0300 | [diff] [blame] | 346 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 347 | boot: |
| 348 | - hd |
| 349 | cloud_init_volume_name: iso |
| 350 | cloud_init_iface_up: ens3 |
| 351 | volumes: |
| 352 | - name: system |
| 353 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | f00a384 | 2018-01-24 16:44:26 +0200 | [diff] [blame] | 354 | backing_store: cfg01_day01_image |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 355 | format: qcow2 |
| 356 | - name: iso # Volume with name 'iso' will be used |
| 357 | # for store image with cloud-init metadata. |
| 358 | capacity: 1 |
| 359 | format: raw |
| 360 | device: cdrom |
| 361 | bus: ide |
| 362 | cloudinit_meta_data: *cloudinit_meta_data |
| 363 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 364 | |
| 365 | interfaces: |
| 366 | - label: ens3 |
| 367 | l2_network_device: admin |
| 368 | interface_model: *interface_model |
| 369 | - label: ens4 |
| 370 | l2_network_device: private |
| 371 | interface_model: *interface_model |
| 372 | network_config: |
| 373 | ens3: |
| 374 | networks: |
| 375 | - admin |
| 376 | ens4: |
| 377 | networks: |
| 378 | - private |
| 379 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 380 | - name: {{ HOSTNAME_CID01 }} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 381 | role: salt_minion |
| 382 | params: |
| 383 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 0937c39 | 2018-01-29 18:46:40 +0200 | [diff] [blame] | 384 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 385 | boot: |
| 386 | - hd |
| 387 | cloud_init_volume_name: iso |
| 388 | cloud_init_iface_up: ens3 |
| 389 | volumes: |
| 390 | - name: system |
| 391 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 392 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 393 | format: qcow2 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 394 | - name: iso # Volume with name 'iso' will be used |
| 395 | # for store image with cloud-init metadata. |
| 396 | capacity: 1 |
| 397 | format: raw |
| 398 | device: cdrom |
| 399 | bus: ide |
| 400 | cloudinit_meta_data: *cloudinit_meta_data |
| 401 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 402 | |
| 403 | interfaces: &interfaces |
| 404 | - label: ens3 |
| 405 | l2_network_device: admin |
| 406 | interface_model: *interface_model |
| 407 | - label: ens4 |
| 408 | l2_network_device: private |
| 409 | interface_model: *interface_model |
| 410 | network_config: &network_config |
| 411 | ens3: |
| 412 | networks: |
| 413 | - admin |
| 414 | ens4: |
| 415 | networks: |
| 416 | - private |
| 417 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 418 | - name: {{ HOSTNAME_CID02 }} |
| 419 | role: salt_minion |
| 420 | params: |
| 421 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 0937c39 | 2018-01-29 18:46:40 +0200 | [diff] [blame] | 422 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 423 | boot: |
| 424 | - hd |
| 425 | cloud_init_volume_name: iso |
| 426 | cloud_init_iface_up: ens3 |
| 427 | volumes: |
| 428 | - name: system |
| 429 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 430 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 431 | format: qcow2 |
| 432 | - name: iso # Volume with name 'iso' will be used |
| 433 | # for store image with cloud-init metadata. |
| 434 | capacity: 1 |
| 435 | format: raw |
| 436 | device: cdrom |
| 437 | bus: ide |
| 438 | cloudinit_meta_data: *cloudinit_meta_data |
| 439 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 440 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 441 | interfaces: *interfaces |
| 442 | network_config: *network_config |
| 443 | |
| 444 | - name: {{ HOSTNAME_CID03 }} |
| 445 | role: salt_minion |
| 446 | params: |
| 447 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 0937c39 | 2018-01-29 18:46:40 +0200 | [diff] [blame] | 448 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 449 | boot: |
| 450 | - hd |
| 451 | cloud_init_volume_name: iso |
| 452 | cloud_init_iface_up: ens3 |
| 453 | volumes: |
| 454 | - name: system |
| 455 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 456 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 457 | format: qcow2 |
| 458 | - name: iso # Volume with name 'iso' will be used |
| 459 | # for store image with cloud-init metadata. |
| 460 | capacity: 1 |
| 461 | format: raw |
| 462 | device: cdrom |
| 463 | bus: ide |
| 464 | cloudinit_meta_data: *cloudinit_meta_data |
| 465 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 466 | |
| 467 | interfaces: *interfaces |
| 468 | network_config: *network_config |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 469 | |
| 470 | # KVM* nodes required for services like glusterfs.server |
| 471 | - name: {{ HOSTNAME_KVM01 }} |
| 472 | role: salt_minion |
| 473 | params: |
| 474 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 475 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 476 | boot: |
| 477 | - hd |
| 478 | cloud_init_volume_name: iso |
| 479 | cloud_init_iface_up: ens3 |
| 480 | volumes: |
| 481 | - name: system |
| 482 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 483 | backing_store: cloudimage1604 |
| 484 | format: qcow2 |
| 485 | - name: iso # Volume with name 'iso' will be used |
| 486 | # for store image with cloud-init metadata. |
| 487 | capacity: 1 |
| 488 | format: raw |
| 489 | device: cdrom |
| 490 | bus: ide |
| 491 | cloudinit_meta_data: *cloudinit_meta_data |
| 492 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 493 | |
| 494 | interfaces: *interfaces |
| 495 | network_config: *network_config |
| 496 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 497 | - name: {{ HOSTNAME_KVM02 }} |
| 498 | role: salt_minion |
| 499 | params: |
| 500 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 501 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 502 | boot: |
| 503 | - hd |
| 504 | cloud_init_volume_name: iso |
| 505 | cloud_init_iface_up: ens3 |
| 506 | volumes: |
| 507 | - name: system |
| 508 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 509 | backing_store: cloudimage1604 |
| 510 | format: qcow2 |
| 511 | - name: iso # Volume with name 'iso' will be used |
| 512 | # for store image with cloud-init metadata. |
| 513 | capacity: 1 |
| 514 | format: raw |
| 515 | device: cdrom |
| 516 | bus: ide |
| 517 | cloudinit_meta_data: *cloudinit_meta_data |
| 518 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 519 | |
| 520 | interfaces: *interfaces |
| 521 | network_config: *network_config |
| 522 | |
| 523 | - name: {{ HOSTNAME_KVM03 }} |
| 524 | role: salt_minion |
| 525 | params: |
| 526 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 527 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 528 | boot: |
| 529 | - hd |
| 530 | cloud_init_volume_name: iso |
| 531 | cloud_init_iface_up: ens3 |
| 532 | volumes: |
| 533 | - name: system |
| 534 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 535 | backing_store: cloudimage1604 |
| 536 | format: qcow2 |
| 537 | - name: iso # Volume with name 'iso' will be used |
| 538 | # for store image with cloud-init metadata. |
| 539 | capacity: 1 |
| 540 | format: raw |
| 541 | device: cdrom |
| 542 | bus: ide |
| 543 | cloudinit_meta_data: *cloudinit_meta_data |
| 544 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 545 | |
| 546 | interfaces: *interfaces |
| 547 | network_config: *network_config |
| 548 | |
| 549 | - name: {{ HOSTNAME_DBS01 }} |
| 550 | role: salt_minion |
| 551 | params: |
| 552 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 553 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 554 | boot: |
| 555 | - hd |
| 556 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 557 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 558 | volumes: |
| 559 | - name: system |
| 560 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 561 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 562 | format: qcow2 |
| 563 | - name: iso # Volume with name 'iso' will be used |
| 564 | # for store image with cloud-init metadata. |
| 565 | capacity: 1 |
| 566 | format: raw |
| 567 | device: cdrom |
| 568 | bus: ide |
| 569 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 570 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 571 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 572 | interfaces: *interfaces |
| 573 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 574 | |
| 575 | - name: {{ HOSTNAME_DBS02 }} |
| 576 | role: salt_minion |
| 577 | params: |
| 578 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 579 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 580 | boot: |
| 581 | - hd |
| 582 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 583 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 584 | volumes: |
| 585 | - name: system |
| 586 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 587 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 588 | format: qcow2 |
| 589 | - name: iso # Volume with name 'iso' will be used |
| 590 | # for store image with cloud-init metadata. |
| 591 | capacity: 1 |
| 592 | format: raw |
| 593 | device: cdrom |
| 594 | bus: ide |
| 595 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 596 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 597 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 598 | interfaces: *interfaces |
| 599 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 600 | |
| 601 | - name: {{ HOSTNAME_DBS03 }} |
| 602 | role: salt_minion |
| 603 | params: |
| 604 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 605 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 606 | boot: |
| 607 | - hd |
| 608 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 609 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 610 | volumes: |
| 611 | - name: system |
| 612 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 613 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 614 | format: qcow2 |
| 615 | - name: iso # Volume with name 'iso' will be used |
| 616 | # for store image with cloud-init metadata. |
| 617 | capacity: 1 |
| 618 | format: raw |
| 619 | device: cdrom |
| 620 | bus: ide |
| 621 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 622 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 623 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 624 | interfaces: *interfaces |
| 625 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 626 | |
| 627 | - name: {{ HOSTNAME_MSG01 }} |
| 628 | role: salt_minion |
| 629 | params: |
| 630 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 631 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 632 | boot: |
| 633 | - hd |
| 634 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 635 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 636 | volumes: |
| 637 | - name: system |
| 638 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 639 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 640 | format: qcow2 |
| 641 | - name: iso # Volume with name 'iso' will be used |
| 642 | # for store image with cloud-init metadata. |
| 643 | capacity: 1 |
| 644 | format: raw |
| 645 | device: cdrom |
| 646 | bus: ide |
| 647 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 648 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 649 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 650 | interfaces: *interfaces |
| 651 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 652 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 653 | - name: {{ HOSTNAME_MSG02 }} |
| 654 | role: salt_minion |
| 655 | params: |
| 656 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 657 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 658 | boot: |
| 659 | - hd |
| 660 | cloud_init_volume_name: iso |
| 661 | cloud_init_iface_up: ens3 |
| 662 | volumes: |
| 663 | - name: system |
| 664 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 665 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 666 | format: qcow2 |
| 667 | - name: iso # Volume with name 'iso' will be used |
| 668 | # for store image with cloud-init metadata. |
| 669 | capacity: 1 |
| 670 | format: raw |
| 671 | device: cdrom |
| 672 | bus: ide |
| 673 | cloudinit_meta_data: *cloudinit_meta_data |
| 674 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 675 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 676 | interfaces: *interfaces |
| 677 | network_config: *network_config |
| 678 | |
| 679 | - name: {{ HOSTNAME_MSG03 }} |
| 680 | role: salt_minion |
| 681 | params: |
| 682 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 683 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 684 | boot: |
| 685 | - hd |
| 686 | cloud_init_volume_name: iso |
| 687 | cloud_init_iface_up: ens3 |
| 688 | volumes: |
| 689 | - name: system |
| 690 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 691 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 692 | format: qcow2 |
| 693 | - name: iso # Volume with name 'iso' will be used |
| 694 | # for store image with cloud-init metadata. |
| 695 | capacity: 1 |
| 696 | format: raw |
| 697 | device: cdrom |
| 698 | bus: ide |
| 699 | cloudinit_meta_data: *cloudinit_meta_data |
| 700 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 701 | |
| 702 | interfaces: *interfaces |
| 703 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 704 | |
| 705 | - name: {{ HOSTNAME_CTL01 }} |
| 706 | role: salt_minion |
| 707 | params: |
| 708 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 709 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 710 | boot: |
| 711 | - hd |
| 712 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 713 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 714 | volumes: |
| 715 | - name: system |
| 716 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 717 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 718 | format: qcow2 |
| 719 | - name: cinder |
| 720 | capacity: 50 |
| 721 | format: qcow2 |
| 722 | - name: iso # Volume with name 'iso' will be used |
| 723 | # for store image with cloud-init metadata. |
| 724 | capacity: 1 |
| 725 | format: raw |
| 726 | device: cdrom |
| 727 | bus: ide |
| 728 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 729 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 730 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 731 | interfaces: *interfaces |
| 732 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 733 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 734 | - name: {{ HOSTNAME_CTL02 }} |
| 735 | role: salt_minion |
| 736 | params: |
| 737 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 738 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 739 | boot: |
| 740 | - hd |
| 741 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 742 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 743 | volumes: |
| 744 | - name: system |
| 745 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 746 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 747 | format: qcow2 |
| 748 | - name: cinder |
| 749 | capacity: 50 |
| 750 | format: qcow2 |
| 751 | - name: iso # Volume with name 'iso' will be used |
| 752 | # for store image with cloud-init metadata. |
| 753 | capacity: 1 |
| 754 | format: raw |
| 755 | device: cdrom |
| 756 | bus: ide |
| 757 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 758 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 759 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 760 | interfaces: *interfaces |
| 761 | network_config: *network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 762 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 763 | - name: {{ HOSTNAME_CTL03 }} |
| 764 | role: salt_minion |
| 765 | params: |
| 766 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 767 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 768 | boot: |
| 769 | - hd |
| 770 | cloud_init_volume_name: iso |
| 771 | cloud_init_iface_up: ens3 |
| 772 | volumes: |
| 773 | - name: system |
| 774 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 775 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 776 | format: qcow2 |
| 777 | - name: cinder |
| 778 | capacity: 50 |
| 779 | format: qcow2 |
| 780 | - name: iso # Volume with name 'iso' will be used |
| 781 | # for store image with cloud-init metadata. |
| 782 | capacity: 1 |
| 783 | format: raw |
| 784 | device: cdrom |
| 785 | bus: ide |
| 786 | cloudinit_meta_data: *cloudinit_meta_data |
| 787 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 788 | |
| 789 | interfaces: *interfaces |
| 790 | network_config: *network_config |
| 791 | |
| 792 | - name: {{ HOSTNAME_MON01 }} |
| 793 | role: salt_minion |
| 794 | params: |
| 795 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 796 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 797 | boot: |
| 798 | - hd |
| 799 | cloud_init_volume_name: iso |
| 800 | cloud_init_iface_up: ens3 |
| 801 | volumes: |
| 802 | - name: system |
| 803 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 804 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 805 | format: qcow2 |
| 806 | - name: iso # Volume with name 'iso' will be used |
| 807 | # for store image with cloud-init metadata. |
| 808 | capacity: 1 |
| 809 | format: raw |
| 810 | device: cdrom |
| 811 | bus: ide |
| 812 | cloudinit_meta_data: *cloudinit_meta_data |
| 813 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 814 | |
| 815 | interfaces: *interfaces |
| 816 | network_config: *network_config |
| 817 | |
| 818 | - name: {{ HOSTNAME_MON02 }} |
| 819 | role: salt_minion |
| 820 | params: |
| 821 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 822 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 823 | boot: |
| 824 | - hd |
| 825 | cloud_init_volume_name: iso |
| 826 | cloud_init_iface_up: ens3 |
| 827 | volumes: |
| 828 | - name: system |
| 829 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 830 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 831 | format: qcow2 |
| 832 | - name: iso # Volume with name 'iso' will be used |
| 833 | # for store image with cloud-init metadata. |
| 834 | capacity: 1 |
| 835 | format: raw |
| 836 | device: cdrom |
| 837 | bus: ide |
| 838 | cloudinit_meta_data: *cloudinit_meta_data |
| 839 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 840 | |
| 841 | interfaces: *interfaces |
| 842 | network_config: *network_config |
| 843 | |
| 844 | - name: {{ HOSTNAME_MON03 }} |
| 845 | role: salt_minion |
| 846 | params: |
| 847 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 848 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 849 | boot: |
| 850 | - hd |
| 851 | cloud_init_volume_name: iso |
| 852 | cloud_init_iface_up: ens3 |
| 853 | volumes: |
| 854 | - name: system |
| 855 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 856 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 857 | format: qcow2 |
| 858 | - name: iso # Volume with name 'iso' will be used |
| 859 | # for store image with cloud-init metadata. |
| 860 | capacity: 1 |
| 861 | format: raw |
| 862 | device: cdrom |
| 863 | bus: ide |
| 864 | cloudinit_meta_data: *cloudinit_meta_data |
| 865 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 866 | |
| 867 | interfaces: *interfaces |
| 868 | network_config: *network_config |
| 869 | |
| 870 | - name: {{ HOSTNAME_LOG01 }} |
| 871 | role: salt_minion |
| 872 | params: |
| 873 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 874 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 875 | boot: |
| 876 | - hd |
| 877 | cloud_init_volume_name: iso |
| 878 | cloud_init_iface_up: ens3 |
| 879 | volumes: |
| 880 | - name: system |
| 881 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 882 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 883 | format: qcow2 |
| 884 | - name: iso # Volume with name 'iso' will be used |
| 885 | # for store image with cloud-init metadata. |
| 886 | capacity: 1 |
| 887 | format: raw |
| 888 | device: cdrom |
| 889 | bus: ide |
| 890 | cloudinit_meta_data: *cloudinit_meta_data |
| 891 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 892 | |
| 893 | interfaces: *interfaces |
| 894 | network_config: *network_config |
| 895 | |
| 896 | - name: {{ HOSTNAME_LOG02 }} |
| 897 | role: salt_minion |
| 898 | params: |
| 899 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 900 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 901 | boot: |
| 902 | - hd |
| 903 | cloud_init_volume_name: iso |
| 904 | cloud_init_iface_up: ens3 |
| 905 | volumes: |
| 906 | - name: system |
| 907 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 908 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 909 | format: qcow2 |
| 910 | - name: iso # Volume with name 'iso' will be used |
| 911 | # for store image with cloud-init metadata. |
| 912 | capacity: 1 |
| 913 | format: raw |
| 914 | device: cdrom |
| 915 | bus: ide |
| 916 | cloudinit_meta_data: *cloudinit_meta_data |
| 917 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 918 | |
| 919 | interfaces: *interfaces |
| 920 | network_config: *network_config |
| 921 | |
| 922 | - name: {{ HOSTNAME_LOG03 }} |
| 923 | role: salt_minion |
| 924 | params: |
| 925 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 926 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 927 | boot: |
| 928 | - hd |
| 929 | cloud_init_volume_name: iso |
| 930 | cloud_init_iface_up: ens3 |
| 931 | volumes: |
| 932 | - name: system |
| 933 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 934 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 935 | format: qcow2 |
| 936 | - name: iso # Volume with name 'iso' will be used |
| 937 | # for store image with cloud-init metadata. |
| 938 | capacity: 1 |
| 939 | format: raw |
| 940 | device: cdrom |
| 941 | bus: ide |
| 942 | cloudinit_meta_data: *cloudinit_meta_data |
| 943 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 944 | |
| 945 | interfaces: *interfaces |
| 946 | network_config: *network_config |
| 947 | |
| 948 | - name: {{ HOSTNAME_MTR01 }} |
| 949 | role: salt_minion |
| 950 | params: |
| 951 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 952 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 953 | boot: |
| 954 | - hd |
| 955 | cloud_init_volume_name: iso |
| 956 | cloud_init_iface_up: ens3 |
| 957 | volumes: |
| 958 | - name: system |
| 959 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 960 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 961 | format: qcow2 |
| 962 | - name: iso # Volume with name 'iso' will be used |
| 963 | # for store image with cloud-init metadata. |
| 964 | capacity: 1 |
| 965 | format: raw |
| 966 | device: cdrom |
| 967 | bus: ide |
| 968 | cloudinit_meta_data: *cloudinit_meta_data |
| 969 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 970 | |
| 971 | interfaces: *interfaces |
| 972 | network_config: *network_config |
| 973 | |
| 974 | - name: {{ HOSTNAME_MTR02 }} |
| 975 | role: salt_minion |
| 976 | params: |
| 977 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 978 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 979 | boot: |
| 980 | - hd |
| 981 | cloud_init_volume_name: iso |
| 982 | cloud_init_iface_up: ens3 |
| 983 | volumes: |
| 984 | - name: system |
| 985 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 986 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 987 | format: qcow2 |
| 988 | - name: iso # Volume with name 'iso' will be used |
| 989 | # for store image with cloud-init metadata. |
| 990 | capacity: 1 |
| 991 | format: raw |
| 992 | device: cdrom |
| 993 | bus: ide |
| 994 | cloudinit_meta_data: *cloudinit_meta_data |
| 995 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 996 | |
| 997 | interfaces: *interfaces |
| 998 | network_config: *network_config |
| 999 | |
| 1000 | - name: {{ HOSTNAME_MTR03 }} |
| 1001 | role: salt_minion |
| 1002 | params: |
| 1003 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 1004 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 1005 | boot: |
| 1006 | - hd |
| 1007 | cloud_init_volume_name: iso |
| 1008 | cloud_init_iface_up: ens3 |
| 1009 | volumes: |
| 1010 | - name: system |
| 1011 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 1012 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 1013 | format: qcow2 |
| 1014 | - name: iso # Volume with name 'iso' will be used |
| 1015 | # for store image with cloud-init metadata. |
| 1016 | capacity: 1 |
| 1017 | format: raw |
| 1018 | device: cdrom |
| 1019 | bus: ide |
| 1020 | cloudinit_meta_data: *cloudinit_meta_data |
| 1021 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1022 | |
| 1023 | interfaces: *interfaces |
| 1024 | network_config: *network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1025 | |
| 1026 | - name: {{ HOSTNAME_PRX01 }} |
| 1027 | role: salt_minion |
| 1028 | params: |
| 1029 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1030 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1031 | boot: |
| 1032 | - hd |
| 1033 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1034 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1035 | volumes: |
| 1036 | - name: system |
| 1037 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
Dennis Dmitriev | 6f71cfd | 2018-01-31 14:17:28 +0200 | [diff] [blame^] | 1038 | backing_store: mcp_ubuntu_1604_image |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1039 | format: qcow2 |
| 1040 | - name: cinder |
| 1041 | capacity: 50 |
| 1042 | format: qcow2 |
| 1043 | - name: iso # Volume with name 'iso' will be used |
| 1044 | # for store image with cloud-init metadata. |
| 1045 | capacity: 1 |
| 1046 | format: raw |
| 1047 | device: cdrom |
| 1048 | bus: ide |
| 1049 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1050 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1051 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1052 | interfaces: *interfaces |
| 1053 | network_config: *network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1054 | |
| 1055 | - name: {{ HOSTNAME_CMP01 }} |
| 1056 | role: salt_minion |
| 1057 | params: |
| 1058 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1059 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1060 | boot: |
| 1061 | - hd |
| 1062 | cloud_init_volume_name: iso |
| 1063 | cloud_init_iface_up: ens3 |
| 1064 | volumes: |
| 1065 | - name: system |
| 1066 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1067 | backing_store: cloudimage1604 |
| 1068 | format: qcow2 |
| 1069 | - name: iso # Volume with name 'iso' will be used |
| 1070 | # for store image with cloud-init metadata. |
| 1071 | capacity: 1 |
| 1072 | format: raw |
| 1073 | device: cdrom |
| 1074 | bus: ide |
| 1075 | cloudinit_meta_data: *cloudinit_meta_data |
| 1076 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1077 | |
| 1078 | |
| 1079 | interfaces: &all_interfaces |
| 1080 | - label: ens3 |
| 1081 | l2_network_device: admin |
| 1082 | interface_model: *interface_model |
| 1083 | - label: ens4 |
| 1084 | l2_network_device: private |
| 1085 | interface_model: *interface_model |
| 1086 | - label: ens5 |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1087 | l2_network_device: private |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1088 | interface_model: *interface_model |
| 1089 | - label: ens6 |
| 1090 | l2_network_device: external |
| 1091 | interface_model: *interface_model |
| 1092 | network_config: &all_network_config |
| 1093 | ens3: |
| 1094 | networks: |
| 1095 | - admin |
| 1096 | ens4: |
| 1097 | networks: |
| 1098 | - private |
| 1099 | ens5: |
| 1100 | networks: |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1101 | - private |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1102 | ens6: |
| 1103 | networks: |
| 1104 | - external |
| 1105 | |
| 1106 | - name: {{ HOSTNAME_CMP02 }} |
| 1107 | role: salt_minion |
| 1108 | params: |
| 1109 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1110 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1111 | boot: |
| 1112 | - hd |
| 1113 | cloud_init_volume_name: iso |
| 1114 | cloud_init_iface_up: ens3 |
| 1115 | volumes: |
| 1116 | - name: system |
| 1117 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1118 | backing_store: cloudimage1604 |
| 1119 | format: qcow2 |
| 1120 | - name: iso # Volume with name 'iso' will be used |
| 1121 | # for store image with cloud-init metadata. |
| 1122 | capacity: 1 |
| 1123 | format: raw |
| 1124 | device: cdrom |
| 1125 | bus: ide |
| 1126 | cloudinit_meta_data: *cloudinit_meta_data |
| 1127 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1128 | |
| 1129 | interfaces: *all_interfaces |
| 1130 | network_config: *all_network_config |
| 1131 | |
| 1132 | - name: {{ HOSTNAME_GTW01 }} |
| 1133 | role: salt_minion |
| 1134 | params: |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1135 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1136 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 1137 | boot: |
| 1138 | - hd |
| 1139 | cloud_init_volume_name: iso |
| 1140 | cloud_init_iface_up: ens3 |
| 1141 | volumes: |
| 1142 | - name: system |
| 1143 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1144 | backing_store: cloudimage1604 |
| 1145 | format: qcow2 |
| 1146 | - name: iso # Volume with name 'iso' will be used |
| 1147 | # for store image with cloud-init metadata. |
| 1148 | capacity: 1 |
| 1149 | format: raw |
| 1150 | device: cdrom |
| 1151 | bus: ide |
| 1152 | cloudinit_meta_data: *cloudinit_meta_data |
| 1153 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1154 | |
| 1155 | interfaces: *all_interfaces |
| 1156 | network_config: *all_network_config |