summaryrefslogtreecommitdiff
path: root/op-mode-definitions/force-arp.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-27 16:25:03 +0100
committerGitHub <noreply@github.com>2020-11-27 16:25:03 +0100
commit0b06b4807887357b2b9eed6a35928bb343c41028 (patch)
tree3164c978cc713d2a883cfd1bea828ebb14f0680d /op-mode-definitions/force-arp.xml
parenta2ac9fac16eeb626d3969092fecf463650750640 (diff)
parent0f92187484aef9b128ccd86ce3d61eb1b5dcc373 (diff)
downloadvyos-1x-0b06b4807887357b2b9eed6a35928bb343c41028.tar.gz
vyos-1x-0b06b4807887357b2b9eed6a35928bb343c41028.zip
Merge pull request #508 from jack9603301/current
arping: T2715: Duplicate address detection option supporting ARP
Diffstat (limited to 'op-mode-definitions/force-arp.xml')
-rw-r--r--op-mode-definitions/force-arp.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/op-mode-definitions/force-arp.xml b/op-mode-definitions/force-arp.xml
index c7bcad413..f9f7c7643 100644
--- a/op-mode-definitions/force-arp.xml
+++ b/op-mode-definitions/force-arp.xml
@@ -72,6 +72,30 @@
</tagNode>
</children>
</node>
+ <node name="duplicate">
+ <properties>
+ <help>Send ARP for DAD detection</help>
+ </properties>
+ <children>
+ <tagNode name="interface">
+ <properties>
+ <help>Send ARP for DAD detection on specified interface</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script>
+ </completionHelp>
+ </properties>
+ <children>
+ <tagNode name="address">
+ <properties>
+ <help>Send ARP for DAD detection for specified address</help>
+ </properties>
+ <command>sudo /usr/bin/arping -I $5 -c 1 -D $7</command>
+ </tagNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+
</children>
</node>
</children>