Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 1 | --- |
| 2 | aliases: |
| 3 | default_interface_model: |
| 4 | - &interface_model !os_env INTERFACE_MODEL, virtio |
| 5 | |
Tatyana Leontovich | 6d6b187 | 2017-04-05 13:25:31 +0300 | [diff] [blame] | 6 | {% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'virtual-mcp10-ovs') + '.local' %} |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 7 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %} |
| 8 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %} |
| 9 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %} |
| 10 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %} |
| 11 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp01.' + DOMAIN_NAME) %} |
| 12 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp02.' + DOMAIN_NAME) %} |
| 13 | {% set HOSTNAME_GTW01 = os_env('HOSTNAME_GTW01', 'gtw01.' + DOMAIN_NAME) %} |
Tatyana Leontovich | 8938d2c | 2017-04-03 14:59:12 +0300 | [diff] [blame] | 14 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 15 | |
| 16 | template: |
| 17 | devops_settings: |
Tatyana Leontovich | ef14778 | 2017-04-05 16:05:11 +0300 | [diff] [blame] | 18 | env_name: {{ os_env('ENV_NAME', 'virtual-mcp10-ovs') }} |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 19 | |
| 20 | address_pools: |
Tatyana Leontovich | ebc49cb | 2017-04-06 15:23:15 +0300 | [diff] [blame] | 21 | private-pool01: |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 22 | net: 172.16.10.0/24:24 |
| 23 | params: |
| 24 | ip_reserved: |
| 25 | gateway: +1 |
| 26 | l2_network_device: +1 |
| 27 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 28 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 29 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 30 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 31 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 32 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 33 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 34 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 35 | ip_ranges: |
| 36 | dhcp: [+90, -10] |
| 37 | |
Tatyana Leontovich | ebc49cb | 2017-04-06 15:23:15 +0300 | [diff] [blame] | 38 | admin-pool01: |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 39 | net: 192.168.10.0/24:24 |
| 40 | params: |
| 41 | ip_reserved: |
| 42 | gateway: +1 |
| 43 | l2_network_device: +1 |
Tatyana Leontovich | e0286ed | 2017-09-12 11:55:06 +0300 | [diff] [blame^] | 44 | default_{{ HOSTNAME_CFG01 }}: +90 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 45 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 46 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 47 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 48 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 49 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 50 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 51 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 52 | ip_ranges: |
| 53 | dhcp: [+90, -10] |
| 54 | |
| 55 | tenant-pool01: |
| 56 | net: 10.1.0.0/24:24 |
| 57 | params: |
| 58 | ip_reserved: |
| 59 | gateway: +1 |
| 60 | l2_network_device: +1 |
| 61 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 62 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 63 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 64 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 65 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 66 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 67 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 68 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 69 | ip_ranges: |
| 70 | dhcp: [+10, -10] |
| 71 | |
| 72 | external-pool01: |
| 73 | net: 10.16.0.0/24:24 |
| 74 | params: |
| 75 | ip_reserved: |
| 76 | gateway: +1 |
| 77 | l2_network_device: +1 |
| 78 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 79 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 80 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 81 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 82 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 83 | default_{{ HOSTNAME_CMP02 }}: +106 |
| 84 | default_{{ HOSTNAME_GTW01 }}: +110 |
| 85 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 86 | ip_ranges: |
| 87 | dhcp: [+10, -10] |
| 88 | |
| 89 | |
| 90 | groups: |
| 91 | - name: default |
| 92 | driver: |
| 93 | name: devops.driver.libvirt |
| 94 | params: |
| 95 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 96 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 97 | stp: False |
| 98 | hpet: False |
| 99 | enable_acpi: true |
| 100 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
Dennis Dmitriev | b3fc424 | 2017-07-14 16:01:51 +0300 | [diff] [blame] | 101 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 102 | |
| 103 | network_pools: |
| 104 | admin: admin-pool01 |
| 105 | private: private-pool01 |
| 106 | tenant: tenant-pool01 |
| 107 | external: external-pool01 |
| 108 | |
| 109 | l2_network_devices: |
| 110 | private: |
| 111 | address_pool: private-pool01 |
Tatyana Leontovich | e12e5e6 | 2017-04-06 18:30:03 +0300 | [diff] [blame] | 112 | dhcp: true |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 113 | |
| 114 | admin: |
| 115 | address_pool: admin-pool01 |
| 116 | dhcp: true |
Tatyana Leontovich | b2fddb3 | 2017-04-06 18:23:49 +0300 | [diff] [blame] | 117 | forward: |
| 118 | mode: nat |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 119 | |
| 120 | tenant: |
| 121 | address_pool: tenant-pool01 |
| 122 | dhcp: true |
| 123 | |
| 124 | external: |
| 125 | address_pool: external-pool01 |
| 126 | dhcp: true |
| 127 | forward: |
| 128 | mode: nat |
| 129 | |
| 130 | |
| 131 | group_volumes: |
| 132 | - name: cloudimage1404 # This name is used for 'backing_store' option for node volumes. |
| 133 | source_image: !os_env IMAGE_PATH1404 # https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img or |
| 134 | # http://apt.tcpcloud.eu/images/ubuntu-14-04-x64-201608231134.qcow2 |
| 135 | format: qcow2 |
| 136 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 137 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or |
| 138 | # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2 |
| 139 | format: qcow2 |
| 140 | |
| 141 | nodes: |
| 142 | - name: {{ HOSTNAME_CFG01 }} |
| 143 | role: salt_master |
| 144 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 145 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 146 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 147 | boot: |
| 148 | - hd |
| 149 | cloud_init_volume_name: iso |
| 150 | cloud_init_iface_up: ens3 |
| 151 | volumes: |
| 152 | - name: system |
| 153 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 154 | backing_store: cloudimage1604 |
| 155 | format: qcow2 |
| 156 | - name: iso # Volume with name 'iso' will be used |
| 157 | # for store image with cloud-init metadata. |
| 158 | capacity: 1 |
| 159 | format: raw |
| 160 | device: cdrom |
| 161 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 162 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 163 | cloudinit_user_data: !include underlay--user-data-cfg01.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 164 | |
| 165 | interfaces: |
| 166 | - label: ens3 |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 167 | l2_network_device: admin |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 168 | interface_model: *interface_model |
| 169 | - label: ens4 |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 170 | l2_network_device: private |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 171 | interface_model: *interface_model |
| 172 | network_config: |
| 173 | ens3: |
| 174 | networks: |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 175 | - admin |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 176 | ens4: |
| 177 | networks: |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 178 | - private |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 179 | |
| 180 | - name: {{ HOSTNAME_CTL01 }} |
| 181 | role: salt_minion |
| 182 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 183 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 184 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 185 | boot: |
| 186 | - hd |
| 187 | cloud_init_volume_name: iso |
| 188 | cloud_init_iface_up: eth0 |
| 189 | volumes: |
| 190 | - name: system |
| 191 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 192 | backing_store: cloudimage1404 |
| 193 | format: qcow2 |
| 194 | - name: cinder |
| 195 | capacity: 50 |
| 196 | format: qcow2 |
| 197 | - name: iso # Volume with name 'iso' will be used |
| 198 | # for store image with cloud-init metadata. |
| 199 | capacity: 1 |
| 200 | format: raw |
| 201 | device: cdrom |
| 202 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 203 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 204 | cloudinit_user_data: !include underlay--user-data1404.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 205 | |
| 206 | interfaces: &interfaces |
| 207 | - label: eth0 |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 208 | l2_network_device: admin |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 209 | interface_model: *interface_model |
| 210 | - label: eth1 |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 211 | l2_network_device: private |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 212 | interface_model: *interface_model |
| 213 | network_config: &network_config |
| 214 | eth0: |
| 215 | networks: |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 216 | - admin |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 217 | eth1: |
| 218 | networks: |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 219 | - private |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 220 | |
| 221 | - name: {{ HOSTNAME_CTL02 }} |
| 222 | role: salt_minion |
| 223 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 224 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 225 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 226 | boot: |
| 227 | - hd |
| 228 | cloud_init_volume_name: iso |
| 229 | cloud_init_iface_up: eth0 |
| 230 | volumes: |
| 231 | - name: system |
| 232 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 233 | backing_store: cloudimage1404 |
| 234 | format: qcow2 |
| 235 | - name: cinder |
| 236 | capacity: 50 |
| 237 | format: qcow2 |
| 238 | - name: iso # Volume with name 'iso' will be used |
| 239 | # for store image with cloud-init metadata. |
| 240 | capacity: 1 |
| 241 | format: raw |
| 242 | device: cdrom |
| 243 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 244 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 245 | cloudinit_user_data: !include underlay--user-data1404.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 246 | |
| 247 | interfaces: *interfaces |
| 248 | network_config: *network_config |
| 249 | |
| 250 | - name: {{ HOSTNAME_CTL03 }} |
| 251 | role: salt_minion |
| 252 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 253 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 254 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 255 | boot: |
| 256 | - hd |
| 257 | cloud_init_volume_name: iso |
| 258 | cloud_init_iface_up: eth0 |
| 259 | volumes: |
| 260 | - name: system |
| 261 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 262 | backing_store: cloudimage1404 |
| 263 | format: qcow2 |
| 264 | - name: cinder |
| 265 | capacity: 50 |
| 266 | format: qcow2 |
| 267 | - name: iso # Volume with name 'iso' will be used |
| 268 | # for store image with cloud-init metadata. |
| 269 | capacity: 1 |
| 270 | format: raw |
| 271 | device: cdrom |
| 272 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 273 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 274 | cloudinit_user_data: !include underlay--user-data1404.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 275 | |
| 276 | interfaces: *interfaces |
| 277 | network_config: *network_config |
| 278 | |
| 279 | - name: {{ HOSTNAME_PRX01 }} |
| 280 | role: salt_minion |
| 281 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 282 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 283 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 284 | boot: |
| 285 | - hd |
| 286 | cloud_init_volume_name: iso |
| 287 | cloud_init_iface_up: eth0 |
| 288 | volumes: |
| 289 | - name: system |
| 290 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 291 | backing_store: cloudimage1404 |
| 292 | format: qcow2 |
| 293 | - name: cinder |
| 294 | capacity: 50 |
| 295 | format: qcow2 |
| 296 | - name: iso # Volume with name 'iso' will be used |
| 297 | # for store image with cloud-init metadata. |
| 298 | capacity: 1 |
| 299 | format: raw |
| 300 | device: cdrom |
| 301 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 302 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 303 | cloudinit_user_data: !include underlay--user-data1404.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 304 | |
| 305 | interfaces: *interfaces |
| 306 | network_config: *network_config |
| 307 | |
| 308 | |
| 309 | - name: {{ HOSTNAME_CMP01 }} |
| 310 | role: salt_minion |
| 311 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 312 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 313 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 314 | boot: |
| 315 | - hd |
| 316 | cloud_init_volume_name: iso |
Tatyana Leontovich | 6e52078 | 2017-04-03 16:00:32 +0300 | [diff] [blame] | 317 | cloud_init_iface_up: ens3 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 318 | volumes: |
| 319 | - name: system |
| 320 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 321 | backing_store: cloudimage1604 |
| 322 | format: qcow2 |
| 323 | - name: iso # Volume with name 'iso' will be used |
| 324 | # for store image with cloud-init metadata. |
| 325 | capacity: 1 |
| 326 | format: raw |
| 327 | device: cdrom |
| 328 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 329 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 330 | cloudinit_user_data: !include underlay--user-data1604.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 331 | |
| 332 | |
| 333 | interfaces: &all_interfaces |
| 334 | - label: ens3 |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 335 | l2_network_device: admin |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 336 | interface_model: *interface_model |
| 337 | - label: ens4 |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 338 | l2_network_device: private |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 339 | interface_model: *interface_model |
| 340 | - label: ens5 |
| 341 | l2_network_device: tenant |
| 342 | interface_model: *interface_model |
| 343 | - label: ens6 |
| 344 | l2_network_device: external |
| 345 | interface_model: *interface_model |
| 346 | network_config: &all_network_config |
| 347 | ens3: |
| 348 | networks: |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 349 | - admin |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 350 | ens4: |
| 351 | networks: |
Tatyana Leontovich | 4ef67a4 | 2017-04-06 16:18:29 +0300 | [diff] [blame] | 352 | - private |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 353 | ens5: |
| 354 | networks: |
| 355 | - tenant |
| 356 | ens6: |
| 357 | networks: |
| 358 | - external |
| 359 | |
| 360 | - name: {{ HOSTNAME_CMP02 }} |
| 361 | role: salt_minion |
| 362 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 363 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 364 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 365 | boot: |
| 366 | - hd |
| 367 | cloud_init_volume_name: iso |
Tatyana Leontovich | 6e52078 | 2017-04-03 16:00:32 +0300 | [diff] [blame] | 368 | cloud_init_iface_up: ens3 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 369 | volumes: |
| 370 | - name: system |
| 371 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 372 | backing_store: cloudimage1604 |
| 373 | format: qcow2 |
| 374 | - name: iso # Volume with name 'iso' will be used |
| 375 | # for store image with cloud-init metadata. |
| 376 | capacity: 1 |
| 377 | format: raw |
| 378 | device: cdrom |
| 379 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 380 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 381 | cloudinit_user_data: !include underlay--user-data1604.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 382 | |
| 383 | interfaces: *all_interfaces |
| 384 | network_config: *all_network_config |
| 385 | |
| 386 | - name: {{ HOSTNAME_GTW01 }} |
| 387 | role: salt_minion |
| 388 | params: |
| 389 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
| 390 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 391 | boot: |
| 392 | - hd |
| 393 | cloud_init_volume_name: iso |
Tatyana Leontovich | 6e52078 | 2017-04-03 16:00:32 +0300 | [diff] [blame] | 394 | cloud_init_iface_up: ens3 |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 395 | volumes: |
| 396 | - name: system |
| 397 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 398 | backing_store: cloudimage1604 |
| 399 | format: qcow2 |
| 400 | - name: iso # Volume with name 'iso' will be used |
| 401 | # for store image with cloud-init metadata. |
| 402 | capacity: 1 |
| 403 | format: raw |
| 404 | device: cdrom |
| 405 | bus: ide |
Dennis Dmitriev | ab83ea4 | 2017-05-12 16:52:45 +0300 | [diff] [blame] | 406 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 407 | cloudinit_user_data: !include underlay--user-data1604.yaml |
Tatyana Leontovich | 055b506 | 2017-04-03 13:17:25 +0300 | [diff] [blame] | 408 | |
| 409 | interfaces: *all_interfaces |
| 410 | network_config: *all_network_config |