diff options
Diffstat (limited to 'op-mode-definitions/openconnect.xml.in')
-rw-r--r-- | op-mode-definitions/openconnect.xml.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/openconnect.xml.in b/op-mode-definitions/openconnect.xml.in new file mode 100644 index 000000000..36f23239e --- /dev/null +++ b/op-mode-definitions/openconnect.xml.in @@ -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> |