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