]> 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)
committerGary Kotton <gkotton@vmware.com>
Tue, 6 Oct 2015 09:59:20 +0000 (02:59 -0700)
commitcaebc8fb8e8d9782746c3cc3ddc86f786342c819
tree36cf3b7e3378b598490e981fbecc41b0d1f38d97
parent254651ae8449fe7cb5ddc61b61eba1626c633984
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
neutron/agent/linux/dhcp.py
neutron/tests/unit/agent/dhcp/test_agent.py