sonic-buildimage/device/arista/x86_64-arista_7050_qx32/plugins/eeprom.py
Samuel Angebault cb969fc843 [platform] Add Arista DCS-7050QX-32S and missing plugins (#597)
* 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
2017-05-16 08:07:47 -07:00

14 lines
311 B
Python

#!/usr/bin/env python
"""
Arista 7050QX-32 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()