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 <rzalamena@opensourcerouting.org>
This commit is contained in:
Rafael Zalamena 2020-08-12 08:26:45 -03:00
parent 158a95c507
commit 360d6ca513
3 changed files with 4 additions and 0 deletions

View File

@ -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
!
!

View File

@ -8,5 +8,6 @@ bfd
detect-multiplier 3
receive-interval 300
transmit-interval 300
no shutdown
!
!

View File

@ -8,5 +8,6 @@ bfd
detect-multiplier 3
receive-interval 300
transmit-interval 300
no shutdown
!
!