L3VPN: Adding support for import/export target none and import target all
Hello BIRD team, This patch (for master branch) contains two commits for L3VPN protocol: - 0001: It adds support for "import/export target none" (or "[]" to specify an empty set, which is the same). For example it can be used when we do not want to import/export any route from/to the VRF, of if we prefer to set the RT it in filters (adding different RT for different IP prefixes for example). - 0002: It adds support for "import target all", ie all VPN routes are imported in the VRF IP table regardless of the RTs. Useful when we need to import any route or we want to have a more complex policy implemented in filters. Thanks! -- Sébastien
Very interesting! Just out of curiosity. In the scenario where this became necessary, are you using the Bird on-path, or just as a reflector? Em sex., 5 de set. de 2025 às 04:15, Sébastien PARISOT < sparisot@iliad-free.fr> escreveu:
Hello BIRD team,
This patch (for master branch) contains two commits for L3VPN protocol:
- 0001: It adds support for "import/export target none" (or "[]" to specify an empty set, which is the same). For example it can be used when we do not want to import/export any route from/to the VRF, of if we prefer to set the RT it in filters (adding different RT for different IP prefixes for example).
- 0002: It adds support for "import target all", ie all VPN routes are imported in the VRF IP table regardless of the RTs. Useful when we need to import any route or we want to have a more complex policy implemented in filters.
Thanks! -- Sébastien
-- Douglas Fernando Fischer Engº de Controle e Automação
On-path. But I can't find a reason it could not be useful for reflectors as well. Thanks for the feedback. -- Sébastien ________________________________________ De : Douglas Fischer <fischerdouglas@gmail.com> Envoyé : vendredi 5 septembre 2025 11:29 À : Sébastien PARISOT Cc : bird-users@network.cz Objet : Re: L3VPN: Adding support for import/export target none and import target all Vous n’obtenez pas souvent d’e-mail à partir de fischerdouglas@gmail.com. Pourquoi c’est important<https://aka.ms/LearnAboutSenderIdentification> Very interesting! Just out of curiosity. In the scenario where this became necessary, are you using the Bird on-path, or just as a reflector? Em sex., 5 de set. de 2025 às 04:15, Sébastien PARISOT <sparisot@iliad-free.fr<mailto:sparisot@iliad-free.fr>> escreveu: Hello BIRD team, This patch (for master branch) contains two commits for L3VPN protocol: - 0001: It adds support for "import/export target none" (or "[]" to specify an empty set, which is the same). For example it can be used when we do not want to import/export any route from/to the VRF, of if we prefer to set the RT it in filters (adding different RT for different IP prefixes for example). - 0002: It adds support for "import target all", ie all VPN routes are imported in the VRF IP table regardless of the RTs. Useful when we need to import any route or we want to have a more complex policy implemented in filters. Thanks! -- Sébastien -- Douglas Fernando Fischer Engº de Controle e Automação
On Fri, Sep 05, 2025 at 07:10:58AM +0000, Sébastien PARISOT wrote:
Hello BIRD team,
This patch (for master branch) contains two commits for L3VPN protocol:
- 0001: It adds support for "import/export target none" (or "[]" to specify an empty set, which is the same). For example it can be used when we do not want to import/export any route from/to the VRF, of if we prefer to set the RT it in filters (adding different RT for different IP prefixes for example).
- 0002: It adds support for "import target all", ie all VPN routes are imported in the VRF IP table regardless of the RTs. Useful when we need to import any route or we want to have a more complex policy implemented in filters.
Hi Thanks for the patches, these options makes sense. I will merge them, likely with some minor changes. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) "To err is human -- to blame it on a computer is even more so."
Hi Ondrej, Great! Thanks. -- Sébastien ________________________________________ De : Ondrej Zajicek <santiago@crfreenet.org> Envoyé : lundi 8 septembre 2025 15:52 À : Sébastien PARISOT Cc : bird-users@network.cz Objet : Re: L3VPN: Adding support for import/export target none and import target all On Fri, Sep 05, 2025 at 07:10:58AM +0000, Sébastien PARISOT wrote:
Hello BIRD team,
This patch (for master branch) contains two commits for L3VPN protocol:
- 0001: It adds support for "import/export target none" (or "[]" to specify an empty set, which is the same). For example it can be used when we do not want to import/export any route from/to the VRF, of if we prefer to set the RT it in filters (adding different RT for different IP prefixes for example).
- 0002: It adds support for "import target all", ie all VPN routes are imported in the VRF IP table regardless of the RTs. Useful when we need to import any route or we want to have a more complex policy implemented in filters.
Hi Thanks for the patches, these options makes sense. I will merge them, likely with some minor changes. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) "To err is human -- to blame it on a computer is even more so."
On Tue, Sep 09, 2025 at 09:25:33AM +0000, Sébastien PARISOT wrote:
Hi Ondrej,
Great! Thanks.
Thanks, merged: https://gitlab.nic.cz/labs/bird/-/commit/56b106c6c33e5914975553fa0e9f90c88db... (i kept import/export target options mandatory and simplified handling of 'all' case) -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) "To err is human -- to blame it on a computer is even more so."
Thanks! -- Sébastien ________________________________________ De : Ondrej Zajicek <santiago@crfreenet.org> Envoyé : samedi 20 septembre 2025 15:05 À : Sébastien PARISOT Cc : bird-users@network.cz Objet : Re: L3VPN: Adding support for import/export target none and import target all On Tue, Sep 09, 2025 at 09:25:33AM +0000, Sébastien PARISOT wrote:
Hi Ondrej,
Great! Thanks.
Thanks, merged: https://gitlab.nic.cz/labs/bird/-/commit/56b106c6c33e5914975553fa0e9f90c88db... (i kept import/export target options mandatory and simplified handling of 'all' case) -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) "To err is human -- to blame it on a computer is even more so."
participants (3)
-
Douglas Fischer -
Ondrej Zajicek -
Sébastien PARISOT