summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-25 16:12:13 +0100
committerGitHub <noreply@github.com>2023-01-25 16:12:13 +0100
commit8328e4393ad7cff4d2bd6291cd577048da270ccc (patch)
tree140027f443c1f7ae372b57c92bec19b708a78b02 /interface-definitions
parent155d3c1ac748a945ce62d3f9b2629696dbdb4b70 (diff)
parent36bf5f4d5ad114115feac91e5ffc726c5a3423d8 (diff)
downloadvyos-1x-8328e4393ad7cff4d2bd6291cd577048da270ccc.tar.gz
vyos-1x-8328e4393ad7cff4d2bd6291cd577048da270ccc.zip
Merge pull request #1775 from c-po/t4948-backport
pppoe: T4948: add CLI option to allow definition of host-uniq flag (equuleus backport)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-pppoe.xml.in13
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>