sonic-buildimage/dockers/docker-fpm-frr/frr/bgpd
Zhenhong Zhao a171e6c5e4
[frrcfgd] introduce frrcfgd to manage frr config when frr_mgmt_framework_config is true (#5142)
- Support for non-template based FRR configurations (BGP, route-map, OSPF, static route..etc) using config DB schema.
- Support for save & restore - Jinja template based config-DB data read and apply to FRR during startup

**- How I did it**

- add frrcfgd service
- when frr_mgmg_framework_config is set, frrcfgd starts in bgp container
- when user changed the BGP or other related table entries in config DB, frrcfgd will run corresponding VTYSH commands to program on FRR.
- add jinja template to generate FRR config file to be used by FRR daemons while bgp container restarted

**- How to verify it**
1. Add/delete data on config DB and then run VTYSH "show running-config" command to check if FRR configuration changed.
1. Restart bgp container and check if generated FRR config file is correct and run VTYSH "show running-config" command to check if FRR configuration is consistent with attributes in config DB

Co-authored-by: Zhenhong Zhao <zhenhong.zhao@dell.com>
2021-01-24 17:57:03 -08:00
..
templates [bgpcfgd]: Support default action for "Allow prefix" feature (#6370) 2021-01-08 14:03:26 -08:00
tsa [bgpcfgd]: Support default action for "Allow prefix" feature (#6370) 2021-01-08 14:03:26 -08:00
bgpd.conf.j2 [bgpcfgd]: Split one bgp mega-template to chunks. (#4143) 2020-04-23 09:42:22 -07:00
bgpd.main.conf.j2 FRR 7.5 2020-12-29 03:44:49 -08:00
bgpd.spine_chassis_frontend_router.conf.j2 [cfggen] Make Jinja2 Template Python 3 Compatible 2020-09-30 07:07:43 -07:00
gen_bgpd.conf.j2 [frrcfgd] introduce frrcfgd to manage frr config when frr_mgmt_framework_config is true (#5142) 2021-01-24 17:57:03 -08:00