This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform
Junchao-Mellanox d13341fd9b [Mellanox] Fix issue: watchdogutil command does not work ()
- Why I did it
watchdogutil uses platform API watchdog instance to control/query watchdog status. In Nvidia watchdog status, it caches "armed" status in a object member "WatchdogImplBase.armed". This is not working for CLI infrastructure because each CLI will create a new watchdog instance, the status cached in previous instance will totally lose. Consider following commands:

admin@sonic:~$ sudo watchdogutil arm -s 100      =====> watchdog instance1, armed=True
Watchdog armed for 100 seconds
admin@sonic:~$ sudo watchdogutil status             ======> watchdog instance2, armed=False
Status: Unarmed
admin@sonic:~$ sudo watchdogutil disarm            =======> watchdog instance3, armed=False
Failed to disarm Watchdog

- How I did it
Use sysfs to query watchdog status

- How to verify it
Manual test
Unit test
2023-09-03 20:44:36 +08:00
..
barefoot [202305][Arista] Update platform submodules () 2023-08-06 21:31:17 +08:00
broadcom Update the iSMART_64 tool () () 2023-08-14 22:42:30 +08:00
cavium [infra] Support syslog rate limit configuration () 2022-12-20 10:53:58 +02:00
centec [Centec] Upgrade Centec platform containers(syncd/saiserver/syncd-rpc) to bullseye () 2023-02-06 09:26:35 -08:00
centec-arm64 [Centec] Upgrade Centec platform containers(syncd/saiserver/syncd-rpc) to bullseye () 2023-02-06 09:26:35 -08:00
checkout Platform/cisco-8000 module for sonic-buildimage () 2021-08-06 09:11:54 +08:00
components Revert "[gearbox] use credo sai v0.9.0 ()" () () 2023-07-19 20:25:29 +08:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' () 2020-06-11 16:04:23 -07:00
innovium Add debug shell packages for Marvell Innovium platforms () 2023-04-13 22:04:36 +03:00
marvell [infra] Support syslog rate limit configuration () 2022-12-20 10:53:58 +02:00
marvell-arm64 [marvell-arm64] Update platform.conf () 2023-06-01 08:49:01 -07:00
marvell-armhf Move /var/log to RAM for Mellanox SN2700, Nokia 7215 and Dell S6100 () () 2023-07-19 16:09:37 +08:00
mellanox [Mellanox] Fix issue: watchdogutil command does not work () 2023-09-03 20:44:36 +08:00
nephos [infra] Support syslog rate limit configuration () 2022-12-20 10:53:58 +02:00
p4 [infra] Support syslog rate limit configuration () 2022-12-20 10:53:58 +02:00
pddf [pddf]: Adding S3IP supported attribute for FAN in PDDF () 2023-05-18 14:06:46 -07:00
s3ip-sysfs The CPLD and FPGA driver framework module complies with s3ip sysfs specification () 2022-12-16 22:05:53 +08:00
template Mount directory warmboot in docker gbsyncd () 2022-08-26 22:00:45 +08:00
vs [BGP] support BGP pending FIB suppression () 2023-04-20 19:56:13 +08:00