---
# Kayobe configuration for Bifrost.

###############################################################################
# Bifrost installation.

# URL of Bifrost source code repository.
kolla_bifrost_source_url: "https://git.openstack.org/openstack/bifrost"

# Version (branch, tag, etc.) of Bifrost source code repository.
kolla_bifrost_source_version: "stable/queens"

###############################################################################
# Diskimage-builder configuration.

# DIB base OS element.
kolla_bifrost_dib_os_element: "centos7"

# DIB image OS release.
kolla_bifrost_dib_os_release: "GenericCloud"

# List of DIB elements.
kolla_bifrost_dib_elements:
  - "disable-selinux"
  - "enable-serial-console"
  - "vm"

# DIB init element.
kolla_bifrost_dib_init_element: "cloud-init-datasources"

# DIB environment variables.
kolla_bifrost_dib_env_vars:
  DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive"

# List of DIB packages to install.
kolla_bifrost_dib_packages: []

###############################################################################
# Ironic configuration.

# Whether to enable ipmitool-based drivers.
kolla_bifrost_enable_ipmitool_drivers: true

###############################################################################
# Ironic Inspector configuration.

# List of of inspector processing plugins.
kolla_bifrost_inspector_processing_hooks: "{{ inspector_processing_hooks }}"

# Which MAC addresses to add as ports during introspection. One of 'all',
# 'active' or 'pxe'.
kolla_bifrost_inspector_port_addition: "{{ inspector_add_ports }}"

# List of extra kernel parameters for the inspector default PXE configuration.
kolla_bifrost_inspector_extra_kernel_options: "{{ inspector_extra_kernel_options }}"

# List of introspection rules for Bifrost's Ironic Inspector service.
kolla_bifrost_inspector_rules: "{{ inspector_rules }}"

# Ironic inspector IPMI username to set.
kolla_bifrost_inspector_ipmi_username: "{{ ipmi_username }}"

# Ironic inspector IPMI password to set.
kolla_bifrost_inspector_ipmi_password: "{{ ipmi_password }}"

# Ironic inspector network interface name on which to check for an LLDP switch
# port description to use as the node's name.
kolla_bifrost_inspector_lldp_switch_port_interface: "{{ inspector_lldp_switch_port_interface_default }}"

# Ironic inspector deployment kernel location.
kolla_bifrost_inspector_deploy_kernel: "http://{{ provision_oc_net_name | net_ip }}:8080/ipa.vmlinuz"

# Ironic inspector deployment ramdisk location.
kolla_bifrost_inspector_deploy_ramdisk: "http://{{ provision_oc_net_name | net_ip }}:8080/ipa.initramfs"

###############################################################################
# Ironic Python Agent (IPA) configuration.

# URL of Ironic Python Agent (IPA) kernel image.
kolla_bifrost_ipa_kernel_upstream_url: "{{ inspector_ipa_kernel_upstream_url }}"

# URL of checksum of Ironic Python Agent (IPA) kernel image.
kolla_bifrost_ipa_kernel_checksum_url: "{{ inspector_ipa_kernel_checksum_url }}"

# Algorithm of checksum of Ironic Python Agent (IPA) kernel image.
kolla_bifrost_ipa_kernel_checksum_algorithm: "{{ inspector_ipa_kernel_checksum_algorithm }}"

# URL of Ironic Python Agent (IPA) ramdisk image.
kolla_bifrost_ipa_ramdisk_upstream_url: "{{ inspector_ipa_ramdisk_upstream_url }}"

# URL of checksum of Ironic Python Agent (IPA) ramdisk image.
kolla_bifrost_ipa_ramdisk_checksum_url: "{{ inspector_ipa_ramdisk_checksum_url }}"

# Algorithm of checksum of Ironic Python Agent (IPA) ramdisk image.
kolla_bifrost_ipa_ramdisk_checksum_algorithm: "{{ inspector_ipa_ramdisk_checksum_algorithm }}"

###############################################################################
# Inventory configuration.

# Server inventory for Bifrost.
kolla_bifrost_servers: {}
