mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 06:55:18 +00:00

Attempt to set the hold time in the bgp flowspec exabgp config. In addition it was noticed that upstream bgp_flowspec tests are still not negotiating peering within the time frame specified. This is because the first tcp packet is missed and no keepalive/hold time are negotiated and exabgp will not attempt a reconnect for quite some time. Make this test slower when things go south. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
34 lines
395 B
INI
34 lines
395 B
INI
neighbor 10.0.1.1 {
|
|
router-id 10.0.1.101;
|
|
hold-time 10;
|
|
local-address 10.0.1.101;
|
|
local-as 100;
|
|
peer-as 100;
|
|
flow {
|
|
route {
|
|
match {
|
|
source 1.1.1.2/32;
|
|
destination 3.3.3.3/32;
|
|
packet-length <200;
|
|
}
|
|
then {
|
|
redirect 50.0.0.2;
|
|
rate-limit 55;
|
|
}
|
|
}
|
|
#end route 1
|
|
route {
|
|
match {
|
|
source 1::2/128/0;
|
|
destination 3::3/128/0;
|
|
packet-length <200;
|
|
}
|
|
then {
|
|
redirect 50::2;
|
|
rate-limit 55;
|
|
}
|
|
}
|
|
#end route 2
|
|
}
|
|
}
|