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