summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy/timeout.xml.i
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-05-13 12:59:12 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-05-17 13:23:18 +0000
commit6d0325190fcede5b912c20cfb6ffefab90a3f4f4 (patch)
treed4cc3cd284044d644c4d268d53e8b0538ddd89d2 /interface-definitions/include/haproxy/timeout.xml.i
parent25545b1e3cf2e94f3521e4ed80ce744f4b08683e (diff)
downloadvyos-1x-6d0325190fcede5b912c20cfb6ffefab90a3f4f4.tar.gz
vyos-1x-6d0325190fcede5b912c20cfb6ffefab90a3f4f4.zip
T5222: Add load-balancing for web traffic
Diffstat (limited to 'interface-definitions/include/haproxy/timeout.xml.i')
-rw-r--r--interface-definitions/include/haproxy/timeout.xml.i45
1 files changed, 45 insertions, 0 deletions
diff --git a/interface-definitions/include/haproxy/timeout.xml.i b/interface-definitions/include/haproxy/timeout.xml.i
new file mode 100644
index 000000000..250b35683
--- /dev/null
+++ b/interface-definitions/include/haproxy/timeout.xml.i
@@ -0,0 +1,45 @@
+<!-- include start from haproxy/timeout.xml.i -->
+<node name="timeout">
+ <properties>
+ <help>Tiemout options</help>
+ </properties>
+ <children>
+ <leafNode name="check">
+ <properties>
+ <help>Timeout in seconds for established connections</help>
+ <valueHelp>
+ <format>u32:1-3600</format>
+ <description>Check timeout in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-3600"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="connect">
+ <properties>
+ <help>Set the maximum time to wait for a connection attempt to a server to succeed</help>
+ <valueHelp>
+ <format>u32:1-3600</format>
+ <description>Connect timeout in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-3600"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="server">
+ <properties>
+ <help>Set the maximum inactivity time on the server side</help>
+ <valueHelp>
+ <format>u32:1-3600</format>
+ <description>Server timeout in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-3600"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->