]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
DHCP: protect against case when device name is None
authorGary Kotton <gkotton@vmware.com>
Sun, 27 Sep 2015 07:24:31 +0000 (00:24 -0700)
committergaryk <gkotton@vmware.com>
Wed, 7 Oct 2015 11:20:10 +0000 (11:20 +0000)
commit0b07910f33ed26fbdd13530eafbdefd74104424d
treeeab3b0b1cca6617e6c856092644637acac089188
parentfb40dbbce9ac17ee43d8921aa62c28f1ea723fba
DHCP: protect against case when device name is None

There are edge cases when the agent attempts to unplug an interface and
the device does not exist.

Change-Id: I6917ec94f685f3dd3bff6aa1d43dc56aab76274a
Closes-bug: #1498370
(cherry picked from commit caebc8fb8e8d9782746c3cc3ddc86f786342c819)
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/dhcp/test_agent.py