-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[device/arista] Add psuutil plugin for Arista platforms (#1221)
* Bump sonic-platform-modules-arista submodule * Add psuutil plugnis for Arista platforms
- Loading branch information
Showing
5 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
Submodule sonic-platform-modules-arista
updated
18 files
+134 −116 | README.md | |
+5 −4 | arista/components/common.py | |
+60 −30 | arista/components/scd.py | |
+21 −1 | arista/core/driver.py | |
+18 −0 | arista/core/inventory.py | |
+10 −6 | arista/platforms/a7050qx32.py | |
+11 −7 | arista/platforms/a7050qx32s.py | |
+6 −5 | arista/platforms/a7060cx32s.py | |
+8 −3 | arista/platforms/a7260cx364.py | |
+53 −39 | arista/utils/sonic_leds.py | |
+34 −0 | arista/utils/sonic_psu.py | |
+1 −1 | confs/arista-drivers.service | |
+1 −1 | debian/rules | |
+0 −149 | patches/arista-BUG73862-add-raven-mux-to-piix4.patch | |
+0 −71 | patches/linux-2.6.32-net-tg3-dma-mask-4g-sb800.patch | |
+0 −74 | patches/linux-2.6.38-net-tg3-access-regs-indirectly.patch | |
+0 −3 | patches/series | |
+6 −0 | src/scd-hwmon.c |