diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-29 08:00:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 08:00:33 +0200 |
commit | 454a49dfc1e2c08f72e9f9ae9a4a90818be76ae3 (patch) | |
tree | cdcbfaa6e046e3b0c9f41561b5e68e58c1839dde /op-mode-definitions/wireless.xml.in | |
parent | 1221bfa29ee8b081cb6d958c914f0a8ac847bc3a (diff) | |
parent | a1c9c36c917a23d4cc3d5a9bbdd92c18829679b7 (diff) | |
download | vyos-1x-454a49dfc1e2c08f72e9f9ae9a4a90818be76ae3.tar.gz vyos-1x-454a49dfc1e2c08f72e9f9ae9a4a90818be76ae3.zip |
Merge pull request #1916 from jestabro/clear-counters
interfaces: T4885: add 'clear interfaces counters' to op-mode
Diffstat (limited to 'op-mode-definitions/wireless.xml.in')
-rw-r--r-- | op-mode-definitions/wireless.xml.in | 40 |
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> |