sonic-buildimage/device/arista/x86_64-arista_7050_qx32s/plugins/led_control.py
Samuel Angebault ec850df74b [devices]: Use arista library as led plugin for more platforms. (#1809)
This apply to arista_7050_qx32 and arista_7050_qx32s.
2018-06-23 17:24:56 -07:00

7 lines
183 B
Python

try:
import arista.utils.sonic_leds as arista_leds
except ImportError, e:
raise ImportError (str(e) + "- required module not found")
LedControl = arista_leds.getLedControl()