]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
LBaaS: check for associations before deleting health monitor
authorOleg Bondarev <obondarev@mirantis.com>
Thu, 24 Oct 2013 12:53:55 +0000 (16:53 +0400)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:32 +0000 (15:20 +0800)
commit8141fcaa17117d9f4b63bb9f81f7437e695654af
tree5ea3a3b50d4bca86e26ea7f67aee56579e736fe1
parentf0ec117c1ef33fb0f87861c9f66de337aed8ec50
LBaaS: check for associations before deleting health monitor

Need to prohibit health monitor deletion if it has associations with
pools. Given that pools may belong to different lbaas drivers the process
of monitor deletion becomes complex and unreliable since association
deletion may fail on any single driver.

DocImpact

Closes-Bug: #1243129
Change-Id: I27c20e7a5be8433f90569534ecf838e33027cb00
neutron/db/loadbalancer/loadbalancer_db.py
neutron/extensions/loadbalancer.py
neutron/services/loadbalancer/plugin.py
neutron/tests/unit/db/loadbalancer/test_db_loadbalancer.py
neutron/tests/unit/services/loadbalancer/drivers/test_agent_driver_base.py