iBMC Management Interface
ironic.drivers.modules.ibmc.management.
IBMCManagement
[source]¶Bases: ironic.drivers.base.ManagementInterface
get_boot_device
(**kw)[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: | IBMCConnectionError when it fails to connect to iBMC | ||||
Raises: | IBMCError when iBMC responses an error information | ||||
Returns: | a dictionary containing:
|
get_boot_mode
(**kw)[source]¶Get the current boot mode for a node.
Provides the current boot mode of the node.
Parameters: | task – A task from TaskManager. |
---|---|
Raises: | InvalidParameterValue on malformed parameter(s) |
Raises: | MissingParameterValue on missing parameter(s) |
Raises: | IBMCConnectionError when it fails to connect to iBMC |
Raises: | IBMCError when iBMC responses an error information |
Returns: | The boot mode, one of ironic.common.boot_mode or
None if it is unknown. |
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
(**kw)[source]¶Get a list of the supported boot devices.
Parameters: | task – a task from TaskManager. |
---|---|
Raises: | InvalidParameterValue on malformed parameter(s) |
Raises: | MissingParameterValue on missing parameter(s) |
Raises: | IBMCConnectionError when it fails to connect to iBMC |
Raises: | IBMCError when iBMC responses an error information |
Returns: | A list with the supported boot devices defined
in ironic.common.boot_devices . |
get_supported_boot_modes
(task)[source]¶Get a list of the supported boot modes.
Parameters: | task – A task from TaskManager. |
---|---|
Returns: | A list with the supported boot modes defined
in ironic.common.boot_modes . If boot
mode support can’t be determined, empty list
is returned. |
inject_nmi
(**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: | IBMCConnectionError when it fails to connect to iBMC |
Raises: | IBMCError when iBMC responses an error information |
set_boot_device
(**kwargs)[source]¶Set the boot device for a node.
Parameters: |
|
---|---|
Raises: | InvalidParameterValue on malformed parameter(s) |
Raises: | MissingParameterValue on missing parameter(s) |
Raises: | IBMCConnectionError when it fails to connect to iBMC |
Raises: | IBMCError when iBMC responses an error information |
set_boot_mode
(**kwargs)[source]¶Set the boot mode for a node.
Set the boot mode to use on next reboot of the node.
Parameters: |
|
---|---|
Raises: | InvalidParameterValue on malformed parameter(s) |
Raises: | MissingParameterValue on missing parameter(s) |
Raises: | IBMCConnectionError when it fails to connect to iBMC |
Raises: | IBMCError when iBMC responses an error information |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.