diff options
author | Igor Ryzhov <iryzhov@nfware.com> | 2022-01-23 22:07:20 +0100 |
---|---|---|
committer | Igor Ryzhov <iryzhov@nfware.com> | 2022-01-24 12:44:05 +0100 |
commit | 788a036fdb57d733371b180d1d295ce6ca72bf5d (patch) | |
tree | da6694b6b0d78fd1b679ba02a7808f0fe01f964f /tests/topotests/lib/common_config.py | |
parent | Merge pull request #10398 from patrasar/pim_debug_fix (diff) | |
download | frr-788a036fdb57d733371b180d1d295ce6ca72bf5d.tar.xz frr-788a036fdb57d733371b180d1d295ce6ca72bf5d.zip |
*: do not print vrf name for interface config when using vrf-lite
VRF name should not be printed in the config since 574445ec. The update
was done for NB config output but I missed it for regular vty output.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'tests/topotests/lib/common_config.py')
-rw-r--r-- | tests/topotests/lib/common_config.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py index c744e5bbb..f538b5a52 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"] |