summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authormergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-03 13:57:58 +0300
committerGitHub <noreply@github.com>2024-06-03 13:57:58 +0300
commitd2d8dd1de6e52b7835a0030f42f808433282eea8 (patch)
tree806d23fbe0a233be8b74811b04386fbf09811198 /interface-definitions
parentc6a8522c4c20078bb33157fc803373bf3532a02b (diff)
downloadvyos-1x-d2d8dd1de6e52b7835a0030f42f808433282eea8.tar.gz
vyos-1x-d2d8dd1de6e52b7835a0030f42f808433282eea8.zip
reverse-proxy: T6434: Support additional healthcheck options (#3574) (#3577)
(cherry picked from commit 3e5cc0b7fb8ae4a0f8b7c9270d9db0a0f252c448) Co-authored-by: Alex W <embezzle.dev@proton.me>
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>