Skip to content

Commit

Permalink
[device/arista] Add psuutil plugin for Arista platforms (#1221)
Browse files Browse the repository at this point in the history
* Bump sonic-platform-modules-arista submodule

* Add psuutil plugnis for Arista platforms
  • Loading branch information
Staphylo authored and lguohan committed Dec 9, 2017
1 parent 5184def commit 9dc8562
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1 deletion.
12 changes: 12 additions & 0 deletions device/arista/x86_64-arista_7050_qx32/plugins/psuutil.py
Original file line number Diff line number Diff line change
@@ -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()
12 changes: 12 additions & 0 deletions device/arista/x86_64-arista_7050_qx32s/plugins/psuutil.py
Original file line number Diff line number Diff line change
@@ -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()
12 changes: 12 additions & 0 deletions device/arista/x86_64-arista_7060_cx32s/plugins/psuutil.py
Original file line number Diff line number Diff line change
@@ -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()
12 changes: 12 additions & 0 deletions device/arista/x86_64-arista_7260cx3_64/plugins/psuutil.py
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit 9dc8562

Please sign in to comment.