diff options
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/force-arp.xml | 24 |
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> |