sonic-buildimage/device/arista/x86_64-arista_7050_qx32s/plugins/psuutil.py
Samuel Angebault 9dc85620f3 [device/arista] Add psuutil plugin for Arista platforms (#1221)
* Bump sonic-platform-modules-arista submodule

* Add psuutil plugnis for Arista platforms
2017-12-08 16:32:50 -08:00

13 lines
249 B
Python

# psuutil.py
#
# Platform-specific PSU interface for SONiC
#
try:
import arista.utils.sonic_psu as arista_psuutil
except ImportError as e:
raise ImportError("%s - required module not found" % str(e))
PsuUtil = arista_psuutil.getPsuUtil()