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
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-10-18 18:41:27 +0000
commitf72834693c1be3edb1983f0c102fa630d924f439 (patch)
tree8350baf1c0f1aa2ec5c0ccd3dbaee544890a27d6 /op-mode-definitions/show-interfaces-wireless.xml.in
parent9babc33949827c8f63daa7c21e30b6d9f47f331c (diff)
downloadvyos-1x-f72834693c1be3edb1983f0c102fa630d924f439.tar.gz
vyos-1x-f72834693c1be3edb1983f0c102fa630d924f439.zip
T4913: migrate wireless scripts to new op-mode style
(cherry picked from commit ed29faeea1354dc2bec544c63e55c1c666e0d900)
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>