]> git.proxmox.com Git - mirror_frr.git/commit - lib/vrf.h
BGP: Cleanup interfaces properly on instance delete or exit
authorvivek <vivek@cumulusnetworks.com>
Mon, 22 Feb 2016 06:36:37 +0000 (06:36 +0000)
committervivek <vivek@cumulusnetworks.com>
Mon, 22 Feb 2016 06:36:37 +0000 (06:36 +0000)
commit009b18fc80ae4397196de68aa8c01fc3e48f0fc5
treec15a8252332b05842d181ac0ec5b3247833d922c
parentceebe0c4e04f618ea790fe0d31de00b2fb6e136f
BGP: Cleanup interfaces properly on instance delete or exit

Perform interface cleanup as an instance is deleted. This takes care of the
scenario when BGP exits (or is stopped/restarted) too as instances undergo
deletion and the interface cleanup is done as the last step in that.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Fixes: 46abd3e3e6eb1f723ea7905c9919b65f1a76f385
Ticket: CM-9410
Reviewed By: CCR-4143
Testing Done: Reran failed test
bgpd/bgp_main.c
bgpd/bgpd.c
bgpd/bgpd.h
lib/vrf.c
lib/vrf.h