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