summaryrefslogtreecommitdiff
path: root/op-mode-definitions/l2tp-server.xml
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-07-25 09:48:08 -0700
committerhagbard <vyosdev@derith.de>2019-07-25 09:48:08 -0700
commitab5ca2796c1aad0043cc0db80299e4e2d42c1b22 (patch)
treebd0bcd4232e3099c38a142c0953f3c5a89b20d4d /op-mode-definitions/l2tp-server.xml
parent36f8a1e4e5966c43c5330ff223fa2ef07d346b6e (diff)
downloadvyos-1x-ab5ca2796c1aad0043cc0db80299e4e2d42c1b22.tar.gz
vyos-1x-ab5ca2796c1aad0043cc0db80299e4e2d42c1b22.zip
[accel-l2tp] - T834: l2tp implementation
- node.def deletion for show remote-access - IPSec interface checking for L2TP - IPSec x509 for l2tp - verification of outside-address to warning since it was optional in the previous config
Diffstat (limited to 'op-mode-definitions/l2tp-server.xml')
-rw-r--r--op-mode-definitions/l2tp-server.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/l2tp-server.xml b/op-mode-definitions/l2tp-server.xml
new file mode 100644
index 000000000..fb1b85ce4
--- /dev/null
+++ b/op-mode-definitions/l2tp-server.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="l2tp-server">
+ <properties>
+ <help>show l2tp-server status</help>
+ </properties>
+ <children>
+ <leafNode name="sessions">
+ <properties>
+ <help>Show active L2TP server sessions</help>
+ </properties>
+ <command>/usr/bin/accel-cmd -p 2004 'show sessions'</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>