iRMC Management Driver
Bases: IPMIManagement
Return the properties of the interface.
Dictionary of <property name>:<property description> entries.
Get the current secure boot state for the node.
may not implement that.
task – A task from TaskManager.
MissingParameterValue if a required parameter is missing
DriverOperationError or its derivative in case of driver runtime error.
UnsupportedDriverExtension if secure boot is not supported by the driver or the hardware
Boolean
Get sensors data method.
It gets sensor data from the task’s node via SCCI, and convert the data from XML to the dict format.
task – A TaskManager instance.
FailedToGetSensorData when getting the sensor data fails.
FailedToParseSensorData when parsing sensor data fails.
InvalidParameterValue if required parameters are invalid.
MissingParameterValue if a required parameter is missing.
Returns a consistent formatted dict of sensor data grouped by sensor type, which can be processed by Ceilometer. Example:
{
'Sensor Type 1': {
'Sensor ID 1': {
'Sensor Reading': 'Value1 Units1',
'Sensor ID': 'Sensor ID 1',
'Units': 'Units1'
},
'Sensor ID 2': {
'Sensor Reading': 'Value2 Units2',
'Sensor ID': 'Sensor ID 2',
'Units': 'Units2'
}
},
'Sensor Type 2': {
'Sensor ID 3': {
'Sensor Reading': 'Value3 Units3',
'Sensor ID': 'Sensor ID 3',
'Units': 'Units3'
},
'Sensor ID 4': {
'Sensor Reading': 'Value4 Units4',
'Sensor ID': 'Sensor ID 4',
'Units': 'Units4'
}
}
}
Inject NMI, Non Maskable Interrupt.
Inject NMI (Non Maskable Interrupt) for a node immediately.
task – A TaskManager instance containing the node to act on.
IRMCOperationError on an error from SCCI
None
Restore BIOS config for a node.
task – a task from TaskManager.
NodeCleaningFailure, on failure to execute step.
None.
Set the boot device for a node.
Set the boot device to use on next reboot of the node.
task – A task from TaskManager.
device – The boot device, one of the supported devices
listed in ironic.common.boot_devices
.
persistent – Boolean value. True if the boot device will persist to all future boots, False if not. Default: False.
InvalidParameterValue if an invalid boot device is specified.
MissingParameterValue if a required parameter is missing.
IPMIFailure on an error from ipmitool.
Set the current secure boot state for the node.
may not implement that.
task – A task from TaskManager.
state – A new state as a boolean.
MissingParameterValue if a required parameter is missing
DriverOperationError or its derivative in case of driver runtime error.
UnsupportedDriverExtension if secure boot is not supported by the driver or the hardware
Validate the driver-specific management information.
This method validates whether the ‘driver_info’ property of the supplied node contains the required information for this driver.
task – A TaskManager instance containing the node to act on.
InvalidParameterValue if required parameters are invalid.
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.