From 56b106c6c33e5914975553fa0e9f90c88dba1117 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 19 Sep 2025 18:46:41 +0200 Subject: [PATCH] L3VPN: Add support for import/export target none and import target all MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 , thanks! --- doc/bird.sgml | 6 +++--- proto/l3vpn/config.Y | 6 ++++++ proto/l3vpn/l3vpn.c | 20 +++++++++++++++----- proto/l3vpn/l3vpn.h | 14 ++++++++++---- 4 files changed, 34 insertions(+), 12 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 98a480f79..a61400ef8 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -4557,18 +4557,18 @@ could have up to 5 channels: