mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-04 00:05:59 +00:00
ospf-topo1-vrf: replace link_enable api with zebra topotest api
Because on some platforms like i386, 'ip netns ' commands are unstable, then I use an other API to operate the shutdown/no shutdown operation by using vtysh. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
f561216813
commit
224737467e
@ -273,7 +273,7 @@ def test_ospf_link_down():
|
||||
|
||||
# Simulate a network down event on router3 switch3 interface.
|
||||
router3 = tgen.gears['r3']
|
||||
router3.peer_link_enable('r3-eth0', False)
|
||||
topotest.interface_set_status(router3, 'r3-eth0', ifaceaction=False, vrf_name='r3-cust1')
|
||||
|
||||
# Expect convergence on all routers
|
||||
for rnum in range(1, 4):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user