Automatically configure the idrac hardware type

Change-Id: If6ef0d2ab62f6b0046df7da33bfd964d9c679be7
This commit is contained in:
Dmitry Tantsur 2021-01-26 16:36:36 +01:00
parent c9c1762755
commit 50459e9cca
2 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,7 @@
set_fact:
enabled_bios_interfaces: >-
no-bios
{%- if "idrac" in enabled_hardware_types -%},idrac-redfish{%- endif -%}
{%- if "ilo" in enabled_hardware_types -%},ilo{%- endif -%}
{%- if "redfish" in enabled_hardware_types -%},redfish{%- endif -%}
when: not enabled_bios_interfaces
@ -30,6 +31,7 @@
set_fact:
enabled_boot_interfaces: >-
ipxe,pxe
{%- if "idrac" in enabled_hardware_types -%},idrac-redfish-virtual-media{%- endif -%}
{%- if "ilo" in enabled_hardware_types -%},ilo-virtual-media{%- endif -%}
{%- if "redfish" in enabled_hardware_types -%},redfish-virtual-media{%- endif -%}
{%- if "fake-hardware" in enabled_hardware_types -%},fake{%- endif -%}
@ -39,6 +41,7 @@
set_fact:
enabled_management_interfaces: >-
noop
{%- if "idrac" in enabled_hardware_types -%},idrac-redfish{%- endif -%}
{%- if "ilo" in enabled_hardware_types -%},ilo{%- endif -%}
{%- if "ipmi" in enabled_hardware_types -%},ipmitool{%- endif -%}
{%- if "redfish" in enabled_hardware_types -%},redfish{%- endif -%}
@ -49,6 +52,7 @@
set_fact:
enabled_power_interfaces: >-
fake
{%- if "idrac" in enabled_hardware_types -%},idrac-redfish{%- endif -%}
{%- if "ilo" in enabled_hardware_types -%},ilo{%- endif -%}
{%- if "ipmi" in enabled_hardware_types -%},ipmitool{%- endif -%}
{%- if "redfish" in enabled_hardware_types -%},redfish{%- endif -%}

View File

@ -0,0 +1,5 @@
---
features:
- |
Supports automatically configuring required hardware interfaces for the
``idrac`` hardware type. The Redfish implementations are used.