summaryrefslogtreecommitdiff
path: root/src/conf_mode/service_pppoe-server.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-04 12:11:23 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-04 12:11:23 +0200
commitf4e9248d2a24fc4fd0cdc7089aed0193d7a2884f (patch)
tree4069629e4ff2fb88e44bedde3d6754e80f53a457 /src/conf_mode/service_pppoe-server.py
parentfe6326c96e6e481fc4498c10c493dfd393c3956c (diff)
downloadvyos-1x-f4e9248d2a24fc4fd0cdc7089aed0193d7a2884f.tar.gz
vyos-1x-f4e9248d2a24fc4fd0cdc7089aed0193d7a2884f.zip
pppoe-server: T2953: rename CLI local-ip to gateway-address
Required to get a common CLI for all services provided by Accel-PPP. Once the CLI for each service is consitent - Jinja2 templates can be reused together with get_config_dict().
Diffstat (limited to 'src/conf_mode/service_pppoe-server.py')
-rwxr-xr-xsrc/conf_mode/service_pppoe-server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/service_pppoe-server.py b/src/conf_mode/service_pppoe-server.py
index 8ed8c6812..445311391 100755
--- a/src/conf_mode/service_pppoe-server.py
+++ b/src/conf_mode/service_pppoe-server.py
@@ -141,8 +141,8 @@ def verify(pppoe):
if 'interface' not in pppoe:
raise ConfigError('At least one listen interface must be defined!')
- if 'local_ip' not in pppoe:
- raise ConfigError('PPPoE server requires local-ip to be configured!')
+ if 'gateway_address' not in pppoe:
+ raise ConfigError('PPPoE server requires gateway-address to be configured!')
# local ippool and gateway settings config checks
if not (vyos_dict_search('client_ip_pool.subnet', pppoe) or