]> git.proxmox.com Git - pve-network.git/blobdiff - test/zones/evpn/exitnode_local_routing/expected_controller_config
controllers: evpn: fix multiple exit-nodes with route-map filtering
[pve-network.git] / test / zones / evpn / exitnode_local_routing / expected_controller_config
index 812043e7ff083a7fd7c4c7a3f375d051f6cf6767..6ceaca77ad26e097370bc74ff7720a3f287ab62d 100644 (file)
@@ -21,6 +21,7 @@ router bgp 65000
  neighbor 192.168.0.3 peer-group VTEP
  !
  address-family l2vpn evpn
+  neighbor VTEP route-map MAP_VTEP_IN in
   neighbor VTEP route-map MAP_VTEP_OUT out
   neighbor VTEP activate
   advertise-all-vni
@@ -34,6 +35,11 @@ router bgp 65000 vrf vrf_myzone
   default-originate ipv6
  exit-address-family
 !
+route-map MAP_VTEP_IN deny 1
+ match evpn route-type prefix
+!
+route-map MAP_VTEP_IN permit 2
+!
 route-map MAP_VTEP_OUT permit 1
 !
 line vty