fc61ec9dbf
- Why I did it The methods get_model, get_serial, and get_revision have been implemented by reading relevant information from VPD and then recording the information into relevant fields. However, there is no VPD data on platforms with fixed PSUs and relevant fields haven't been initialized, which causes the methods to throw exceptions. which in turn prevents psud from inserting fields into PSU table. Eventually, this causes show platform psustatus doesn't output correct info. - How I did it Initialize those fields as N/A on systems with fixed PSUs. - How to verify it Manually test. Signed-off-by: Stephen Sun <stephens@nvidia.com> |
||
---|---|---|
.. | ||
sonic_platform | ||
tests | ||
.gitignore | ||
pytest.ini | ||
setup.cfg | ||
setup.py |