ironic.drivers.modules.redfish.management Module¶ironic.drivers.modules.redfish.management.RedfishManagement[source]¶Bases: ironic.drivers.base.ManagementInterface
get_boot_device(task)[source]¶Get the current boot device for a node.
| Parameters: | task – a task from TaskManager. | ||||
|---|---|---|---|---|---|
| Raises: | InvalidParameterValue on malformed parameter(s) | ||||
| Raises: | MissingParameterValue on missing parameter(s) | ||||
| Raises: | RedfishConnectionError when it fails to connect to Redfish | ||||
| Raises: | RedfishError on an error from the Sushy library | ||||
| Returns: | a dictionary containing:
|
get_properties()[source]¶Return the properties of the interface.
| Returns: | dictionary of <property name>:<property description> entries. |
|---|
get_sensors_data(task)[source]¶Get sensors data.
Not implemented for this driver.
| Raises: | NotImplementedError |
|---|
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. |
inject_nmi(*args, **kwargs)[source]¶Inject NMI, Non Maskable Interrupt.
Inject NMI (Non Maskable Interrupt) for a node immediately.
| Parameters: | task – A TaskManager instance containing the node to act on. |
|---|---|
| Raises: | InvalidParameterValue on malformed parameter(s) |
| Raises: | MissingParameterValue on missing parameter(s) |
| Raises: | RedfishConnectionError when it fails to connect to Redfish |
| Raises: | RedfishError on an error from the Sushy library |
set_boot_device(*args, **kwargs)[source]¶Set the boot device for a node.
Set the boot device to use on next reboot of the node.
| Parameters: |
|
|---|---|
| Raises: | InvalidParameterValue on malformed parameter(s) |
| Raises: | MissingParameterValue on missing parameter(s) |
| Raises: | RedfishConnectionError when it fails to connect to Redfish |
| Raises: | RedfishError on an error from the Sushy library |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.