Skip to content

Need run platform_api_server.py on both PMON and host side #2523

@Junchao-Mellanox

Description

@Junchao-Mellanox

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:

  1. Run test_compentent.py on Mellanox platform
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions