]> git.proxmox.com Git - mirror_frr.git/commit - zebra/rt_socket.c
zebra: Modify code so that dplane is responsible for indicating success/fail of install
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 8 Feb 2019 20:01:41 +0000 (15:01 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 27 Mar 2019 20:19:28 +0000 (16:19 -0400)
commit3cdba47a82b21daf90816bcd31fe4ab005367079
tree80c1efaa22c950821e9298ace592ad98db18cd4d
parent7a230a9d0cd2ecf2183f0e679deb52c00e80a172
zebra: Modify code so that dplane is responsible for indicating success/fail of install

We have several route types KERNEL and CONNECT that are handled via special
case in the code.  This was causing a lot of work keeping the two different
classes of route types as special(SYSTEM OR NOT).  Put the dplane
in charge of the code that sets the bits for signalling route install/failure.

This greatly simplifies the code calling path and makes all route types
be handled exactly the same.  Additionaly code that we want to run
post data plane install can just work as per normal then, instead
of having to know we need to run it when we have a special type
of route.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
zebra/rt.h
zebra/rt_netlink.c
zebra/rt_socket.c
zebra/zebra_rib.c