summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_bridge.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-24 09:38:43 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-24 09:38:43 +0200
commit06dae2734aee09885e34aec0df397985c2a36961 (patch)
treec83101d869ac337a7107b50b1c582d078431ec18 /smoketest/scripts/cli/test_interfaces_bridge.py
parentacc701bac3483a3242c77a2e00c076890e27eea9 (diff)
downloadvyos-1x-06dae2734aee09885e34aec0df397985c2a36961.tar.gz
vyos-1x-06dae2734aee09885e34aec0df397985c2a36961.zip
smoketest: vif: T3570: fix vlan interface MTU test for pseudo-ethernet interfaces
The MTU size of the source-interface must be greater or equal to the MTU of the pseudo ethernet interface.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_bridge.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_bridge.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_bridge.py b/smoketest/scripts/cli/test_interfaces_bridge.py
index 6865d3a8a..4f7e03298 100755
--- a/smoketest/scripts/cli/test_interfaces_bridge.py
+++ b/smoketest/scripts/cli/test_interfaces_bridge.py
@@ -135,12 +135,18 @@ class BridgeInterfaceTest(BasicInterfaceTest.TestCase):
base = self._base_path + [interface]
self.cli_set(base + ['enable-vlan'])
super().test_vif_8021q_lower_up_down()
-
- def test_vif_qos_change(self):
+
+ def test_vif_8021q_qos_change(self):
+ for interface in self._interfaces:
+ base = self._base_path + [interface]
+ self.cli_set(base + ['enable-vlan'])
+ super().test_vif_8021q_qos_change()
+
+ def test_vif_8021q_mtu_limits(self):
for interface in self._interfaces:
base = self._base_path + [interface]
self.cli_set(base + ['enable-vlan'])
- super().test_vif_qos_change()
+ super().test_vif_8021q_mtu_limits()
def test_bridge_vlan_filter(self):
vif_vlan = 2