]> git.puffer.fish Git - matthieu/frr.git/commit
Zebra: Make redistribute do replace instead of del/add for better convergence
authorvivek <vivek@cumulusnetworks.com>
Wed, 21 Oct 2015 04:38:38 +0000 (21:38 -0700)
committervivek <vivek@cumulusnetworks.com>
Wed, 21 Oct 2015 04:38:38 +0000 (21:38 -0700)
commit5048fe14444fcbf27a1905e0f79f5e53af35cd29
treec8bbb930a5649add14b095be0f1663cc422850e1
parentd0f9e4001639fc7af460bd0fa7b67bbe20cd004d
Zebra: Make redistribute do replace instead of del/add for better convergence

Ticket: CM-6768
Reviewed By: CCR-3207
Testing Done: bgpsmoke, smoke, topo to create failure

Redistributing routes goes through a del/add cycle whenever a redistributed
is updated. This del/add cycle causes disruption by causing traffic loss
for brief/long periods of time(6-8 s in case of OSPF). The modifications in
this patch remove the del/add cycle to ensure that this disruption doesn't
happen.

Also fixed sending no forwarding address when announcing IPv4 routes with IPv6
nexthops, and sending nexthop only when there is a single path.

Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
13 files changed:
bgpd/bgp_zebra.c
isisd/isis_zebra.c
lib/zclient.c
lib/zclient.h
lib/zebra.h
ospf6d/ospf6_zebra.c
ospfd/ospf_asbr.c
ospfd/ospf_zebra.c
ripd/rip_zebra.c
zebra/redistribute.c
zebra/zebra_rib.c
zebra/zserv.c
zebra/zserv.h