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. |
| 329 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or |
| 330 | # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2 |
| 331 | format: qcow2 |
| 332 | |
| 333 | nodes: |
| 334 | - name: {{ HOSTNAME_CFG01 }} |
| 335 | role: salt_master |
| 336 | params: |
| 337 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | b182279 | 2017-10-24 18:22:23 +0300 | [diff] [blame] | 338 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 339 | boot: |
| 340 | - hd |
| 341 | cloud_init_volume_name: iso |
| 342 | cloud_init_iface_up: ens3 |
| 343 | volumes: |
| 344 | - name: system |
| 345 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 346 | backing_store: cloudimage1604 |
| 347 | format: qcow2 |
| 348 | - name: iso # Volume with name 'iso' will be used |
| 349 | # for store image with cloud-init metadata. |
| 350 | capacity: 1 |
| 351 | format: raw |
| 352 | device: cdrom |
| 353 | bus: ide |
| 354 | cloudinit_meta_data: *cloudinit_meta_data |
| 355 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 356 | |
| 357 | interfaces: |
| 358 | - label: ens3 |
| 359 | l2_network_device: admin |
| 360 | interface_model: *interface_model |
| 361 | - label: ens4 |
| 362 | l2_network_device: private |
| 363 | interface_model: *interface_model |
| 364 | network_config: |
| 365 | ens3: |
| 366 | networks: |
| 367 | - admin |
| 368 | ens4: |
| 369 | networks: |
| 370 | - private |
| 371 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 372 | - name: {{ HOSTNAME_CID01 }} |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 373 | role: salt_minion |
| 374 | params: |
| 375 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 376 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 377 | boot: |
| 378 | - hd |
| 379 | cloud_init_volume_name: iso |
| 380 | cloud_init_iface_up: ens3 |
| 381 | volumes: |
| 382 | - name: system |
| 383 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 384 | backing_store: cloudimage1604 |
| 385 | format: qcow2 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 386 | - name: iso # Volume with name 'iso' will be used |
| 387 | # for store image with cloud-init metadata. |
| 388 | capacity: 1 |
| 389 | format: raw |
| 390 | device: cdrom |
| 391 | bus: ide |
| 392 | cloudinit_meta_data: *cloudinit_meta_data |
| 393 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 394 | |
| 395 | interfaces: &interfaces |
| 396 | - label: ens3 |
| 397 | l2_network_device: admin |
| 398 | interface_model: *interface_model |
| 399 | - label: ens4 |
| 400 | l2_network_device: private |
| 401 | interface_model: *interface_model |
| 402 | network_config: &network_config |
| 403 | ens3: |
| 404 | networks: |
| 405 | - admin |
| 406 | ens4: |
| 407 | networks: |
| 408 | - private |
| 409 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 410 | - name: {{ HOSTNAME_CID02 }} |
| 411 | role: salt_minion |
| 412 | params: |
| 413 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 414 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 415 | boot: |
| 416 | - hd |
| 417 | cloud_init_volume_name: iso |
| 418 | cloud_init_iface_up: ens3 |
| 419 | volumes: |
| 420 | - name: system |
| 421 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 422 | backing_store: cloudimage1604 |
| 423 | format: qcow2 |
| 424 | - name: iso # Volume with name 'iso' will be used |
| 425 | # for store image with cloud-init metadata. |
| 426 | capacity: 1 |
| 427 | format: raw |
| 428 | device: cdrom |
| 429 | bus: ide |
| 430 | cloudinit_meta_data: *cloudinit_meta_data |
| 431 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 432 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 433 | interfaces: *interfaces |
| 434 | network_config: *network_config |
| 435 | |
| 436 | - name: {{ HOSTNAME_CID03 }} |
| 437 | role: salt_minion |
| 438 | params: |
| 439 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 440 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 441 | boot: |
| 442 | - hd |
| 443 | cloud_init_volume_name: iso |
| 444 | cloud_init_iface_up: ens3 |
| 445 | volumes: |
| 446 | - name: system |
| 447 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 448 | backing_store: cloudimage1604 |
| 449 | format: qcow2 |
| 450 | - name: iso # Volume with name 'iso' will be used |
| 451 | # for store image with cloud-init metadata. |
| 452 | capacity: 1 |
| 453 | format: raw |
| 454 | device: cdrom |
| 455 | bus: ide |
| 456 | cloudinit_meta_data: *cloudinit_meta_data |
| 457 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 458 | |
| 459 | interfaces: *interfaces |
| 460 | network_config: *network_config |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 461 | |
| 462 | # KVM* nodes required for services like glusterfs.server |
| 463 | - name: {{ HOSTNAME_KVM01 }} |
| 464 | role: salt_minion |
| 465 | params: |
| 466 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 467 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 468 | boot: |
| 469 | - hd |
| 470 | cloud_init_volume_name: iso |
| 471 | cloud_init_iface_up: ens3 |
| 472 | volumes: |
| 473 | - name: system |
| 474 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 475 | backing_store: cloudimage1604 |
| 476 | format: qcow2 |
| 477 | - name: iso # Volume with name 'iso' will be used |
| 478 | # for store image with cloud-init metadata. |
| 479 | capacity: 1 |
| 480 | format: raw |
| 481 | device: cdrom |
| 482 | bus: ide |
| 483 | cloudinit_meta_data: *cloudinit_meta_data |
| 484 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 485 | |
| 486 | interfaces: *interfaces |
| 487 | network_config: *network_config |
| 488 | |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 489 | - name: {{ HOSTNAME_KVM02 }} |
| 490 | role: salt_minion |
| 491 | params: |
| 492 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 493 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 494 | boot: |
| 495 | - hd |
| 496 | cloud_init_volume_name: iso |
| 497 | cloud_init_iface_up: ens3 |
| 498 | volumes: |
| 499 | - name: system |
| 500 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 501 | backing_store: cloudimage1604 |
| 502 | format: qcow2 |
| 503 | - name: iso # Volume with name 'iso' will be used |
| 504 | # for store image with cloud-init metadata. |
| 505 | capacity: 1 |
| 506 | format: raw |
| 507 | device: cdrom |
| 508 | bus: ide |
| 509 | cloudinit_meta_data: *cloudinit_meta_data |
| 510 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 511 | |
| 512 | interfaces: *interfaces |
| 513 | network_config: *network_config |
| 514 | |
| 515 | - name: {{ HOSTNAME_KVM03 }} |
| 516 | role: salt_minion |
| 517 | params: |
| 518 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 519 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 520 | boot: |
| 521 | - hd |
| 522 | cloud_init_volume_name: iso |
| 523 | cloud_init_iface_up: ens3 |
| 524 | volumes: |
| 525 | - name: system |
| 526 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 527 | backing_store: cloudimage1604 |
| 528 | format: qcow2 |
| 529 | - name: iso # Volume with name 'iso' will be used |
| 530 | # for store image with cloud-init metadata. |
| 531 | capacity: 1 |
| 532 | format: raw |
| 533 | device: cdrom |
| 534 | bus: ide |
| 535 | cloudinit_meta_data: *cloudinit_meta_data |
| 536 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 537 | |
| 538 | interfaces: *interfaces |
| 539 | network_config: *network_config |
| 540 | |
| 541 | - name: {{ HOSTNAME_DBS01 }} |
| 542 | role: salt_minion |
| 543 | params: |
| 544 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 545 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 546 | boot: |
| 547 | - hd |
| 548 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 549 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 550 | volumes: |
| 551 | - name: system |
| 552 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 553 | backing_store: cloudimage1604 |
| 554 | format: qcow2 |
| 555 | - name: iso # Volume with name 'iso' will be used |
| 556 | # for store image with cloud-init metadata. |
| 557 | capacity: 1 |
| 558 | format: raw |
| 559 | device: cdrom |
| 560 | bus: ide |
| 561 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 562 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 563 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 564 | interfaces: *interfaces |
| 565 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 566 | |
| 567 | - name: {{ HOSTNAME_DBS02 }} |
| 568 | role: salt_minion |
| 569 | params: |
| 570 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 571 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 572 | boot: |
| 573 | - hd |
| 574 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 575 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 576 | volumes: |
| 577 | - name: system |
| 578 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 579 | backing_store: cloudimage1604 |
| 580 | format: qcow2 |
| 581 | - name: iso # Volume with name 'iso' will be used |
| 582 | # for store image with cloud-init metadata. |
| 583 | capacity: 1 |
| 584 | format: raw |
| 585 | device: cdrom |
| 586 | bus: ide |
| 587 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 588 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 589 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 590 | interfaces: *interfaces |
| 591 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 592 | |
| 593 | - name: {{ HOSTNAME_DBS03 }} |
| 594 | role: salt_minion |
| 595 | params: |
| 596 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 597 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 598 | boot: |
| 599 | - hd |
| 600 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 601 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 602 | volumes: |
| 603 | - name: system |
| 604 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 605 | backing_store: cloudimage1604 |
| 606 | format: qcow2 |
| 607 | - name: iso # Volume with name 'iso' will be used |
| 608 | # for store image with cloud-init metadata. |
| 609 | capacity: 1 |
| 610 | format: raw |
| 611 | device: cdrom |
| 612 | bus: ide |
| 613 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 614 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 615 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 616 | interfaces: *interfaces |
| 617 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 618 | |
| 619 | - name: {{ HOSTNAME_MSG01 }} |
| 620 | role: salt_minion |
| 621 | params: |
| 622 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 623 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 624 | boot: |
| 625 | - hd |
| 626 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 627 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 628 | volumes: |
| 629 | - name: system |
| 630 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 631 | backing_store: cloudimage1604 |
| 632 | format: qcow2 |
| 633 | - name: iso # Volume with name 'iso' will be used |
| 634 | # for store image with cloud-init metadata. |
| 635 | capacity: 1 |
| 636 | format: raw |
| 637 | device: cdrom |
| 638 | bus: ide |
| 639 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 640 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 641 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 642 | interfaces: *interfaces |
| 643 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 644 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 645 | - name: {{ HOSTNAME_MSG02 }} |
| 646 | role: salt_minion |
| 647 | params: |
| 648 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 649 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 650 | boot: |
| 651 | - hd |
| 652 | cloud_init_volume_name: iso |
| 653 | cloud_init_iface_up: ens3 |
| 654 | volumes: |
| 655 | - name: system |
| 656 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 657 | backing_store: cloudimage1604 |
| 658 | format: qcow2 |
| 659 | - name: iso # Volume with name 'iso' will be used |
| 660 | # for store image with cloud-init metadata. |
| 661 | capacity: 1 |
| 662 | format: raw |
| 663 | device: cdrom |
| 664 | bus: ide |
| 665 | cloudinit_meta_data: *cloudinit_meta_data |
| 666 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 667 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 668 | interfaces: *interfaces |
| 669 | network_config: *network_config |
| 670 | |
| 671 | - name: {{ HOSTNAME_MSG03 }} |
| 672 | role: salt_minion |
| 673 | params: |
| 674 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 675 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 676 | boot: |
| 677 | - hd |
| 678 | cloud_init_volume_name: iso |
| 679 | cloud_init_iface_up: ens3 |
| 680 | volumes: |
| 681 | - name: system |
| 682 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 683 | backing_store: cloudimage1604 |
| 684 | format: qcow2 |
| 685 | - name: iso # Volume with name 'iso' will be used |
| 686 | # for store image with cloud-init metadata. |
| 687 | capacity: 1 |
| 688 | format: raw |
| 689 | device: cdrom |
| 690 | bus: ide |
| 691 | cloudinit_meta_data: *cloudinit_meta_data |
| 692 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 693 | |
| 694 | interfaces: *interfaces |
| 695 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 696 | |
| 697 | - name: {{ HOSTNAME_CTL01 }} |
| 698 | role: salt_minion |
| 699 | params: |
| 700 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 701 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 702 | boot: |
| 703 | - hd |
| 704 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 705 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 706 | volumes: |
| 707 | - name: system |
| 708 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 709 | backing_store: cloudimage1604 |
| 710 | format: qcow2 |
| 711 | - name: cinder |
| 712 | capacity: 50 |
| 713 | format: qcow2 |
| 714 | - name: iso # Volume with name 'iso' will be used |
| 715 | # for store image with cloud-init metadata. |
| 716 | capacity: 1 |
| 717 | format: raw |
| 718 | device: cdrom |
| 719 | bus: ide |
| 720 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 721 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 722 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 723 | interfaces: *interfaces |
| 724 | network_config: *network_config |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 725 | |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 726 | - name: {{ HOSTNAME_CTL02 }} |
| 727 | role: salt_minion |
| 728 | params: |
| 729 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 730 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 731 | boot: |
| 732 | - hd |
| 733 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 734 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 735 | volumes: |
| 736 | - name: system |
| 737 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 738 | backing_store: cloudimage1604 |
| 739 | format: qcow2 |
| 740 | - name: cinder |
| 741 | capacity: 50 |
| 742 | format: qcow2 |
| 743 | - name: iso # Volume with name 'iso' will be used |
| 744 | # for store image with cloud-init metadata. |
| 745 | capacity: 1 |
| 746 | format: raw |
| 747 | device: cdrom |
| 748 | bus: ide |
| 749 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 750 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 751 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 752 | interfaces: *interfaces |
| 753 | network_config: *network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 754 | |
Dennis Dmitriev | c9f4697 | 2017-10-13 14:00:23 +0300 | [diff] [blame] | 755 | - name: {{ HOSTNAME_CTL03 }} |
| 756 | role: salt_minion |
| 757 | params: |
| 758 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 759 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 760 | boot: |
| 761 | - hd |
| 762 | cloud_init_volume_name: iso |
| 763 | cloud_init_iface_up: ens3 |
| 764 | volumes: |
| 765 | - name: system |
| 766 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 767 | backing_store: cloudimage1604 |
| 768 | format: qcow2 |
| 769 | - name: cinder |
| 770 | capacity: 50 |
| 771 | format: qcow2 |
| 772 | - name: iso # Volume with name 'iso' will be used |
| 773 | # for store image with cloud-init metadata. |
| 774 | capacity: 1 |
| 775 | format: raw |
| 776 | device: cdrom |
| 777 | bus: ide |
| 778 | cloudinit_meta_data: *cloudinit_meta_data |
| 779 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 780 | |
| 781 | interfaces: *interfaces |
| 782 | network_config: *network_config |
| 783 | |
| 784 | - name: {{ HOSTNAME_MON01 }} |
| 785 | role: salt_minion |
| 786 | params: |
| 787 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 788 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 789 | boot: |
| 790 | - hd |
| 791 | cloud_init_volume_name: iso |
| 792 | cloud_init_iface_up: ens3 |
| 793 | volumes: |
| 794 | - name: system |
| 795 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 796 | backing_store: cloudimage1604 |
| 797 | format: qcow2 |
| 798 | - name: iso # Volume with name 'iso' will be used |
| 799 | # for store image with cloud-init metadata. |
| 800 | capacity: 1 |
| 801 | format: raw |
| 802 | device: cdrom |
| 803 | bus: ide |
| 804 | cloudinit_meta_data: *cloudinit_meta_data |
| 805 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 806 | |
| 807 | interfaces: *interfaces |
| 808 | network_config: *network_config |
| 809 | |
| 810 | - name: {{ HOSTNAME_MON02 }} |
| 811 | role: salt_minion |
| 812 | params: |
| 813 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 814 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 815 | boot: |
| 816 | - hd |
| 817 | cloud_init_volume_name: iso |
| 818 | cloud_init_iface_up: ens3 |
| 819 | volumes: |
| 820 | - name: system |
| 821 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 822 | backing_store: cloudimage1604 |
| 823 | format: qcow2 |
| 824 | - name: iso # Volume with name 'iso' will be used |
| 825 | # for store image with cloud-init metadata. |
| 826 | capacity: 1 |
| 827 | format: raw |
| 828 | device: cdrom |
| 829 | bus: ide |
| 830 | cloudinit_meta_data: *cloudinit_meta_data |
| 831 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 832 | |
| 833 | interfaces: *interfaces |
| 834 | network_config: *network_config |
| 835 | |
| 836 | - name: {{ HOSTNAME_MON03 }} |
| 837 | role: salt_minion |
| 838 | params: |
| 839 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 840 | memory: !os_env SLAVE_NODE_MEMORY, 6144 |
| 841 | boot: |
| 842 | - hd |
| 843 | cloud_init_volume_name: iso |
| 844 | cloud_init_iface_up: ens3 |
| 845 | volumes: |
| 846 | - name: system |
| 847 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 848 | backing_store: cloudimage1604 |
| 849 | format: qcow2 |
| 850 | - name: iso # Volume with name 'iso' will be used |
| 851 | # for store image with cloud-init metadata. |
| 852 | capacity: 1 |
| 853 | format: raw |
| 854 | device: cdrom |
| 855 | bus: ide |
| 856 | cloudinit_meta_data: *cloudinit_meta_data |
| 857 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 858 | |
| 859 | interfaces: *interfaces |
| 860 | network_config: *network_config |
| 861 | |
| 862 | - name: {{ HOSTNAME_LOG01 }} |
| 863 | role: salt_minion |
| 864 | params: |
| 865 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 866 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 867 | boot: |
| 868 | - hd |
| 869 | cloud_init_volume_name: iso |
| 870 | cloud_init_iface_up: ens3 |
| 871 | volumes: |
| 872 | - name: system |
| 873 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 874 | backing_store: cloudimage1604 |
| 875 | format: qcow2 |
| 876 | - name: iso # Volume with name 'iso' will be used |
| 877 | # for store image with cloud-init metadata. |
| 878 | capacity: 1 |
| 879 | format: raw |
| 880 | device: cdrom |
| 881 | bus: ide |
| 882 | cloudinit_meta_data: *cloudinit_meta_data |
| 883 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 884 | |
| 885 | interfaces: *interfaces |
| 886 | network_config: *network_config |
| 887 | |
| 888 | - name: {{ HOSTNAME_LOG02 }} |
| 889 | role: salt_minion |
| 890 | params: |
| 891 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 892 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 893 | boot: |
| 894 | - hd |
| 895 | cloud_init_volume_name: iso |
| 896 | cloud_init_iface_up: ens3 |
| 897 | volumes: |
| 898 | - name: system |
| 899 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 900 | backing_store: cloudimage1604 |
| 901 | format: qcow2 |
| 902 | - name: iso # Volume with name 'iso' will be used |
| 903 | # for store image with cloud-init metadata. |
| 904 | capacity: 1 |
| 905 | format: raw |
| 906 | device: cdrom |
| 907 | bus: ide |
| 908 | cloudinit_meta_data: *cloudinit_meta_data |
| 909 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 910 | |
| 911 | interfaces: *interfaces |
| 912 | network_config: *network_config |
| 913 | |
| 914 | - name: {{ HOSTNAME_LOG03 }} |
| 915 | role: salt_minion |
| 916 | params: |
| 917 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 918 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 919 | boot: |
| 920 | - hd |
| 921 | cloud_init_volume_name: iso |
| 922 | cloud_init_iface_up: ens3 |
| 923 | volumes: |
| 924 | - name: system |
| 925 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 926 | backing_store: cloudimage1604 |
| 927 | format: qcow2 |
| 928 | - name: iso # Volume with name 'iso' will be used |
| 929 | # for store image with cloud-init metadata. |
| 930 | capacity: 1 |
| 931 | format: raw |
| 932 | device: cdrom |
| 933 | bus: ide |
| 934 | cloudinit_meta_data: *cloudinit_meta_data |
| 935 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 936 | |
| 937 | interfaces: *interfaces |
| 938 | network_config: *network_config |
| 939 | |
| 940 | - name: {{ HOSTNAME_MTR01 }} |
| 941 | role: salt_minion |
| 942 | params: |
| 943 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 944 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 945 | boot: |
| 946 | - hd |
| 947 | cloud_init_volume_name: iso |
| 948 | cloud_init_iface_up: ens3 |
| 949 | volumes: |
| 950 | - name: system |
| 951 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 952 | backing_store: cloudimage1604 |
| 953 | format: qcow2 |
| 954 | - name: iso # Volume with name 'iso' will be used |
| 955 | # for store image with cloud-init metadata. |
| 956 | capacity: 1 |
| 957 | format: raw |
| 958 | device: cdrom |
| 959 | bus: ide |
| 960 | cloudinit_meta_data: *cloudinit_meta_data |
| 961 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 962 | |
| 963 | interfaces: *interfaces |
| 964 | network_config: *network_config |
| 965 | |
| 966 | - name: {{ HOSTNAME_MTR02 }} |
| 967 | role: salt_minion |
| 968 | params: |
| 969 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 970 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 971 | boot: |
| 972 | - hd |
| 973 | cloud_init_volume_name: iso |
| 974 | cloud_init_iface_up: ens3 |
| 975 | volumes: |
| 976 | - name: system |
| 977 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 978 | backing_store: cloudimage1604 |
| 979 | format: qcow2 |
| 980 | - name: iso # Volume with name 'iso' will be used |
| 981 | # for store image with cloud-init metadata. |
| 982 | capacity: 1 |
| 983 | format: raw |
| 984 | device: cdrom |
| 985 | bus: ide |
| 986 | cloudinit_meta_data: *cloudinit_meta_data |
| 987 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 988 | |
| 989 | interfaces: *interfaces |
| 990 | network_config: *network_config |
| 991 | |
| 992 | - name: {{ HOSTNAME_MTR03 }} |
| 993 | role: salt_minion |
| 994 | params: |
| 995 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 996 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 997 | boot: |
| 998 | - hd |
| 999 | cloud_init_volume_name: iso |
| 1000 | cloud_init_iface_up: ens3 |
| 1001 | volumes: |
| 1002 | - name: system |
| 1003 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1004 | backing_store: cloudimage1604 |
| 1005 | format: qcow2 |
| 1006 | - name: iso # Volume with name 'iso' will be used |
| 1007 | # for store image with cloud-init metadata. |
| 1008 | capacity: 1 |
| 1009 | format: raw |
| 1010 | device: cdrom |
| 1011 | bus: ide |
| 1012 | cloudinit_meta_data: *cloudinit_meta_data |
| 1013 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1014 | |
| 1015 | interfaces: *interfaces |
| 1016 | network_config: *network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1017 | |
| 1018 | - name: {{ HOSTNAME_PRX01 }} |
| 1019 | role: salt_minion |
| 1020 | params: |
| 1021 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1022 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1023 | boot: |
| 1024 | - hd |
| 1025 | cloud_init_volume_name: iso |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1026 | cloud_init_iface_up: ens3 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1027 | volumes: |
| 1028 | - name: system |
| 1029 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1030 | backing_store: cloudimage1604 |
| 1031 | format: qcow2 |
| 1032 | - name: cinder |
| 1033 | capacity: 50 |
| 1034 | format: qcow2 |
| 1035 | - name: iso # Volume with name 'iso' will be used |
| 1036 | # for store image with cloud-init metadata. |
| 1037 | capacity: 1 |
| 1038 | format: raw |
| 1039 | device: cdrom |
| 1040 | bus: ide |
| 1041 | cloudinit_meta_data: *cloudinit_meta_data |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1042 | cloudinit_user_data: *cloudinit_user_data_1604 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1043 | |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1044 | interfaces: *interfaces |
| 1045 | network_config: *network_config |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1046 | |
| 1047 | - name: {{ HOSTNAME_CMP01 }} |
| 1048 | role: salt_minion |
| 1049 | params: |
| 1050 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1051 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1052 | boot: |
| 1053 | - hd |
| 1054 | cloud_init_volume_name: iso |
| 1055 | cloud_init_iface_up: ens3 |
| 1056 | volumes: |
| 1057 | - name: system |
| 1058 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1059 | backing_store: cloudimage1604 |
| 1060 | format: qcow2 |
| 1061 | - name: iso # Volume with name 'iso' will be used |
| 1062 | # for store image with cloud-init metadata. |
| 1063 | capacity: 1 |
| 1064 | format: raw |
| 1065 | device: cdrom |
| 1066 | bus: ide |
| 1067 | cloudinit_meta_data: *cloudinit_meta_data |
| 1068 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1069 | |
| 1070 | |
| 1071 | interfaces: &all_interfaces |
| 1072 | - label: ens3 |
| 1073 | l2_network_device: admin |
| 1074 | interface_model: *interface_model |
| 1075 | - label: ens4 |
| 1076 | l2_network_device: private |
| 1077 | interface_model: *interface_model |
| 1078 | - label: ens5 |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1079 | l2_network_device: private |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1080 | interface_model: *interface_model |
| 1081 | - label: ens6 |
| 1082 | l2_network_device: external |
| 1083 | interface_model: *interface_model |
| 1084 | network_config: &all_network_config |
| 1085 | ens3: |
| 1086 | networks: |
| 1087 | - admin |
| 1088 | ens4: |
| 1089 | networks: |
| 1090 | - private |
| 1091 | ens5: |
| 1092 | networks: |
Dennis Dmitriev | b6227f0 | 2017-09-06 17:57:10 +0300 | [diff] [blame] | 1093 | - private |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1094 | ens6: |
| 1095 | networks: |
| 1096 | - external |
| 1097 | |
| 1098 | - name: {{ HOSTNAME_CMP02 }} |
| 1099 | role: salt_minion |
| 1100 | params: |
| 1101 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1102 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1103 | boot: |
| 1104 | - hd |
| 1105 | cloud_init_volume_name: iso |
| 1106 | cloud_init_iface_up: ens3 |
| 1107 | volumes: |
| 1108 | - name: system |
| 1109 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1110 | backing_store: cloudimage1604 |
| 1111 | format: qcow2 |
| 1112 | - name: iso # Volume with name 'iso' will be used |
| 1113 | # for store image with cloud-init metadata. |
| 1114 | capacity: 1 |
| 1115 | format: raw |
| 1116 | device: cdrom |
| 1117 | bus: ide |
| 1118 | cloudinit_meta_data: *cloudinit_meta_data |
| 1119 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1120 | |
| 1121 | interfaces: *all_interfaces |
| 1122 | network_config: *all_network_config |
| 1123 | |
| 1124 | - name: {{ HOSTNAME_GTW01 }} |
| 1125 | role: salt_minion |
| 1126 | params: |
Dennis Dmitriev | 910a800 | 2017-08-31 14:53:47 +0300 | [diff] [blame] | 1127 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Dennis Dmitriev | 9dada8a | 2017-08-30 17:38:55 +0300 | [diff] [blame] | 1128 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 1129 | boot: |
| 1130 | - hd |
| 1131 | cloud_init_volume_name: iso |
| 1132 | cloud_init_iface_up: ens3 |
| 1133 | volumes: |
| 1134 | - name: system |
| 1135 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 1136 | backing_store: cloudimage1604 |
| 1137 | format: qcow2 |
| 1138 | - name: iso # Volume with name 'iso' will be used |
| 1139 | # for store image with cloud-init metadata. |
| 1140 | capacity: 1 |
| 1141 | format: raw |
| 1142 | device: cdrom |
| 1143 | bus: ide |
| 1144 | cloudinit_meta_data: *cloudinit_meta_data |
| 1145 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 1146 | |
| 1147 | interfaces: *all_interfaces |
| 1148 | network_config: *all_network_config |