]> git.puffer.fish Git - mirror/frr.git/commit
lib: add support for new redistribute table-direct element
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 17 Jun 2020 12:11:35 +0000 (14:11 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 20 Oct 2023 11:28:52 +0000 (13:28 +0200)
commit07a459ac25e2b17464ccabf9df6ca07ae6887531
treeace05c1ba28a50a47f4426e184ded8d3ec3c5d6a
parent627888864d5346a2cda22141b94a9286b79eafdc
lib: add support for new redistribute table-direct element

Add a new kind of redistributed route that helps to import entries
that are not copied in the default routing table. Contrary to the
'redistribute table' feature, the entries are directly obtained from
the zebra appropriate routing table.

The 'table-direct' naming expresses the direct redistribution of
the routes, without having to copy the route entries in the default
routing table.

The distance value for this route is 14. Such route entries will
be prioritary compared to 'table' and 'ebgp' route entries type.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/log.c
lib/route_types.txt
lib/zebra.h