Starting from step 11, this topotest focuses on validating the TI-LFA
switchover functionality, where the backup nexthops are activated
after an adjacency expires, either with or without BFD.
Currently, the test checks the RIB shortly after the switchover using
a tight 5 seconds interval to ensure that the RIB update is due to the
switchover and not an SPF update (which is configured with an initial
delay of 15 seconds). However, it was observed that the kernel might
take longer than 5 seconds to install routes when the system is under
heavy load. To account for that, double the wait interval so that
this topotest will succeed even in those conditions.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
rname,
"show ip route isis json",
outputs[rname][11]["show_ip_route.ref"],
- count=10,
+ count=20,
)
router_compare_json_output(
rname,
"show ipv6 route isis json",
outputs[rname][11]["show_ipv6_route.ref"],
- count=10,
+ count=20,
)
router_compare_json_output(
rname,
"show mpls table json",
outputs[rname][11]["show_mpls_table.ref"],
- count=10,
+ count=20,
)
rname,
"show ip route isis json",
outputs[rname][11]["show_ip_route.ref"],
- count=10,
+ count=20,
)
router_compare_json_output(
rname,
rname,
"show mpls table json",
outputs[rname][11]["show_mpls_table.ref"],
- count=10,
+ count=20,
)