metal/mtce-common/cgts-mtce-common-1.0/hwmon
Eric MacDonald cc53f1e689 Maintain sensor degrade over a process restart
When the Hardware Monitor starts up it reads existing alarms and sensor
state from the sysinv database. It then uses this pre-existing state to
align its internal structure accordingly moving forward.

The hardware monitor manage_startup_states utility is incorrectly 
requesting degrade clear rather than degrade set in response to finding 
a pre-existing critical sensor assertion on process startup.

This update fixes this issue by calling the set_degraded_state rather 
than clear_degraded_state against this sensor in this case.

Change-Id: Ic1ecc1f11d7a729c16da63c6d43b7d758bb9e467
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
Story: 2002882
Task: 22845
2018-08-16 20:14:24 +00:00
..
scripts StarlingX open source release updates 2018-05-31 07:36:43 -07:00
Makefile StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hp380.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmon.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonAlarm.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonAlarm.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonClass.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonClass.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonFsm.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonGroup.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonGroup.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonHdlr.cpp Maintain sensor degrade over a process restart 2018-08-16 20:14:24 +00:00
hwmonHttp.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonHttp.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonHttpClient.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonInit.cpp Mtce: Implement all token fetches as non-blocking operations. 2018-06-27 15:00:23 -04:00
hwmonIpmi.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonIpmi.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonJson.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonJson.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonModel.cpp Cleanup internal references 2018-07-31 10:09:27 -04:00
hwmonModel.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonMsg.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonParse.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonSensor.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonSensor.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonThreads.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonThreads.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hwmonUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00