mirror of
https://opendev.org/x/pyghmi
synced 2025-01-28 20:07:42 +00:00
Add version change sensor information
Add more information from table 42-3 to the codes understood by pyghmi. A sensor reporting status on version/revision changes now resolves to something meaningful. Change-Id: Ib60b08e2762ece194c0905e4bf840b9a23257360
This commit is contained in:
parent
4d0eb62c47
commit
34a3f0fbaa
@ -515,6 +515,40 @@ sensor_type_offsets = {
|
||||
'severity': const.Health.Ok,
|
||||
},
|
||||
},
|
||||
0x2b: { # Version Change
|
||||
0: {
|
||||
'desc': 'Hardware change detected',
|
||||
'severity': const.Health.Ok,
|
||||
},
|
||||
1: {
|
||||
'desc': 'Firmware or software change detected',
|
||||
'severity': const.Health.Ok,
|
||||
},
|
||||
2: {
|
||||
'desc': 'Hardware incompatibility detected',
|
||||
'severity': const.Health.Critical,
|
||||
},
|
||||
3: {
|
||||
'desc': 'Firmware/software incompatibility detected',
|
||||
'severity': const.Health.Critical,
|
||||
},
|
||||
4: {
|
||||
'desc': 'Invalid/Unsupported hardware revision',
|
||||
'severity': const.Health.Critical,
|
||||
},
|
||||
5: {
|
||||
'desc': 'Invalid/Unsupported firmware/software version',
|
||||
'severity': const.Health.Critical,
|
||||
},
|
||||
6: {
|
||||
'desc': 'Successful Hardware Change',
|
||||
'severity': const.Health.Ok,
|
||||
},
|
||||
7: {
|
||||
'desc': 'Successful Software/Firmware Change',
|
||||
'severity': const.Health.Ok,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user