summaryrefslogtreecommitdiff
path: root/op-mode-definitions/traceroute.xml.in
blob: aba0f45e3a10ee9fd98b5c69d6fad3218b5f571d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<interfaceDefinition>
  <tagNode name="traceroute">
    <properties>
      <help>Trace network path to node</help>
      <completionHelp>
        <list>&lt;hostname&gt; &lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
      </completionHelp>
    </properties>
    <command>${vyos_op_scripts_dir}/traceroute.py ${@:2}</command>
    <children>
      <leafNode name="node.tag">
        <properties>
          <help>Traceroute options</help>
          <completionHelp>
            <script>${vyos_op_scripts_dir}/traceroute.py --get-options "${COMP_WORDS[@]}"</script>
          </completionHelp>
        </properties>
        <command>${vyos_op_scripts_dir}/traceroute.py ${@:2}</command>
      </leafNode>
    </children>
  </tagNode>
</interfaceDefinition>