From d84b93f2872daeb1605ed09bbd9fb6fbbfa9b760 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 19 Dec 2024 17:28:21 +0100 Subject: topotests: add unified configuration Replace the various per-daemon config files with a unique frr.conf configuration file. Signed-off-by: Philippe Guibert --- tests/topotests/bgp_evpn_rt5/r1/frr.conf | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 tests/topotests/bgp_evpn_rt5/r1/frr.conf (limited to 'tests/topotests/bgp_evpn_rt5/r1/frr.conf') diff --git a/tests/topotests/bgp_evpn_rt5/r1/frr.conf b/tests/topotests/bgp_evpn_rt5/r1/frr.conf new file mode 100644 index 000000000..e4a805998 --- /dev/null +++ b/tests/topotests/bgp_evpn_rt5/r1/frr.conf @@ -0,0 +1,61 @@ +! debug zebra vxlan +! debug zebra kernel +! debug zebra dplane +! debug zebra rib +! debug bgp neighbor-events +! debug bgp updates +! debug bgp zebra +vrf r1-vrf-101 + vni 101 + exit-vrf +! +interface r1-eth0 + ip address 192.168.100.21/24 +! +interface loop101 vrf r1-vrf-101 + ip address 192.168.102.21/32 + ipv6 address fd00::1/128 +! +router bgp 65000 + bgp router-id 192.168.100.21 + bgp log-neighbor-changes + no bgp default ipv4-unicast + no bgp ebgp-requires-policy + neighbor 192.168.100.41 remote-as 65000 + neighbor 192.168.100.41 capability extended-nexthop + neighbor 192.168.100.61 remote-as 65500 + neighbor 192.168.100.61 capability extended-nexthop + ! + address-family l2vpn evpn + neighbor 192.168.100.41 activate + neighbor 192.168.100.41 route-map rmap_r1 in + neighbor 192.168.100.61 activate + neighbor 192.168.100.61 route-map rmap_r3 in + advertise-all-vni + exit-address-family +! +router bgp 65000 vrf r1-vrf-101 + bgp router-id 192.168.102.21 + bgp log-neighbor-changes + no bgp network import-check + address-family ipv4 unicast + network 192.168.102.21/32 + exit-address-family + address-family ipv6 unicast + network fd00::1/128 + exit-address-family + address-family l2vpn evpn + rd 65000:101 + route-target both 65:101 + advertise ipv4 unicast + advertise ipv6 unicast + exit-address-family + ! +route-map rmap_r3 deny 1 + match evpn vni 102 +exit +route-map rmap_r1 permit 1 + match evpn vni 101 +exit + + -- cgit v1.2.3