mirror of
				https://github.com/Telecominfraproject/ols-nos.git
				synced 2025-10-31 10:07:49 +00:00 
			
		
		
		
	 76b7cb8b64
			
		
	
	76b7cb8b64
	
	
	
		
			
			Why I did it Add dhcp_server ipv4 feature to SONiC. HLD: sonic-net/SONiC#1282 How I did it To be clarify: This container is disabled by INCLUDE_DHCP_SERVER = n for now, which would cause container not build. Add INCLUDE_DHCP_SERVER to indicate whether to build dhcp_server container Add docker file for dhcp_server, build and install kea-dhcp4 inside container Add template file for dhcp_server container services. Add entry for dhcp_server to FEATURE table in config_db. How to verify it Build image with INCLUDE_DHCP_SERVER = y to verify: Image can be install successfully without crush. By config feature state dhcp_server enabled to enable dhcp_server.
		
			
				
	
	
		
			12 lines
		
	
	
		
			490 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			490 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
 | |
| DPATH       := $($(DOCKER_DHCP_SERVER)_PATH)
 | |
| DEP_FILES   := $(SONIC_COMMON_FILES_LIST) rules/docker-dhcp-server.mk rules/docker-dhcp-server.dep   
 | |
| DEP_FILES   += $(SONIC_COMMON_BASE_FILES_LIST)
 | |
| DEP_FILES   += $(shell git ls-files $(DPATH))
 | |
| 
 | |
| $(DOCKER_DHCP_SERVER)_CACHE_MODE  := GIT_CONTENT_SHA 
 | |
| $(DOCKER_DHCP_SERVER)_DEP_FLAGS   := $(SONIC_COMMON_FLAGS_LIST)
 | |
| $(DOCKER_DHCP_SERVER)_DEP_FILES   := $(DEP_FILES)
 | |
| 
 | |
| $(eval $(call add_dbg_docker,$(DOCKER_DHCP_SERVER),$(DOCKER_DHCP_SERVER_DBG)))
 |