Add configuration for ironic enable and default rescue interfaces
The rescue interface was added in the Queens release.
This commit is contained in:
parent
1993301e34
commit
b32d9e404f
@ -82,6 +82,15 @@ kolla_ironic_enabled_raid_interfaces:
|
||||
# raid_interface field set.
|
||||
kolla_ironic_default_raid_interface: no-raid
|
||||
|
||||
# Specify the list of rescue interfaces to load during service initialization.
|
||||
kolla_ironic_enabled_rescue_interfaces:
|
||||
- agent
|
||||
- no-rescue
|
||||
|
||||
# Default rescue interface to be used for nodes that do not have
|
||||
# rescue_interface field set.
|
||||
kolla_ironic_default_rescue_interface: no-rescue
|
||||
|
||||
# Specify the list of storage interfaces to load during
|
||||
# service initialization.
|
||||
#kolla_ironic_enabled_storage_interfaces:
|
||||
|
@ -124,6 +124,13 @@ kolla_ironic_enabled_raid_interfaces: []
|
||||
# raid_interface field set.
|
||||
kolla_ironic_default_raid_interface:
|
||||
|
||||
# Specify the list of rescue interfaces to load during service initialization.
|
||||
kolla_ironic_enabled_rescue_interfaces: []
|
||||
|
||||
# Default rescue interface to be used for nodes that do not have
|
||||
# rescue_interface field set.
|
||||
kolla_ironic_default_rescue_interface:
|
||||
|
||||
# Specify the list of storage interfaces to load during
|
||||
# service initialization.
|
||||
kolla_ironic_enabled_storage_interfaces: []
|
||||
|
@ -9,7 +9,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',
|
||||
'network', 'power', 'raid', 'storage', 'vendor'] %}
|
||||
'network', 'power', 'raid', 'rescue', 'storage', 'vendor'] %}
|
||||
{% for interface in interfaces %}
|
||||
{% if hostvars[inventory_hostname]['kolla_ironic_enabled_' ~ interface ~ '_interfaces'] | default %}
|
||||
{{ 'enabled_' ~ interface ~ '_interfaces' }} = {{ hostvars[inventory_hostname]['kolla_ironic_enabled_' ~ interface ~ '_interfaces'] | join(',') }}
|
||||
|
@ -65,6 +65,13 @@
|
||||
# raid_interface field set.
|
||||
#kolla_ironic_default_raid_interface:
|
||||
|
||||
# Specify the list of rescue interfaces to load during service initialization.
|
||||
#kolla_ironic_enabled_rescue_interfaces:
|
||||
|
||||
# Default rescue interface to be used for nodes that do not have
|
||||
# rescue_interface field set.
|
||||
#kolla_ironic_default_rescue_interface:
|
||||
|
||||
# Specify the list of storage interfaces to load during
|
||||
# service initialization.
|
||||
#kolla_ironic_enabled_storage_interfaces:
|
||||
|
Loading…
Reference in New Issue
Block a user