summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip.xml.in
blob: 30c08f8e81129b9a75bc3e7e5c5a996cdc0d8a1f (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="ip">
        <properties>
          <help>Show IPv4 routing information</help>
        </properties>
        <children>
          <node name="external">
            <properties>
              <help>Show IPv4 external address</help>
            </properties>
            <command>${vyos_op_scripts_dir}/show_ip_external.sh</command>
          </node>
          <node name="neighbors">
            <properties>
              <help>Show IPv4 Neighbor Discovery (ND) information</help>
            </properties>
            <command>${vyos_op_scripts_dir}/show_neigh.py --family inet</command>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>