This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/dockers/docker-fpm-frr
Ze Gan f77d719f7c
[docker-fpm-frr]: Add split mode to routing config (#7307)
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>
2021-04-23 10:16:20 -07:00
..
base_image_files [docker-fpm-frr]: TSA/B/C changes for multi-asic (#6510) 2021-02-12 10:56:44 -08:00
frr [chassis] Add templates and code to support VoQ chassis iBGP peers (#5622) 2021-04-16 11:11:32 -07:00
.dockerignore [docker-fpm-frr]:filter out the file of 'Dockerfile.j2' from the 'docker-fpm-frr' image. (#3507) 2019-09-27 12:43:44 -07:00
docker_init.sh [docker-fpm-frr]: Add split mode to routing config (#7307) 2021-04-23 10:16:20 -07:00
Dockerfile.j2 [docker-fpm-frr]: TSA/B/C changes for multi-asic (#6510) 2021-02-12 10:56:44 -08:00
snmp.conf [FRR] Enable SNMP support (#2981) 2019-06-19 01:24:42 -07:00
TS Fixes for errors seen in staging devices (#7171) 2021-04-08 15:16:43 -07:00
TSA Fixes for errors seen in staging devices (#7171) 2021-04-08 15:16:43 -07:00
TSB Fixes for errors seen in staging devices (#7171) 2021-04-08 15:16:43 -07:00
TSC Fixes for errors seen in staging devices (#7171) 2021-04-08 15:16:43 -07:00
vtysh.conf [sonic-frr]: FRR 4.0 integration with SONiC (#2099) 2018-10-02 10:24:59 -07:00
zsocket.sh [FRR] Create a separate script to wait zebra to be ready to receive connections (#6519) 2021-01-27 12:36:02 -08:00