Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 1 | # Set the repository suite, one of the: 'nightly', 'testing', 'stable', or any other required |
| 2 | {% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'testing') %} |
| 3 | |
| 4 | #{% set DOMAIN_NAME = os_env('LAB_CONFIG_NAME', 'physical_mcp11_ovs_dpdk') + '.local' %} |
| 5 | {% set LAB_CONFIG_NAME = os_env('LAB_CONFIG_NAME', 'cookied-bm-mcp-pike-k8s-contrail') %} |
| 6 | {% set DOMAIN_NAME = os_env('DOMAIN_NAME', LAB_CONFIG_NAME + '.local') %} |
| 7 | {% set HOSTNAME_CFG01 = os_env('HOSTNAME_CFG01', 'cfg01.' + DOMAIN_NAME) %} |
| 8 | {% set HOSTNAME_KVM01 = os_env('HOSTNAME_KVM01', 'kvm01.' + DOMAIN_NAME) %} |
| 9 | {% set HOSTNAME_KVM02 = os_env('HOSTNAME_KVM02', 'kvm02.' + DOMAIN_NAME) %} |
| 10 | {% set HOSTNAME_KVM03 = os_env('HOSTNAME_KVM03', 'kvm03.' + DOMAIN_NAME) %} |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 11 | {% set HOSTNAME_CTL01 = os_env('HOSTNAME_CTL01', 'ctl01.' + DOMAIN_NAME) %} |
| 12 | {% set HOSTNAME_CTL02 = os_env('HOSTNAME_CTL02', 'ctl02.' + DOMAIN_NAME) %} |
| 13 | {% set HOSTNAME_CTL03 = os_env('HOSTNAME_CTL03', 'ctl03.' + DOMAIN_NAME) %} |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 14 | {% set HOSTNAME_CMP001 = os_env('HOSTNAME_CMP001', 'cmp001.' + DOMAIN_NAME) %} |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 15 | {% set HOSTNAME_CMP002 = os_env('HOSTNAME_CMP002', 'cmp002.' + DOMAIN_NAME) %} |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 16 | {% set ETH0_IP_ADDRESS_CFG01 = os_env('ETH0_IP_ADDRESS_CFG01', '172.17.41.3') %} |
| 17 | {% set ETH0_IP_ADDRESS_KVM01 = os_env('ETH0_IP_ADDRESS_KVM01', '172.17.41.4') %} |
| 18 | {% set ETH0_IP_ADDRESS_KVM02 = os_env('ETH0_IP_ADDRESS_KVM02', '172.17.41.5') %} |
| 19 | {% set ETH0_IP_ADDRESS_KVM03 = os_env('ETH0_IP_ADDRESS_KVM03', '172.17.41.6') %} |
| 20 | {% set ETH0_IP_ADDRESS_CMP001 = os_env('ETH0_IP_ADDRESS_CMP001', '172.17.41.7') %} |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 21 | {% set ETH0_IP_ADDRESS_CMP002 = os_env('ETH0_IP_ADDRESS_CMP002', '172.17.41.8') %} |
| 22 | {% set ETH0_IP_ADDRESS_CTL01 = os_env('ETH0_IP_ADDRESS_CTL01', '172.17.41.9') %} |
| 23 | {% set ETH0_IP_ADDRESS_CTL02 = os_env('ETH0_IP_ADDRESS_CTL02', '172.17.41.10') %} |
| 24 | {% set ETH0_IP_ADDRESS_CTL03 = os_env('ETH0_IP_ADDRESS_CTL03', '172.17.41.11') %} |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 25 | {% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--meta-data.yaml' as CLOUDINIT_META_DATA with context %} |
| 26 | {% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--user-data-cfg01.yaml' as CLOUDINIT_USER_DATA_CFG01 with context %} |
| 27 | {% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--user-data1604.yaml' as CLOUDINIT_USER_DATA with context %} |
| 28 | {% import 'cookied-bm-mcp-pike-k8s-contrail/underlay--user-data1604-hwe-compute.yaml' as CLOUDINIT_USER_DATA_HWE_CMP with context %} |
| 29 | |
| 30 | --- |
| 31 | aliases: |
| 32 | - &interface_model {{ os_env('INTERFACE_MODEL', 'virtio') }} |
| 33 | - &cloudinit_meta_data {{ CLOUDINIT_META_DATA }} |
| 34 | - &cloudinit_user_data_cfg01 {{ CLOUDINIT_USER_DATA_CFG01 }} |
| 35 | - &cloudinit_user_data {{ CLOUDINIT_USER_DATA }} |
| 36 | - &cloudinit_user_data_hwe_cmp {{ CLOUDINIT_USER_DATA_HWE_CMP }} |
| 37 | |
| 38 | |
| 39 | template: |
| 40 | devops_settings: |
| 41 | env_name: {{ os_env('ENV_NAME', 'cookied-bm-mcp-pike-k8s-contrail_' + REPOSITORY_SUITE + "_" + os_env('BUILD_NUMBER', '')) }} |
| 42 | |
| 43 | address_pools: |
| 44 | admin-pool01: |
| 45 | net: {{ os_env('ADMIN_ADDRESS_POOL01', '172.17.41.0/26:26') }} |
| 46 | params: |
| 47 | ip_reserved: |
| 48 | gateway: +1 |
| 49 | l2_network_device: +61 |
| 50 | default_{{ HOSTNAME_CFG01 }}: {{ ETH0_IP_ADDRESS_CFG01 }} |
| 51 | default_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }} |
| 52 | default_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }} |
| 53 | default_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }} |
| 54 | default_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }} |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 55 | default_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }} |
| 56 | default_{{ HOSTNAME_CTL01 }}: {{ ETH0_IP_ADDRESS_CTL01 }} |
| 57 | default_{{ HOSTNAME_CTL02 }}: {{ ETH0_IP_ADDRESS_CTL02 }} |
| 58 | default_{{ HOSTNAME_CTL03 }}: {{ ETH0_IP_ADDRESS_CTL03 }} |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 59 | |
| 60 | virtual_{{ HOSTNAME_CFG01 }}: {{ ETH0_IP_ADDRESS_CFG01 }} |
| 61 | virtual_{{ HOSTNAME_KVM01 }}: {{ ETH0_IP_ADDRESS_KVM01 }} |
| 62 | virtual_{{ HOSTNAME_KVM02 }}: {{ ETH0_IP_ADDRESS_KVM02 }} |
| 63 | virtual_{{ HOSTNAME_KVM03 }}: {{ ETH0_IP_ADDRESS_KVM03 }} |
| 64 | virtual_{{ HOSTNAME_CMP001 }}: {{ ETH0_IP_ADDRESS_CMP001 }} |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 65 | virtual_{{ HOSTNAME_CMP002 }}: {{ ETH0_IP_ADDRESS_CMP002 }} |
| 66 | virtual_{{ HOSTNAME_CTL01 }}: {{ ETH0_IP_ADDRESS_CTL01 }} |
| 67 | virtual_{{ HOSTNAME_CTL02 }}: {{ ETH0_IP_ADDRESS_CTL02 }} |
| 68 | virtual_{{ HOSTNAME_CTL03 }}: {{ ETH0_IP_ADDRESS_CTL03 }} |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 69 | #ip_ranges: |
| 70 | # dhcp: [+2, -4] |
| 71 | private-pool01: |
| 72 | net: {{ os_env('PRIVATE_ADDRESS_POOL01', '10.167.13.0/24:24') }} |
| 73 | params: |
| 74 | ip_reserved: |
| 75 | gateway: +1 |
| 76 | l2_network_device: +1 |
| 77 | |
| 78 | tenant-pool01: |
| 79 | net: {{ os_env('TENANT_ADDRESS_POOL01', '10.167.14.0/24:24') }} |
| 80 | params: |
| 81 | ip_reserved: |
| 82 | gateway: +1 |
| 83 | l2_network_device: +1 |
| 84 | |
| 85 | external-pool01: |
| 86 | net: {{ os_env('EXTERNAL_ADDRESS_POOL01', '172.17.41.128/26:26') }} |
| 87 | params: |
| 88 | ip_reserved: |
| 89 | gateway: +1 |
| 90 | l2_network_device: -2 |
| 91 | |
| 92 | groups: |
| 93 | |
| 94 | - name: virtual |
| 95 | driver: |
| 96 | name: devops.driver.libvirt |
| 97 | params: |
| 98 | connection_string: !os_env CONNECTION_STRING, qemu:///system |
| 99 | storage_pool_name: !os_env STORAGE_POOL_NAME, default |
| 100 | stp: False |
| 101 | hpet: False |
| 102 | enable_acpi: true |
| 103 | use_host_cpu: !os_env DRIVER_USE_HOST_CPU, true |
| 104 | |
| 105 | network_pools: |
| 106 | admin: admin-pool01 |
| 107 | |
| 108 | l2_network_devices: |
| 109 | # Ironic management interface |
| 110 | admin: |
| 111 | address_pool: admin-pool01 |
| 112 | dhcp: false |
| 113 | parent_iface: |
| 114 | phys_dev: !os_env IRONIC_LAB_PXE_IFACE_0 |
| 115 | |
| 116 | group_volumes: |
| 117 | - name: cloudimage1604 # This name is used for 'backing_store' option for node volumes. |
| 118 | source_image: !os_env IMAGE_PATH1604 # https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img |
| 119 | format: qcow2 |
| 120 | - name: cfg01_day01_image # Pre-configured day01 image |
| 121 | source_image: {{ os_env('IMAGE_PATH_CFG01_DAY01', os_env('IMAGE_PATH1604')) }} # http://images.mirantis.com/cfg01-day01.qcow2 or fallback to IMAGE_PATH1604 |
| 122 | format: qcow2 |
| 123 | |
| 124 | nodes: |
| 125 | - name: {{ HOSTNAME_CFG01 }} |
| 126 | role: salt_master |
| 127 | params: |
| 128 | vcpu: !os_env SLAVE_NODE_CPU, 4 |
| 129 | memory: !os_env SLAVE_NODE_MEMORY, 8192 |
| 130 | boot: |
| 131 | - hd |
| 132 | cloud_init_volume_name: iso |
| 133 | cloud_init_iface_up: ens3 |
| 134 | volumes: |
| 135 | - name: system |
| 136 | capacity: !os_env NODE_VOLUME_SIZE, 150 |
| 137 | backing_store: cfg01_day01_image |
| 138 | format: qcow2 |
| 139 | - name: iso # Volume with name 'iso' will be used |
| 140 | # for store image with cloud-init metadata. |
| 141 | capacity: 1 |
| 142 | format: raw |
| 143 | device: cdrom |
| 144 | bus: ide |
| 145 | cloudinit_meta_data: *cloudinit_meta_data |
| 146 | cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 147 | |
| 148 | interfaces: |
| 149 | - label: ens3 |
| 150 | l2_network_device: admin |
| 151 | interface_model: *interface_model |
| 152 | mac_address: !os_env ETH0_MAC_ADDRESS_CFG01 |
| 153 | #- label: ens4 |
| 154 | # l2_network_device: private |
| 155 | # interface_model: *interface_model |
| 156 | network_config: |
| 157 | ens3: |
| 158 | networks: |
| 159 | - admin |
| 160 | #ens4: |
| 161 | # networks: |
| 162 | # - private |
| 163 | |
| 164 | |
| 165 | - name: default |
| 166 | driver: |
| 167 | name: devops_driver_ironic |
| 168 | params: |
| 169 | os_auth_token: fake-token |
| 170 | ironic_url: !os_env IRONIC_URL # URL that will be used by fuel-devops |
| 171 | # to access Ironic API |
| 172 | # Agent URL that is accessible from deploying node when nodes |
| 173 | # are bootstrapped with PXE. Usually PXE/provision network address is used. |
| 174 | agent_kernel_url: !os_env IRONIC_AGENT_KERNEL_URL |
| 175 | agent_ramdisk_url: !os_env IRONIC_AGENT_RAMDISK_URL |
| 176 | |
| 177 | network_pools: |
| 178 | admin: admin-pool01 |
| 179 | |
| 180 | nodes: |
| 181 | |
| 182 | # - name: {{ HOSTNAME_CFG01 }} |
| 183 | # role: salt_master |
| 184 | # params: |
| 185 | # ipmi_user: !os_env IPMI_USER |
| 186 | # ipmi_password: !os_env IPMI_PASSWORD |
| 187 | # ipmi_previlegies: OPERATOR |
| 188 | # ipmi_host: !os_env IPMI_HOST_CFG01 # hostname or IP address |
| 189 | # ipmi_lan_interface: lanplus |
| 190 | # ipmi_port: 623 |
| 191 | |
| 192 | # root_volume_name: system # see 'volumes' below |
| 193 | # cloud_init_volume_name: iso # see 'volumes' below |
| 194 | # cloud_init_iface_up: enp3s0f1 # see 'interfaces' below. |
| 195 | # volumes: |
| 196 | # - name: system |
| 197 | # capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 198 | |
| 199 | # # The same as for agent URL, here is an URL to the image that should be |
| 200 | # # used for deploy the node. It should also be accessible from deploying |
| 201 | # # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 202 | # source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 203 | # source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 204 | |
| 205 | # - name: iso # Volume with name 'iso' will be used |
| 206 | # # for store image with cloud-init metadata. |
| 207 | |
| 208 | # cloudinit_meta_data: *cloudinit_meta_data |
| 209 | # cloudinit_user_data: *cloudinit_user_data_cfg01 |
| 210 | |
| 211 | # interfaces: |
| 212 | # - label: enp3s0f0 # Infra interface |
| 213 | # mac_address: !os_env ETH0_MAC_ADDRESS_CFG01 |
| 214 | # - label: enp3s0f1 |
| 215 | # l2_network_device: admin |
| 216 | # mac_address: !os_env ETH1_MAC_ADDRESS_CFG01 |
| 217 | |
| 218 | # network_config: |
| 219 | # enp3s0f0: |
| 220 | # networks: |
| 221 | # - infra |
| 222 | # enp3s0f1: |
| 223 | # networks: |
| 224 | # - admin |
| 225 | # - name: {{ HOSTNAME_PRX01 }} |
| 226 | # role: salt_minion |
| 227 | # params: |
| 228 | # ipmi_user: !os_env IPMI_USER |
| 229 | # ipmi_password: !os_env IPMI_PASSWORD |
| 230 | # ipmi_previlegies: OPERATOR |
| 231 | # ipmi_host: !os_env IPMI_HOST_PRX01 # hostname or IP address |
| 232 | # ipmi_lan_interface: lanplus |
| 233 | # ipmi_port: 623 |
| 234 | |
| 235 | # root_volume_name: system # see 'volumes' below |
| 236 | # cloud_init_volume_name: iso # see 'volumes' below |
| 237 | # cloud_init_iface_up: enp9s0f0 # see 'interfaces' below. |
| 238 | # volumes: |
| 239 | # - name: system |
| 240 | # capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 241 | |
| 242 | # # The same as for agent URL, here is an URL to the image that should be |
| 243 | # # used for deploy the node. It should also be accessible from deploying |
| 244 | # # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 245 | # source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 246 | # source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 247 | |
| 248 | # - name: iso # Volume with name 'iso' will be used |
| 249 | # # for store image with cloud-init metadata. |
| 250 | |
| 251 | # cloudinit_meta_data: *cloudinit_meta_data |
| 252 | # cloudinit_user_data: *cloudinit_user_data |
| 253 | |
| 254 | # interfaces: |
| 255 | # - label: enp9s0f0 |
| 256 | # l2_network_device: admin |
| 257 | # mac_address: !os_env ETH0_MAC_ADDRESS_PRX01 |
| 258 | # - label: enp9s0f1 |
| 259 | # mac_address: !os_env ETH1_MAC_ADDRESS_PRX01 |
| 260 | |
| 261 | # network_config: |
| 262 | # enp9s0f0: |
| 263 | # networks: |
| 264 | # - admin |
| 265 | # bond0: |
| 266 | # networks: |
| 267 | # - control |
| 268 | # aggregation: active-backup |
| 269 | # parents: |
| 270 | # - enp9s0f1 |
| 271 | |
| 272 | - name: {{ HOSTNAME_KVM01 }} |
| 273 | role: salt_minion |
| 274 | params: |
| 275 | ipmi_user: !os_env IPMI_USER |
| 276 | ipmi_password: !os_env IPMI_PASSWORD |
| 277 | ipmi_previlegies: OPERATOR |
| 278 | ipmi_host: !os_env IPMI_HOST_KVM01 # hostname or IP address |
| 279 | ipmi_lan_interface: lanplus |
| 280 | ipmi_port: 623 |
| 281 | |
| 282 | root_volume_name: system # see 'volumes' below |
| 283 | cloud_init_volume_name: iso # see 'volumes' below |
| 284 | cloud_init_iface_up: enp9s0f0 # see 'interfaces' below. |
| 285 | volumes: |
| 286 | - name: system |
| 287 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 288 | |
| 289 | # The same as for agent URL, here is an URL to the image that should be |
| 290 | # used for deploy the node. It should also be accessible from deploying |
| 291 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 292 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 293 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 294 | |
| 295 | - name: iso # Volume with name 'iso' will be used |
| 296 | # for store image with cloud-init metadata. |
| 297 | |
| 298 | cloudinit_meta_data: *cloudinit_meta_data |
| 299 | cloudinit_user_data: *cloudinit_user_data |
| 300 | |
| 301 | interfaces: |
| 302 | - label: enp9s0f0 |
| 303 | l2_network_device: admin |
| 304 | mac_address: !os_env ETH0_MAC_ADDRESS_KVM01 |
| 305 | - label: enp9s0f1 |
| 306 | mac_address: !os_env ETH1_MAC_ADDRESS_KVM01 |
| 307 | |
| 308 | network_config: |
| 309 | enp9s0f0: |
| 310 | networks: |
| 311 | - admin |
| 312 | bond0: |
| 313 | networks: |
| 314 | - control |
| 315 | aggregation: active-backup |
| 316 | parents: |
| 317 | - enp9s0f1 |
| 318 | |
| 319 | - name: {{ HOSTNAME_KVM02 }} |
| 320 | role: salt_minion |
| 321 | params: |
| 322 | ipmi_user: !os_env IPMI_USER |
| 323 | ipmi_password: !os_env IPMI_PASSWORD |
| 324 | ipmi_previlegies: OPERATOR |
| 325 | ipmi_host: !os_env IPMI_HOST_KVM02 # hostname or IP address |
| 326 | ipmi_lan_interface: lanplus |
| 327 | ipmi_port: 623 |
| 328 | |
| 329 | root_volume_name: system # see 'volumes' below |
| 330 | cloud_init_volume_name: iso # see 'volumes' below |
| 331 | cloud_init_iface_up: enp9s0f0 # see 'interfaces' below. |
| 332 | volumes: |
| 333 | - name: system |
| 334 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 335 | |
| 336 | # The same as for agent URL, here is an URL to the image that should be |
| 337 | # used for deploy the node. It should also be accessible from deploying |
| 338 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 339 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 340 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 341 | |
| 342 | - name: iso # Volume with name 'iso' will be used |
| 343 | # for store image with cloud-init metadata. |
| 344 | |
| 345 | cloudinit_meta_data: *cloudinit_meta_data |
| 346 | cloudinit_user_data: *cloudinit_user_data |
| 347 | |
| 348 | interfaces: |
| 349 | - label: enp9s0f0 |
| 350 | l2_network_device: admin |
| 351 | mac_address: !os_env ETH0_MAC_ADDRESS_KVM02 |
| 352 | - label: enp9s0f1 |
| 353 | mac_address: !os_env ETH1_MAC_ADDRESS_KVM02 |
| 354 | |
| 355 | network_config: |
| 356 | enp9s0f0: |
| 357 | networks: |
| 358 | - admin |
| 359 | bond0: |
| 360 | networks: |
| 361 | - control |
| 362 | aggregation: active-backup |
| 363 | parents: |
| 364 | - enp9s0f1 |
| 365 | |
| 366 | - name: {{ HOSTNAME_KVM03 }} |
| 367 | role: salt_minion |
| 368 | params: |
| 369 | ipmi_user: !os_env IPMI_USER |
| 370 | ipmi_password: !os_env IPMI_PASSWORD |
| 371 | ipmi_previlegies: OPERATOR |
| 372 | ipmi_host: !os_env IPMI_HOST_KVM03 # hostname or IP address |
| 373 | ipmi_lan_interface: lanplus |
| 374 | ipmi_port: 623 |
| 375 | |
| 376 | root_volume_name: system # see 'volumes' below |
| 377 | cloud_init_volume_name: iso # see 'volumes' below |
| 378 | # cloud_init_iface_up: eno1 # see 'interfaces' below. |
| 379 | cloud_init_iface_up: enp9s0f0 # see 'interfaces' below. |
| 380 | volumes: |
| 381 | - name: system |
| 382 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 383 | |
| 384 | # The same as for agent URL, here is an URL to the image that should be |
| 385 | # used for deploy the node. It should also be accessible from deploying |
| 386 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 387 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 388 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 389 | |
| 390 | - name: iso # Volume with name 'iso' will be used |
| 391 | # for store image with cloud-init metadata. |
| 392 | |
| 393 | cloudinit_meta_data: *cloudinit_meta_data |
| 394 | cloudinit_user_data: *cloudinit_user_data |
| 395 | |
| 396 | interfaces: |
| 397 | # - label: eno1 |
| 398 | - label: enp9s0f0 |
| 399 | l2_network_device: admin |
| 400 | mac_address: !os_env ETH0_MAC_ADDRESS_KVM03 |
| 401 | # - label: eno2 |
| 402 | - label: enp9s0f1 |
| 403 | mac_address: !os_env ETH1_MAC_ADDRESS_KVM03 |
| 404 | |
| 405 | network_config: |
| 406 | # eno1: |
| 407 | enp9s0f0: |
| 408 | networks: |
| 409 | - admin |
| 410 | bond0: |
| 411 | networks: |
| 412 | - control |
| 413 | aggregation: active-backup |
| 414 | parents: |
| 415 | - enp9s0f1 |
| 416 | |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 417 | - name: {{ HOSTNAME_CTL01 }} |
| 418 | role: salt_minion |
| 419 | params: |
| 420 | ipmi_user: !os_env IPMI_USER |
| 421 | ipmi_password: !os_env IPMI_PASSWORD |
| 422 | ipmi_previlegies: OPERATOR |
| 423 | ipmi_host: !os_env IPMI_HOST_CTL01 # hostname or IP address |
| 424 | ipmi_lan_interface: lanplus |
| 425 | ipmi_port: 623 |
| 426 | |
| 427 | root_volume_name: system # see 'volumes' below |
| 428 | cloud_init_volume_name: iso # see 'volumes' below |
| 429 | cloud_init_iface_up: enp2s0f0 # see 'interfaces' below. |
| 430 | volumes: |
| 431 | - name: system |
| 432 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 433 | |
| 434 | # The same as for agent URL, here is an URL to the image that should be |
| 435 | # used for deploy the node. It should also be accessible from deploying |
| 436 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 437 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 438 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 439 | |
| 440 | - name: iso # Volume with name 'iso' will be used |
| 441 | # for store image with cloud-init metadata. |
| 442 | |
| 443 | cloudinit_meta_data: *cloudinit_meta_data |
| 444 | cloudinit_user_data: *cloudinit_user_data |
| 445 | |
| 446 | interfaces: |
| 447 | - label: enp2s0f0 |
| 448 | l2_network_device: admin |
| 449 | mac_address: !os_env ETH0_MAC_ADDRESS_CTL01 |
| 450 | - label: enp2s0f1 |
| 451 | mac_address: !os_env ETH1_MAC_ADDRESS_CTL01 |
| 452 | |
| 453 | network_config: |
| 454 | enp2s0f0: |
| 455 | networks: |
| 456 | - admin |
| 457 | |
| 458 | - name: {{ HOSTNAME_CTL02 }} |
| 459 | role: salt_minion |
| 460 | params: |
| 461 | ipmi_user: !os_env IPMI_USER |
| 462 | ipmi_password: !os_env IPMI_PASSWORD_CTL |
| 463 | ipmi_previlegies: OPERATOR |
| 464 | ipmi_host: !os_env IPMI_HOST_CTL02 # hostname or IP address |
| 465 | ipmi_lan_interface: lanplus |
| 466 | ipmi_port: 623 |
| 467 | |
| 468 | root_volume_name: system # see 'volumes' below |
| 469 | cloud_init_volume_name: iso # see 'volumes' below |
| 470 | cloud_init_iface_up: enp2s0f0 # see 'interfaces' below. |
| 471 | volumes: |
| 472 | - name: system |
| 473 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 474 | |
| 475 | # The same as for agent URL, here is an URL to the image that should be |
| 476 | # used for deploy the node. It should also be accessible from deploying |
| 477 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 478 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 479 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 480 | |
| 481 | - name: iso # Volume with name 'iso' will be used |
| 482 | # for store image with cloud-init metadata. |
| 483 | |
| 484 | cloudinit_meta_data: *cloudinit_meta_data |
| 485 | cloudinit_user_data: *cloudinit_user_data |
| 486 | |
| 487 | interfaces: |
| 488 | - label: enp2s0f0 |
| 489 | l2_network_device: admin |
| 490 | mac_address: !os_env ETH0_MAC_ADDRESS_CTL02 |
| 491 | - label: enp2s0f1 |
| 492 | mac_address: !os_env ETH1_MAC_ADDRESS_CTL02 |
| 493 | |
| 494 | network_config: |
| 495 | enp2s0f0: |
| 496 | networks: |
| 497 | - admin |
| 498 | |
| 499 | - name: {{ HOSTNAME_CTL03 }} |
| 500 | role: salt_minion |
| 501 | params: |
| 502 | ipmi_user: !os_env IPMI_USER |
| 503 | ipmi_password: !os_env IPMI_PASSWORD_CTL |
| 504 | ipmi_previlegies: OPERATOR |
| 505 | ipmi_host: !os_env IPMI_HOST_CTL03 # hostname or IP address |
| 506 | ipmi_lan_interface: lanplus |
| 507 | ipmi_port: 623 |
| 508 | |
| 509 | root_volume_name: system # see 'volumes' below |
| 510 | cloud_init_volume_name: iso # see 'volumes' below |
| 511 | # cloud_init_iface_up: eno1 # see 'interfaces' below. |
| 512 | cloud_init_iface_up: enp2s0f0 # see 'interfaces' below. |
| 513 | volumes: |
| 514 | - name: system |
| 515 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 516 | |
| 517 | # The same as for agent URL, here is an URL to the image that should be |
| 518 | # used for deploy the node. It should also be accessible from deploying |
| 519 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 520 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 521 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 522 | |
| 523 | - name: iso # Volume with name 'iso' will be used |
| 524 | # for store image with cloud-init metadata. |
| 525 | |
| 526 | cloudinit_meta_data: *cloudinit_meta_data |
| 527 | cloudinit_user_data: *cloudinit_user_data |
| 528 | |
| 529 | interfaces: |
| 530 | # - label: eno1 |
| 531 | - label: enp2s0f0 |
| 532 | l2_network_device: admin |
| 533 | mac_address: !os_env ETH0_MAC_ADDRESS_CTL03 |
| 534 | # - label: eno2 |
| 535 | - label: enp2s0f1 |
| 536 | mac_address: !os_env ETH1_MAC_ADDRESS_CTL03 |
| 537 | |
| 538 | network_config: |
| 539 | # eno1: |
| 540 | enp2s0f0: |
| 541 | networks: |
| 542 | - admin |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 543 | |
| 544 | - name: {{ HOSTNAME_CMP001 }} |
| 545 | role: salt_minion |
| 546 | params: |
| 547 | ipmi_user: !os_env IPMI_USER |
| 548 | ipmi_password: !os_env IPMI_PASSWORD |
| 549 | ipmi_previlegies: OPERATOR |
| 550 | ipmi_host: !os_env IPMI_HOST_CMP001 # hostname or IP address |
| 551 | ipmi_lan_interface: lanplus |
| 552 | ipmi_port: 623 |
| 553 | |
| 554 | root_volume_name: system # see 'volumes' below |
| 555 | cloud_init_volume_name: iso # see 'volumes' below |
| 556 | # cloud_init_iface_up: enp3s0f0 # see 'interfaces' below. |
| 557 | cloud_init_iface_up: enp9s0f0 # see 'interfaces' below. |
| 558 | volumes: |
| 559 | - name: system |
| 560 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
| 561 | |
| 562 | # The same as for agent URL, here is an URL to the image that should be |
| 563 | # used for deploy the node. It should also be accessible from deploying |
| 564 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 565 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 566 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
| 567 | |
| 568 | - name: iso # Volume with name 'iso' will be used |
| 569 | # for store image with cloud-init metadata. |
| 570 | |
| 571 | cloudinit_meta_data: *cloudinit_meta_data |
| 572 | cloudinit_user_data: *cloudinit_user_data_hwe_cmp |
| 573 | |
| 574 | interfaces: |
| 575 | - label: enp9s0f0 |
| 576 | l2_network_device: admin |
| 577 | mac_address: !os_env ETH0_MAC_ADDRESS_CMP001 |
| 578 | - label: enp9s0f1 |
| 579 | mac_address: !os_env ETH1_MAC_ADDRESS_CMP001 |
| 580 | # - label: enp5s0f0 |
| 581 | # mac_address: !os_env ETH2_MAC_ADDRESS_CMP001 |
| 582 | # features: ['dpdk', 'dpdk_pci: 0000:05:00.0'] |
| 583 | # - label: enp5s0f1 |
| 584 | # mac_address: !os_env ETH3_MAC_ADDRESS_CMP001 |
| 585 | # features: ['dpdk', 'dpdk_pci: 0000:05:00.1'] |
| 586 | # - label: enp5s0f2 |
| 587 | # mac_address: !os_env ETH4_MAC_ADDRESS_CMP001 |
| 588 | # features: ['dpdk', 'dpdk_pci: 0000:05:00.2'] |
| 589 | |
| 590 | network_config: |
| 591 | enp9s0f0: |
| 592 | networks: |
| 593 | - admin |
| 594 | bond0: |
| 595 | networks: |
| 596 | - control |
| 597 | aggregation: active-backup |
| 598 | parents: |
| 599 | - enp9s0f1 |
| 600 | |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 601 | - name: {{ HOSTNAME_CMP002 }} |
| 602 | role: salt_minion |
| 603 | params: |
| 604 | ipmi_user: !os_env IPMI_USER |
| 605 | ipmi_password: !os_env IPMI_PASSWORD |
| 606 | ipmi_previlegies: OPERATOR |
| 607 | ipmi_host: !os_env IPMI_HOST_CMP002 # hostname or IP address |
| 608 | ipmi_lan_interface: lanplus |
| 609 | ipmi_port: 623 |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 610 | |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 611 | root_volume_name: system # see 'volumes' below |
| 612 | cloud_init_volume_name: iso # see 'volumes' below |
| 613 | # cloud_init_iface_up: enp3s0f0 # see 'interfaces' below. |
| 614 | cloud_init_iface_up: enp9s0f0 # see 'interfaces' below. |
| 615 | volumes: |
| 616 | - name: system |
| 617 | capacity: !os_env NODE_VOLUME_SIZE, 200 |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 618 | |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 619 | # The same as for agent URL, here is an URL to the image that should be |
| 620 | # used for deploy the node. It should also be accessible from deploying |
| 621 | # node when nodes are provisioned by agent. Usually PXE/provision network address is used. |
| 622 | source_image: !os_env IRONIC_SOURCE_IMAGE_URL |
| 623 | source_image_checksum: !os_env IRONIC_SOURCE_IMAGE_CHECKSUM |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 624 | |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 625 | - name: iso # Volume with name 'iso' will be used |
| 626 | # for store image with cloud-init metadata. |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 627 | |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 628 | cloudinit_meta_data: *cloudinit_meta_data |
| 629 | cloudinit_user_data: *cloudinit_user_data_hwe_cmp |
Dmitry Tyzhnenko | 34595f8 | 2018-06-12 19:03:12 +0300 | [diff] [blame] | 630 | |
Dmitry Tyzhnenko | 7c7b7d8 | 2018-07-20 15:35:07 +0300 | [diff] [blame] | 631 | interfaces: |
| 632 | - label: enp9s0f0 |
| 633 | l2_network_device: admin |
| 634 | mac_address: !os_env ETH0_MAC_ADDRESS_CMP002 |
| 635 | - label: enp9s0f1 |
| 636 | mac_address: !os_env ETH1_MAC_ADDRESS_CMP002 |
| 637 | network_config: |
| 638 | enp9s0f0: |
| 639 | networks: |
| 640 | - admin |
| 641 | bond0: |
| 642 | networks: |
| 643 | - control |
| 644 | aggregation: active-backup |
| 645 | parents: |
| 646 | - enp9s0f1 |