Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[show][platform] Revise chassis info fallback to only fall back on pm…
…on crash (#1751) What I did Changed the behavior of the get_chassis_info() function which is used by show version and show platform summary to report the serial / model / revision of the switch to only attempt to call the platform API if pmon completely failed to provision STATE_DB with CHASSIS_INFO How I did it Altered get_chassis_info() according to the above behavior. See changelog for details. How to verify it Verify show platform summary and show version correctly report chassis info. Delete the CHASSIS_INFO table from STATE_DB Verify show platform summary and show version still correctly report the info.
- Loading branch information