Skip to content

It should be possible to use SAI-Challenger as a 3rd party lib #20

Description

@anton7811

It should be possible to easily build a custom SAI-Challenger docker with additional software inside and custom test cases.

Currently, there are 2 main issues with this:

  1. tests folder and working directory MUST be directly in /sai-challenger folder and only on the first level otherwise sai_npu load fails
  2. SAI-Challenger packages are installed directly to the search path and make some mess there. I would expect to have them in the same location as it is done for PTF. When all modules are installed into ptf (specifically /usr/local/lib/python3.7/dist-packages/ptf) folder and any import can be done like from ptf import something.

Possible use case:
a. Custom SAI-Challenger client container for testing HW using customized tests and test tools
b. Using SAI-Challenger as a 3rd party module in other projects where folder structure may be different.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions