sonic-buildimage/dockers/docker-fpm-frr/frr/bgpd
Caitlin Choate 66f1cc458d
Bugfix #9739: Support when 'bgp_asn' is set to 'None', 'Null', or missing. (#12588)
bgpd.main.conf.j2: bugfix-9739
* Update bgpd.main.conf.j2 to gracefully handle the bgp configuration cases for when 'bgp_asn' is set to 'None', 'Null', or missing.

How I did it
Include a conditional statement to avoid configuring bgp in FRR when 'bgp_asn' is missing or set to 'None' or 'Null'

How to verify it
Configure 'bgp_asn' as 'None', 'Null' or have it missing from configurations and verify that /etc/frr/bgpd.conf does not have invalid bgp configurations like 'router bgp None'

Description for the changelog
Update bgpd.main.conf.j2 to gracefully handle the bgp configuration cases for when 'bgp_asn' is set to 'None', 'Null', or missing for bugfix 9739.

Signed-off-by: cchoate54@gmail.com
2022-11-08 16:53:14 -08:00
..
templates [chassis][bgp] create v4 and v6 peer group for VoQ internal neighbors (#9693) 2022-02-24 11:21: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 Bugfix #9739: Support when 'bgp_asn' is set to 'None', 'Null', or missing. (#12588) 2022-11-08 16:53:14 -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