8788f1cc0f
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(). |
||
---|---|---|
.. | ||
sonic_platform_pddf_base | ||
sonic_platform_ref | ||
setup.py |