Page MenuHomeVyOS Platform

bgp: route-map vrf import missing under ipv6-unicast
Closed, ResolvedPublic

Description

set protocols bgp address-family ipv4-unicast route-map vrf import <map> exists (added in T7157), but there is no ipv6-unicast equivalent. The IPv6 VRF route leak (address-family ipv6-unicast import vrf <name>) can therefore not be filtered: every route of the source VRF is leaked into the target.

FRR supports import vrf route-map under address-family ipv6 unicast, and the template and conf-mode script are already AFI-generic. Only the CLI node is missing: protocol-common-config.xml.i includes afi-route-map-vrf.xml.i under ipv4-unicast only.

Fix: add the same include under ipv6-unicast, and extend test_bgp_30_import_vrf_routemap to cover IPv6.

Details

Version
1.5 / rolling
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Related Objects