2019-02-09 00:02:01 -06:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
2019-06-07 11:01:09 -05:00
|
|
|
#
|
|
|
|
# Arista eeprom processing for SONiC
|
|
|
|
# Uses the arista driver library to obtain the TlvInfoDecoder
|
|
|
|
#
|
|
|
|
|
2019-02-09 00:02:01 -06:00
|
|
|
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()
|