bf2c9cd099
* [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. |
||
---|---|---|
.. | ||
eeprom.py | ||
psuutil.py | ||
sfplpmget.py | ||
sfplpmset.py | ||
sfpreset.py | ||
sfputil.py |