summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-wireless.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-10-17 21:08:02 +0200
committerChristian Breunig <christian@breunig.cc>2023-10-17 21:08:02 +0200
commited29faeea1354dc2bec544c63e55c1c666e0d900 (patch)
tree07e3f0847f94a0383a711e22a06e2492af800547 /op-mode-definitions/show-interfaces-wireless.xml.in
parent69fb230ee022100234af233f2a2823f887c95059 (diff)
downloadvyos-1x-ed29faeea1354dc2bec544c63e55c1c666e0d900.tar.gz
vyos-1x-ed29faeea1354dc2bec544c63e55c1c666e0d900.zip
T4913: migrate wireless scripts to new op-mode style
Diffstat (limited to 'op-mode-definitions/show-interfaces-wireless.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces-wireless.xml.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/op-mode-definitions/show-interfaces-wireless.xml.in b/op-mode-definitions/show-interfaces-wireless.xml.in
index 27c0f43db..09c9a7895 100644
--- a/op-mode-definitions/show-interfaces-wireless.xml.in
+++ b/op-mode-definitions/show-interfaces-wireless.xml.in
@@ -20,7 +20,7 @@
<properties>
<help>Show wireless interface configuration</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_wireless.py --brief</command>
+ <command>${vyos_op_scripts_dir}/interfaces_wireless.py show_info</command>
</leafNode>
</children>
</node>
@@ -35,15 +35,15 @@
<children>
<leafNode name="brief">
<properties>
- <help>Show summary of the specified wireless interface information</help>
+ <help>Show brief summary of the specified wireless interface</help>
</properties>
<command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=wireless</command>
</leafNode>
<node name="scan">
<properties>
- <help>Show summary of the specified wireless interface information</help>
+ <help>Scan for networks via specified wireless interface</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_wireless.py --scan "$4"</command>
+ <command>sudo ${vyos_op_scripts_dir}/interfaces_wireless.py show_scan --intf-name="$4"</command>
<children>
<leafNode name="detail">
<properties>
@@ -57,7 +57,7 @@
<properties>
<help>Show specified Wireless interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_wireless.py --stations "$4"</command>
+ <command>${vyos_op_scripts_dir}/interfaces_wireless.py show_stations --intf-name="$4"</command>
</leafNode>
<tagNode name="vif">
<properties>