diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-08 21:40:35 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-05-08 21:47:40 +0200 |
commit | 431443ab3f663a6617008536d2d6d96407aebfcb (patch) | |
tree | b5b5c49e117a8ca97d8ef1f5ba777aec0014aa16 /smoketest/scripts/cli/test_interfaces_wireless.py | |
parent | 31fc5372961547bb352c56eb2f4149fd195e9be1 (diff) | |
download | vyos-1x-431443ab3f663a6617008536d2d6d96407aebfcb.tar.gz vyos-1x-431443ab3f663a6617008536d2d6d96407aebfcb.zip |
bridge: T6317: add dependency call for wireless interfaces
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_wireless.py')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_wireless.py | 11 |
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): |