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(). |
||
---|---|---|
.. | ||
i2c | ||
platform-api-pddf-base | ||
platform-api-pddf-base.dep | ||
platform-api-pddf-base.mk | ||
platform-modules-pddf.dep | ||
platform-modules-pddf.mk | ||
README.md | ||
rules.dep | ||
rules.mk |
Platform Driver Development Framework (PDDF) is part of SONiC Platform Development Kit (PDK) which optimizes the platform developement.
SONiC PDDF (Platform driver development framework) supports the following HW devices on a given platform:
- Fan
- PSU
- System EEPROM
- CPLD
- CPLDMUX
- GPIO
- Optic Transceivers
- System LED control via CPLD
- System Status Registers in CPLD
- Temp Sensors
This folder for the PDDF consists of the following:
- PDDF python utility scripts
- Generic PDDF HW device drivers in kernel space