sonic-buildimage/device/arista/x86_64-arista_common/plugins/psuutil.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

13 lines
242 B
Python

#!/usr/bin/env python
#
# Arista PSU interface for SONiC
#
try:
import arista.utils.sonic_psu as arista_psuutil
except ImportError as e:
raise ImportError("%s - required module not found" % e)
PsuUtil = arista_psuutil.getPsuUtil()