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