]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Return 404 when executing net-list-on-dhcp-agent with invalid agent_id
authorHirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>
Wed, 25 Feb 2015 09:02:35 +0000 (18:02 +0900)
committerHirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>
Thu, 12 Mar 2015 09:05:04 +0000 (18:05 +0900)
commitdc4268b8547ba9416c3c1de4fb41597ab9d5a6df
treea7ff3d237201ceccbc2ecee0e85ffd93f80d5656
parentd479b47938649bfead9124a3be976bc1935544e6
Return 404 when executing net-list-on-dhcp-agent with invalid agent_id

Neutron server returns HTTP code 200 when users execute
net-list-on-dhcp-agent with invalid agent_id.
Users expect HTTP code 404 to be returned.

Change-Id: I41652a9bf4a81835abb6646ea870781472757623
Closes-bug: 1425138
neutron/db/agentschedulers_db.py
neutron/tests/unit/openvswitch/test_agent_scheduler.py