]> git.puffer.fish Git - mirror/pve-network.git/commit
fix #4657: evpn: fix exit-node with multiple vrf
authorAlexandre Derumier <aderumier@odiso.com>
Thu, 20 Apr 2023 21:36:17 +0000 (23:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Jun 2023 08:23:57 +0000 (10:23 +0200)
commit5d5b4099d19c7c765c6cd6c321491325f41d587f
tree37c84d9bc849fc769afce66098afda440d0f2efa
parent2bff8ab75505a3c299741ca80a0d01216f91819c
fix #4657: evpn: fix exit-node with multiple vrf

Currently, if a node is primary exit-node for 1 vrf, and secondary
exit-node for another vrf,

The deny route-map is filtering routes imports for both vrf.

This patch adds filtering only for the vrf's where the node is
secondary.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.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_snat/expected_controller_config