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