diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-07-24 18:21:14 +0200 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-11-27 20:22:14 -0500 |
| commit | 224737467e2be36b64ada4fa479b1a00f3a362c1 (patch) | |
| tree | d80e7d00606f2d150630ce912bf49a20005d364d | |
| parent | f561216813efa3cb41d44f320981491f3c0115cf (diff) | |
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>
| -rwxr-xr-x | tests/topotests/ospf-topo1-vrf/test_ospf_topo1_vrf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/ospf-topo1-vrf/test_ospf_topo1_vrf.py b/tests/topotests/ospf-topo1-vrf/test_ospf_topo1_vrf.py index 0a111504e4..a222050555 100755 --- a/tests/topotests/ospf-topo1-vrf/test_ospf_topo1_vrf.py +++ b/tests/topotests/ospf-topo1-vrf/test_ospf_topo1_vrf.py @@ -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): |
