summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-05-18 20:08:47 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-05-18 20:08:47 +0000
commit5b5e74fb667fa5a5abec779b6c411b3864f3b5fb (patch)
tree4539833ce2f94a60c613671515333fb2f9fba626 /op-mode-definitions
parentb76931e6d3a4bd0cdb74ca447a746ab6855fcf55 (diff)
downloadvyos-1x-5b5e74fb667fa5a5abec779b6c411b3864f3b5fb.tar.gz
vyos-1x-5b5e74fb667fa5a5abec779b6c411b3864f3b5fb.zip
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>