cb969fc843
* Update sonic-platform-modules-arista submodule * Add sensors.conf for Arista DCS-7050QX-32S * Add plugin/eeprom.py for Arista DCS-7050QX-32S * Add plugin/sfputil.py for Arista DCS-7050QX-32S * Add port_config.ini for Arista DCS-7050QX-32S * Add plugin/sfputil.py for Arista DCS-7060CX-32S * Add plugin/eeprom.py for Arista DCS-7060CX-32S * Update plugin/eeprom.py for Arista DCS-7050QX-32
14 lines
312 B
Python
14 lines
312 B
Python
#!/usr/bin/env python
|
|
|
|
"""
|
|
Arista 7050QX-32S eeprom plugin
|
|
Uses the arista driver library to obtain the TlvInfoDecoder
|
|
"""
|
|
|
|
try:
|
|
import arista.utils.sonic_eeprom as arista_eeprom
|
|
except ImportError, e:
|
|
raise ImportError (str(e) + "- required module not found")
|
|
|
|
board = arista_eeprom.getTlvInfoDecoder()
|