sonic-buildimage/device/mellanox/x86_64-mlnx_msn2700-r0/plugins
Stephen bf2c9cd099 [Mellanox]Remove the dependency on sysfs for sfputil (#2967)
* [sfputil]Remove the dependency on sysfs for sfputil, mainly get_presence and port_to_eeprom_mapping
Remove the dependency on sysfs, including:
1. rewrite get_presence by using ethtool;
2. remove interface port_to_eeprom_mapping which is no longer referenced;
3. remove code that references port_to_eeprom_mapping and _port_to_eeprom_mapping;
4. remove private member qsfp_sysfs_path which is no longer referenced.

* [sfputil.py]
minor adjustment: move the presence=False to the beginning of get_presence.
2019-06-07 06:21:03 -07:00
..
eeprom.py [mellanox]: Upgraded hw-management V.2.0.0160. (#2643) 2019-03-06 18:51:46 -08:00
psuutil.py [mellanox]: Upgraded hw-management V.2.0.0160. (#2643) 2019-03-06 18:51:46 -08:00
sfplpmget.py [image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00
sfplpmset.py [Mellanox] fix sfp lpmode set failure caused by extra nv port (#2671) 2019-03-19 11:43:25 -07:00
sfpreset.py [image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00
sfputil.py [Mellanox]Remove the dependency on sysfs for sfputil (#2967) 2019-06-07 06:21:03 -07:00