summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-10 21:13:08 +0200
committerGitHub <noreply@github.com>2023-05-10 21:13:08 +0200
commit6eaa327c2a3bca3924e72cf7c5736489bb76f784 (patch)
tree3dcd4adf7692682026b3290b36c96de91d46c580 /interface-definitions
parent96d9bf0a88fc822b8edd78db293b7f17ae8766cf (diff)
parent8dc6b0aa8d7bbecfc5087a7406725812779eaaf6 (diff)
downloadvyos-1x-6eaa327c2a3bca3924e72cf7c5736489bb76f784.tar.gz
vyos-1x-6eaa327c2a3bca3924e72cf7c5736489bb76f784.zip
Merge pull request #1987 from dmbaturin/T5251-vrrp-group-ping
T5215: add a built-in ping check for VRRP groups
Diffstat (limited to 'interface-definitions')
-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>