@@ -657,24 +657,23 @@ def initialize_reboot_cause(self):
657
657
self .reboot_major_cause_dict = {
658
658
'reset_main_pwr_fail' : self .REBOOT_CAUSE_POWER_LOSS ,
659
659
'reset_aux_pwr_or_ref' : self .REBOOT_CAUSE_POWER_LOSS ,
660
+ 'reset_comex_pwr_fail' : self .REBOOT_CAUSE_POWER_LOSS ,
660
661
'reset_asic_thermal' : self .REBOOT_CAUSE_THERMAL_OVERLOAD_ASIC ,
662
+ 'reset_comex_thermal' : self .REBOOT_CAUSE_THERMAL_OVERLOAD_CPU ,
661
663
'reset_hotswap_or_wd' : self .REBOOT_CAUSE_WATCHDOG ,
664
+ 'reset_comex_wd' : self .REBOOT_CAUSE_WATCHDOG ,
662
665
'reset_swb_wd' : self .REBOOT_CAUSE_WATCHDOG ,
663
- 'reset_sff_wd' : self .REBOOT_CAUSE_WATCHDOG
664
- }
665
- self .reboot_minor_cause_dict = {
666
- 'reset_fw_reset' : "Reset by ASIC firmware" ,
667
- 'reset_long_pb' : "Reset by long press on power button" ,
668
- 'reset_short_pb' : "Reset by short press on power button" ,
669
- 'reset_comex_thermal' : "ComEx thermal shutdown" ,
670
- 'reset_comex_pwr_fail' : "ComEx power fail" ,
671
- 'reset_comex_wd' : "Reset requested from ComEx" ,
672
- 'reset_from_asic' : "Reset requested from ASIC" ,
673
- 'reset_reload_bios' : "Reset caused by BIOS reload" ,
674
- 'reset_hotswap_or_halt' : "Reset caused by hotswap or halt" ,
675
- 'reset_from_comex' : "Reset from ComEx" ,
676
- 'reset_voltmon_upgrade_fail' : "Reset due to voltage monitor devices upgrade failure"
666
+ 'reset_sff_wd' : self .REBOOT_CAUSE_WATCHDOG ,
667
+ 'reset_hotswap_or_halt' : self .REBOOT_CAUSE_HARDWARE_OTHER ,
668
+ 'reset_voltmon_upgrade_fail' : self .REBOOT_CAUSE_HARDWARE_OTHER ,
669
+ 'reset_reload_bios' : self .REBOOT_CAUSE_HARDWARE_BIOS ,
670
+ 'reset_from_comex' : self .REBOOT_CAUSE_HARDWARE_CPU ,
671
+ 'reset_fw_reset' : self .REBOOT_CAUSE_HARDWARE_RESET_FROM_ASIC ,
672
+ 'reset_from_asic' : self .REBOOT_CAUSE_HARDWARE_RESET_FROM_ASIC ,
673
+ 'reset_long_pb' : self .REBOOT_CAUSE_HARDWARE_BUTTON ,
674
+ 'reset_short_pb' : self .REBOOT_CAUSE_HARDWARE_BUTTON
677
675
}
676
+ self .reboot_minor_cause_dict = {}
678
677
self .reboot_by_software = 'reset_sw_reset'
679
678
self .reboot_cause_initialized = True
680
679
0 commit comments