iLO Management Interface
NoneBases: ironic.drivers.base.ManagementInterface
IloManagement.activate_license(task, **kwargs)[source]¶Activates iLO Advanced license.
| Parameters: | task – a TaskManager object. |
|---|---|
| Raises: | InvalidParameterValue, if any of the arguments are invalid. |
| Raises: | NodeCleaningFailure, on failure to execute clean step. |
IloManagement.clear_iscsi_boot_target(task)[source]¶Unset iSCSI details of the system in UEFI boot mode.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Raises: | IloCommandNotSupportedInBiosError if system in BIOS boot mode. |
| Raises: | IloError on an error from iLO. |
IloManagement.clear_secure_boot_keys(task)[source]¶Clear all secure boot keys.
Clears all the secure boot keys. This operation is supported only on HP Proliant Gen9 and above servers.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Raises: | NodeCleaningFailure, on failure to execute step. |
IloManagement.get_boot_device(task)[source]¶Get the current boot device for a node.
Returns the current boot device of the node.
| Parameters: | task – a task from TaskManager. | ||||
|---|---|---|---|---|---|
| Raises: | MissingParameterValue if a required iLO parameter is missing. | ||||
| Raises: | IloOperationError on an error from IloClient library. | ||||
| Returns: | a dictionary containing:
|
IloManagement.get_properties()[source]¶Return the properties of the interface.
| Returns: | dictionary of <property name>:<property description> entries. |
|---|
IloManagement.get_sensors_data(task)[source]¶Get sensors data.
| Parameters: | task – a TaskManager instance. |
|---|---|
| Raises: | FailedToGetSensorData when getting the sensor data fails. |
| Raises: | FailedToParseSensorData when parsing sensor data fails. |
| Raises: | InvalidParameterValue if required ipmi parameters are missing. |
| Raises: | MissingParameterValue if a required parameter is missing. |
| Returns: | returns a dict of sensor data group by sensor type. |
IloManagement.get_supported_boot_devices(task)[source]¶Get a list of the supported boot devices.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Returns: | A list with the supported boot devices defined
in ironic.common.boot_devices. |
IloManagement.reset_bios_to_default(task)[source]¶Resets the BIOS settings to default values.
Resets BIOS to default settings. This operation is currently supported only on HP Proliant Gen9 and above servers.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Raises: | NodeCleaningFailure, on failure to execute step. |
IloManagement.reset_ilo(task)[source]¶Resets the iLO.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Raises: | NodeCleaningFailure, on failure to execute step. |
IloManagement.reset_ilo_credential(task)[source]¶Resets the iLO password.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Raises: | NodeCleaningFailure, on failure to execute step. |
IloManagement.reset_secure_boot_keys_to_default(task)[source]¶Reset secure boot keys to manufacturing defaults.
Resets the secure boot keys to manufacturing defaults. This operation is supported only on HP Proliant Gen9 and above servers.
| Parameters: | task – a task from TaskManager. |
|---|---|
| Raises: | NodeCleaningFailure, on failure to execute step. |
IloManagement.set_boot_device(task, device, persistent=False)[source]¶Set the boot device for a node.
Set the boot device to use on next reboot of the node.
| Parameters: |
|
|---|---|
| Raises: | InvalidParameterValue if an invalid boot device is specified. |
| Raises: | MissingParameterValue if a required parameter is missing. |
| Raises: | IloOperationError on an error from IloClient library. |
IloManagement.set_iscsi_boot_target(task)[source]¶Set iSCSI details of the system in UEFI boot mode.
The initiator is set with the target details like IQN, LUN, IP, Port etc. :param task: a task from TaskManager. :raises: MissingParameterValue if a required parameter is missing. :raises: IloCommandNotSupportedInBiosError if system in BIOS boot mode. :raises: IloError on an error from iLO.
IloManagement.update_firmware(task, **kwargs)[source]¶Updates the firmware.
| Parameters: | task – a TaskManager object. |
|---|---|
| Raises: | InvalidParameterValue if update firmware mode is not ‘ilo’. Even applicable for invalid input cases. |
| Raises: | NodeCleaningFailure, on failure to execute step. |
IloManagement.update_firmware_sum(task, **kwargs)[source]¶Updates the firmware using Smart Update Manager (SUM).
| Parameters: | task – a TaskManager object. |
|---|---|
| Raises: | NodeCleaningFailure, on failure to execute step. |
IloManagement.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. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.