Use source LB instead of default round-robin
[releng/builder.git] / jjb / integration / integration-deploy-openstack-run-test.sh
index 4f211e022e43cd04836cd2933dcfdb289e9c7e88..c2e49aed05c27a4e79a5a978fffeb76ff878ef5f 100644 (file)
@@ -483,6 +483,7 @@ defaults
 listen opendaylight
   bind ${haproxy_ip}:8181 transparent
   mode http
+  balance source
   http-request set-header X-Forwarded-Proto https if { ssl_fc }
   http-request set-header X-Forwarded-Proto http if !{ ssl_fc }
   option httpchk GET /diagstatus
@@ -500,6 +501,7 @@ EOF
 listen opendaylight_ws
   bind ${haproxy_ip}:8185 transparent
   mode http
+  balance source
   timeout connect 5s
   timeout client 25s
   timeout server 25s