]> git.puffer.fish Git - matthieu/frr.git/commit
topotests: fix default BFD peer shutdown state
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 12 Aug 2020 11:26:45 +0000 (08:26 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Wed, 12 Aug 2020 13:56:49 +0000 (10:56 -0300)
commit360d6ca51311cb69937dd270a81b06b0224f89b0
treee21d35a3c9aa1e173ba14aaa21603fa1e5f6aa71
parent158a95c5071fe253e384ada85a58a532217c8f33
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>
tests/topotests/bfd-isis-topo1/rt1/bfdd.conf
tests/topotests/bfd-isis-topo1/rt2/bfdd.conf
tests/topotests/bfd-isis-topo1/rt3/bfdd.conf