From 7fcb9ef4ccf2c796f73e3d2921c27da83f26660e Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Fri, 16 Apr 2021 16:17:58 -0300 Subject: [PATCH] topotests: test OSPFv3 BFD profiles See if the BFD sessions created by OSPFv3 are using the configured BFD profiles. Signed-off-by: Rafael Zalamena --- tests/topotests/bfd-profiles-topo1/r4/bfd-peers-initial.json | 4 ++-- tests/topotests/bfd-profiles-topo1/r4/bfdd.conf | 4 ++++ tests/topotests/bfd-profiles-topo1/r4/ospf6d.conf | 2 +- tests/topotests/bfd-profiles-topo1/r5/bfd-peers-initial.json | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/tests/topotests/bfd-profiles-topo1/r4/bfd-peers-initial.json b/tests/topotests/bfd-profiles-topo1/r4/bfd-peers-initial.json index c73296ac97..9ab7479979 100644 --- a/tests/topotests/bfd-profiles-topo1/r4/bfd-peers-initial.json +++ b/tests/topotests/bfd-profiles-topo1/r4/bfd-peers-initial.json @@ -26,7 +26,7 @@ "local": "*", "multihop": false, "peer": "*", - "receive-interval": 300, + "receive-interval": 250, "remote-detect-multiplier": 3, "remote-diagnostic": "ok", "remote-echo-receive-interval": 50, @@ -34,7 +34,7 @@ "remote-receive-interval": 300, "remote-transmit-interval": 300, "status": "up", - "transmit-interval": 300, + "transmit-interval": 250, "uptime": "*", "vrf": "default" } diff --git a/tests/topotests/bfd-profiles-topo1/r4/bfdd.conf b/tests/topotests/bfd-profiles-topo1/r4/bfdd.conf index 36ef4f0403..4f5e022077 100644 --- a/tests/topotests/bfd-profiles-topo1/r4/bfdd.conf +++ b/tests/topotests/bfd-profiles-topo1/r4/bfdd.conf @@ -3,4 +3,8 @@ debug bfd network debug bfd zebra ! bfd + profile fast-tx + receive-interval 250 + transmit-interval 250 + ! ! diff --git a/tests/topotests/bfd-profiles-topo1/r4/ospf6d.conf b/tests/topotests/bfd-profiles-topo1/r4/ospf6d.conf index 5c3e2e362a..4ef28c39ca 100644 --- a/tests/topotests/bfd-profiles-topo1/r4/ospf6d.conf +++ b/tests/topotests/bfd-profiles-topo1/r4/ospf6d.conf @@ -1,5 +1,5 @@ interface r4-eth1 - ipv6 ospf6 bfd + ipv6 ospf6 bfd profile fast-tx ipv6 ospf6 hello-interval 2 ipv6 ospf6 dead-interval 10 ! diff --git a/tests/topotests/bfd-profiles-topo1/r5/bfd-peers-initial.json b/tests/topotests/bfd-profiles-topo1/r5/bfd-peers-initial.json index fcb090959e..0fe56d576b 100644 --- a/tests/topotests/bfd-profiles-topo1/r5/bfd-peers-initial.json +++ b/tests/topotests/bfd-profiles-topo1/r5/bfd-peers-initial.json @@ -11,8 +11,8 @@ "remote-detect-multiplier": 3, "remote-diagnostic": "ok", "remote-id": "*", - "remote-receive-interval": 300, - "remote-transmit-interval": 300, + "remote-receive-interval": 250, + "remote-transmit-interval": 250, "status": "up", "transmit-interval": 300, "uptime": "*", -- 2.39.5