neutron-lbaas/neutron_lbaas/tests/unit/drivers/haproxy
Dustin Lundquist a792d8906c haproxy ns driver: set global haproxy maxconn
Haproxy uses two separate maxconn values: the maxconn setting in the
global context is used to adjust file descriptor limits and allocate
resources, while the maxconn setting in the frontend context controls if
additional connections are accepted on that frontend.

This patch adds a maxconn to the global context equal to the sum of the
connection limit on each listener. For listeners which no connection
limit specified, the haproxy default global connection limit (2000
connections) is used. This way we provide the same behavior as a default
haproxy configuraiton which no connection limit specified in the case of
a single load balancer.

Change-Id: Icc63771ed15a7f718dab0389c1fb63d628896e0a
Partial-Bug: 1544861
2016-09-13 19:55:00 +00:00
..
sample_configs haproxy ns driver: set global haproxy maxconn 2016-09-13 19:55:00 +00:00
__init__.py Moving base driver code to a new location 2015-02-26 09:40:56 -08:00
test_jinja_cfg.py haproxy ns driver: set global haproxy maxconn 2016-09-13 19:55:00 +00:00
test_namespace_driver.py Nuke lbaas v1 2016-08-23 13:05:48 -05:00