2020-06-09 11:09:56 -05:00
|
|
|
# docker image for lldp agent
|
|
|
|
|
|
|
|
DOCKER_LLDP_STEM = docker-lldp
|
|
|
|
DOCKER_LLDP = $(DOCKER_LLDP_STEM).gz
|
|
|
|
DOCKER_LLDP_DBG = $(DOCKER_LLDP_STEM)-$(DBG_IMAGE_MARK).gz
|
|
|
|
|
|
|
|
$(DOCKER_LLDP)_PATH = $(DOCKERS_PATH)/docker-lldp
|
|
|
|
|
2020-11-30 12:44:40 -06:00
|
|
|
$(DOCKER_LLDP)_DEPENDS += $(LLDPD) $(LIBSWSSCOMMON) $(PYTHON3_SWSSCOMMON)
|
2020-06-09 11:09:56 -05:00
|
|
|
|
2022-08-09 19:05:36 -05:00
|
|
|
$(DOCKER_LLDP)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_DEPENDS)
|
2020-06-09 11:09:56 -05:00
|
|
|
$(DOCKER_LLDP)_DBG_DEPENDS += $(LLDPD_DBG) $(LIBSWSSCOMMON_DBG)
|
|
|
|
|
2022-08-09 19:05:36 -05:00
|
|
|
$(DOCKER_LLDP)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BULLSEYE)_DBG_IMAGE_PACKAGES)
|
2020-06-09 11:09:56 -05:00
|
|
|
|
2020-11-30 12:44:40 -06:00
|
|
|
$(DOCKER_LLDP)_PYTHON_WHEELS += $(DBSYNCD_PY3)
|
2022-08-09 19:05:36 -05:00
|
|
|
$(DOCKER_LLDP)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE_BULLSEYE)
|
2020-06-09 11:09:56 -05:00
|
|
|
|
2021-04-26 15:51:50 -05:00
|
|
|
$(DOCKER_LLDP)_VERSION = 1.0.0
|
|
|
|
$(DOCKER_LLDP)_PACKAGE_NAME = lldp
|
2021-07-11 08:58:05 -05:00
|
|
|
$(DOCKER_LLDP)_WARM_SHUTDOWN_BEFORE = swss
|
|
|
|
$(DOCKER_LLDP)_FAST_SHUTDOWN_BEFORE = swss
|
2021-04-26 15:51:50 -05:00
|
|
|
|
2020-06-09 11:09:56 -05:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_LLDP)
|
|
|
|
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_LLDP)
|
|
|
|
|
|
|
|
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_LLDP_DBG)
|
|
|
|
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_LLDP_DBG)
|
|
|
|
|
|
|
|
$(DOCKER_LLDP)_CONTAINER_NAME = lldp
|
|
|
|
$(DOCKER_LLDP)_RUN_OPT += --privileged -t
|
|
|
|
$(DOCKER_LLDP)_RUN_OPT += -v /etc/sonic:/etc/sonic:ro
|
2023-06-25 18:36:09 -05:00
|
|
|
$(DOCKER_LLDP)_RUN_OPT += -v /etc/timezone:/etc/timezone:ro
|
2020-06-09 11:09:56 -05:00
|
|
|
|
|
|
|
$(DOCKER_LLDP)_BASE_IMAGE_FILES += lldpctl:/usr/bin/lldpctl
|
|
|
|
$(DOCKER_LLDP)_BASE_IMAGE_FILES += lldpcli:/usr/bin/lldpcli
|
|
|
|
$(DOCKER_LLDP)_FILES += $(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
2021-06-30 14:45:40 -05:00
|
|
|
|
2022-08-09 19:05:36 -05:00
|
|
|
SONIC_BULLSEYE_DOCKERS += $(DOCKER_LLDP)
|
|
|
|
SONIC_BULLSEYE_DBG_DOCKERS += $(DOCKER_LLDP_DBG)
|