summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-07 19:17:54 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-12-12 09:17:20 -0600
commit1c763b600c61d09df6f71baec9b6109b687289a0 (patch)
tree4a13c9c7586e249f1c4ee4884ffa076a778730cb /op-mode-definitions
parent9af23d814aa37e90aca350375eeb7b9e83069eee (diff)
downloadvyos-1x-1c763b600c61d09df6f71baec9b6109b687289a0.tar.gz
vyos-1x-1c763b600c61d09df6f71baec9b6109b687289a0.zip
openvpn: T4770: update op-mode definition openvpn.xml.in for show/reset
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/openvpn.xml.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/openvpn.xml.in b/op-mode-definitions/openvpn.xml.in
index 301688271..aec09fa48 100644
--- a/op-mode-definitions/openvpn.xml.in
+++ b/op-mode-definitions/openvpn.xml.in
@@ -23,7 +23,7 @@
<script>sudo ${vyos_completion_dir}/list_interfaces.py --type openvpn</script>
</completionHelp>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/reset_openvpn.py $4</command>
+ <command>sudo ${vyos_op_scripts_dir}/openvpn.py reset --interface $4</command>
</tagNode>
</children>
</node>
@@ -109,19 +109,19 @@
<properties>
<help>Show tunnel status for OpenVPN client interfaces</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_openvpn.py --mode=client</command>
+ <command>sudo ${vyos_op_scripts_dir}/openvpn.py show --mode client</command>
</leafNode>
<leafNode name="server">
<properties>
<help>Show tunnel status for OpenVPN server interfaces</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_openvpn.py --mode=server</command>
+ <command>sudo ${vyos_op_scripts_dir}/openvpn.py show --mode server</command>
</leafNode>
<leafNode name="site-to-site">
<properties>
<help>Show tunnel status for OpenVPN site-to-site interfaces</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_openvpn.py --mode=site-to-site</command>
+ <command>sudo ${vyos_op_scripts_dir}/openvpn.py show --mode site-to-site</command>
</leafNode>
</children>
</node>