summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-10 15:13:07 +0200
committerGitHub <noreply@github.com>2024-05-10 15:13:07 +0200
commit8fa1cb497f8f4e16d95c1485897663220d86c18e (patch)
treeb923e0737d4aefefb1ea1c98123fbb54c0fab994 /smoketest/scripts/cli
parent7925402b487b93d1ae8dd4941e0981437f7fb951 (diff)
parent431443ab3f663a6617008536d2d6d96407aebfcb (diff)
downloadvyos-1x-8fa1cb497f8f4e16d95c1485897663220d86c18e.tar.gz
vyos-1x-8fa1cb497f8f4e16d95c1485897663220d86c18e.zip
Merge pull request #3430 from c-po/bridge-T6317
bridge: T6317: add dependency call for wireless interfaces
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_wireless.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_wireless.py b/smoketest/scripts/cli/test_interfaces_wireless.py
index 83b00ac0c..b45754cae 100755
--- a/smoketest/scripts/cli/test_interfaces_wireless.py
+++ b/smoketest/scripts/cli/test_interfaces_wireless.py
@@ -236,6 +236,17 @@ class WirelessInterfaceTest(BasicInterfaceTest.TestCase):
self.assertIn(interface, bridge_members)
+ # Now generate a VLAN on the bridge
+ self.cli_set(bridge_path + ['enable-vlan'])
+ self.cli_set(bridge_path + ['vif', '20', 'address', '10.0.0.1/24'])
+
+ self.cli_commit()
+
+ tmp = get_config_value(interface, 'bridge')
+ self.assertEqual(tmp, bridge)
+ tmp = get_config_value(interface, 'wds_sta')
+ self.assertEqual(tmp, '1')
+
self.cli_delete(bridge_path)
def test_wireless_security_station_address(self):