blob: 3caf1f1ea5fb27a276d5588891b80d988dd71550 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="show">
<children>
<node name="ip">
<properties>
<help>Show IPv4 networking information</help>
</properties>
<children>
<node name="neighbors">
<properties>
<help>Show IPv4 neighbor (ARP) table</help>
</properties>
<command>${vyos_op_scripts_dir}/neighbor.py show --family inet</command>
<children>
<tagNode name="interface">
<properties>
<help>Show IPv4 neighbor table for specified interface</help>
<completionHelp>
<script>${vyos_completion_dir}/list_interfaces --broadcast</script>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/neighbor.py show --family inet --interface "$5"</command>
</tagNode>
<tagNode name="state">
<properties>
<help>Show IPv4 neighbors with specified state</help>
<completionHelp>
<list>reachable stale failed permanent</list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/neighbor.py show --family inet --state "$5"</command>
</tagNode>
</children>
</node>
<leafNode name="nht">
<properties>
<help>Show IPv4 nexthop tracking table</help>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</leafNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|