sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
Stephen Sun 0156a3311a [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-06 20:24:58 +00:00
..
__init__.py [Mellanox] optimize new platform api (#3289) 2019-08-28 11:59:37 -07:00
chassis.py [mellanox]: Add new Mellanox-SN3800-D112C8 sku. (#3854) 2019-12-07 11:29:55 -08:00
component.py [Mellanox]Resolve chassis broken due to inconsistent with latest sonic_platform_common (#3569) 2019-10-09 11:07:30 -07:00
eeprom.py [Mellanox]New platform api -- chassis part (#3082) 2019-07-04 14:29:58 +03:00
fan.py [Mellanox] Implement new fan platform API (#2747) 2019-04-21 14:34:28 -07:00
platform.py [Mellanox]Resolve chassis broken due to inconsistent with latest sonic_platform_common (#3569) 2019-10-09 11:07:30 -07:00
psu.py [mellanox]: Add new Mellanox-SN3800-D112C8 sku. (#3854) 2019-12-07 11:29:55 -08:00
sfp_event.py [sonic_platform] Correct the wrong log identifiers (#3596) 2019-10-15 11:29:45 -07:00
sfp.py [mellanox ]improve the method the type of sfp module is detected (#3846) 2020-01-06 20:24:58 +00:00
thermal.py [mellanox]: Add new Mellanox-SN3800-D112C8 sku. (#3854) 2019-12-07 11:29:55 -08:00
watchdog.py [Mellanox] Implement new fan platform API (#2747) 2019-04-21 14:34:28 -07:00