2017-10-24 00:01:42 -05:00
|
|
|
# docker image for virtual switch based sonic docker image
|
|
|
|
|
|
|
|
DOCKER_SONIC_VS = docker-sonic-vs.gz
|
|
|
|
$(DOCKER_SONIC_VS)_PATH = $(PLATFORM_PATH)/docker-sonic-vs
|
2017-11-30 16:59:25 -06:00
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(SWSS) \
|
|
|
|
$(SYNCD_VS) \
|
|
|
|
$(REDIS_SERVER) \
|
|
|
|
$(REDIS_TOOLS) \
|
|
|
|
$(PYTHON_SWSSCOMMON) \
|
|
|
|
$(LIBTEAMDCT) \
|
|
|
|
$(LIBTEAM_UTILS) \
|
|
|
|
$(SONIC_DEVICE_DATA) \
|
|
|
|
$(SONIC_UTILS) \
|
|
|
|
$(IPROUTE2)
|
2017-10-24 00:01:42 -05:00
|
|
|
|
|
|
|
ifeq ($(SONIC_ROUTING_STACK), quagga)
|
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(QUAGGA)
|
|
|
|
else ifeq ($(SONIC_ROUTING_STACK), frr)
|
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(FRR)
|
|
|
|
else
|
|
|
|
$(DOCKER_SONIC_VS)_DEPENDS += $(GOBGP)
|
|
|
|
endif
|
|
|
|
|
2017-11-30 16:59:25 -06:00
|
|
|
$(DOCKER_SONIC_VS)_FILES += $(CONFIGDB_LOAD_SCRIPT) \
|
|
|
|
$(ARP_UPDATE_SCRIPT)
|
|
|
|
|
2017-10-24 00:01:42 -05:00
|
|
|
$(DOCKER_SONIC_VS)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SONIC_VS)
|