]> git.puffer.fish Git - mirror/frr.git/commit
tests: fix ldp_vpls_topo1 to work as expected
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 15 Jun 2022 14:39:48 +0000 (11:39 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 15 Jun 2022 15:59:45 +0000 (12:59 -0300)
commit45f64029dcb4f07a4abf896bc7f564babe973a66
tree15b5da7ea3d8ecc172c37f866c53ba5cf0aa026b
parent668bbbce51d5cc2ba50ef4057fd59d18f8404bcd
tests: fix ldp_vpls_topo1 to work as expected

In the last step of this test, r1's link to r2 is shut down but
both routers stay connected through a multi-hop LDP session. That
happens because r1 and r2 have a targeted adjacency created by
the pseudowire.  The test then checks whether the pseudowire is
still up, using an alternate path for nexthop resolution.

Everything's fine except for the fact that LDP GTSM (aka
ttl-security) is enabled by default. This means that messages sent
over a multi-hop session are not delivered. In the case of this
test, it can prevent PW-Status notifications from being delivered,
which in turn can prevent the pseudowire from coming back up.

Fix the test by disabling GTSM so that LDP multi-hop sessions can
work normally. This is in accordance with RFC6720 which mentions
that GTSM should be disabled (statically or dynamically) for
multi-hop sessions.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
tests/topotests/ldp_vpls_topo1/r1/ldpd.conf
tests/topotests/ldp_vpls_topo1/r2/ldpd.conf
tests/topotests/ldp_vpls_topo1/r3/ldpd.conf