#### Why I did it These methods were added to make some convenient platform and chassis information methods accessible through sonic-py-common. These methods were refactored from sonic-utilities and are used in the `show platform summary` and `show version` commands. #### How I did it There are two methods, one is `get_platform_info()` which simply calls local methods to collect useful platform information into a dictionary format, this came directly from sonic-utilities. |
||
---|---|---|
.. | ||
__init__.py | ||
device_info_test.py | ||
interface_test.py | ||
mock_swsssdk.py |