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