]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Don't delete DVR namespace if there are still ports on this node
authorshihanzhang <shihanzhang@huawei.com>
Mon, 15 Jun 2015 06:51:16 +0000 (14:51 +0800)
committershihanzhang <shihanzhang@huawei.com>
Fri, 19 Jun 2015 06:17:05 +0000 (14:17 +0800)
commite3710f59481b4f9c3430228e8f074c845e93fbe7
tree42078211a244a40a07c04f0fc606b9f75aa2a549
parent345ffb99ef92f567562c178c57b9c110740a3767
Don't delete DVR namespace if there are still ports on this node

Skip deleting DVR namespaces if they contain ports in the BUILD or
DOWN status.

Change-Id: I026f2014ede800c0f4532ca15f1fccdaa59d5b61
Closes-bug: #1464527
neutron/db/l3_dvrscheduler_db.py
neutron/tests/unit/scheduler/test_l3_agent_scheduler.py