summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openconnect.xml
diff options
context:
space:
mode:
authorMarcus Hoff <marcus.hoff@ring2.dk>2020-09-20 11:59:32 +0200
committerMarcus Hoff <marcus.hoff@ring2.dk>2020-09-20 11:59:32 +0200
commit45b30adfaaec7065f768d04085138a75a76ed376 (patch)
treea9cd47236468077141eee56068ba23027b0d4c7d /op-mode-definitions/openconnect.xml
parent46fb580fa0131f6815bbcfc95631654f6fe999a8 (diff)
parente0797331774a02ca23e8363fbcfe5a49fb3ca2bd (diff)
downloadvyos-1x-45b30adfaaec7065f768d04085138a75a76ed376.tar.gz
vyos-1x-45b30adfaaec7065f768d04085138a75a76ed376.zip
Merge remote-tracking branch 'upstream/current' into current
Diffstat (limited to 'op-mode-definitions/openconnect.xml')
-rw-r--r--op-mode-definitions/openconnect.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/openconnect.xml b/op-mode-definitions/openconnect.xml
new file mode 100644
index 000000000..9b82b114e
--- /dev/null
+++ b/op-mode-definitions/openconnect.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="openconnect-server">
+ <properties>
+ <help>show openconnect-server information</help>
+ </properties>
+ <children>
+ <leafNode name="sessions">
+ <properties>
+ <help>Show active openconnect server sessions</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/openconnect-control.py --action="show_sessions"</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>