summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard-01 <39653662+hagbard-01@users.noreply.github.com>2019-09-12 13:30:33 -0700
committerGitHub <noreply@github.com>2019-09-12 13:30:33 -0700
commit5d432809cb44c49c5164f06f8795e9f7ed87854f (patch)
treeb1af21c5df377868128ddfe1a231aff7a4de3b27 /interface-definitions
parent44227cfaa63446174d1305c2143cf676a576b759 (diff)
parentb09fc4dbb2a0dce2d31245fb9b4777aa29bbd356 (diff)
downloadvyos-1x-5d432809cb44c49c5164f06f8795e9f7ed87854f.tar.gz
vyos-1x-5d432809cb44c49c5164f06f8795e9f7ed87854f.zip
Merge pull request #127 from DmitriyEshenko/l2tp-op_mode
[l2tp] T834 Implementation advanced ppp-options/lcp.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/l2tp-server.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/interface-definitions/l2tp-server.xml b/interface-definitions/l2tp-server.xml
index 721913dfe..f795c96db 100644
--- a/interface-definitions/l2tp-server.xml
+++ b/interface-definitions/l2tp-server.xml
@@ -405,6 +405,7 @@
<leafNode name="disable">
<properties>
<help>Option to disable a L2TP Server user</help>
+ <valueless/>
</properties>
</leafNode>
<leafNode name="password">
@@ -553,6 +554,29 @@
</node>
</children>
</node>
+ <node name="ppp-options">
+ <properties>
+ <help>Advanced protocol options</help>
+ </properties>
+ <children>
+ <leafNode name="lcp-echo-interval">
+ <properties>
+ <help>LCP echo-requests/sec</help>
+ <constraint>
+ <validator name="numeric" argument="--positive"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="lcp-echo-failure">
+ <properties>
+ <help>Maximum number of Echo-Requests may be sent without valid reply</help>
+ <constraint>
+ <validator name="numeric" argument="--positive"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
</children>