summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wireless.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-08 12:35:55 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-08 12:35:55 +0100
commit8f58dde4c89ae365d0b2cb15d105d8ead73ee0c9 (patch)
tree0131af4fd2b5fc18cff990df87e0c230f50c714c /src/conf_mode/interfaces-wireless.py
parent4bda9cabba26176d5abdad6b65b793e429fb763c (diff)
downloadvyos-1x-8f58dde4c89ae365d0b2cb15d105d8ead73ee0c9.tar.gz
vyos-1x-8f58dde4c89ae365d0b2cb15d105d8ead73ee0c9.zip
vrf: T31: support VRF usage on VLAN/VIF interfaces
Diffstat (limited to 'src/conf_mode/interfaces-wireless.py')
-rwxr-xr-xsrc/conf_mode/interfaces-wireless.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-wireless.py b/src/conf_mode/interfaces-wireless.py
index 30074af78..2d4b16faa 100755
--- a/src/conf_mode/interfaces-wireless.py
+++ b/src/conf_mode/interfaces-wireless.py
@@ -27,7 +27,7 @@ from subprocess import Popen, PIPE
from psutil import pid_exists
from vyos.ifconfig import EthernetIf
-from vyos.ifconfig_vlan import apply_vlan_config
+from vyos.ifconfig_vlan import apply_vlan_config, verify_vlan_config
from vyos.configdict import list_diff, vlan_to_dict
from vyos.config import Config
from vyos import ConfigError
@@ -1298,7 +1298,8 @@ def verify(wifi):
if not radius['key']:
raise ConfigError('Misssing RADIUS shared secret key for server: {}'.format(radius['server']))
-
+ # use common function to verify VLAN configuration
+ verify_vlan_config(wifi)
return None