diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-22 22:04:22 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-22 22:46:32 +0100 |
commit | 38bab79324087df5a9057c23b85a0a784c09540a (patch) | |
tree | 920b1a55d0c7ff50eb0936668c6f2798e223efab /src/conf_mode/interfaces-pppoe.py | |
parent | 33c3a02729ae95a8173f902cddd039c17262fbcb (diff) | |
download | vyos-1x-38bab79324087df5a9057c23b85a0a784c09540a.tar.gz vyos-1x-38bab79324087df5a9057c23b85a0a784c09540a.zip |
pppoe: T4948: add CLI option to allow definition of host-uniq flag
Some ISPs seem to use the host-uniq flag to authenticate client equipment.
Add CLI option in VyOS to allow specification of the host-uniq flag.
set interfaces pppoe pppoeN host-uniq <value>
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-x | src/conf_mode/interfaces-pppoe.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py index ee4defa0d..5f0b76f90 100755 --- a/src/conf_mode/interfaces-pppoe.py +++ b/src/conf_mode/interfaces-pppoe.py @@ -54,7 +54,8 @@ def get_config(config=None): # All parameters that can be changed on-the-fly (like interface description) # should not lead to a reconnect! for options in ['access-concentrator', 'connect-on-demand', 'service-name', - 'source-interface', 'vrf', 'no-default-route', 'authentication']: + 'source-interface', 'vrf', 'no-default-route', + 'authentication', 'host_uniq']: if is_node_changed(conf, base + [ifname, options]): pppoe.update({'shutdown_required': {}}) # bail out early - no need to further process other nodes |