kayobe/etc/kayobe/bifrost.yml
Mark Goddard ef84890798 Fix IPA image download
The IPA ramdisk and kernel images may be built or downloaded via a URL.
If the latter option is used, any images previously downloaded to
$KOLLA_CONFIG_PATH/config/ironic/ironic-agent.* would previously not be
updated if the image contents change.

This change introduces variables for setting a URL to a file containing
checksums for the images. The algorithm used to compute the checksum is
also configurable (default sha256). This allows us to ensure we are
using the correct version of the image, while avoiding an expensive few
hundred megabyte image download just to check.

If a checksum is not specified, the image will be downloaded every time
to ensure that it is up to date.

Change-Id: I8120518ed98d61f3652f5205ce7ec9f798ab2aa1
Story: 2001660
Task: 6693
2018-10-02 13:30:11 +01:00

102 lines
3.1 KiB
YAML

---
# Kayobe configuration for Bifrost.
###############################################################################
# Bifrost installation.
# URL of Bifrost source code repository.
#kolla_bifrost_source_url:
# Version (branch, tag, etc.) of Bifrost source code repository.
#kolla_bifrost_source_version:
###############################################################################
# Diskimage-builder configuration.
# DIB base OS element.
#kolla_bifrost_dib_os_element:
# DIB image OS release.
#kolla_bifrost_dib_os_release:
# List of DIB elements.
#kolla_bifrost_dib_elements:
# DIB init element.
#kolla_bifrost_dib_init_element:
# DIB environment variables.
#kolla_bifrost_dib_env_vars:
# List of DIB packages to install.
#kolla_bifrost_dib_packages:
###############################################################################
# Ironic configuration.
# Whether to enable ipmitool-based drivers.
#kolla_bifrost_enable_ipmitool_drivers:
###############################################################################
# Ironic Inspector configuration.
# List of of inspector processing plugins.
#kolla_bifrost_inspector_processing_hooks:
# Which MAC addresses to add as ports during introspection. One of 'all',
# 'active' or 'pxe'.
#kolla_bifrost_inspector_port_addition:
# List of extra kernel parameters for the inspector default PXE configuration.
#kolla_bifrost_inspector_extra_kernel_options:
# List of introspection rules for Bifrost's Ironic Inspector service.
#kolla_bifrost_inspector_rules:
# Ironic inspector IPMI username to set.
#kolla_bifrost_inspector_ipmi_username:
# Ironic inspector IPMI password to set.
#kolla_bifrost_inspector_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:
# Ironic inspector deployment kernel location.
#kolla_bifrost_inspector_deploy_kernel:
# Ironic inspector deployment ramdisk location.
#kolla_bifrost_inspector_deploy_ramdisk:
###############################################################################
# Ironic Python Agent (IPA) configuration.
# URL of Ironic Python Agent (IPA) kernel image.
#kolla_bifrost_ipa_kernel_upstream_url:
# URL of checksum of Ironic Python Agent (IPA) kernel image.
#kolla_bifrost_ipa_kernel_checksum_url:
# Algorithm of checksum of Ironic Python Agent (IPA) kernel image.
#kolla_bifrost_ipa_kernel_checksum_algorithm:
# URL of Ironic Python Agent (IPA) ramdisk image.
#kolla_bifrost_ipa_ramdisk_upstream_url:
# URL of checksum of Ironic Python Agent (IPA) ramdisk image.
#kolla_bifrost_ipa_ramdisk_checksum_url:
# Algorithm of checksum of Ironic Python Agent (IPA) ramdisk image.
#kolla_bifrost_ipa_ramdisk_checksum_algorithm:
###############################################################################
# Inventory configuration.
# Server inventory for Bifrost.
#kolla_bifrost_servers:
###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes