]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Check if enforce-first-as is working with peer-groups 17705/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sat, 21 Dec 2024 15:08:01 +0000 (17:08 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Sat, 21 Dec 2024 15:08:01 +0000 (17:08 +0200)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
tests/topotests/bgp_route_server_client/r1/bgpd.conf

index d379f7df4527459a966005e1884115086caa25a2..5cbb7956beecd8fdfc416189778dba3b97414db0 100644 (file)
@@ -2,10 +2,12 @@
 router bgp 65001
  bgp router-id 10.10.10.1
  no bgp ebgp-requires-policy
- no bgp enforce-first-as
- neighbor 2001:db8:1::1 remote-as external
- neighbor 2001:db8:1::1 timers 3 10
- neighbor 2001:db8:1::1 timers connect 1
+ neighbor pg peer-group
+ neighbor pg remote-as external
+ neighbor pg timers 1 3
+ neighbor pg timers connect 1
+ no neighbor pg enforce-first-as
+ neighbor 2001:db8:1::1 peer-group pg
  address-family ipv6 unicast
   redistribute connected
   neighbor 2001:db8:1::1 activate