summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-04-25 13:27:50 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-01 15:34:47 +0000
commit0891817c6f0b4d4bb3e8d4c21f2873ab43e1be26 (patch)
tree5542df2c18c8941547f64bf8165b2a3f3e412600 /interface-definitions
parentf69604da0a06e4bf48e3730286539f84ad02d0ef (diff)
downloadvyos-1x-0891817c6f0b4d4bb3e8d4c21f2873ab43e1be26.tar.gz
vyos-1x-0891817c6f0b4d4bb3e8d4c21f2873ab43e1be26.zip
pppoe-server: T6234: PPPoE-server pado-delay refactoring
(cherry picked from commit 107ee099e82397b31fca8cf1ac3860cbf76f0596)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/version/pppoe-server-version.xml.i2
-rw-r--r--interface-definitions/service_pppoe-server.xml.in8
2 files changed, 9 insertions, 1 deletions
diff --git a/interface-definitions/include/version/pppoe-server-version.xml.i b/interface-definitions/include/version/pppoe-server-version.xml.i
index c253c58d9..61de1277a 100644
--- a/interface-definitions/include/version/pppoe-server-version.xml.i
+++ b/interface-definitions/include/version/pppoe-server-version.xml.i
@@ -1,3 +1,3 @@
<!-- include start from include/version/pppoe-server-version.xml.i -->
-<syntaxVersion component='pppoe-server' version='9'></syntaxVersion>
+<syntaxVersion component='pppoe-server' version='10'></syntaxVersion>
<!-- include end -->
diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in
index 9b5e4d3fb..5d357c2f9 100644
--- a/interface-definitions/service_pppoe-server.xml.in
+++ b/interface-definitions/service_pppoe-server.xml.in
@@ -74,11 +74,19 @@
<properties>
<help>PADO delays</help>
<valueHelp>
+ <format>disable</format>
+ <description>Disable new connections</description>
+ </valueHelp>
+ <completionHelp>
+ <list>disable</list>
+ </completionHelp>
+ <valueHelp>
<format>u32:1-999999</format>
<description>Number in ms</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-999999"/>
+ <regex>disable</regex>
</constraint>
<constraintErrorMessage>Invalid PADO delay</constraintErrorMessage>
</properties>