summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-05-01 17:34:00 +0200
committerGitHub <noreply@github.com>2024-05-01 17:34:00 +0200
commit6872b3f1a3f3765e0f32fdc9e701aa9b1c490e7f (patch)
treeca88715f2439ebc818039dc9897ce9ed4a910f24 /interface-definitions
parente80e54cbece711d93895d3c7b78689bd282b8fd9 (diff)
parent107ee099e82397b31fca8cf1ac3860cbf76f0596 (diff)
downloadvyos-1x-6872b3f1a3f3765e0f32fdc9e701aa9b1c490e7f.tar.gz
vyos-1x-6872b3f1a3f3765e0f32fdc9e701aa9b1c490e7f.zip
Merge pull request #3364 from natali-rs1985/T6234-current
pppoe-server: T6234: PPPoE-server pado-delay refactoring
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>