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