Add Ironic enabled_bios_interfaces and default_bios_interface settings
Allow users to modify kolla_ironic_enabled_bios_interfaces and kolla_ironic_default_bios_interface in ironic.yml. Change-Id: I41d587ffdde77960bdce0c71d496820a33f71d74
This commit is contained in:
parent
f09070a416
commit
485fe811e6
@ -6,6 +6,14 @@
|
|||||||
kolla_ironic_enabled_hardware_types:
|
kolla_ironic_enabled_hardware_types:
|
||||||
- ipmi
|
- ipmi
|
||||||
|
|
||||||
|
# Specify the list of bios interfaces to load during service initialization.
|
||||||
|
kolla_ironic_enabled_bios_interfaces:
|
||||||
|
- no-bios
|
||||||
|
|
||||||
|
# Default bios interface to be used for nodes that do not have bios_interface
|
||||||
|
# field set.
|
||||||
|
kolla_ironic_default_bios_interface: no-bios
|
||||||
|
|
||||||
# Specify the list of boot interfaces to load during service initialization.
|
# Specify the list of boot interfaces to load during service initialization.
|
||||||
kolla_ironic_enabled_boot_interfaces:
|
kolla_ironic_enabled_boot_interfaces:
|
||||||
- pxe
|
- pxe
|
||||||
|
@ -163,6 +163,13 @@ kolla_ironic_drivers:
|
|||||||
# Specify the list of hardware types to load during service initialization.
|
# Specify the list of hardware types to load during service initialization.
|
||||||
kolla_ironic_enabled_hardware_types: []
|
kolla_ironic_enabled_hardware_types: []
|
||||||
|
|
||||||
|
# Specify the list of bios interfaces to load during service initialization.
|
||||||
|
kolla_ironic_enabled_bios_interfaces: []
|
||||||
|
|
||||||
|
# Default bios interface to be used for nodes that do not have bios_interface
|
||||||
|
# field set.
|
||||||
|
kolla_ironic_default_bios_interface:
|
||||||
|
|
||||||
# Specify the list of boot interfaces to load during service initialization.
|
# Specify the list of boot interfaces to load during service initialization.
|
||||||
kolla_ironic_enabled_boot_interfaces: []
|
kolla_ironic_enabled_boot_interfaces: []
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
|
enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
|
||||||
|
|
||||||
{# Add configuration of enabled and default dynamic driver interfaces. #}
|
{# Add configuration of enabled and default dynamic driver interfaces. #}
|
||||||
{% set interfaces=['boot', 'console', 'deploy', 'inspect', 'management',
|
{% set interfaces=['boot', 'bios', 'console', 'deploy', 'inspect', 'management',
|
||||||
'network', 'power', 'raid', 'rescue', 'storage', 'vendor'] %}
|
'network', 'power', 'raid', 'rescue', 'storage', 'vendor'] %}
|
||||||
{% for interface in interfaces %}
|
{% for interface in interfaces %}
|
||||||
{% if hostvars[inventory_hostname]['kolla_ironic_enabled_' ~ interface ~ '_interfaces'] | default %}
|
{% if hostvars[inventory_hostname]['kolla_ironic_enabled_' ~ interface ~ '_interfaces'] | default %}
|
||||||
|
@ -5,6 +5,13 @@
|
|||||||
# Specify the list of hardware types to load during service initialization.
|
# Specify the list of hardware types to load during service initialization.
|
||||||
#kolla_ironic_enabled_hardware_types:
|
#kolla_ironic_enabled_hardware_types:
|
||||||
|
|
||||||
|
# Specify the list of bios interfaces to load during service initialization.
|
||||||
|
#kolla_ironic_enabled_bios_interfaces:
|
||||||
|
|
||||||
|
# Default bios interface to be used for nodes that do not have bios_interface
|
||||||
|
# field set.
|
||||||
|
#kolla_ironic_default_bios_interface:
|
||||||
|
|
||||||
# Specify the list of boot interfaces to load during service initialization.
|
# Specify the list of boot interfaces to load during service initialization.
|
||||||
#kolla_ironic_enabled_boot_interfaces:
|
#kolla_ironic_enabled_boot_interfaces:
|
||||||
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Allow users to modify Ironic `kolla_ironic_enabled_bios_interfaces` and
|
||||||
|
`kolla_ironic_default_bios_interface` in ironic.yml.
|
Loading…
Reference in New Issue
Block a user