summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openvpn.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-12 10:32:43 -0600
committerGitHub <noreply@github.com>2022-12-12 10:32:43 -0600
commit0c5416e9e629a6f9028c85fe5313f43d3484860a (patch)
treeaff6d298dc8c99058b10dcbca8d6b5e7a637b883 /op-mode-definitions/openvpn.xml.in
parent4df8182dfb2e5988d333db1052bb4379b8326527 (diff)
parent6fb7c09670a80af2f839ccfd4bb94c8b0f745b95 (diff)
downloadvyos-1x-0c5416e9e629a6f9028c85fe5313f43d3484860a.tar.gz
vyos-1x-0c5416e9e629a6f9028c85fe5313f43d3484860a.zip
Merge pull request #1699 from jestabro/op-mode-openvpn
openvpn: T4770: rewrite op-mode show/reset to use vyos.opmode
Diffstat (limited to 'op-mode-definitions/openvpn.xml.in')
-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>