summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-05-19 03:31:57 +0700
committerGitHub <noreply@github.com>2021-05-19 03:31:57 +0700
commitb14b67520e578d1ada8e12f4626f7d82b4cab9b4 (patch)
treeb22043803cf9ca3d0dd7c1b3ca8310eac153349b /op-mode-definitions
parent21d97ba0651fc20bded91e22e00a402d0044da3c (diff)
parent5b5e74fb667fa5a5abec779b6c411b3864f3b5fb (diff)
downloadvyos-1x-b14b67520e578d1ada8e12f4626f7d82b4cab9b4.tar.gz
vyos-1x-b14b67520e578d1ada8e12f4626f7d82b4cab9b4.zip
Merge pull request #848 from DmitriyEshenko/cur-18052021-oc01
openconnect-server: T3559: Add restart op-command
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/openconnect.xml.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/op-mode-definitions/openconnect.xml.in b/op-mode-definitions/openconnect.xml.in
index 36f23239e..6b0082b4c 100644
--- a/op-mode-definitions/openconnect.xml.in
+++ b/op-mode-definitions/openconnect.xml.in
@@ -17,4 +17,14 @@
</node>
</children>
</node>
+ <node name="restart">
+ <children>
+ <leafNode name="openconnect-server">
+ <properties>
+ <help>Restart openconnect server process</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/openconnect-control.py --action="restart"</command>
+ </leafNode>
+ </children>
+ </node>
</interfaceDefinition>