sonic-buildimage/dockers/docker-fpm-frr/frr
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
..
bgpd Bugfix #9739: Support when 'bgp_asn' is set to 'None', 'Null', or missing. (#12588) 2022-11-08 16:53:14 -08:00
common [cfggen] Make Jinja2 Template Python 3 Compatible 2020-09-30 07:07:43 -07:00
staticd [BGP]Adding configuration knob to allow advertise Loopback ipv6 /128 prefix (#10958) 2022-06-06 08:51:04 -07:00
supervisord [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
zebra [bgp]: Enable next-hop-tracking through default (#5600) 2020-10-13 22:21:28 -07:00
frr_vars.j2 [frrcfgd] introduce frrcfgd to manage frr config when frr_mgmt_framework_config is true (#5142) 2021-01-24 17:57:03 -08:00
frr.conf.j2 remove staticd.conf.j2 (#9182) 2021-11-24 15:32:16 -08:00
gen_frr.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
isolate.j2 [bgpcfgd]: Split one bgp mega-template to chunks. (#4143) 2020-04-23 09:42:22 -07:00
unisolate.j2 [bgpcfgd]: Split one bgp mega-template to chunks. (#4143) 2020-04-23 09:42:22 -07:00