-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox]New platform api -- chassis part (#3082)
* new platform api, chassis part * Inject mlnx mlx libs to platform monitor * address the review comments * remove some confusing naming. * Adjust the minor cause to a more human-readable way when rebooted by firmware * address review comments * expose host dir /host/reboot-cause to pmon docker so that the reboot causing by user command can be identified * 1. Revert "expose host dir /host/reboot-cause to pmon docker so that the reboot causing by user command can be identified" Since the only hardware-causing reboot should be handled by get_reboot_cause and the logic of handling reboot cause is about to move to the host side, no need to mount this dir to pmon docker. This reverts commit 3feb968. 2. adjust log output by using sonic_daemon_base.daemon_base.Logger. 3. remove the logic of verifying /host/reboot-cause/ files. 4. fix typo. * implement get_firmware_version and adjust the interfaces regarding components' version retrieving according to the sonic-net/sonic-platform-common#34
- Loading branch information
1 parent
9a8202a
commit 82fb3a0
Showing
3 changed files
with
378 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.