[arista]: Update Arista platform modules and mount libraries to snmp docker (#1283)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
This commit is contained in:
parent
a27b3d54e7
commit
ffc19d3e9d
@ -1 +1 @@
|
|||||||
Subproject commit 62b5b7da50f29d4299aaca69bdb40bf9172bb4e6
|
Subproject commit e657481807db53dd4b87fa346b157153e201a37d
|
@ -12,3 +12,5 @@ SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SNMP_SV2)
|
|||||||
$(DOCKER_SNMP_SV2)_CONTAINER_NAME = snmp
|
$(DOCKER_SNMP_SV2)_CONTAINER_NAME = snmp
|
||||||
$(DOCKER_SNMP_SV2)_RUN_OPT += --net=host --privileged -t
|
$(DOCKER_SNMP_SV2)_RUN_OPT += --net=host --privileged -t
|
||||||
$(DOCKER_SNMP_SV2)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
$(DOCKER_SNMP_SV2)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
||||||
|
# mount Arista platform python libraries to support corresponding platforms SNMP power status query
|
||||||
|
$(DOCKER_SNMP_SV2)_RUN_OPT += -v /usr/lib/python3/dist-packages/arista:/usr/lib/python3/dist-packages/arista:ro
|
||||||
|
Loading…
Reference in New Issue
Block a user