2016-12-05 13:12:19 -06:00
|
|
|
# docker image for snmp agent
|
|
|
|
|
|
|
|
DOCKER_SNMP_SV2 = docker-snmp-sv2.gz
|
|
|
|
$(DOCKER_SNMP_SV2)_PATH = $(DOCKERS_PATH)/docker-snmp-sv2
|
2017-02-09 00:02:21 -06:00
|
|
|
## TODO: remove LIBPY3_DEV if we can get pip3 directly
|
|
|
|
$(DOCKER_SNMP_SV2)_DEPENDS += $(SNMP) $(SNMPD) $(PY3) $(LIBPY3_DEV)
|
2018-05-02 13:46:21 -05:00
|
|
|
$(DOCKER_SNMP_SV2)_PYTHON_WHEELS += $(SONIC_PLATFORM_COMMON_PY3) $(SWSSSDK_PY3) $(ASYNCSNMP_PY3)
|
2019-04-16 20:35:04 -05:00
|
|
|
$(DOCKER_SNMP_SV2)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_STRETCH)
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SNMP_SV2)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SNMP_SV2)
|
2019-04-16 20:35:04 -05:00
|
|
|
SONIC_STRETCH_DOCKERS += $(DOCKER_SNMP_SV2)
|
2017-01-29 13:33:33 -06:00
|
|
|
|
|
|
|
$(DOCKER_SNMP_SV2)_CONTAINER_NAME = snmp
|
|
|
|
$(DOCKER_SNMP_SV2)_RUN_OPT += --net=host --privileged -t
|
|
|
|
$(DOCKER_SNMP_SV2)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2018-01-05 12:51:59 -06:00
|
|
|
# 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
|