2016-12-05 13:12:19 -06:00
|
|
|
# docker image for lldp agent
|
|
|
|
|
2019-07-04 00:13:55 -05:00
|
|
|
DOCKER_LLDP_SV2_STEM = docker-lldp-sv2
|
|
|
|
DOCKER_LLDP_SV2 = $(DOCKER_LLDP_SV2_STEM).gz
|
|
|
|
DOCKER_LLDP_SV2_DBG = $(DOCKER_LLDP_SV2_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_PATH = $(DOCKERS_PATH)/docker-lldp-sv2
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2018-03-02 18:46:22 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_DEPENDS += $(LLDPD) $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON)
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2020-05-15 16:51:53 -05:00
|
|
|
$(DOCKER_LLDP_SV2)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_DEPENDS)
|
2019-07-04 00:13:55 -05:00
|
|
|
$(DOCKER_LLDP_SV2)_DBG_DEPENDS += $(LLDPD_DBG) $(LIBSWSSCOMMON_DBG)
|
|
|
|
|
2020-05-15 16:51:53 -05:00
|
|
|
$(DOCKER_LLDP_SV2)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_IMAGE_PACKAGES)
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_PYTHON_WHEELS += $(DBSYNCD_PY2)
|
2020-05-15 16:51:53 -05:00
|
|
|
$(DOCKER_LLDP_SV2)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BUSTER)
|
2019-07-04 00:13:55 -05:00
|
|
|
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_LLDP_SV2)
|
2017-01-29 13:33:33 -06:00
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_LLDP_SV2)
|
|
|
|
|
2019-07-04 00:13:55 -05:00
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_LLDP_SV2_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_LLDP_SV2_DBG)
|
|
|
|
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_CONTAINER_NAME = lldp
|
2020-01-26 15:56:42 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_RUN_OPT += --privileged -t
|
2017-01-29 13:33:33 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2017-02-07 02:33:20 -06:00
|
|
|
|
|
|
|
$(DOCKER_LLDP_SV2)_BASE_IMAGE_FILES += lldpctl:/usr/bin/lldpctl
|
2019-09-18 13:39:31 -05:00
|
|
|
$(DOCKER_LLDP_SV2)_BASE_IMAGE_FILES += lldpcli:/usr/bin/lldpcli
|
2020-01-10 18:21:02 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_BASE_IMAGE_FILES += monit_lldp:/etc/monit/conf.d
|
2019-11-06 13:02:57 -06:00
|
|
|
$(DOCKER_LLDP_SV2)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|