summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-10 20:13:01 +0200
committerGitHub <noreply@github.com>2024-05-10 20:13:01 +0200
commit31d06a863901715bfc2503e2312aeb03917360af (patch)
tree1ac83c57eaa42033701b25e18fe2dd217499bb14 /smoketest/scripts
parentf3d7e453236948ff590afd735903d1a7238cea5b (diff)
parentf47c2e5b800b8601997cde4a8ba162988cc9e930 (diff)
downloadvyos-1x-31d06a863901715bfc2503e2312aeb03917360af.tar.gz
vyos-1x-31d06a863901715bfc2503e2312aeb03917360af.zip
Merge pull request #3440 from vyos/mergify/bp/sagitta/pr-3430
bridge: T6317: add dependency call for wireless interfaces (backport #3430)
Diffstat (limited to 'smoketest/scripts')
-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):