Support configuration of Bifrost's Ironic extra kernel parameters

Change-Id: I3f96c877b24d4a400578dc618a6dc488c0fdeeef
Story: 2001987
Task: 19607
This commit is contained in:
Pierre Riteau 2020-06-19 12:19:16 +02:00
parent da95fc897d
commit 5b44571248
6 changed files with 29 additions and 0 deletions

View File

@ -55,6 +55,10 @@ kolla_bifrost_dib_packages: []
kolla_bifrost_enabled_hardware_types:
- ipmi
# List of extra kernel parameters for Bifrost's Ironic PXE configuration.
# Default is empty.
kolla_bifrost_extra_kernel_options: []
###############################################################################
# Ironic Inspector configuration.

View File

@ -23,6 +23,10 @@ kolla_bifrost_dib_packages: []
# List of hardware types to enable for Bifrost's Ironic.
kolla_bifrost_enabled_hardware_types: []
# List of extra kernel parameters for Bifrost's Ironic PXE configuration.
# Default is empty.
kolla_bifrost_extra_kernel_options: []
# IP address range for DHCP.
kolla_bifrost_dhcp_pool_start:
kolla_bifrost_dhcp_pool_end:

View File

@ -2,6 +2,12 @@
# List of enabled Ironic hardware types.
enabled_hardware_types: "{{ kolla_bifrost_enabled_hardware_types | join(',') }}"
{% if kolla_bifrost_extra_kernel_options %}
# List of extra kernel parameters for Bifrost's Ironic PXE configuration.
# Default is empty.
extra_kernel_options: "{{ kolla_bifrost_extra_kernel_options }}"
{% endif %}
# IP address range for DHCP.
dhcp_pool_start: "{{ kolla_bifrost_dhcp_pool_start }}"
dhcp_pool_end: "{{ kolla_bifrost_dhcp_pool_end }}"

View File

@ -187,6 +187,10 @@ container.
``kolla_bifrost_enabled_hardware_types``
List of :ironic-doc:`hardware types <admin/drivers>` to enable for
Bifrost's Ironic. Default is ``["ipmi"]``.
``kolla_bifrost_extra_kernel_options``
List of :ironic-doc:`extra kernel parameters
<install/advanced.html#appending-kernel-parameters-to-boot-instances>` for
Bifrost's Ironic PXE configuration. Default is none.
Ironic Inspector configuration
==============================

View File

@ -54,6 +54,10 @@
# List of hardware types to enable for Bifrost's Ironic.
#kolla_bifrost_enabled_hardware_types:
# List of extra kernel parameters for Bifrost's Ironic PXE configuration.
# Default is empty.
#kolla_bifrost_extra_kernel_options:
###############################################################################
# Ironic Inspector configuration.

View File

@ -0,0 +1,7 @@
---
features:
- |
Adds a new configuration variable, ``kolla_bifrost_extra_kernel_options``,
which allows to provide a list of extra kernel parameters for Bifrost's
Ironic PXE configuration. It defaults to an empty list. See `story 2001987
<https://storyboard.openstack.org/#!/story/2001987>`__ for details.