]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: vrf route leaking, fix vpn router id update
authorAbhinay Ramesh <rabhinay@vmware.com>
Thu, 1 Apr 2021 05:39:57 +0000 (05:39 +0000)
committerAbhinay Ramesh <rabhinay@vmware.com>
Wed, 7 Apr 2021 09:57:08 +0000 (09:57 +0000)
commitde7cee09ebec4ac4b0c8c13a1df323969b7fbb26
tree551c6bd01e49c353933783d4ac96b69fa9a73b4d
parent8fac400c798c760bafbb4f4460a138b85d565ce7
bgpd: vrf route leaking, fix vpn router id update

Description:
Route leaking from default vrf to non-default vrf stops after frr restart.

If the interface comes up after route leaking is configured,
in the case of vpn router id update, we delete the ecommunity value
and never reconfigure the rtlist.
This results in skipping route leak to non-default vrfs (vpn to vrf).

Router-id change that is not explicitly configured
(a change from zebra, frr restart) should not replace a configured vpn RD/RT.
Added few helpful debugs as well.

Co-authored-by: Santosh P K <sapk@vmware.com>
Co-authored-by: Kantesh Mundaragi <kmundaragi@vmware.com>
Signed-off-by: Abhinay Ramesh <rabhinay@vmware.com>
bgpd/bgp_ecommunity.c
bgpd/bgp_mplsvpn.c