For the split mode, the config files, like bgpd.conf, zebra.conf and so on, were provided by outside. But the docker_init.sh will overwrite the outside config files if restart bgp service. How I did it Add a split mode checking in docker_init.sh, if docker_routing_config_mode is split, don't overwrite the existing routing config files. How to verify it Set split mode in config db { "DEVICE_METADATA": { "localhost": { "hwsku": "Force10-S6000", "platform": "x86_64-kvm_x86_64-r0", "docker_routing_config_mode": "split" ... } } } Replace your bgpd.conf to /etc/sonic/frr/bgpd.conf Restart bgp service by sudo service bgp restart The /etc/sonic/frr/bgpd.conf your provided shouldn't be overwritten Signed-off-by: Ze Gan <ganze718@gmail.com> |
||
---|---|---|
.. | ||
base_image_files | ||
frr | ||
.dockerignore | ||
docker_init.sh | ||
Dockerfile.j2 | ||
snmp.conf | ||
TS | ||
TSA | ||
TSB | ||
TSC | ||
vtysh.conf | ||
zsocket.sh |