sonic-buildimage/platform/pddf/platform-api-pddf-base
FuzailBrcm 8788f1cc0f
[pddf]: fix Observing the following error while running 'sfputil show lpmode' command. (#12636)
Why I did it
Fixes #12634

Observing the following error while running 'sfputil show lpmode' command.
AttributeError: 'Sfp' object has no attribute 'get_power_set'

Root Cause: get_power_set() is defined for QSFP28 and QSFP+ i.e. Sff8636 and Sff8634. However, the function is not defined in the optoe_base class.

How I did it
To use get_power_set(), we need to initialise the 'api' via get_xcvr_api() and then use it to run get_power_set().
2022-12-17 14:42:15 -08:00
..
sonic_platform_pddf_base [pddf]: fix Observing the following error while running 'sfputil show lpmode' command. (#12636) 2022-12-17 14:42:15 -08:00
sonic_platform_ref [sonic-utilities] Update submodule; Build and install as a Python 3 wheel (#5926) 2020-11-25 10:28:36 -08:00
setup.py [PDDF] Build and install Python 3 package (#6286) 2021-01-07 10:03:29 -08:00