iRMC Management Driver
Bases: ironic.drivers.modules.ipmitool.IPMIManagement
Return the properties of the interface.
Returns: | Dictionary of <property name>:<property description> entries. |
---|
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.
Parameters: | task – A TaskManager instance. |
---|---|
Raises: | FailedToGetSensorData when getting the sensor data fails. |
Raises: | FailedToParseSensorData when parsing sensor data fails. |
Raises: | InvalidParameterValue if required parameters are invalid. |
Raises: | MissingParameterValue if a required parameter is missing. |
Returns: | 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'
}
}
}
|
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: | IPMIFailure on an error from ipmitool. |
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.
Parameters: | task – A TaskManager instance containing the node to act on. |
---|---|
Raises: | InvalidParameterValue if required parameters are invalid. |
Raises: | MissingParameterValue if a required parameter is missing. |