summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py')
-rw-r--r--tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py b/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py
index a9636a92f..c874cbed6 100644
--- a/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py
+++ b/tests/topotests/bgp_evpn_rt5/test_bgp_evpn.py
@@ -136,11 +136,9 @@ def setup_module(mod):
for rname, router in router_list.items():
if rname == "r1":
- router.load_config(TopoRouter.RD_MGMTD, None, "--vrfwnetns")
+ router.use_netns_vrf()
router.load_config(
- TopoRouter.RD_ZEBRA,
- os.path.join(CWD, "{}/zebra.conf".format(rname)),
- "--vrfwnetns",
+ TopoRouter.RD_ZEBRA, os.path.join(CWD, "{}/zebra.conf".format(rname))
)
else:
router.load_config(