ironic.drivers.modules.ilo.bios module

iLO BIOS Interface

class ironic.drivers.modules.ilo.bios.IloBIOS(*args, **kwargs)[source]

Bases: BIOSInterface

apply_configuration(task, settings)[source]

Applies the provided configuration on the node.

Parameters:
  • task – a TaskManager instance.

  • settings – Settings intended to be applied on the node.

Raises:

NodeCleaningFailure, on failure to execute of clean step.

Raises:

InstanceDeployFailure, on failure to execute of deploy step.

cache_bios_settings(task)[source]

Store the BIOS settings in the database.

Parameters:

task – a TaskManager instance.

Raises:

NodeCleaningFailure, on failure to execute of clean step.

Raises:

InstanceDeployFailure, on failure to execute of deploy step.

factory_reset(task)[source]

Reset the BIOS settings to factory configuration.

Parameters:

task – a TaskManager instance.

Raises:

NodeCleaningFailure, on failure to execute of clean step.

Raises:

InstanceDeployFailure, on failure to execute of deploy step.

get_properties()[source]

Return the properties of the interface.

Returns:

dictionary of <property name>:<property description> entries.

validate(task)[source]

Check that ‘driver_info’ contains required ILO credentials.

Validates whether the ‘driver_info’ property of the supplied task’s node contains the required credentials information.

Parameters:

task – a task from TaskManager.

Raises:

InvalidParameterValue if required iLO parameters are not valid.

Raises:

MissingParameterValue if a required parameter is missing.