#### 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. |
||
---|---|---|
.. | ||
sonic_py_common | ||
tests | ||
.gitignore | ||
pytest.ini | ||
setup.cfg | ||
setup.py |