From 360d6ca51311cb69937dd270a81b06b0224f89b0 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Wed, 12 Aug 2020 08:26:45 -0300 Subject: [PATCH] topotests: fix default BFD peer shutdown state The commit `bfdd: simplify and remove duplicated code` fixed a problem that was causing the protocol configuration to override the user configuration. In this test case: the peer was configured to be disabled (default is `shutdown`) and the test was expecting it to get activated (`no shutdown`) when the protocol converged. I changed the peer default state to `no shutdown`, however another way to get the same effect is to configure the protocol to use a profile or don't configure a peer at all (and use the defaults). Signed-off-by: Rafael Zalamena --- tests/topotests/bfd-isis-topo1/rt1/bfdd.conf | 2 ++ tests/topotests/bfd-isis-topo1/rt2/bfdd.conf | 1 + tests/topotests/bfd-isis-topo1/rt3/bfdd.conf | 1 + 3 files changed, 4 insertions(+) diff --git a/tests/topotests/bfd-isis-topo1/rt1/bfdd.conf b/tests/topotests/bfd-isis-topo1/rt1/bfdd.conf index 4793155939..57f9cd9e3d 100644 --- a/tests/topotests/bfd-isis-topo1/rt1/bfdd.conf +++ b/tests/topotests/bfd-isis-topo1/rt1/bfdd.conf @@ -8,10 +8,12 @@ bfd detect-multiplier 3 receive-interval 300 transmit-interval 300 + no shutdown ! peer 10.0.2.2 interface eth-rt3 detect-multiplier 3 receive-interval 300 transmit-interval 300 + no shutdown ! ! diff --git a/tests/topotests/bfd-isis-topo1/rt2/bfdd.conf b/tests/topotests/bfd-isis-topo1/rt2/bfdd.conf index a49cd4fa6b..6b34e337d3 100644 --- a/tests/topotests/bfd-isis-topo1/rt2/bfdd.conf +++ b/tests/topotests/bfd-isis-topo1/rt2/bfdd.conf @@ -8,5 +8,6 @@ bfd detect-multiplier 3 receive-interval 300 transmit-interval 300 + no shutdown ! ! diff --git a/tests/topotests/bfd-isis-topo1/rt3/bfdd.conf b/tests/topotests/bfd-isis-topo1/rt3/bfdd.conf index 600054a0bc..22937fe46f 100644 --- a/tests/topotests/bfd-isis-topo1/rt3/bfdd.conf +++ b/tests/topotests/bfd-isis-topo1/rt3/bfdd.conf @@ -8,5 +8,6 @@ bfd detect-multiplier 3 receive-interval 300 transmit-interval 300 + no shutdown ! ! -- 2.39.5