summaryrefslogtreecommitdiff
path: root/op-mode-definitions/wireless.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-03-28 13:55:08 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-03-28 13:55:08 -0500
commita1c9c36c917a23d4cc3d5a9bbdd92c18829679b7 (patch)
treecb2353cb49824cee8c763c565476b6de0517704c /op-mode-definitions/wireless.xml.in
parent9964b04e0aba8b8e50509faa9aef5ce079a8733b (diff)
downloadvyos-1x-a1c9c36c917a23d4cc3d5a9bbdd92c18829679b7.tar.gz
vyos-1x-a1c9c36c917a23d4cc3d5a9bbdd92c18829679b7.zip
interfaces: T4885: add op-mode-defs for clear interfaces counters
Diffstat (limited to 'op-mode-definitions/wireless.xml.in')
-rw-r--r--op-mode-definitions/wireless.xml.in40
1 files changed, 0 insertions, 40 deletions
diff --git a/op-mode-definitions/wireless.xml.in b/op-mode-definitions/wireless.xml.in
deleted file mode 100644
index 25809e0b8..000000000
--- a/op-mode-definitions/wireless.xml.in
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<interfaceDefinition>
- <node name="clear">
- <children>
- <node name="interfaces">
- <children>
- <node name="wireless">
- <properties>
- <help>Clear wireless interface information</help>
- </properties>
- <children>
- <leafNode name="counters">
- <properties>
- <help>Clear all wireless interface counters</help>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf-type="$3"</command>
- </leafNode>
- </children>
- </node>
- <tagNode name="wireless">
- <properties>
- <help>Clear interface information for a given wireless interface</help>
- <completionHelp>
- <script>${vyos_completion_dir}/list_interfaces --type wireless</script>
- </completionHelp>
- </properties>
- <children>
- <leafNode name="counters">
- <properties>
- <help>Clear all wireless interface counters</help>
- </properties>
- <command>sudo ${vyos_op_scripts_dir}/show_interfaces.py --action=clear --intf="$4"</command>
- </leafNode>
- </children>
- </tagNode>
- </children>
- </node>
- </children>
- </node>
-</interfaceDefinition>