mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 10:31:09 +00:00
tests: Reduce bgp_l3vpn_to_bgp_direct run time
Reduce run time from ~76 seconds to ~47 seconds by modifying both bgp and ospf timers to be more aggressive Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
39adeb7617
commit
20a91d054c
@ -10,6 +10,7 @@ router bgp 5226
|
||||
no bgp ebgp-requires-policy
|
||||
neighbor 192.168.1.1 remote-as 5226
|
||||
neighbor 192.168.1.1 update-source 192.168.1.2
|
||||
neighbor 192.168.1.1 timers 3 10
|
||||
address-family ipv4 unicast
|
||||
network 5.1.0.0/24 route-map rm-nh
|
||||
network 5.1.1.0/24 route-map rm-nh
|
||||
|
@ -10,6 +10,7 @@ router bgp 5226
|
||||
no bgp ebgp-requires-policy
|
||||
neighbor 192.168.1.1 remote-as 5226
|
||||
neighbor 192.168.1.1 update-source 192.168.1.2
|
||||
neighbor 192.168.1.1 timers 3 10
|
||||
address-family ipv4 unicast
|
||||
network 5.1.0.0/24 route-map rm-nh
|
||||
network 5.1.1.0/24 route-map rm-nh
|
||||
|
@ -10,6 +10,7 @@ router bgp 5226
|
||||
no bgp ebgp-requires-policy
|
||||
neighbor 192.168.1.1 remote-as 5226
|
||||
neighbor 192.168.1.1 update-source 192.168.1.2
|
||||
neighbor 192.168.1.1 timers 3 10
|
||||
address-family ipv4 unicast
|
||||
network 5.1.2.0/24 route-map rm-nh
|
||||
network 5.1.3.0/24 route-map rm-nh
|
||||
|
@ -11,8 +11,10 @@ router bgp 5226
|
||||
neighbor 192.168.1.2 remote-as 5226
|
||||
neighbor 192.168.1.2 update-source 192.168.1.1
|
||||
neighbor 192.168.1.2 route-reflector-client
|
||||
neighbor 192.168.1.2 timers 3 10
|
||||
neighbor 2.2.2.2 remote-as 5226
|
||||
neighbor 2.2.2.2 update-source 1.1.1.1
|
||||
neighbor 2.2.2.2 timers 3 10
|
||||
!
|
||||
address-family ipv4 unicast
|
||||
redistribute vnc-direct
|
||||
|
@ -6,3 +6,7 @@ router ospf
|
||||
network 0.0.0.0/4 area 0
|
||||
redistribute static
|
||||
!
|
||||
int r1-eth0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
|
@ -10,10 +10,13 @@ router bgp 5226
|
||||
no bgp ebgp-requires-policy
|
||||
neighbor 1.1.1.1 remote-as 5226
|
||||
neighbor 1.1.1.1 update-source 2.2.2.2
|
||||
neighbor 1.1.1.1 timers 3 10
|
||||
neighbor 3.3.3.3 remote-as 5226
|
||||
neighbor 3.3.3.3 update-source 2.2.2.2
|
||||
neighbor 3.3.3.3 timers 3 10
|
||||
neighbor 4.4.4.4 remote-as 5226
|
||||
neighbor 4.4.4.4 update-source 2.2.2.2
|
||||
neighbor 4.4.4.4 timers 3 10
|
||||
address-family ipv4 unicast
|
||||
no neighbor 1.1.1.1 activate
|
||||
no neighbor 3.3.3.3 activate
|
||||
|
@ -5,3 +5,15 @@ router ospf
|
||||
router-id 2.2.2.2
|
||||
network 0.0.0.0/0 area 0
|
||||
!
|
||||
int r2-eth0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
int r2-eth1
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
int r2-eth2
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
|
@ -11,8 +11,10 @@ router bgp 5226
|
||||
neighbor 192.168.1.2 remote-as 5226
|
||||
neighbor 192.168.1.2 update-source 192.168.1.2
|
||||
neighbor 192.168.1.2 route-reflector-client
|
||||
neighbor 192.168.1.2 timers 3 10
|
||||
neighbor 2.2.2.2 remote-as 5226
|
||||
neighbor 2.2.2.2 update-source 3.3.3.3
|
||||
neighbor 2.2.2.2 timers 3 10
|
||||
!
|
||||
address-family ipv4 unicast
|
||||
redistribute vnc-direct
|
||||
|
@ -7,3 +7,11 @@ router ospf
|
||||
network 0.0.0.0/4 area 0
|
||||
redistribute static
|
||||
!
|
||||
int r3-eth0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
int r3-eth1
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
|
@ -11,8 +11,10 @@ router bgp 5226
|
||||
neighbor 192.168.1.2 remote-as 5226
|
||||
neighbor 192.168.1.2 update-source 192.168.1.1
|
||||
neighbor 192.168.1.2 route-reflector-client
|
||||
neighbor 192.168.1.2 timers 3 10
|
||||
neighbor 2.2.2.2 remote-as 5226
|
||||
neighbor 2.2.2.2 update-source 4.4.4.4
|
||||
neighbor 2.2.2.2 timers 3 10
|
||||
!
|
||||
address-family ipv4 unicast
|
||||
redistribute vnc-direct
|
||||
|
@ -6,3 +6,7 @@ router ospf
|
||||
network 0.0.0.0/4 area 0
|
||||
redistribute static
|
||||
!
|
||||
int r4-eth0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
|
Loading…
Reference in New Issue
Block a user