diff options
Diffstat (limited to 'op-mode-definitions/pptp-server.xml.in')
-rw-r--r-- | op-mode-definitions/pptp-server.xml.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/op-mode-definitions/pptp-server.xml.in b/op-mode-definitions/pptp-server.xml.in new file mode 100644 index 000000000..59be68611 --- /dev/null +++ b/op-mode-definitions/pptp-server.xml.in @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="pptp-server"> + <properties> + <help>Show PPTP server information</help> + </properties> + <children> + <leafNode name="sessions"> + <properties> + <help>Show active PPTP server sessions</help> + </properties> + <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> + </children> + </node> +</interfaceDefinition> |