summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-wireguard.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-19 12:25:40 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-12-21 17:24:11 -0800
commit46b619469d5858c723d13ae8c6661eb38d8812d1 (patch)
tree5f5f454845792a2750a3bbf0b690fd7bd18adbe1 /op-mode-definitions/show-interfaces-wireguard.xml.in
parent8db67ca5a3e6889a210719e769be716f629e9d02 (diff)
downloadvyos-1x-46b619469d5858c723d13ae8c6661eb38d8812d1.tar.gz
vyos-1x-46b619469d5858c723d13ae8c6661eb38d8812d1.zip
interfaces: T4866: call interfaces.py in op-mode-definitions
Diffstat (limited to 'op-mode-definitions/show-interfaces-wireguard.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces-wireguard.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/show-interfaces-wireguard.xml.in b/op-mode-definitions/show-interfaces-wireguard.xml.in
index c9b754dcd..55879cfff 100644
--- a/op-mode-definitions/show-interfaces-wireguard.xml.in
+++ b/op-mode-definitions/show-interfaces-wireguard.xml.in
@@ -11,7 +11,7 @@
<script>${vyos_completion_dir}/list_interfaces.py --type wireguard</script>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4"</command>
<children>
<leafNode name="allowed-ips">
<properties>
@@ -49,13 +49,13 @@
<properties>
<help>Show WireGuard interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireguard --action=show-brief</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_type=wireguard</command>
<children>
<leafNode name="detail">
<properties>
<help>Show detailed Wireguard interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireguard --action=show</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf_type=wireguard</command>
</leafNode>
</children>
</node>