]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Unplug the VIF if dhcp port is deleted
authorshihanzhang <shihanzhang@huawei.com>
Tue, 30 Jun 2015 02:14:19 +0000 (10:14 +0800)
committershihanzhang <shihanzhang@huawei.com>
Fri, 17 Jul 2015 06:14:27 +0000 (14:14 +0800)
commit9d800021293d8564ced1c071b6415d9a97b3ef49
treec8aa6385ec3038f52125a392ee36ca45d00f1d62
parent0d93458d1ed1d16fdac6b9f63b4cca8b13bcb619
Unplug the VIF if dhcp port is deleted

if user delete the dhcp port, dhcp-agent should unplug
the VIF for this dhcp port, then the driver do
'reload_allocations' will raise a exception, dhcp-agent
resync for this network and re-create dhcp port.

Change-Id: I40b85033d075562c43ce4d0e68296211b3241197
Closes-bug: #1469615
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/linux/test_dhcp.py