]> git.proxmox.com Git - pve-network.git/commit
controllers: evpn: bugfix: use prefix-list in route-map instead evpn match
authorAlexandre Derumier <aderumier@odiso.com>
Sun, 3 Dec 2023 15:46:08 +0000 (16:46 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Jan 2024 10:57:37 +0000 (11:57 +0100)
commite614da43f13e3c61f9b78ee9984364495eff91b6
tree75886d65ea3db3f1449cd12a5893a893546c66ad
parentb5471f5a2fd3813029349938b271e6f7db11f334
controllers: evpn: bugfix: use prefix-list in route-map instead evpn match

"match evpn" in route-map is broken since 8.5.0
https://github.com/FRRouting/frr/issues/14419

the patch
https://github.com/FRRouting/frr/commit/272c6d5db128ff7450fe9fcd16c046160594deb3
is converting type-2 && type-5 evpn routes to prefix-prefix.
(fixing prefix-list not working previously, but breaking "match evpn")

So, simply use prefix-list now, as "match epvn" was a workaround anyway.

reported on the forum, where user have routing loop between the 2 exit-nodes:
https://forum.proxmox.com/threads/sdn-with-evpn-controller-routing-loop-when-using-multiple-exit-nodes.137362/

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm
src/test/zones/evpn/exitnode/expected_controller_config
src/test/zones/evpn/exitnode_local_routing/expected_controller_config
src/test/zones/evpn/exitnode_primary/expected_controller_config
src/test/zones/evpn/exitnode_snat/expected_controller_config
src/test/zones/evpn/exitnodenullroute/expected_controller_config