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