diff options
| author | anlan_cs <vic.lan@pica8.com> | 2023-05-18 20:49:16 +0800 |
|---|---|---|
| committer | anlan_cs <vic.lan@pica8.com> | 2023-06-03 09:27:53 +0800 |
| commit | 0c061db4d0827fb3162c33b0799e664576ee718e (patch) | |
| tree | d3ec3404aebd20e98e2e8006b47d6b36d0f02363 /tests/lib/test_xref.py | |
| parent | ff82184faebac4f7de68018c54f0f55da2ebcf37 (diff) | |
bgpd: Fix missing deletion of evpn routes
Consider the scenario of evpn, the box has some type-5 ECMP routes.
After one of its remote peers is removed ( or down ), `show evpn rmac vni all`
kept no change **sometimes**, it means the rmac of the removed peer maybe is
still in this box, and the traffic will be wrongly forwarded to the removed
peer.
The root cause is that the best path selection for type-5 routes maybe
keep no change and the best path is not routed to the removed peer, so `bgpd`
wrongly doesn't tell `zebra` to remove ( withdraw ) the type-5 routes owned
by the removed peer.
So, add a new flag to force the deletion.
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'tests/lib/test_xref.py')
0 files changed, 0 insertions, 0 deletions
