blob: 7697228b33d211a39155274460b222d984fc8cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="monitor">
<properties>
<help>Monitor route with mtr</help>
</properties>
<children>
<tagNode name="traceroute">
<properties>
<help>Traceroute route with mtr</help>
<completionHelp>
<list><hostname> <x.x.x.x> <h:h:h:h:h:h:h:h></list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/mtr.py ${@:3}</command>
<children>
<leafNode name="node.tag">
<properties>
<help>mtr options</help>
<completionHelp>
<script>${vyos_op_scripts_dir}/mtr.py --get-options "${COMP_WORDS[@]}"</script>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/mtr.py ${@:3}</command>
</leafNode>
</children>
</tagNode>
</children>
</node>
</interfaceDefinition>
|