2
0
mirror of https://opendev.org/x/pyghmi synced 2025-02-20 12:30:48 +00:00

Add sensor information from IPMI 2.0 rev 1.1

IPMI 2.0 rev 1.1 adds support for modeling standby power supplies
and OS installation.  Add the appropriate constants.

Change-Id: I60ff394dad5209cedc6030afd740348db79c7f17
This commit is contained in:
Jarrod Johnson 2014-04-18 07:52:10 -04:00
parent 7228cd832d
commit 26f4ad8ec7

View File

@ -342,6 +342,10 @@ sensor_type_offsets = {
'desc': 'power supply configuration error',
'severity': const.Health.Warning,
},
7: {
'desc': 'Standby',
'severity': const.Health.Ok,
},
},
9: { # power unit
0: {
@ -708,6 +712,22 @@ sensor_type_offsets = {
'desc': 'Boot completed',
'severity': const.Health.Ok,
},
7: {
'desc': 'OS deployment started',
'severity': const.Health.Ok,
},
8: {
'desc': 'OS deployment completed',
'severity': const.Health.Ok,
},
9: {
'desc': 'OS deployment aborted',
'severity': const.Health.Ok,
},
0xa: {
'desc': 'OS deployment failed',
'severity': const.Health.Failed,
},
},
0x20: { # OS Stop
0: {