summaryrefslogtreecommitdiff
path: root/interface-definitions/include/haproxy/mode.xml.i
blob: d013e027d60cf2959022f43c0c726cad83c2a24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- 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>
  <defaultValue>http</defaultValue>
</leafNode>
<!-- include end -->