From 2095d6ec03a6ac6519a970230af1eeacd47a5c9d Mon Sep 17 00:00:00 2001 From: zzhiyuan Date: Tue, 10 Sep 2019 14:37:05 -0700 Subject: [PATCH] [devices]: Update arista submodule (#3431) - Add support for fans in new platform API - Mount platform API in pmon for arista platforms --- platform/barefoot/sonic-platform-modules-arista | 2 +- platform/broadcom/sonic-platform-modules-arista | 2 +- rules/docker-platform-monitor.mk | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/barefoot/sonic-platform-modules-arista b/platform/barefoot/sonic-platform-modules-arista index 7b39cf3400..73dd2e0fe1 160000 --- a/platform/barefoot/sonic-platform-modules-arista +++ b/platform/barefoot/sonic-platform-modules-arista @@ -1 +1 @@ -Subproject commit 7b39cf3400dd728494b91810db9cc82542a22584 +Subproject commit 73dd2e0fe144e2bb6778d39d3e051c597bb1c9d8 diff --git a/platform/broadcom/sonic-platform-modules-arista b/platform/broadcom/sonic-platform-modules-arista index 7b39cf3400..73dd2e0fe1 160000 --- a/platform/broadcom/sonic-platform-modules-arista +++ b/platform/broadcom/sonic-platform-modules-arista @@ -1 +1 @@ -Subproject commit 7b39cf3400dd728494b91810db9cc82542a22584 +Subproject commit 73dd2e0fe144e2bb6778d39d3e051c597bb1c9d8 diff --git a/rules/docker-platform-monitor.mk b/rules/docker-platform-monitor.mk index 8a4c9391f8..617cf39e8b 100644 --- a/rules/docker-platform-monitor.mk +++ b/rules/docker-platform-monitor.mk @@ -38,6 +38,7 @@ $(DOCKER_PLATFORM_MONITOR)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro # Mount Arista python library on Aboot images to be used by plugins $(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python2.7/dist-packages/arista:/usr/lib/python2.7/dist-packages/arista:ro +$(DOCKER_PLATFORM_MONITOR)_aboot_RUN_OPT += -v /usr/lib/python2.7/dist-packages/arista/utils/sonic_platform:/usr/lib/python2.7/dist-packages/sonic_platform:ro $(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += sensors:/usr/bin/sensors $(DOCKER_PLATFORM_MONITOR)_BASE_IMAGE_FILES += smartctl:/usr/sbin/smartctl