summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_bridge.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-07 13:31:27 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-07 13:31:27 +0200
commita7898fdc0da81539a6b7ed5bdf8f32750b3db33e (patch)
tree89075c589094dba91cb4af991c4c0b4c19f926d4 /smoketest/scripts/cli/test_interfaces_bridge.py
parent710dac553fac93d8a205c9bc7e6b116753ac0b34 (diff)
downloadvyos-1x-a7898fdc0da81539a6b7ed5bdf8f32750b3db33e.tar.gz
vyos-1x-a7898fdc0da81539a6b7ed5bdf8f32750b3db33e.zip
smoketest: make use of vlan=False API when calling Section.interfaces
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_bridge.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_bridge.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_bridge.py b/smoketest/scripts/cli/test_interfaces_bridge.py
index ce46643fb..cdff49f4b 100755
--- a/smoketest/scripts/cli/test_interfaces_bridge.py
+++ b/smoketest/scripts/cli/test_interfaces_bridge.py
@@ -41,9 +41,8 @@ class BridgeInterfaceTest(BasicInterfaceTest.TestCase):
if 'TEST_ETH' in os.environ:
cls._members = os.environ['TEST_ETH'].split()
else:
- for tmp in Section.interfaces('ethernet'):
- if not '.' in tmp:
- cls._members.append(tmp)
+ for tmp in Section.interfaces('ethernet', vlan=False):
+ cls._members.append(tmp)
cls._options['br0'] = []
for member in cls._members: