sonic-buildimage/platform/mellanox/mlnx-platform-api
Stephen Sun 08c36d2a3f [mellanox ]improve the method the type of sfp module is detected (#3846)
Fix the issue when an SFP module is plugged into a QSFP port via an adapter.

- How I did it
Originally the type of an SFP module is determined according to the SKU dictionary. However, it's possible that as SFP module is plugged into a QSFP port via an adapter. In this case, the EEPROM content will be parsed in the wrong format.
To address that we fetch the identifier value of an xSFP module and then get the type by parsing it.
2020-01-02 14:50:26 -08:00
..
sonic_platform [mellanox ]improve the method the type of sfp module is detected (#3846) 2020-01-02 14:50:26 -08:00
setup.py [Mellanox] Implement new fan platform API (#2747) 2019-04-21 14:34:28 -07:00