sonic-buildimage/platform/pddf
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
..
i2c [pddf]: Adding PDDF common framework enhancements. (#12863) 2022-12-17 14:36:52 -08:00
platform-api-pddf-base [pddf]: fix Observing the following error while running 'sfputil show lpmode' command. (#12636) 2022-12-17 14:42:15 -08:00
platform-api-pddf-base.dep [pddf]: Update PDDF utils and common platform APIs for Debian Bullseye (#9585) 2022-01-02 22:27:01 -08:00
platform-api-pddf-base.mk Python 2 removal/cleanup 2021-11-10 15:27:22 -08:00
platform-modules-pddf.dep Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00
platform-modules-pddf.mk Fix for Accton platform build failure when doing incremental build (#10541) 2022-05-09 12:17:38 -07:00
README.md Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00
rules.dep Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00
rules.mk Platform Driver Developement Framework (PDDF) (#4756) 2020-11-12 10:22:38 -08:00

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