diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-08-15 13:20:31 +0300 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-08-15 19:12:37 +0300 |
commit | 663e468de2b431f771534b4e3a2d00a5924b98fe (patch) | |
tree | f9f1f890dc859480a0e9abdeeae14c31c334a120 /src/conf_mode/service_ipoe-server.py | |
parent | e229d7498cc77298c79af9811a742f3ad54edf4c (diff) | |
download | vyos-1x-663e468de2b431f771534b4e3a2d00a5924b98fe.tar.gz vyos-1x-663e468de2b431f771534b4e3a2d00a5924b98fe.zip |
T6649: Accel-ppp separate vlan-mon from listen interfaces
Diffstat (limited to 'src/conf_mode/service_ipoe-server.py')
-rwxr-xr-x | src/conf_mode/service_ipoe-server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/service_ipoe-server.py b/src/conf_mode/service_ipoe-server.py index 16c82e591..c7e3ef033 100755 --- a/src/conf_mode/service_ipoe-server.py +++ b/src/conf_mode/service_ipoe-server.py @@ -70,6 +70,8 @@ def verify(ipoe): if 'client_subnet' in iface_config and 'vlan' in iface_config: raise ConfigError('Option "client-subnet" and "vlan" are mutually exclusive, ' 'use "client-ip-pool" instead!') + if 'vlan_mon' in iface_config and not 'vlan' in iface_config: + raise ConfigError('Option "vlan-mon" requires "vlan" to be set!') verify_accel_ppp_authentication(ipoe, local_users=False) verify_accel_ppp_ip_pool(ipoe) |