diff options
author | Christian Breunig <christian@breunig.cc> | 2023-01-23 06:42:33 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-01-23 07:35:50 +0100 |
commit | 36bf5f4d5ad114115feac91e5ffc726c5a3423d8 (patch) | |
tree | b97f46b34cb9daaebc7eba51816d752a0250fcb4 /interface-definitions/interfaces-pppoe.xml.in | |
parent | e090c10ea0767bf144f64966d6d0f52fd28b5837 (diff) | |
download | vyos-1x-36bf5f4d5ad114115feac91e5ffc726c5a3423d8.tar.gz vyos-1x-36bf5f4d5ad114115feac91e5ffc726c5a3423d8.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>
(cherry-picked from commit 38bab79324087df5a9057c23b85a0a784c09540a)
Diffstat (limited to 'interface-definitions/interfaces-pppoe.xml.in')
-rw-r--r-- | interface-definitions/interfaces-pppoe.xml.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in index 198a53c90..581a8a59c 100644 --- a/interface-definitions/interfaces-pppoe.xml.in +++ b/interface-definitions/interfaces-pppoe.xml.in @@ -61,6 +61,19 @@ <constraintErrorMessage>Timeout must be in range 0 to 86400</constraintErrorMessage> </properties> </leafNode> + <leafNode name="host-uniq"> + <properties> + <help>PPPoE RFC2516 host-uniq tag</help> + <valueHelp> + <format>txt</format> + <description>Host-uniq tag as byte string in HEX</description> + </valueHelp> + <constraint> + <regex>([a-fA-F0-9][a-fA-F0-9]){1,18}</regex> + </constraint> + <constraintErrorMessage>Host-uniq must be specified as hex-adecimal byte-string (even number of HEX characters)</constraintErrorMessage> + </properties> + </leafNode> <node name="ip"> <properties> <help>IPv4 routing parameters</help> |