sonic-buildimage/device/arista/x86_64-arista_7050_qx32/plugins/eeprom.py

14 lines
311 B
Python
Raw Normal View History

#!/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()