summaryrefslogtreecommitdiff
path: root/op-mode-definitions/pptp-server.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-17 08:10:56 +0200
committerGitHub <noreply@github.com>2020-04-17 08:10:56 +0200
commit3964ee10a3a85e3655135d7e0235b4d1b2f08214 (patch)
tree8123ceab6e6cfba7cb31fe0de4e1542a7b690266 /op-mode-definitions/pptp-server.xml
parentb4544f196c2beededdd76f581690b1490c755dac (diff)
parent4b3510f7726812e4f697a03cba14751d27db4fd8 (diff)
downloadvyos-1x-3964ee10a3a85e3655135d7e0235b4d1b2f08214.tar.gz
vyos-1x-3964ee10a3a85e3655135d7e0235b4d1b2f08214.zip
Merge pull request #350 from DmitriyEshenko/impl-uf-op-ppp
vpn: T2256: Improve op commands for l2tp, pptp, sstp and pppoe servers
Diffstat (limited to 'op-mode-definitions/pptp-server.xml')
-rw-r--r--op-mode-definitions/pptp-server.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/op-mode-definitions/pptp-server.xml b/op-mode-definitions/pptp-server.xml
index 388063885..59be68611 100644
--- a/op-mode-definitions/pptp-server.xml
+++ b/op-mode-definitions/pptp-server.xml
@@ -4,14 +4,20 @@
<children>
<node name="pptp-server">
<properties>
- <help>show pptp-server status</help>
+ <help>Show PPTP server information</help>
</properties>
<children>
<leafNode name="sessions">
<properties>
<help>Show active PPTP server sessions</help>
</properties>
- <command>/usr/bin/accel-cmd -p 2003 'show sessions'</command>
+ <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="pptp" --action="show sessions"</command>
+ </leafNode>
+ <leafNode name="statistics">
+ <properties>
+ <help>Show PPTP server statistics</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="pptp" --action="show stat"</command>
</leafNode>
</children>
</node>