Skip to content
Snippets Groups Projects
Commit 485fe811 authored by Bartosz Bezak's avatar Bartosz Bezak
Browse files

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
parent f09070a4
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,14 @@
kolla_ironic_enabled_hardware_types:
- 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.
kolla_ironic_enabled_boot_interfaces:
- pxe
......
......@@ -163,6 +163,13 @@ kolla_ironic_drivers:
# Specify the list of hardware types to load during service initialization.
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.
kolla_ironic_enabled_boot_interfaces: []
......
......@@ -4,7 +4,7 @@
enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
{# 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'] %}
{% for interface in interfaces %}
{% 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.
#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.
#kolla_ironic_enabled_boot_interfaces:
......
---
features:
- |
Allow users to modify Ironic `kolla_ironic_enabled_bios_interfaces` and
`kolla_ironic_default_bios_interface` in ironic.yml.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment