summaryrefslogtreecommitdiff
path: root/op-mode-definitions/bandwidth-monitor.xml
blob: a6ddcfd4ba776b390391a9e0a685bff434db5309 (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 -p $4</command>
            <properties>
              <help>Monitor bandwidth usage on specified interface</help>
              <completionHelp>
                <script>${vyos_bindir}/vyos-list-interfaces.py</script>
              </completionHelp>
            </properties>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>