summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorEshenko Dmitriy <dmitriy.eshenko@vyos.io>2020-08-19 00:37:00 +0300
committerGitHub <noreply@github.com>2020-08-18 23:37:00 +0200
commit865cba395223afaa263ff7581fb53ee509f36266 (patch)
tree833fded2c0993b5557f1e8f708f3565904ab4b63 /op-mode-definitions
parent3282250a9a7c7a1df5c32e76fdc0024fd1ce9d9f (diff)
downloadvyos-1x-865cba395223afaa263ff7581fb53ee509f36266.tar.gz
vyos-1x-865cba395223afaa263ff7581fb53ee509f36266.zip
anyconnect: T2036: add anyconnect VPN support
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/anyconnect.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/anyconnect.xml b/op-mode-definitions/anyconnect.xml
new file mode 100644
index 000000000..7e8cdd35b
--- /dev/null
+++ b/op-mode-definitions/anyconnect.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="anyconnect-server">
+ <properties>
+ <help>show anyconnect-server information</help>
+ </properties>
+ <children>
+ <leafNode name="sessions">
+ <properties>
+ <help>Show active anyconnect server sessions</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/anyconnect-control.py --action="show_sessions"</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>