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