Description
Currently, tests/common/helpers/platform_api/scripts/platform_api_server.py is only run in PMON docker to provide restful API to test sonic platform API. However, there is sonic platform API that is target to run only on host side. So need a way to run platform_api_server.py on host side.
Steps to reproduce the issue:
- Run test_compentent.py on Mellanox platform
- All test cases are skipped due to components are only initialized on host side.
Describe the results you received:
All cases in test_compentent.py are skipped
Describe the results you expected:
Should provide a way to run platform_api_server.py on host side.