2016-12-05 13:12:19 -06:00
|
|
|
# docker image for p4 sonic docker image
|
|
|
|
|
|
|
|
DOCKER_SONIC_P4 = docker-sonic-p4.gz
|
|
|
|
$(DOCKER_SONIC_P4)_PATH = $(PLATFORM_PATH)/docker-sonic-p4
|
2017-12-12 02:38:36 -06:00
|
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(SWSS) \
|
2018-01-17 19:11:31 -06:00
|
|
|
$(SYNCD) \
|
|
|
|
$(P4_SWITCH) \
|
|
|
|
$(REDIS_TOOLS) \
|
2018-05-02 13:46:21 -05:00
|
|
|
$(REDIS_SERVER) \
|
2018-01-17 19:11:31 -06:00
|
|
|
$(PYTHON_SWSSCOMMON) \
|
2020-10-06 08:23:24 -05:00
|
|
|
$(PYTHON3_SWSSCOMMON) \
|
2020-06-24 16:07:22 -05:00
|
|
|
$(LIBTEAMDCTL) \
|
2017-12-12 02:38:36 -06:00
|
|
|
$(LIBTEAM_UTILS) \
|
|
|
|
$(SONIC_DEVICE_DATA) \
|
2020-11-25 12:28:36 -06:00
|
|
|
$(SONIC_UTILITIES_PY3) \
|
2017-12-12 02:38:36 -06:00
|
|
|
$(IPROUTE2)
|
2017-04-20 11:12:27 -05:00
|
|
|
|
2017-11-07 00:45:50 -06:00
|
|
|
# ifeq ($(ROUTING_STACK), quagga)
|
2017-04-20 11:12:27 -05:00
|
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(QUAGGA)
|
2017-11-07 00:45:50 -06:00
|
|
|
# else ifeq ($(ROUTING_STACK), frr)
|
|
|
|
# $(DOCKER_SONIC_P4)_DEPENDS += $(FRR)
|
|
|
|
# else
|
|
|
|
# $(DOCKER_SONIC_P4)_DEPENDS += $(GOBGP)
|
|
|
|
# endif
|
2017-04-20 11:12:27 -05:00
|
|
|
|
2017-12-12 02:38:36 -06:00
|
|
|
$(DOCKER_SONIC_P4)_FILES += $(CONFIGDB_LOAD_SCRIPT) \
|
2020-09-18 20:44:23 -05:00
|
|
|
$(ARP_UPDATE_SCRIPT) \
|
|
|
|
$(ARP_UPDATE_VARS_TEMPLATE)
|
2017-12-12 02:38:36 -06:00
|
|
|
|
|
|
|
$(DOCKER_SONIC_P4)_LOAD_DOCKERS += $(DOCKER_CONFIG_ENGINE)
|
2016-12-05 13:12:19 -06:00
|
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SONIC_P4)
|