summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-bandwidth.xml.in
blob: 2da9d34f4f6a15d4a4bd13e45702141a26c4ddba (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</script>
              </completionHelp>
            </properties>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>