mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 23:58:44 +00:00
Merge pull request #9974 from donaldsharp/ldp_vpls_topo1_wait
tests: Ensure ospf has reconverged before continuing
This commit is contained in:
commit
3e57d69186
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"2.2.2.2/32":[
|
||||||
|
{
|
||||||
|
"prefix":"2.2.2.2/32",
|
||||||
|
"protocol":"ospf",
|
||||||
|
"selected":true,
|
||||||
|
"distance":110,
|
||||||
|
"metric":20,
|
||||||
|
"nexthops":[
|
||||||
|
{
|
||||||
|
"fib":true,
|
||||||
|
"ip":"10.0.2.3",
|
||||||
|
"afi":"ipv4",
|
||||||
|
"interfaceName":"r1-eth2",
|
||||||
|
"active":true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -272,9 +272,15 @@ def test_ldp_pseudowires_after_link_down():
|
|||||||
|
|
||||||
# Shut down r1-r2 link */
|
# Shut down r1-r2 link */
|
||||||
tgen = get_topogen()
|
tgen = get_topogen()
|
||||||
tgen.gears["r1"].peer_link_enable("r1-eth1", False)
|
rname = "r1"
|
||||||
topotest.sleep(5, "Waiting for the network to reconverge")
|
tgen.gears[rname].peer_link_enable("r1-eth1", False)
|
||||||
|
router_compare_json_output(
|
||||||
|
rname,
|
||||||
|
"show ip route json",
|
||||||
|
"show_ip_route_after_link_down.ref",
|
||||||
|
count=160,
|
||||||
|
wait=1,
|
||||||
|
)
|
||||||
# check if the pseudowire is still up (using an alternate path
|
# check if the pseudowire is still up (using an alternate path
|
||||||
# for nexthop resolution). Give some extra wait time.
|
# for nexthop resolution). Give some extra wait time.
|
||||||
for rname in ["r1", "r2", "r3"]:
|
for rname in ["r1", "r2", "r3"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user