summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy/mode.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/mode.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/mode.xml.i')
-rw-r--r--interface-definitions/include/haproxy/mode.xml.i22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface-definitions/include/haproxy/mode.xml.i b/interface-definitions/include/haproxy/mode.xml.i
new file mode 100644
index 000000000..672ea65b4
--- /dev/null
+++ b/interface-definitions/include/haproxy/mode.xml.i
@@ -0,0 +1,22 @@
+<!-- include start from haproxy/mode.xml.i -->
+<leafNode name="mode">
+ <properties>
+ <help>Proxy mode</help>
+ <completionHelp>
+ <list>http tcp</list>
+ </completionHelp>
+ <constraintErrorMessage>invalid value</constraintErrorMessage>
+ <valueHelp>
+ <format>http</format>
+ <description>HTTP proxy mode</description>
+ </valueHelp>
+ <valueHelp>
+ <format>tcp</format>
+ <description>TCP proxy mode</description>
+ </valueHelp>
+ <constraint>
+ <regex>(http|tcp)</regex>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->