From ea2f981e252dd5866636223a48f6e032842c61b5 Mon Sep 17 00:00:00 2001 From: Yuanzhe Liu Date: Thu, 11 Dec 2025 11:03:32 +0800 Subject: [PATCH] [Mellanox] new reboot causes Signed-off-by: Yuanzhe Liu --- .../mellanox/mlnx-platform-api/sonic_platform/chassis.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/mellanox/mlnx-platform-api/sonic_platform/chassis.py b/platform/mellanox/mlnx-platform-api/sonic_platform/chassis.py index 6734b4291c0..7a8a5837cee 100644 --- a/platform/mellanox/mlnx-platform-api/sonic_platform/chassis.py +++ b/platform/mellanox/mlnx-platform-api/sonic_platform/chassis.py @@ -1013,9 +1013,13 @@ def initialize_reboot_cause(self): self.reboot_major_cause_dict = { 'reset_main_pwr_fail' : self.REBOOT_CAUSE_POWER_LOSS, 'reset_aux_pwr_or_ref' : self.REBOOT_CAUSE_POWER_LOSS, + 'reset_aux_pwr_or_reload' : self.REBOOT_CAUSE_POWER_LOSS, 'reset_aux_pwr_or_fu' : self.REBOOT_CAUSE_POWER_LOSS, 'reset_comex_pwr_fail' : self.REBOOT_CAUSE_POWER_LOSS, + 'reset_main_51v' : self.REBOOT_CAUSE_POWER_LOSS, + 'reset_mgmt_pwr_fail' : self.REBOOT_CAUSE_POWER_LOSS, 'reset_asic_thermal' : self.REBOOT_CAUSE_THERMAL_OVERLOAD_ASIC, + 'reset_cpu_thermal' : self.REBOOT_CAUSE_THERMAL_OVERLOAD_CPU, 'reset_comex_thermal' : self.REBOOT_CAUSE_THERMAL_OVERLOAD_CPU, 'reset_hotswap_or_wd' : self.REBOOT_CAUSE_WATCHDOG, 'reset_comex_wd' : self.REBOOT_CAUSE_WATCHDOG, @@ -1023,6 +1027,8 @@ def initialize_reboot_cause(self): 'reset_sff_wd' : self.REBOOT_CAUSE_WATCHDOG, 'reset_hotswap_or_halt' : self.REBOOT_CAUSE_HARDWARE_OTHER, 'reset_voltmon_upgrade_fail': self.REBOOT_CAUSE_HARDWARE_OTHER, + 'reset_pwr_converter_fail' : self.REBOOT_CAUSE_HARDWARE_OTHER, + 'reset_swb_dc_dc_pwr_fail' : self.REBOOT_CAUSE_HARDWARE_OTHER, 'reset_reload_bios' : self.REBOOT_CAUSE_HARDWARE_BIOS, 'reset_fw_reset' : self.REBOOT_CAUSE_HARDWARE_RESET_FROM_ASIC, 'reset_from_asic' : self.REBOOT_CAUSE_HARDWARE_RESET_FROM_ASIC,