[device/arista] Add psuutil plugin for Arista platforms (#1221)

* Bump sonic-platform-modules-arista submodule

* Add psuutil plugnis for Arista platforms
This commit is contained in:
Samuel Angebault 2017-12-08 16:32:50 -08:00 committed by lguohan
parent 5184def0a4
commit 9dc85620f3
5 changed files with 49 additions and 1 deletions

View File

@ -0,0 +1,12 @@
# 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()

View File

@ -0,0 +1,12 @@
# 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()

View File

@ -0,0 +1,12 @@
# 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()

View File

@ -0,0 +1,12 @@
# 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()

@ -1 +1 @@
Subproject commit f985b188326e480124ec49541b4fecc51a213889
Subproject commit 8b8411551faab9e44aa1f66dae507e3d92ecf468