]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix misleading error message about failed dhcp notifications
authorarmando-migliaccio <armamig@gmail.com>
Mon, 10 Mar 2014 21:29:29 +0000 (14:29 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Mon, 17 Mar 2014 23:32:44 +0000 (16:32 -0700)
commitfb9886b903434321e62373cb4c11ba014921e4df
tree5c33fb0f3ab3fcfcc23390f568eaffb8c55eba8c
parentcc48a40da650ba7bd0d58890d3d0946d3cec2aec
Fix misleading error message about failed dhcp notifications

This is achieved by adjusting the log traces and ensuring
that the right log errors are emitted based on the status
of the network.

Also, the patch drastically simplifies the structure of the
notification method and unit tests to increase coverage.

Closes-bug: #1289130

Change-Id: I7cc78bba81c516380fc93a68aa7b295312a88e29
neutron/api/rpc/agentnotifiers/dhcp_rpc_agent_api.py
neutron/tests/base.py
neutron/tests/unit/api/rpc/agentnotifiers/test_dhcp_rpc_agent_api.py