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. |
Dennis Dmitriev | 492813e | 2017-08-09 15:08:58 +0300 | [diff] [blame] | 2 | {% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %} |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 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: |
Sergii Golovatiuk | 6fd1bde | 2017-06-23 13:39:11 +0200 | [diff] [blame] | 11 | - &interface_model {{ os_env('INTERFACE_MODEL', 'e1000') }} |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 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) %} |
Dennis Dmitriev | 1e9f7ac | 2017-08-11 09:56:43 +0300 | [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 |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 91 | default_{{ HOSTNAME_CFG01 }}: +15 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 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 |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 104 | default_{{ HOSTNAME_VSRX01 }}: +90 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 105 | ip_ranges: |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 106 | dhcp: [+10, -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 |
Dennis Dmitriev | b3fc424 | 2017-07-14 16:01:51 +0300 | [diff] [blame] | 119 | use_hugepages: !os_env DRIVER_USE_HUGEPAGES, false |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 120 | |
| 121 | network_pools: |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 122 | private: private-pool01 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 123 | public: public-pool01 |
| 124 | admin: admin-pool01 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 125 | |
| 126 | l2_network_devices: |
| 127 | private: |
| 128 | address_pool: private-pool01 |
| 129 | dhcp: true |
| 130 | |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 131 | public: |
| 132 | address_pool: public-pool01 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 133 | dhcp: true |
| 134 | forward: |
| 135 | mode: nat |
| 136 | |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 137 | admin: |
| 138 | address_pool: admin-pool01 |
| 139 | dhcp: true |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 140 | |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 141 | group_volumes: |
| 142 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 143 | 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] | 144 | format: qcow2 |
| 145 | |
| 146 | - name: cloudimage1404 |
| 147 | source_image: !os_env IMAGE_PATH1404 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 148 | format: qcow2 |
| 149 | |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 150 | - name: vsrx_image |
| 151 | source_image: !os_env IMAGE_VSRX |
| 152 | format: qcow2 |
| 153 | |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 154 | nodes: |
| 155 | - name: {{ HOSTNAME_CFG01 }} |
| 156 | role: salt_master |
| 157 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 158 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 159 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
| 160 | boot: |
| 161 | - hd |
| 162 | cloud_init_volume_name: iso |
| 163 | cloud_init_iface_up: ens3 |
| 164 | volumes: |
| 165 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 166 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 167 | backing_store: cloudimage1604 |
| 168 | format: qcow2 |
| 169 | - name: iso # Volume with name 'iso' will be used |
| 170 | # for store image with cloud-init metadata. |
| 171 | capacity: 1 |
| 172 | format: raw |
| 173 | device: cdrom |
| 174 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 175 | cloudinit_meta_data: *cloudinit_meta_data |
| 176 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 177 | |
| 178 | interfaces: |
| 179 | - label: ens3 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 180 | l2_network_device: public |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 181 | interface_model: *interface_model |
| 182 | - label: ens4 |
| 183 | l2_network_device: private |
| 184 | interface_model: *interface_model |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 185 | - label: ens5 |
| 186 | l2_network_device: admin |
| 187 | interface_model: *interface_model |
| 188 | |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 189 | network_config: |
| 190 | ens3: |
| 191 | networks: |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 192 | - public |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 193 | ens4: |
| 194 | networks: |
| 195 | - private |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 196 | ens5: |
| 197 | networks: |
| 198 | - admin |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 199 | |
| 200 | - name: {{ HOSTNAME_CTL01 }} |
| 201 | role: salt_minion |
| 202 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 203 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 204 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 205 | boot: |
| 206 | - hd |
| 207 | cloud_init_volume_name: iso |
| 208 | cloud_init_iface_up: ens3 |
| 209 | volumes: |
| 210 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 211 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 212 | backing_store: cloudimage1604 |
| 213 | format: qcow2 |
| 214 | - name: cinder |
| 215 | capacity: 50 |
| 216 | format: qcow2 |
| 217 | - name: iso # Volume with name 'iso' will be used |
| 218 | # for store image with cloud-init metadata. |
| 219 | capacity: 1 |
| 220 | format: raw |
| 221 | device: cdrom |
| 222 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 223 | cloudinit_meta_data: *cloudinit_meta_data |
| 224 | cloudinit_user_data: *cloudinit_user_data_1604 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 225 | |
| 226 | interfaces: &interfaces |
| 227 | - label: ens3 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 228 | l2_network_device: public |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 229 | interface_model: *interface_model |
| 230 | - label: ens4 |
| 231 | l2_network_device: private |
| 232 | interface_model: *interface_model |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 233 | - label: ens5 |
| 234 | l2_network_device: admin |
| 235 | interface_model: *interface_model |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 236 | network_config: &network_config |
| 237 | ens3: |
| 238 | networks: |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 239 | - public |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 240 | ens4: |
| 241 | networks: |
| 242 | - private |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 243 | ens5: |
| 244 | networks: |
| 245 | - admin |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 246 | |
| 247 | - name: {{ HOSTNAME_CTL02 }} |
| 248 | role: salt_minion |
| 249 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 250 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 251 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 252 | boot: |
| 253 | - hd |
| 254 | cloud_init_volume_name: iso |
| 255 | cloud_init_iface_up: ens3 |
| 256 | volumes: |
| 257 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 258 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 259 | backing_store: cloudimage1604 |
| 260 | format: qcow2 |
| 261 | - name: cinder |
| 262 | capacity: 50 |
| 263 | format: qcow2 |
| 264 | - name: iso # Volume with name 'iso' will be used |
| 265 | # for store image with cloud-init metadata. |
| 266 | capacity: 1 |
| 267 | format: raw |
| 268 | device: cdrom |
| 269 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 270 | cloudinit_meta_data: *cloudinit_meta_data |
| 271 | cloudinit_user_data: *cloudinit_user_data_1604 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 272 | |
| 273 | interfaces: *interfaces |
| 274 | network_config: *network_config |
| 275 | |
| 276 | - name: {{ HOSTNAME_CTL03 }} |
| 277 | role: salt_minion |
| 278 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 279 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 280 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 281 | boot: |
| 282 | - hd |
| 283 | cloud_init_volume_name: iso |
| 284 | cloud_init_iface_up: ens3 |
| 285 | volumes: |
| 286 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 287 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 288 | backing_store: cloudimage1604 |
| 289 | format: qcow2 |
| 290 | - name: cinder |
| 291 | capacity: 50 |
| 292 | format: qcow2 |
| 293 | - name: iso # Volume with name 'iso' will be used |
| 294 | # for store image with cloud-init metadata. |
| 295 | capacity: 1 |
| 296 | format: raw |
| 297 | device: cdrom |
| 298 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 299 | cloudinit_meta_data: *cloudinit_meta_data |
| 300 | cloudinit_user_data: *cloudinit_user_data_1604 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 301 | |
| 302 | interfaces: *interfaces |
| 303 | network_config: *network_config |
| 304 | |
| 305 | - name: {{ HOSTNAME_CMP01 }} |
| 306 | role: salt_minion |
| 307 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 308 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 309 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 310 | boot: |
| 311 | - hd |
| 312 | cloud_init_volume_name: iso |
| 313 | cloud_init_iface_up: ens3 |
| 314 | volumes: |
| 315 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 316 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 317 | backing_store: cloudimage1604 |
| 318 | format: qcow2 |
| 319 | - name: iso # Volume with name 'iso' will be used |
| 320 | # for store image with cloud-init metadata. |
| 321 | capacity: 1 |
| 322 | format: raw |
| 323 | device: cdrom |
| 324 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 325 | cloudinit_meta_data: *cloudinit_meta_data |
| 326 | cloudinit_user_data: *cloudinit_user_data_1604 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 327 | |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 328 | interfaces: *interfaces |
| 329 | network_config: *network_config |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 330 | |
| 331 | - name: {{ HOSTNAME_CMP02 }} |
| 332 | role: salt_minion |
| 333 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 334 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Tatyana Leontovich | 3424bf6 | 2017-09-15 12:13:54 +0300 | [diff] [blame] | 335 | memory: !os_env SLAVE_NODE_MEMORY, 2048 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 336 | boot: |
| 337 | - hd |
| 338 | cloud_init_volume_name: iso |
| 339 | cloud_init_iface_up: ens3 |
| 340 | volumes: |
| 341 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 342 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 343 | backing_store: cloudimage1604 |
| 344 | format: qcow2 |
| 345 | - name: iso # Volume with name 'iso' will be used |
| 346 | # for store image with cloud-init metadata. |
| 347 | capacity: 1 |
| 348 | format: raw |
| 349 | device: cdrom |
| 350 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 351 | cloudinit_meta_data: *cloudinit_meta_data |
| 352 | cloudinit_user_data: *cloudinit_user_data_1604 |
Tatyana Leontovich | bb6d1a7 | 2017-05-17 14:10:38 +0300 | [diff] [blame] | 353 | |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 354 | interfaces: *interfaces |
| 355 | network_config: *network_config |
| 356 | |
| 357 | - name: {{ HOSTNAME_MON01 }} |
| 358 | role: salt_minion |
| 359 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 360 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | 0690eae | 2017-08-01 13:07:57 +0300 | [diff] [blame] | 361 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 362 | boot: |
| 363 | - hd |
| 364 | cloud_init_volume_name: iso |
| 365 | cloud_init_iface_up: ens3 |
| 366 | volumes: |
| 367 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 368 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 369 | backing_store: cloudimage1604 |
| 370 | format: qcow2 |
| 371 | - name: iso # Volume with name 'iso' will be used |
| 372 | # for store image with cloud-init metadata. |
| 373 | capacity: 1 |
| 374 | format: raw |
| 375 | device: cdrom |
| 376 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 377 | cloudinit_meta_data: *cloudinit_meta_data |
| 378 | cloudinit_user_data: *cloudinit_user_data_1604 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 379 | |
| 380 | interfaces: *interfaces |
| 381 | network_config: *network_config |
| 382 | |
| 383 | - name: {{ HOSTNAME_MON02 }} |
| 384 | role: salt_minion |
| 385 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 386 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | 0690eae | 2017-08-01 13:07:57 +0300 | [diff] [blame] | 387 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 388 | boot: |
| 389 | - hd |
| 390 | cloud_init_volume_name: iso |
| 391 | cloud_init_iface_up: ens3 |
| 392 | volumes: |
| 393 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 394 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 395 | backing_store: cloudimage1604 |
| 396 | format: qcow2 |
| 397 | - name: iso # Volume with name 'iso' will be used |
| 398 | # for store image with cloud-init metadata. |
| 399 | capacity: 1 |
| 400 | format: raw |
| 401 | device: cdrom |
| 402 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 403 | cloudinit_meta_data: *cloudinit_meta_data |
| 404 | cloudinit_user_data: *cloudinit_user_data_1604 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 405 | |
| 406 | interfaces: *interfaces |
| 407 | network_config: *network_config |
| 408 | |
| 409 | - name: {{ HOSTNAME_MON03 }} |
| 410 | role: salt_minion |
| 411 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 412 | vcpu: !os_env SLAVE_NODE_CPU, 1 |
Tatyana Leontovich | 0690eae | 2017-08-01 13:07:57 +0300 | [diff] [blame] | 413 | memory: !os_env SLAVE_NODE_MEMORY, 3072 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 414 | boot: |
| 415 | - hd |
| 416 | cloud_init_volume_name: iso |
| 417 | cloud_init_iface_up: ens3 |
| 418 | volumes: |
| 419 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 420 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 421 | backing_store: cloudimage1604 |
| 422 | format: qcow2 |
| 423 | - name: iso # Volume with name 'iso' will be used |
| 424 | # for store image with cloud-init metadata. |
| 425 | capacity: 1 |
| 426 | format: raw |
| 427 | device: cdrom |
| 428 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 429 | cloudinit_meta_data: *cloudinit_meta_data |
| 430 | cloudinit_user_data: *cloudinit_user_data_1604 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 431 | |
| 432 | interfaces: *interfaces |
| 433 | network_config: *network_config |
| 434 | |
| 435 | - name: {{ HOSTNAME_NTW01 }} |
| 436 | role: salt_minion |
| 437 | params: |
Dennis Dmitriev | d8275e0 | 2017-08-11 13:34:34 +0300 | [diff] [blame] | 438 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 439 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 440 | boot: |
| 441 | - hd |
| 442 | cloud_init_volume_name: iso |
| 443 | cloud_init_iface_up: ens3 |
| 444 | volumes: |
| 445 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 446 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 447 | backing_store: cloudimage1404 |
| 448 | format: qcow2 |
| 449 | - name: iso # Volume with name 'iso' will be used |
| 450 | # for store image with cloud-init metadata. |
| 451 | capacity: 1 |
| 452 | format: raw |
| 453 | device: cdrom |
| 454 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 455 | cloudinit_meta_data: *cloudinit_meta_data |
| 456 | cloudinit_user_data: *cloudinit_user_data_1404 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 457 | |
| 458 | interfaces: *interfaces |
| 459 | network_config: *network_config |
| 460 | |
| 461 | - name: {{ HOSTNAME_NTW02 }} |
| 462 | role: salt_minion |
| 463 | params: |
Dennis Dmitriev | d8275e0 | 2017-08-11 13:34:34 +0300 | [diff] [blame] | 464 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 465 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 466 | boot: |
| 467 | - hd |
| 468 | cloud_init_volume_name: iso |
| 469 | cloud_init_iface_up: ens3 |
| 470 | volumes: |
| 471 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 472 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 473 | backing_store: cloudimage1404 |
| 474 | format: qcow2 |
| 475 | - name: iso # Volume with name 'iso' will be used |
| 476 | # for store image with cloud-init metadata. |
| 477 | capacity: 1 |
| 478 | format: raw |
| 479 | device: cdrom |
| 480 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 481 | cloudinit_meta_data: *cloudinit_meta_data |
| 482 | cloudinit_user_data: *cloudinit_user_data_1404 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 483 | |
| 484 | interfaces: *interfaces |
| 485 | network_config: *network_config |
| 486 | |
| 487 | - name: {{ HOSTNAME_NTW03 }} |
| 488 | role: salt_minion |
| 489 | params: |
Dennis Dmitriev | d8275e0 | 2017-08-11 13:34:34 +0300 | [diff] [blame] | 490 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 491 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 492 | boot: |
| 493 | - hd |
| 494 | cloud_init_volume_name: iso |
| 495 | cloud_init_iface_up: ens3 |
| 496 | volumes: |
| 497 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 498 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 499 | backing_store: cloudimage1404 |
| 500 | format: qcow2 |
| 501 | - name: iso # Volume with name 'iso' will be used |
| 502 | # for store image with cloud-init metadata. |
| 503 | capacity: 1 |
| 504 | format: raw |
| 505 | device: cdrom |
| 506 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 507 | cloudinit_meta_data: *cloudinit_meta_data |
| 508 | cloudinit_user_data: *cloudinit_user_data_1404 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 509 | |
| 510 | interfaces: *interfaces |
| 511 | network_config: *network_config |
| 512 | |
| 513 | - name: {{ HOSTNAME_PRX01 }} |
| 514 | role: salt_minion |
| 515 | params: |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 516 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 517 | memory: !os_env SLAVE_NODE_MEMORY, 1024 |
| 518 | boot: |
| 519 | - hd |
| 520 | cloud_init_volume_name: iso |
| 521 | cloud_init_iface_up: ens3 |
| 522 | volumes: |
| 523 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 524 | capacity: !os_env NODE_VOLUME_SIZE, 20 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 525 | backing_store: cloudimage1604 |
| 526 | format: qcow2 |
| 527 | - name: iso # Volume with name 'iso' will be used |
| 528 | # for store image with cloud-init metadata. |
| 529 | capacity: 1 |
| 530 | format: raw |
| 531 | device: cdrom |
| 532 | bus: ide |
Dennis Dmitriev | 80a0180 | 2017-08-11 09:49:37 +0300 | [diff] [blame] | 533 | cloudinit_meta_data: *cloudinit_meta_data |
| 534 | cloudinit_user_data: *cloudinit_user_data_1604 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 535 | |
| 536 | interfaces: *interfaces |
| 537 | network_config: *network_config |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 538 | |
| 539 | - name: {{ HOSTNAME_VSRX01 }} |
| 540 | role: vsrx |
| 541 | params: |
Dennis Dmitriev | cad2b5b | 2017-08-11 13:58:11 +0300 | [diff] [blame] | 542 | vcpu: !os_env SLAVE_NODE_CPU, 2 |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 543 | memory: !os_env SLAVE_NODE_MEMORY, 512 |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 544 | boot: |
| 545 | - hd |
| 546 | volumes: |
| 547 | - name: system |
Sergii Golovatiuk | 8f679ab | 2017-06-02 13:13:53 +0200 | [diff] [blame] | 548 | capacity: !os_env NODE_VOLUME_SIZE, 10 |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 549 | backing_store: vsrx_image |
| 550 | format: qcow2 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 551 | #- name: iso |
| 552 | #- capacity: 1 |
| 553 | #- format: raw |
| 554 | #- device: cdrom |
| 555 | #- bus: ide |
| 556 | #- cloudinit_user_data: !include juniper.conf |
| 557 | |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 558 | interfaces: |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 559 | - label: ge-0/0/0 |
| 560 | l2_network_device: private |
Sergii Golovatiuk | 6fd1bde | 2017-06-23 13:39:11 +0200 | [diff] [blame] | 561 | interface_model: *interface_model |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 562 | mac_address: 52:54:00:4e:b4:36 |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 563 | - label: ge-0/0/1 |
| 564 | l2_network_device: public |
Sergii Golovatiuk | 6fd1bde | 2017-06-23 13:39:11 +0200 | [diff] [blame] | 565 | interface_model: *interface_model |
Sergii Golovatiuk | c504a39 | 2017-05-22 21:41:06 +0200 | [diff] [blame] | 566 | mac_address: 52:54:00:e1:44:9d |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 567 | - label: ge-0/0/2 |
| 568 | l2_network_device: admin |
Sergii Golovatiuk | 6fd1bde | 2017-06-23 13:39:11 +0200 | [diff] [blame] | 569 | interface_model: *interface_model |
Sergii Golovatiuk | 5b659d4 | 2017-05-26 17:38:06 +0200 | [diff] [blame] | 570 | mac_address: 52:54:00:72:08:77 |