sonic-buildimage/platform/mellanox/mlnx-platform-api/sonic_platform
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
..
__init__.py [Mellanox] optimize new platform api (#3289) 2019-08-28 11:59:37 -07:00
chassis.py [Mellanox] Support SN3800 in platform api (#3593) 2019-10-16 18:31:27 +03: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 [sonic_platform] Correct the wrong log identifiers (#3596) 2019-10-15 11:29:45 -07: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-02 14:50:26 -08:00
thermal.py [sonic_platform] Correct the wrong log identifiers (#3596) 2019-10-15 11:29:45 -07:00
watchdog.py [Mellanox] Implement new fan platform API (#2747) 2019-04-21 14:34:28 -07:00