]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix pool statistics for LBaaS Haproxy driver
authorVishal Agarwal <vishala@hp.com>
Mon, 16 Jun 2014 16:01:15 +0000 (21:31 +0530)
committerVishal Agarwal <vishala@hp.com>
Mon, 16 Jun 2014 16:07:18 +0000 (21:37 +0530)
commitf27e5244adcac9a12c04605fbf5c49a086d5fce5
treea26109c502da1e49de5600957f5d139a69aa64c7
parent840425cbcbd519fe3265c780424e88499b1e846d
Fix pool statistics for LBaaS Haproxy driver

Total connections was mapped to none of the counters
of haproxy. Active connections was mapped to active request
counter(qcur)) of haproxy which in low load situations
always remains zero.

Patch maps connections API counters to haproxy session counters
and fixes unit test accordingly.

Change-Id: I0ef4f76a75340232eb11a9b95453769ecd89d13a
Closes-Bug: #1319361
neutron/services/loadbalancer/drivers/haproxy/cfg.py
neutron/tests/unit/services/loadbalancer/drivers/haproxy/test_namespace_driver.py