sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
tomer-israel 13a62666d9 [WARM-REBOOT] fix issue of watchdog on simx when executing warm-reboot command (#8132)
- Why I did it
to prevent python exception error when executing warm-reboot command on mellanox simulator platform

- How I did it
return None on the watchdog python script on cases that watchdog file is not exist

- How to verify it
warm-reboot is running well without the python error. error message will appear on log on these cases.
in order to avoid this error message we can simulate the watchdog on mellanox simulator platform
2021-07-20 10:18:17 +00:00
..
__init__.py Add thermal control support for SONiC (#3949) 2020-03-09 10:41:10 -07:00
chassis.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
component.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
device_data.py [Mellanox] Adopt single way to get fan direction for all ASIC types (#7386) 2021-05-05 09:34:25 -07:00
eeprom.py [Mellanox] [202012] Backport 'Read EEPROM data from DB if possible'(7808) to 202012 (#7928) 2021-06-23 18:09:53 +03:00
fan_drawer.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
fan.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
led.py Fix issue: should not initialize led color in __init__ file as platform API will be called by multiple daemons (#7114) 2021-03-26 17:40:42 +00:00
platform.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
psu.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
sfp_event.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
sfp.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
thermal_actions.py [Mellanox] Never disable kernel thermal algorithm at real-time (#4638) 2020-05-26 10:46:29 -07:00
thermal_conditions.py Fix dynamic minimum fan table issue caused by python3 (#6690) 2021-02-16 15:28:43 -08:00
thermal_infos.py [Mellanox] clear fan from chassis._fan_list (#7682) 2021-05-31 04:32:40 +00:00
thermal_manager.py [mellaonox]: No need enable thermal zones in thermal_manager.deinitialize since they are enabled by default (#7556) 2021-05-24 22:07:14 +00:00
thermal.py [Mellanox] Enhance Python3 support for platform API (#7410) (#7910) 2021-06-18 09:46:41 -07:00
utils.py [Mellanox] [202012] Backport 'Read EEPROM data from DB if possible'(7808) to 202012 (#7928) 2021-06-23 18:09:53 +03:00
watchdog.py [WARM-REBOOT] fix issue of watchdog on simx when executing warm-reboot command (#8132) 2021-07-20 10:18:17 +00:00