summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-05 12:33:25 -0800
committerhagbard <vyosdev@derith.de>2019-03-05 15:22:41 -0800
commitdde3fa16af020115c56a0191a3332ed9cd8172c9 (patch)
tree2454101b76dbb65b739e0075619f813b94d6f226 /op-mode-definitions
parentd06b1f85aee3238dea386ecbfe83e8934f8917ac (diff)
downloadvyos-1x-dde3fa16af020115c56a0191a3332ed9cd8172c9.tar.gz
vyos-1x-dde3fa16af020115c56a0191a3332ed9cd8172c9.zip
T833: accel-ppp: pptp implementation
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/pptp-server.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/pptp-server.xml b/op-mode-definitions/pptp-server.xml
new file mode 100644
index 000000000..16997e799
--- /dev/null
+++ b/op-mode-definitions/pptp-server.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="pptp-server">
+ <properties>
+ <help>show pptp-server status</help>
+ </properties>
+ <children>
+ <leafNode name="sessions">
+ <properties>
+ <help>Show active PPPoE server sessions</help>
+ </properties>
+ <command>/usr/bin/accel-cmd -p 2003'show sessions'</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>