summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-bandwidth.xml.in
blob: 9af0a9e70f4d70a6484cc002294af9002447b7d8 (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>
  <node name="monitor">
    <children>
      <node name="bandwidth">
        <properties>
          <help>Monitor interface bandwidth in real time</help>
        </properties>
        <children>
          <tagNode name="interface">
            <command>bmon -b -p $4</command>
            <properties>
              <help>Monitor bandwidth usage on specified interface</help>
              <completionHelp>
                <script>${vyos_completion_dir}/list_interfaces.py</script>
              </completionHelp>
            </properties>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>