]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix KeyError exception while updating dhcp port
authorarmando-migliaccio <armamig@gmail.com>
Wed, 28 May 2014 17:37:15 +0000 (10:37 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Wed, 28 May 2014 18:46:13 +0000 (11:46 -0700)
commit82683feff64b5b0dff36f983526421e608f13d94
tree57fabe955b751da370f60eb8907722642283eda9
parent3b9c1bd97f4755cc3011f7487ab95e9c9b845bce
Fix KeyError exception while updating dhcp port

This is caused by a missing network_id in the port body.
This patch adds it so that a warning message can be traced
correctly. Wording is slightly tweaked to ensure it applies
to the right context.

Closes-bug: #1324194

Change-Id: I4b67b5c3584aa33278eb0e9e879ca338ba0ca8b0
neutron/agent/linux/dhcp.py
neutron/db/dhcp_rpc_base.py
neutron/tests/unit/test_dhcp_agent.py