diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-01 19:23:29 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-01 19:23:29 +0100 |
commit | c3df52388bb043d95f6ab880f686f4b7bc37c8be (patch) | |
tree | 13ca84f142cc38a780c60d1402490553cdc99334 /smoketest/scripts/cli/test_interfaces_bridge.py | |
parent | 49bc3f1e3ff8416908fc986bb60b444a75a1722d (diff) | |
download | vyos-1x-c3df52388bb043d95f6ab880f686f4b7bc37c8be.tar.gz vyos-1x-c3df52388bb043d95f6ab880f686f4b7bc37c8be.zip |
smoketest: vif: T3349: derive test_vif_8021q_lower_up_down for bridge
Commit 49bc3f1e ("vif: T3349: use fixed ordering when enabling parent and child
interface") also shipped a smoketest to verify the functionality of the parent
admin up/down problematic from T3349. The generic testcase failed for the VLAN
aware bridge as vlan-awarenes was not turned on.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_bridge.py')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_bridge.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_bridge.py b/smoketest/scripts/cli/test_interfaces_bridge.py index f64b527b3..7e10f12c4 100755 --- a/smoketest/scripts/cli/test_interfaces_bridge.py +++ b/smoketest/scripts/cli/test_interfaces_bridge.py @@ -99,6 +99,12 @@ class BridgeInterfaceTest(BasicInterfaceTest.BaseTest): self.session.set(base + ['enable-vlan']) super().test_vif_8021q_interfaces() + def test_vif_8021q_lower_up_down(self): + for interface in self._interfaces: + base = self._base_path + [interface] + self.session.set(base + ['enable-vlan']) + super().test_vif_8021q_interfaces() + def test_bridge_vlan_filter(self): vif_vlan = 2 |