diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-03-12 11:32:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 11:32:59 +0100 |
commit | aafdc29b444a4ecddadabd883e05b2d193698374 (patch) | |
tree | fed813830ff471a2f9024ba9eeeff61017265caa /interface-definitions | |
parent | 964234ed47c27145bafbac2642bef7fd5e57c16a (diff) | |
parent | 19fecd46a2980fcf97905aa2485513a6f79271eb (diff) | |
download | vyos-1x-aafdc29b444a4ecddadabd883e05b2d193698374.tar.gz vyos-1x-aafdc29b444a4ecddadabd883e05b2d193698374.zip |
Merge pull request #3122 from HollyGurza/T6020-sagitta1.4.0-epa2
vrrp: T6020: vrrp health-check script not applied correctly in keepal…
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/high-availability.xml.in | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/interface-definitions/high-availability.xml.in b/interface-definitions/high-availability.xml.in index aef57f8ae..558404882 100644 --- a/interface-definitions/high-availability.xml.in +++ b/interface-definitions/high-availability.xml.in @@ -345,6 +345,55 @@ </completionHelp> </properties> </leafNode> + <node name="health-check"> + <properties> + <help>Health check</help> + </properties> + <children> + <leafNode name="failure-count"> + <properties> + <help>Health check failure count required for transition to fault</help> + <constraint> + <validator name="numeric" argument="--positive" /> + </constraint> + </properties> + <defaultValue>3</defaultValue> + </leafNode> + <leafNode name="interval"> + <properties> + <help>Health check execution interval in seconds</help> + <constraint> + <validator name="numeric" argument="--positive"/> + </constraint> + </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="ip-address"/> + </constraint> + </properties> + </leafNode> + <leafNode name="script"> + <properties> + <help>Health check script file</help> + <constraint> + <validator name="script"/> + </constraint> + </properties> + </leafNode> + </children> + </node> #include <include/vrrp-transition-script.xml.i> </children> </tagNode> |