]> git.proxmox.com Git - mirror_frr.git/commit
zebra: support FIB override routes
authorTimo Teräs <timo.teras@iki.fi>
Fri, 15 Jan 2016 15:36:31 +0000 (17:36 +0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 23 Sep 2016 13:51:57 +0000 (09:51 -0400)
commit7569ae8bb7390224e16ee416cc0745d427a29818
tree39b2583eb6851b1d8ff59183dbc81084753bc6a1
parent72f3a8fb09433ee1e4d079522cd70999bb3b8e79
zebra: support FIB override routes

FIB override routes are for routing protocols that establish
shortcut routes, or establish point-to-point routes that should
not be redistributed. Namely this is useful NHRP daemon to come.

Zebra is extended to select two entries from RIB the "best" entry
from routing protocols, and the FIB entry to install to kernel.
FIB override routes are never selected as best entry, and thus
are never adverticed to other routing daemons. The best FIB
override, or if it does not exist the otherwise best RIB is
selected as FIB entry to be installed.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
[CF: Massage to fit cumulus tree]
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
lib/zebra.h
zebra/rib.h
zebra/zebra_fpm.c
zebra/zebra_rib.c
zebra/zebra_static.c
zebra/zebra_vty.c
zebra/zserv.c