]> git.proxmox.com Git - mirror_frr.git/commit - ldpd/ldp_zebra.c
zebra/ldpd: introduce ZEBRA_ROUTE_ALL wildcard route type
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 5 Oct 2016 20:58:01 +0000 (17:58 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 18 Oct 2016 12:51:23 +0000 (08:51 -0400)
commita695cc7b8089ca25d277c168e5ceba6955d9daf6
treea445b0bf1b5a229f40a1d2cd905a8ab512d93112
parentf9164b1d74f6a20d69d7ef10d2e39b4ae7996cbf
zebra/ldpd: introduce ZEBRA_ROUTE_ALL wildcard route type

The ZEBRA_ROUTE_ALL route type can be used by a client to request
all routes from zebra. The main motivation for introducing this is
to allow ldpd to get routes from all OSPF instances, not only from
the default one. Without ZEBRA_ROUTE_ALL, ldpd would need to send a
ZEBRA_REDISTRIBUTE_ADD message for each possible OSPF instance (65k),
which doesn't scale very well.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/ldp_zebra.c
lib/route_types.txt
zebra/redistribute.c