Use source LB instead of default round-robin 82/77182/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Mon, 22 Oct 2018 17:15:59 +0000 (10:15 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Mon, 22 Oct 2018 17:15:59 +0000 (10:15 -0700)
JIRA: NETVIRT-1460

Change-Id: Icbcef74db4c9a72becd14289808bec4b1990951a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
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