summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-bandwidth-test.xml
blob: d1e459b1759daf6868e9cdbbe5bf9f8f91b9c05a (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="monitor">
    <children>
      <node name="bandwidth-test">
        <properties>
          <help>Initiate or wait for bandwidth test</help>
        </properties>
        <children>
          <leafNode name="accept">
            <properties>
              <help>Wait for bandwidth test connections (port TCP/5001)</help>
            </properties>
            <command>iperf -s</command>
          </leafNode>
          <tagNode name="initiate">
            <properties>
              <help>Initiate a bandwidth test to specified host (port TCP/5001)</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>iperf -c $4</command>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>