]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: disable deleting default instance if vrf instances exist 4384/head
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 22 Apr 2019 19:12:38 +0000 (15:12 -0400)
committerDon Slice <dslice@cumulusnetworks.com>
Wed, 22 May 2019 20:04:26 +0000 (13:04 -0700)
commitdd5868c2cce8b87b50667c3e0e43b2d15127eb5c
tree1392f469aa08531645fe29bfbbddaa20559f705a
parent528628cb2ea4f5a522bf1f6d5b702bb188c4e30e
bgpd: disable deleting default instance if vrf instances exist

Problem reported with deleting the default BGP instance where there
are vrf instances that depend on it (like l2vpn evpn vrfs).  Since
importing for vrf route-leaking also requires the existence of the
default instance, disallowing deleting the BGP default instance if
anyt vrf instance is also defined.

Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_vty.c