]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Refine cleanup when a VRF with configuration gets deleted
authorvivek <vivek@cumulusnetworks.com>
Mon, 11 Dec 2017 22:38:15 +0000 (14:38 -0800)
committermitesh <mitesh@cumulusnetworks.com>
Wed, 24 Jan 2018 00:27:25 +0000 (16:27 -0800)
commit9d97533e37d3614755ef94e75c41e70d0404218b
treec279202ec189dabfa7a1ddbaaf356f422d98e493
parent5ee65f6f3e6e6e9911753cd3c8d70a39b649bed4
zebra: Refine cleanup when a VRF with configuration gets deleted

When a VRF gets deleted - e.g., networking restart or ifdown of the VRF - but
has associated FRR configuration, additional cleanup of all dynamic data pertaining
to this VRF is necessary. This includes the routing tables, next hop tables,
temporary queues for this VRF etc. Only the FRR configuration for this VRF must
be retained.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-19148
Reviewed By: CCR-7030
Testing Done:
1. Manual testing - This scenario and EVPN configuration
2. Various smoke tests - vrf, bgp, pim, l3-smoke
zebra/zebra_vrf.c