]> git.ipfire.org Git - thirdparty/bird.git/commit
L3VPN: Add support for import/export target none and import target all master oz-test
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 19 Sep 2025 16:46:41 +0000 (18:46 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 19 Sep 2025 16:46:41 +0000 (18:46 +0200)
commit56b106c6c33e5914975553fa0e9f90c88dba1117
treee40c3f96074801a6933a564ff2df26e2cb305b62
parent93012b3ac81bc8e2a0a9b7e48b552c269b0523d9
L3VPN: Add support for import/export target none and import target all

The patch adds support for 'import/export target none' (or '[]' to
specify an empty set). It can be used when we do not want to import/export
any route from/to the VRF, or if we prefer to set the RT it in filters
(e.g., adding a different RT for different IP prefixes).

The patch also adds support for 'import target all', i.e. all VPN routes
are imported in the VRF IP table regardless of the RTs. Useful when more
complexx policy implemented in filters.

Based on patches from Sébastien Parisot <sparisot@iliad-free.fr>, thanks!
doc/bird.sgml
proto/l3vpn/config.Y
proto/l3vpn/l3vpn.c
proto/l3vpn/l3vpn.h