Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the logic that cable can be reset or not (sonic-net#6085)
For some plaform, the SFP cable can not reset, and for some platform the cable maybe RJ45 Add the option --unresettable_xcvr_types to let customer specify the type which type can not reset - What is the motivation for this PR? Modify the logic for check if the cable can be reset or not - How did you do it? Add option --unresettable_xcvr_types to let customer specify which types are not support to reset - How did you verify/test it? Run the test_sfp.py::test_reset on with the SFP port, the test can pass py.test platform_tests/api/test_sfp.py::TestSfpApi::test_reset --unresettable_xcvr_types "SFP" py.test platform_tests/api/test_sfp.py::TestSfpApi::test_reset --unresettable_xcvr_types "SFP" --unresettable_xcvr_types "RJ45" - Any platform specific information? No - Supported testbed topology if it's a new test case? No
- Loading branch information