]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: extend table manager per vrf, add vty configuration
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 23 Jul 2021 14:56:28 +0000 (16:56 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 21 Sep 2021 16:37:30 +0000 (18:37 +0200)
commit42d4b30e00131923691ef260ed8b1ff11bf3f33c
tree2dbd7d0025c49dfe2605f53ad4d89fcf0fe57212
parentf334c88ed9675eab624728ecd6eaaff3a9b41255
zebra: extend table manager per vrf, add vty configuration

Because vrf backend may be based on namespaces, each vrf can
use in the [16-(2^32-1)] range table identifier for daemons that
request it. Extend the table manager to be hosted by vrf.

That possibility is disabled in the case the vrf backend is vrflite.
In that case, all vrf context use the same table manager instance.

Add a configuration command to be able to configure the wished
range of tables to use. This is a solution that permits to give
chunks to bgp daemon when it works with bgp flowspec entries and
wants to use specific iptables that do not override vrf tables.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
doc/user/zebra.rst
tests/topotests/bgp_flowspec/r1/zebra.conf
zebra/table_manager.c
zebra/table_manager.h
zebra/zapi_msg.c
zebra/zebra_ns.c
zebra/zebra_vrf.c
zebra/zebra_vrf.h
zebra/zebra_vty.c