<?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.py --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>