Set mode in haproxy frontend and backend.
Mode must be present in both sections of the HAProxy config or else it will error. Change-Id: Ie761ce8075b6f33752f3081245b8b40b2a4f8f09
This commit is contained in:
parent
22b53f22c8
commit
3b206ef3ba
@ -72,6 +72,7 @@ class HAProxyDriver(LoadBalancerDriver):
|
||||
protocfg['bind_port']))
|
||||
output.append(' default_backend %s-servers' % proto)
|
||||
output.append('backend %s-servers' % proto)
|
||||
output.append(' mode %s' % proto)
|
||||
output.append(' balance %s' % protocfg['algorithm'])
|
||||
|
||||
for (addr, port) in protocfg['servers']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user