From a7898fdc0da81539a6b7ed5bdf8f32750b3db33e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 7 Aug 2023 13:31:27 +0200 Subject: smoketest: make use of vlan=False API when calling Section.interfaces --- smoketest/scripts/cli/test_vrf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'smoketest/scripts/cli/test_vrf.py') diff --git a/smoketest/scripts/cli/test_vrf.py b/smoketest/scripts/cli/test_vrf.py index b4faac67d..5fb599a87 100755 --- a/smoketest/scripts/cli/test_vrf.py +++ b/smoketest/scripts/cli/test_vrf.py @@ -47,9 +47,8 @@ class VRFTest(VyOSUnitTestSHIM.TestCase): tmp = os.environ['TEST_ETH'].split() cls._interfaces = tmp else: - for tmp in Section.interfaces('ethernet'): - if not '.' in tmp: - cls._interfaces.append(tmp) + for tmp in Section.interfaces('ethernet', vlan=False): + cls._interfaces.append(tmp) # call base-classes classmethod super(VRFTest, cls).setUpClass() -- cgit v1.2.3