diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-17 08:10:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 08:10:56 +0200 |
commit | 3964ee10a3a85e3655135d7e0235b4d1b2f08214 (patch) | |
tree | 8123ceab6e6cfba7cb31fe0de4e1542a7b690266 /op-mode-definitions/l2tp-server.xml | |
parent | b4544f196c2beededdd76f581690b1490c755dac (diff) | |
parent | 4b3510f7726812e4f697a03cba14751d27db4fd8 (diff) | |
download | vyos-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/l2tp-server.xml')
-rw-r--r-- | op-mode-definitions/l2tp-server.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/op-mode-definitions/l2tp-server.xml b/op-mode-definitions/l2tp-server.xml index fb1b85ce4..3e96b9365 100644 --- a/op-mode-definitions/l2tp-server.xml +++ b/op-mode-definitions/l2tp-server.xml @@ -4,14 +4,20 @@ <children> <node name="l2tp-server"> <properties> - <help>show l2tp-server status</help> + <help>Show L2TP server information</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> + <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="l2tp" --action="show sessions"</command> + </leafNode> + <leafNode name="statistics"> + <properties> + <help>Show L2TP server statistics</help> + </properties> + <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="l2tp" --action="show stat"</command> </leafNode> </children> </node> |