summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/common_config.py')
-rw-r--r--tests/topotests/lib/common_config.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py
index c744e5bbbf..f538b5a52b 100644
--- a/tests/topotests/lib/common_config.py
+++ b/tests/topotests/lib/common_config.py
@@ -2083,15 +2083,7 @@ def create_interfaces_cfg(tgen, topo, build=False):
else:
interface_name = data["interface"]
- # Include vrf if present
- if "vrf" in data:
- interface_data.append(
- "interface {} vrf {}".format(
- str(interface_name), str(data["vrf"])
- )
- )
- else:
- interface_data.append("interface {}".format(str(interface_name)))
+ interface_data.append("interface {}".format(str(interface_name)))
if "ipv4" in data:
intf_addr = c_data["links"][destRouterLink]["ipv4"]