You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update LPMODE_SKIP_LIST to use Vendor PN instead (#20826)
Description of PR
Summary:
Fixes # #20597
Change introduced here: sonic-net/sonic-platform-common#590
This pull request updates the logic for skipping certain transceivers in the LPMODE test due to known issues. The main change is to use the transceiver model instead of the host_electrical_interface for more accurate identification of devices to skip.
Improvements to transceiver skipping logic:
Updated the LPMODE_SKIP_LIST in test_sfp.py to specify transceivers by model instead of host_electrical_interface, listing specific Cloud Light models to skip.
Modified the is_xcvr_support_lpmode method to check the model field when determining whether to skip a transceiver, and improved the log message to include both manufacturer and model.
Type of change
Bug fix
Testbed and Framework(new/improvement)
New Test case
Skipped for non-supported platforms
Test case improvement
Approach
What is the motivation for this PR?
How did you do it?
Collect Vendor PN instead of host_electrical_interface
How did you verify/test it?
Tested on Cisco 8800 devices, where we saw the issue originally
=========================== short test summary info ============================
SKIPPED [1] platform_tests/api/test_sfp.py:825: skipping for supervisor node
============= 2 passed, 1 skipped, 4 warnings in 994.55s (0:16:34) =============
signed-off-by: [email protected]
0 commit comments