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

14 lines
314 B
Python
Raw Normal View History

#!/usr/bin/env python
#
# Arista eeprom processing for SONiC
# Uses the arista driver library to obtain the TlvInfoDecoder
#
try:
import arista.utils.sonic_eeprom as arista_eeprom
except ImportError as e:
raise ImportError("%s - required module not found" % e)
board = arista_eeprom.getTlvInfoDecoder()