2016-12-05 13:12:19 -06:00
|
|
|
# docker image for snmp agent
|
|
|
|
|
2019-07-04 00:13:55 -05:00
|
|
|
DOCKER_SNMP_SV2_STEM = docker-snmp-sv2
|
|
|
|
DOCKER_SNMP_SV2 = $(DOCKER_SNMP_SV2_STEM).gz
|
|
|
|
DOCKER_SNMP_SV2_DBG = $(DOCKER_SNMP_SV2_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
$(DOCKER_SNMP_SV2)_PATH = $(DOCKERS_PATH)/docker-snmp-sv2
|
2019-07-04 00:13:55 -05:00
|
|
|
|
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)
|
2019-07-04 00:13:55 -05:00
|
|
|
|
|
|
|
$(DOCKER_SNMP_SV2)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_DEPENDS)
|
|
|
|
$(DOCKER_SNMP_SV2)_DBG_DEPENDS += $(SNMP_DBG) $(SNMPD_DBG) $(LIBSNMP_DBG)
|
|
|
|
|
|
|
|
$(DOCKER_SNMP_SV2)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES)
|
|
|
|
|
2020-08-03 13:50:06 -05:00
|
|
|
$(DOCKER_SNMP_SV2)_PYTHON_WHEELS += $(SONIC_PY_COMMON_PY3) $(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)
|
2019-07-04 00:13:55 -05:00
|
|
|
|
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
|
|
|
|
2019-07-04 00:13:55 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_SNMP_SV2_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_SNMP_SV2_DBG)
|
|
|
|
SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_SNMP_SV2_DBG)
|
|
|
|
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_SNMP_SV2)_CONTAINER_NAME = snmp
|
2020-01-26 15:56:42 -06:00
|
|
|
$(DOCKER_SNMP_SV2)_RUN_OPT += --privileged -t
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_SNMP_SV2)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2019-10-22 16:41:12 -05:00
|
|
|
$(DOCKER_SNMP_SV2)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
2020-01-10 18:21:02 -06:00
|
|
|
$(DOCKER_SNMP_SV2)_BASE_IMAGE_FILES += monit_snmp:/etc/monit/conf.d
|