Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [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', 'stable') %} |
| 3 | |
Illia Polliul | f4f63c7 | 2017-08-02 18:57:16 +0200 | [diff] [blame^] | 4 | {% import 'virtual-mcp10-contrail/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 5 | {% import 'virtual-mcp10-contrail/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
| 6 | {% import 'virtual-mcp10-contrail/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA_1604 with context %} |
| 7 | {% import 'virtual-mcp10-contrail/underlay--user-data1404.yaml' as CLOUDINIT_USER_DATA_1404 with context %} |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 8 | |
| 9 | --- |
| 10 | aliases: |
| 11 | - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }} |
| 12 | - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }} |
| 13 | - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }} |
| 14 | - &cloudinit_user_data_1604 {{ CLOUDINIT_USER_DATA_1604 }} |
| 15 | - &cloudinit_user_data_1404 {{ CLOUDINIT_USER_DATA_1404 }} |
| 16 | |
| 17 | {% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'virtual-mcp10-contrail') + '.local' %} |
| 18 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %} |
| 19 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %} |
| 20 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %} |
| 21 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %} |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 22 | {% set HOSTNAME_MON01 = os_env('HOSTNAME_MON01', 'mon01.' + DOMAIN_NAME) %} |
| 23 | {% set HOSTNAME_MON02 = os_env('HOSTNAME_MON02', 'mon02.' + DOMAIN_NAME) %} |
| 24 | {% set HOSTNAME_MON03 = os_env('HOSTNAME_MON03', 'mon03.' + DOMAIN_NAME) %} |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 25 | {% set HOSTNAME_CMP01 = os_env('HOSTNAME_CMP01', 'cmp01.' + DOMAIN_NAME) %} |
| 26 | {% set HOSTNAME_CMP02 = os_env('HOSTNAME_CMP02', 'cmp02.' + DOMAIN_NAME) %} |
| 27 | {% set HOSTNAME_VSRX01 = os_env('HOSTNAME_VSRX01', 'vsrx01.' + DOMAIN_NAME) %} |
| 28 | {% set HOSTNAME_PRX01 = os_env('HOSTNAME_PRX01', 'prx01.' + DOMAIN_NAME) %} |
| 29 | |
| 30 | template: |
| 31 | devops_settings: |
Illia Polliul | f4f63c7 | 2017-08-02 18:57:16 +0200 | [diff] [blame^] | 32 | env_name: {{ os_env('ENV_NAME', 'mcp10-cntrl_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 33 | |
| 34 | address_pools: |
| 35 | private-pool01: |
| 36 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.60.0.0/16:24') }} |
| 37 | params: |
| 38 | ip_reserved: |
| 39 | gateway: +1 |
| 40 | l2_network_device: +1 |
| 41 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 42 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 43 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 44 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 45 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 46 | default_{{ HOSTNAME_CMP02 }}: +106 |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 47 | default_{{ HOSTNAME_MON01 }}: +107 |
| 48 | default_{{ HOSTNAME_MON02 }}: +108 |
| 49 | default_{{ HOSTNAME_MON03 }}: +109 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 50 | default_{{ HOSTNAME_VSRX01 }}: +110 |
| 51 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 52 | ip_ranges: |
| 53 | dhcp: [+90, -10] |
| 54 | |
| 55 | admin-pool01: |
| 56 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '10.70.0.0/16: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 |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 67 | default_{{ HOSTNAME_MON01 }}: +107 |
| 68 | default_{{ HOSTNAME_MON02 }}: +108 |
| 69 | default_{{ HOSTNAME_MON03 }}: +109 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 70 | default_{{ HOSTNAME_VSRX01 }}: +110 |
| 71 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 72 | ip_ranges: |
| 73 | dhcp: [+90, -10] |
| 74 | |
| 75 | tenant-pool01: |
| 76 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.80.0.0/16:24') }} |
| 77 | params: |
| 78 | ip_reserved: |
| 79 | gateway: +1 |
| 80 | l2_network_device: +1 |
| 81 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 82 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 83 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 84 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 85 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 86 | default_{{ HOSTNAME_CMP02 }}: +106 |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 87 | default_{{ HOSTNAME_MON01 }}: +107 |
| 88 | default_{{ HOSTNAME_MON02 }}: +108 |
| 89 | default_{{ HOSTNAME_MON03 }}: +109 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 90 | default_{{ HOSTNAME_VSRX01 }}: +110 |
| 91 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 92 | ip_ranges: |
| 93 | dhcp: [+10, -10] |
| 94 | |
| 95 | external-pool01: |
| 96 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '10.90.0.0/16:24') }} |
| 97 | params: |
| 98 | ip_reserved: |
| 99 | gateway: +1 |
| 100 | l2_network_device: +1 |
| 101 | default_{{ HOSTNAME_CFG01 }}: +100 |
| 102 | default_{{ HOSTNAME_CTL01 }}: +101 |
| 103 | default_{{ HOSTNAME_CTL02 }}: +102 |
| 104 | default_{{ HOSTNAME_CTL03 }}: +103 |
| 105 | default_{{ HOSTNAME_CMP01 }}: +105 |
| 106 | default_{{ HOSTNAME_CMP02 }}: +106 |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 107 | default_{{ HOSTNAME_MON01 }}: +107 |
| 108 | default_{{ HOSTNAME_MON02 }}: +108 |
| 109 | default_{{ HOSTNAME_MON03 }}: +109 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 110 | default_{{ HOSTNAME_VSRX01 }}: +110 |
| 111 | default_{{ HOSTNAME_PRX01 }}: +121 |
| 112 | ip_ranges: |
| 113 | dhcp: [+10, -10] |
| 114 | |
| 115 | |
| 116 | groups: |
| 117 | - name: default |
| 118 | driver: |
| 119 | name: devops.driver.libvirt |
| 120 | params: |
| 121 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 122 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 123 | stp: False |
| 124 | hpet: False |
| 125 | enable_acpi: true |
| 126 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
Dennis Dmitriev | b3fc424 | 2017-07-14 16:01:51 +0300 | [diff] [blame] | 127 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 128 | |
| 129 | network_pools: |
| 130 | admin: admin-pool01 |
| 131 | private: private-pool01 |
| 132 | tenant: tenant-pool01 |
| 133 | external: external-pool01 |
| 134 | |
| 135 | l2_network_devices: |
| 136 | private: |
| 137 | address_pool: private-pool01 |
| 138 | dhcp: true |
| 139 | |
| 140 | admin: |
| 141 | address_pool: admin-pool01 |
| 142 | dhcp: true |
| 143 | forward: |
| 144 | mode: nat |
| 145 | |
| 146 | tenant: |
| 147 | address_pool: tenant-pool01 |
| 148 | dhcp: true |
| 149 | |
| 150 | external: |
| 151 | address_pool: external-pool01 |
| 152 | dhcp: true |
| 153 | forward: |
| 154 | mode: nat |
| 155 | |
| 156 | |
| 157 | group_volumes: |
| 158 | - name: cloudimage1404 # This name is used for 'backing_store' option for node volumes. |
| 159 | source_image: !os_env IMAGE_PATH1404 # https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img or |
| 160 | # http://apt.tcpcloud.eu/images/ubuntu-14-04-x64-201608231134.qcow2 |
| 161 | format: qcow2 |
| 162 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 163 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or |
| 164 | # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2 |
| 165 | format: qcow2 |
| 166 | |
| 167 | - name: vsrx_image # This name is used for 'backing_store' option for node volumes. |
| 168 | source_image: !os_env VSRX_IMAGE # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img or |
| 169 | # http://apt.tcpcloud.eu/images/ubuntu-16-04-x64-201608231004.qcow2 |
| 170 | format: qcow2 |
| 171 | |
| 172 | nodes: |
| 173 | - name: {{ HOSTNAME_CFG01 }} |
| 174 | role: salt_master |
| 175 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 176 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 177 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 178 | boot: |
| 179 | - hd |
| 180 | cloud_init_volume_name: iso |
| 181 | cloud_init_iface_up: ens3 |
| 182 | volumes: |
| 183 | - name: system |
| 184 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 185 | backing_store: cloudimage1604 |
| 186 | format: qcow2 |
| 187 | - name: iso # Volume with name 'iso' will be used |
| 188 | # for store image with cloud-init metadata. |
| 189 | capacity: 1 |
| 190 | format: raw |
| 191 | device: cdrom |
| 192 | bus: ide |
| 193 | cloudinit_meta_data: *cloudinit_meta_data |
| 194 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 195 | |
| 196 | interfaces: |
| 197 | - label: ens3 |
| 198 | l2_network_device: admin |
| 199 | interface_model: *interface_model |
| 200 | - label: ens4 |
| 201 | l2_network_device: private |
| 202 | interface_model: *interface_model |
| 203 | network_config: |
| 204 | ens3: |
| 205 | networks: |
| 206 | - admin |
| 207 | ens4: |
| 208 | networks: |
| 209 | - private |
| 210 | |
| 211 | - name: {{ HOSTNAME_CTL01 }} |
| 212 | role: salt_minion |
| 213 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 214 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 215 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 216 | boot: |
| 217 | - hd |
| 218 | cloud_init_volume_name: iso |
| 219 | cloud_init_iface_up: eth0 |
| 220 | volumes: |
| 221 | - name: system |
| 222 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 223 | backing_store: cloudimage1404 |
| 224 | format: qcow2 |
| 225 | - name: cinder |
| 226 | capacity: 50 |
| 227 | format: qcow2 |
| 228 | - name: iso # Volume with name 'iso' will be used |
| 229 | # for store image with cloud-init metadata. |
| 230 | capacity: 1 |
| 231 | format: raw |
| 232 | device: cdrom |
| 233 | bus: ide |
| 234 | cloudinit_meta_data: *cloudinit_meta_data |
| 235 | cloudinit_user_data: *cloudinit_user_data_1404 |
| 236 | |
| 237 | interfaces: &interfaces |
| 238 | - label: eth0 |
| 239 | l2_network_device: admin |
| 240 | interface_model: *interface_model |
| 241 | - label: eth1 |
| 242 | l2_network_device: private |
| 243 | interface_model: *interface_model |
| 244 | network_config: &network_config |
| 245 | eth0: |
| 246 | networks: |
| 247 | - admin |
| 248 | eth1: |
| 249 | networks: |
| 250 | - private |
| 251 | |
| 252 | - name: {{ HOSTNAME_CTL02 }} |
| 253 | role: salt_minion |
| 254 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 255 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 256 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 257 | boot: |
| 258 | - hd |
| 259 | cloud_init_volume_name: iso |
| 260 | cloud_init_iface_up: eth0 |
| 261 | volumes: |
| 262 | - name: system |
| 263 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 264 | backing_store: cloudimage1404 |
| 265 | format: qcow2 |
| 266 | - name: cinder |
| 267 | capacity: 50 |
| 268 | format: qcow2 |
| 269 | - name: iso # Volume with name 'iso' will be used |
| 270 | # for store image with cloud-init metadata. |
| 271 | capacity: 1 |
| 272 | format: raw |
| 273 | device: cdrom |
| 274 | bus: ide |
| 275 | cloudinit_meta_data: *cloudinit_meta_data |
| 276 | cloudinit_user_data: *cloudinit_user_data_1404 |
| 277 | |
| 278 | interfaces: *interfaces |
| 279 | network_config: *network_config |
| 280 | |
| 281 | - name: {{ HOSTNAME_CTL03 }} |
| 282 | role: salt_minion |
| 283 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 284 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 285 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 286 | boot: |
| 287 | - hd |
| 288 | cloud_init_volume_name: iso |
| 289 | cloud_init_iface_up: eth0 |
| 290 | volumes: |
| 291 | - name: system |
| 292 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 293 | backing_store: cloudimage1404 |
| 294 | format: qcow2 |
| 295 | - name: cinder |
| 296 | capacity: 50 |
| 297 | format: qcow2 |
| 298 | - name: iso # Volume with name 'iso' will be used |
| 299 | # for store image with cloud-init metadata. |
| 300 | capacity: 1 |
| 301 | format: raw |
| 302 | device: cdrom |
| 303 | bus: ide |
| 304 | cloudinit_meta_data: *cloudinit_meta_data |
| 305 | cloudinit_user_data: *cloudinit_user_data_1404 |
| 306 | |
| 307 | interfaces: *interfaces |
| 308 | network_config: *network_config |
| 309 | |
| 310 | - name: {{ HOSTNAME_PRX01 }} |
| 311 | role: salt_minion |
| 312 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 313 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 314 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 315 | boot: |
| 316 | - hd |
| 317 | cloud_init_volume_name: iso |
| 318 | cloud_init_iface_up: eth0 |
| 319 | volumes: |
| 320 | - name: system |
| 321 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 322 | backing_store: cloudimage1404 |
| 323 | format: qcow2 |
| 324 | - name: cinder |
| 325 | capacity: 50 |
| 326 | format: qcow2 |
| 327 | - name: iso # Volume with name 'iso' will be used |
| 328 | # for store image with cloud-init metadata. |
| 329 | capacity: 1 |
| 330 | format: raw |
| 331 | device: cdrom |
| 332 | bus: ide |
| 333 | cloudinit_meta_data: *cloudinit_meta_data |
| 334 | cloudinit_user_data: *cloudinit_user_data_1404 |
| 335 | |
| 336 | interfaces: *interfaces |
| 337 | network_config: *network_config |
| 338 | |
| 339 | |
| 340 | - name: {{ HOSTNAME_CMP01 }} |
| 341 | role: salt_minion |
| 342 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 343 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 344 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 345 | boot: |
| 346 | - hd |
| 347 | cloud_init_volume_name: iso |
| 348 | cloud_init_iface_up: ens3 |
| 349 | volumes: |
| 350 | - name: system |
| 351 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 352 | backing_store: cloudimage1604 |
| 353 | format: qcow2 |
| 354 | - name: iso # Volume with name 'iso' will be used |
| 355 | # for store image with cloud-init metadata. |
| 356 | capacity: 1 |
| 357 | format: raw |
| 358 | device: cdrom |
| 359 | bus: ide |
| 360 | cloudinit_meta_data: *cloudinit_meta_data |
| 361 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 362 | |
| 363 | |
| 364 | interfaces: &all_interfaces |
| 365 | - label: ens3 |
| 366 | l2_network_device: admin |
| 367 | interface_model: *interface_model |
| 368 | - label: ens4 |
| 369 | l2_network_device: private |
| 370 | interface_model: *interface_model |
| 371 | - label: ens5 |
| 372 | l2_network_device: tenant |
| 373 | interface_model: *interface_model |
| 374 | - label: ens6 |
| 375 | l2_network_device: external |
| 376 | interface_model: *interface_model |
| 377 | network_config: &all_network_config |
| 378 | ens3: |
| 379 | networks: |
| 380 | - admin |
| 381 | ens4: |
| 382 | networks: |
| 383 | - private |
| 384 | ens5: |
| 385 | networks: |
| 386 | - tenant |
| 387 | ens6: |
| 388 | networks: |
| 389 | - external |
| 390 | |
| 391 | - name: {{ HOSTNAME_CMP02 }} |
| 392 | role: salt_minion |
| 393 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 394 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 395 | memory: !os_env SLAVE_NODE_MEMORY, 4096 |
| 396 | boot: |
| 397 | - hd |
| 398 | cloud_init_volume_name: iso |
| 399 | cloud_init_iface_up: ens3 |
| 400 | volumes: |
| 401 | - name: system |
| 402 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 403 | backing_store: cloudimage1604 |
| 404 | format: qcow2 |
| 405 | - name: iso # Volume with name 'iso' will be used |
| 406 | # for store image with cloud-init metadata. |
| 407 | capacity: 1 |
| 408 | format: raw |
| 409 | device: cdrom |
| 410 | bus: ide |
| 411 | cloudinit_meta_data: *cloudinit_meta_data |
| 412 | cloudinit_user_data: *cloudinit_user_data_1604 |
| 413 | |
| 414 | interfaces: *all_interfaces |
| 415 | network_config: *all_network_config |
| 416 | |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 417 | - name: {{ HOSTNAME_MON01 }} |
| 418 | role: salt_minion |
| 419 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 420 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 421 | memory: !os_env SLAVE_NODE_MEMORY, 4098 |
| 422 | boot: |
| 423 | - hd |
| 424 | cloud_init_volume_name: iso |
| 425 | cloud_init_iface_up: ens3 |
| 426 | volumes: |
| 427 | - name: system |
| 428 | capacity: !os_env NODE_VOLUME_SIZE, 120 |
| 429 | backing_store: cloudimage1604 |
| 430 | format: qcow2 |
| 431 | - name: iso # Volume with name 'iso' will be used |
| 432 | # for store image with cloud-init metadata. |
| 433 | capacity: 1 |
| 434 | format: raw |
| 435 | device: cdrom |
| 436 | bus: ide |
| 437 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 438 | cloudinit_user_data: !include underlay--user-data1604.yaml |
| 439 | |
| 440 | interfaces: *all_interfaces |
| 441 | network_config: *all_network_config |
| 442 | |
| 443 | - name: {{ HOSTNAME_MON02 }} |
| 444 | role: salt_minion |
| 445 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 446 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 447 | memory: !os_env SLAVE_NODE_MEMORY, 4098 |
| 448 | boot: |
| 449 | - hd |
| 450 | cloud_init_volume_name: iso |
| 451 | cloud_init_iface_up: ens3 |
| 452 | volumes: |
| 453 | - name: system |
| 454 | capacity: !os_env NODE_VOLUME_SIZE, 120 |
| 455 | backing_store: cloudimage1604 |
| 456 | format: qcow2 |
| 457 | - name: iso # Volume with name 'iso' will be used |
| 458 | # for store image with cloud-init metadata. |
| 459 | capacity: 1 |
| 460 | format: raw |
| 461 | device: cdrom |
| 462 | bus: ide |
| 463 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 464 | cloudinit_user_data: !include underlay--user-data1604.yaml |
| 465 | |
| 466 | interfaces: *all_interfaces |
| 467 | network_config: *all_network_config |
| 468 | |
| 469 | - name: {{ HOSTNAME_MON03 }} |
| 470 | role: salt_minion |
| 471 | params: |
Dennis Dmitriev | 5b0e5f3 | 2017-07-22 11:30:26 +0300 | [diff] [blame] | 472 | vcpu: !os_env SLAVE_NODE_CPU, 3 |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 473 | memory: !os_env SLAVE_NODE_MEMORY, 4098 |
| 474 | boot: |
| 475 | - hd |
| 476 | cloud_init_volume_name: iso |
| 477 | cloud_init_iface_up: ens3 |
| 478 | volumes: |
| 479 | - name: system |
| 480 | capacity: !os_env NODE_VOLUME_SIZE, 120 |
| 481 | backing_store: cloudimage1604 |
| 482 | format: qcow2 |
| 483 | - name: iso # Volume with name 'iso' will be used |
| 484 | # for store image with cloud-init metadata. |
| 485 | capacity: 1 |
| 486 | format: raw |
| 487 | device: cdrom |
| 488 | bus: ide |
| 489 | cloudinit_meta_data: !include underlay--meta-data.yaml |
| 490 | cloudinit_user_data: !include underlay--user-data1604.yaml |
| 491 | |
| 492 | interfaces: *all_interfaces |
| 493 | network_config: *all_network_config |
| 494 | |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 495 | - name: {{ HOSTNAME_VSRX01 }} |
| 496 | role: vsrx_gtw |
| 497 | params: |
Illia Polliul | ea26c1e | 2017-06-10 14:13:51 +0200 | [diff] [blame] | 498 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
| 499 | memory: !os_env SLAVE_NODE_MEMORY, 1048 |
Illia Polliul | 2a2b6d1 | 2017-05-29 17:05:11 +0200 | [diff] [blame] | 500 | boot: |
| 501 | - hd |
| 502 | volumes: |
| 503 | - name: system |
| 504 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 505 | backing_store: vsrx_image |
| 506 | format: qcow2 |
| 507 | |
| 508 | interfaces: |
| 509 | - label: ens5 |
| 510 | l2_network_device: tenant |
| 511 | interface_model: *interface_model |
| 512 | - label: ens6 |
| 513 | l2_network_device: external |
| 514 | interface_model: *interface_model |
| 515 | network_config: |
| 516 | ens5: |
| 517 | networks: |
| 518 | - tenant |
| 519 | ens6: |
| 520 | networks: |
| 521 | - external |
| 522 | |