]> 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, 30 Sep 2016 16:22:01 +0000 (12:22 -0400)
commit446bb95e0f2ab602a522ec170a7d9c5e9265547a
treef2c18d9f3b48acd2b2feb9463e9d36a93dbcb725
parent3694c43ac09e03fb34fa8aed6c0e054a295f2414
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