summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-arp.xml
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2018-06-08 10:48:17 +0200
committerRunar Borge <runar@borge.nu>2018-06-08 10:48:17 +0200
commit06b807f9b898c6bef55c9c0888bf5fd1c96bc9bd (patch)
tree2323f5bac780f8c128c4f281826faffda8ac8ddb /op-mode-definitions/show-arp.xml
parent54796fb7d01fc4d118d7c95943326d1ae185642e (diff)
downloadvyos-1x-06b807f9b898c6bef55c9c0888bf5fd1c96bc9bd.tar.gz
vyos-1x-06b807f9b898c6bef55c9c0888bf5fd1c96bc9bd.zip
T689: Changed syntax on 'show arp XXX' to 'show arp interface XXX' to be compatible with the new parser
Diffstat (limited to 'op-mode-definitions/show-arp.xml')
-rw-r--r--op-mode-definitions/show-arp.xml29
1 files changed, 15 insertions, 14 deletions
diff --git a/op-mode-definitions/show-arp.xml b/op-mode-definitions/show-arp.xml
index 3d40db728..7256bef61 100644
--- a/op-mode-definitions/show-arp.xml
+++ b/op-mode-definitions/show-arp.xml
@@ -2,24 +2,25 @@
<interfaceDefinition>
<node name="show">
<children>
- <leafNode name="arp">
+ <node name="arp">
<properties>
<help>Show Address Resolution Protocol (ARP) information</help>
</properties>
<command>/usr/sbin/arp -e -n</command>
- </leafNode>
- <tagNode name="arp">
- <properties>
- <help>Show Address Resolution Protocol (ARP) cache for specified interface</help>
- <completionHelp>
- <script>${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet</script>
- <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bridge</script>
- <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bonding</script>
- </completionHelp>
- </properties>
- <command>/usr/sbin/arp -e -n -i '$3'</command>
-
- </tagNode>
+ <children>
+ <tagNode name="interface">
+ <properties>
+ <help>Show Address Resolution Protocol (ARP) cache for specified interface</help>
+ <completionHelp>
+ <script>${vyatta_sbindir}/vyatta-interfaces.pl --show ethernet</script>
+ <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bridge</script>
+ <script>${vyatta_sbindir}/vyatta-interfaces.pl --show bonding</script>
+ </completionHelp>
+ </properties>
+ <command>/usr/sbin/arp -e -n -i '$4'</command>
+ </tagNode>
+ </children>
+ </node>
</children>
</node>