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