]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix re-creation of the pool directory
authorVishal Agarwal <vishala@hp.com>
Wed, 25 Jun 2014 16:00:39 +0000 (21:30 +0530)
committerVishal Agarwal <vishala@hp.com>
Thu, 26 Jun 2014 14:42:42 +0000 (20:12 +0530)
commitd7318ff7123ea851e9d6953ef2c66f793ae46ca1
tree60aed9be22b7dc728f1abece9218dc081e1100f5
parent29cb0ebefce8396263359c238e325c40faf3d168
Fix re-creation of the pool directory

Whenever vip is deleted the complete pool directory
is deleted, but since pool is still alive the get_stats
function recreates the directory. The fix prevents the
re-creation of the directory. Respective unit test case
is also modified

Change-Id: I577e8e3a51db361210aa83a6c7f9b4f61210e924
Closes-Bug: #1317871
neutron/services/loadbalancer/drivers/haproxy/namespace_driver.py
neutron/tests/unit/services/loadbalancer/drivers/haproxy/test_namespace_driver.py