]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Check L3VNI status before announcing default
authorvivek <vivek@cumulusnetworks.com>
Wed, 9 Jun 2021 20:56:22 +0000 (13:56 -0700)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 9 Dec 2024 17:31:29 +0000 (12:31 -0500)
commitf8c464688d8ca2aa5250ae6828baee1daf06ea93
tree073fee9a38878b3b5fcfcee5f71b4b551f341b3f
parente2b20dfb3306d48868343587f79133b90b8bd842
bgpd: Check L3VNI status before announcing default

Check that the L3VNI is "up" before taking action to announce or
withdraw the EVPN type-5 default based on configuration. Otherwise,
there can be timing conditions where a EVPN type-5 default route
gets announced without a VNI and with invalid route targets.

Signed-off-by: Vivek Venkatraman <vivek@nvidia.com>
Ticket: #2684144
Reviewed By: Chirag Shah
Testing Done:
1. Rerun failed test multiple times successfully
2. Some manual testing
3. precommit and partial evpn-smoke
bgpd/bgp_evpn_vty.c