summaryrefslogtreecommitdiff
path: root/op-mode-definitions/wireless.xml
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-14 10:03:31 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-14 12:04:43 +0100
commit7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc (patch)
treefa38fb6920830c55360fe776db8877907a85ba47 /op-mode-definitions/wireless.xml
parent9eb979664c29a6e34b765df3e38cdf6d4c718be1 (diff)
downloadvyos-1x-7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc.tar.gz
vyos-1x-7b0ab5a3c8edd5d925cc57e2e3f3dedea7f36adc.zip
op_mode: T2223: convert xml to show_interfaces.py
Change all references to vyatta-show-interfaces.pl to use the new python version
Diffstat (limited to 'op-mode-definitions/wireless.xml')
-rw-r--r--op-mode-definitions/wireless.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/op-mode-definitions/wireless.xml b/op-mode-definitions/wireless.xml
index c3c6dee59..a3a9d1f55 100644
--- a/op-mode-definitions/wireless.xml
+++ b/op-mode-definitions/wireless.xml
@@ -13,7 +13,7 @@
<properties>
<help>Clear all wireless interface counters</help>
</properties>
- <command>sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"</command>
+ <command>sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf-type="$3"</command>
</leafNode>
</children>
</node>
@@ -29,7 +29,7 @@
<properties>
<help>Clear all wireless interface counters</help>
</properties>
- <command>sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"</command>
+ <command>sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf="$4"</command>
</leafNode>
</children>
</tagNode>
@@ -45,13 +45,13 @@
<properties>
<help>Show wireless interface information</help>
</properties>
- <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show-brief</command>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireless --action=show-brief</command>
<children>
<leafNode name="detail">
<properties>
<help>Show detailed wireless interface information</help>
</properties>
- <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf-type=wireless --action=show</command>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireless --action=show</command>
</leafNode>
<leafNode name="info">
<properties>
@@ -68,13 +68,13 @@
<script>${vyos_completion_dir}/list_interfaces.py --type wireless</script>
</completionHelp>
</properties>
- <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4"</command>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command>
<children>
<leafNode name="brief">
<properties>
<help>Show summary of the specified wireless interface information</help>
</properties>
- <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief</command>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4" --action=show-brief</command>
</leafNode>
<node name="scan">
<properties>
@@ -100,13 +100,13 @@
<properties>
<help>Show specified virtual network interface (vif) information</help>
</properties>
- <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6"</command>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6"</command>
<children>
<leafNode name="brief">
<properties>
<help>Show summary of specified virtual network interface (vif) information</help>
</properties>
- <command>${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" --action=show-brief</command>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4.$6" --action=show-brief</command>
</leafNode>
</children>
</tagNode>