d30fbf1d72
- Extending SONiC building infrastructure to provide users with greater flexibility, by allowing them to elect a routing-stack different than the default one (quagga). The desired routing-stack will be defined in rules/config file. - As part of these changes I'm adding support for Free-Range-Routing (FRR) stack. Quagga will continue to be the default routing-stack. Signed-off-by: Rodny Molina <rodny@linkedin.com>
17 lines
548 B
Makefile
17 lines
548 B
Makefile
# docker image for p4 sonic docker image
|
|
|
|
DOCKER_SONIC_P4 = docker-sonic-p4.gz
|
|
$(DOCKER_SONIC_P4)_PATH = $(PLATFORM_PATH)/docker-sonic-p4
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(SWSS) $(SYNCD) $(P4_SWITCH) $(REDIS_SERVER) $(REDIS_TOOLS) $(LIBTEAMDCT) $(LIBTEAM_UTILS)
|
|
|
|
ifeq ($(ROUTING_STACK), quagga)
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(QUAGGA)
|
|
else ifeq ($(ROUTING_STACK), frr)
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(FRR)
|
|
else
|
|
$(DOCKER_SONIC_P4)_DEPENDS += $(GOBGP)
|
|
endif
|
|
|
|
$(DOCKER_SONIC_P4)_LOAD_DOCKERS += $(DOCKER_BASE)
|
|
SONIC_DOCKER_IMAGES += $(DOCKER_SONIC_P4)
|