summaryrefslogtreecommitdiff
path: root/op-mode-definitions/sstp-server.xml
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-07-31 09:56:48 -0700
committerhagbard <vyosdev@derith.de>2019-07-31 09:57:58 -0700
commit93767c0fe4b87327b18ddd4aecb540596d38aaf1 (patch)
tree28d1a19aa9ef26afb5c6b448e92e21db44847986 /op-mode-definitions/sstp-server.xml
parent60a4494c4c6fbfce278ca7a0e9190ea659b7608c (diff)
downloadvyos-1x-93767c0fe4b87327b18ddd4aecb540596d38aaf1.tar.gz
vyos-1x-93767c0fe4b87327b18ddd4aecb540596d38aaf1.zip
[SSTP] - T853: adding show commands for session and stats
Diffstat (limited to 'op-mode-definitions/sstp-server.xml')
-rw-r--r--op-mode-definitions/sstp-server.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/op-mode-definitions/sstp-server.xml b/op-mode-definitions/sstp-server.xml
new file mode 100644
index 000000000..36d0b9985
--- /dev/null
+++ b/op-mode-definitions/sstp-server.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="sstp-server">
+ <properties>
+ <help>show sstp-server status</help>
+ </properties>
+ <children>
+ <leafNode name="sessions">
+ <properties>
+ <help>Show active SSTP server sessions</help>
+ </properties>
+ <command>/usr/bin/accel-cmd -p 2005 'show sessions ifname,username,ip,ip6,ip6-dp,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes'</command>
+ </leafNode>
+ <leafNode name="statistics">
+ <properties>
+ <help>Show SSTP server statistics</help>
+ </properties>
+ <command>/usr/bin/accel-cmd -p 2005 'show stat'</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>