sonic-buildimage/device/arista/x86_64-arista_common/plugins/eeprom.py
Samuel Angebault df063bd78d [device/Arista] Add initial support for platform API (#2964)
* Congregate plugin scripts for Arista platforms

* Update arista driver submodules

Pulls new platform API related changes
2019-06-07 09:01:09 -07:00

14 lines
314 B
Python

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