bgp: add test_bgp_triangle + keepalive_adaptive config option
- keepalive_adaptive=0 disables adaptive keepalive period growth, keeping it fixed at 200ms for faster timeout detection in tests - test_bgp_triangle: 5-node triangle topology test (6 phases): validates alternative path recording (fix#1), cascading node removal on full isolation, and full recovery - config generation via utun_instance_create_from_str() with pre-generated keys — no temp files needed
This commit is contained in:
1 parent
1c09ad2e5a
commit
7c953c1929
6 files changed
+504
-4
No files matched your search
@@ -121,6 +121,7 @@ struct global_config {
|
||||
int tun_test_mode; // test mode: 1 = don't open real TUN, queues only
|
||||
int keepalive_timeout; // keepalive timeout in ms (default: 2000)
|
||||
int keepalive_interval; // keepalive interval in ms (default: 200)
|
||||
int keepalive_adaptive; // 1 = adaptive period (default), 0 = fixed interval
|
||||
int bbr_max_cwnd; // BBR cwnd cap in bytes (default: 100000)
|
||||
|
||||
// Firewall configuration
|
||||
|
||||
Reference in new issue
Block a user