summaryrefslogtreecommitdiff
path: root/interface-definitions/high-availability.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-05-10 02:42:38 +0100
committerDaniil Baturin <daniil@baturin.org>2023-05-10 12:01:41 +0100
commit8dc6b0aa8d7bbecfc5087a7406725812779eaaf6 (patch)
tree93669fb803f76099d02b42a2c4b82930194680ec /interface-definitions/high-availability.xml.in
parent9495ac100114b932569592ee5ea2d4c0bba0a2a3 (diff)
downloadvyos-1x-8dc6b0aa8d7bbecfc5087a7406725812779eaaf6.tar.gz
vyos-1x-8dc6b0aa8d7bbecfc5087a7406725812779eaaf6.zip
vrrp: T5215: Add built-in ping check for VRRP groups
Diffstat (limited to 'interface-definitions/high-availability.xml.in')
-rw-r--r--interface-definitions/high-availability.xml.in19
1 files changed, 18 insertions, 1 deletions
diff --git a/interface-definitions/high-availability.xml.in b/interface-definitions/high-availability.xml.in
index 9b52fe82e..94253def3 100644
--- a/interface-definitions/high-availability.xml.in
+++ b/interface-definitions/high-availability.xml.in
@@ -96,7 +96,7 @@
#include <include/generic-disable-node.xml.i>
<node name="health-check">
<properties>
- <help>Health check script</help>
+ <help>Health check</help>
</properties>
<children>
<leafNode name="failure-count">
@@ -117,6 +117,23 @@
</properties>
<defaultValue>60</defaultValue>
</leafNode>
+ <leafNode name="ping">
+ <properties>
+ <help>ICMP ping health check</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 ping target address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 ping target address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="script">
<properties>
<help>Health check script file</help>