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(). |
||
---|---|---|
.. | ||
barefoot | ||
broadcom | ||
cavium | ||
centec | ||
centec-arm64 | ||
checkout | ||
components | ||
generic | ||
innovium | ||
marvell | ||
marvell-arm64 | ||
marvell-armhf | ||
mellanox | ||
nephos | ||
p4 | ||
pddf | ||
s3ip-sysfs | ||
template | ||
vs |