summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces.xml
blob: 39b0f0a2c925aad6b371e8bbd79c28203e027e72 (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
25
26
27
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="interfaces">
        <properties>
          <help>Show network interface information</help>
        </properties>
        <command>${vyos_op_scripts_dir}/show_interfaces.py --action=show-brief</command>
        <children>
          <leafNode name="counters">
            <properties>
              <help>Show network interface counters</help>
            </properties>
            <command>${vyos_op_scripts_dir}/show_interfaces.py --action=show-count</command>
          </leafNode>
          <leafNode name="detail">
            <properties>
              <help>Show detailed information of all interfaces</help>
            </properties>
            <command>${vyos_op_scripts_dir}/show_interfaces.py --action=show</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>