summaryrefslogtreecommitdiff
path: root/op-mode-definitions/monitor-bandwidth.xml.in
blob: fc1d751d620a7fa0eed1cd67ff0e790555d6a675 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="monitor">
    <children>
      <node name="bandwidth">
        <properties>
          <help>Monitor interface bandwidth in real time</help>
        </properties>
        <command>bmon --use-bit</command>
        <children>
          <tagNode name="interface">
            <command>bmon --use-bit --policy $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>