summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces.xml.in
blob: dc61a6f5ce7336aabf0a9324383d77ccc1aebcd1 (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}/interfaces.py show_summary</command>
        <children>
          <leafNode name="counters">
            <properties>
              <help>Show network interface counters</help>
            </properties>
            <command>${vyos_op_scripts_dir}/interfaces.py show_counters</command>
          </leafNode>
          <leafNode name="detail">
            <properties>
              <help>Show detailed information of all interfaces</help>
            </properties>
            <command>${vyos_op_scripts_dir}/interfaces.py show</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>