summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorAlex W <embezzle.dev@proton.me>2024-06-03 05:54:07 +0100
committerGitHub <noreply@github.com>2024-06-03 07:54:07 +0300
commit3e5cc0b7fb8ae4a0f8b7c9270d9db0a0f252c448 (patch)
tree96f60d89562759d3ae9c9eeec2e6740c82121b99 /interface-definitions
parentd150067ef254a266aef2758e8e92b43c1f22956b (diff)
downloadvyos-1x-3e5cc0b7fb8ae4a0f8b7c9270d9db0a0f252c448.tar.gz
vyos-1x-3e5cc0b7fb8ae4a0f8b7c9270d9db0a0f252c448.zip
reverse-proxy: T6434: Support additional healthcheck options (#3574)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/load-balancing_reverse-proxy.xml.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/interface-definitions/load-balancing_reverse-proxy.xml.in b/interface-definitions/load-balancing_reverse-proxy.xml.in
index e50e6e579..ce757a5d6 100644
--- a/interface-definitions/load-balancing_reverse-proxy.xml.in
+++ b/interface-definitions/load-balancing_reverse-proxy.xml.in
@@ -151,6 +151,37 @@
</node>
</children>
</node>
+ <leafNode name="health-check">
+ <properties>
+ <help>Non HTTP health check options</help>
+ <completionHelp>
+ <list>ldap mysql pgsql redis smtp</list>
+ </completionHelp>
+ <valueHelp>
+ <format>ldap</format>
+ <description>LDAP protocol check</description>
+ </valueHelp>
+ <valueHelp>
+ <format>mysql</format>
+ <description>MySQL protocol check</description>
+ </valueHelp>
+ <valueHelp>
+ <format>pgsql</format>
+ <description>PostgreSQL protocol check</description>
+ </valueHelp>
+ <valueHelp>
+ <format>redis</format>
+ <description>Redis protocol check</description>
+ </valueHelp>
+ <valueHelp>
+ <format>smtp</format>
+ <description>SMTP protocol check</description>
+ </valueHelp>
+ <constraint>
+ <regex>(ldap|mysql|redis|pgsql|smtp)</regex>
+ </constraint>
+ </properties>
+ </leafNode>
#include <include/haproxy/rule-backend.xml.i>
<tagNode name="server">
<properties>