summaryrefslogtreecommitdiff
path: root/op-mode-definitions/bandwidth-monitor.xml
blob: 38d099613d1bc5f6b48163bbbcf3d29cd68addca (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>