]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix DVR downgrade exception / error code
authorAssaf Muller <amuller@redhat.com>
Mon, 12 Oct 2015 18:42:43 +0000 (14:42 -0400)
committerGal Sagie <gal.sagie@huawei.com>
Sat, 17 Oct 2015 18:30:16 +0000 (18:30 +0000)
commita6d9580f2b95bf2c7c607d4e2671ffbbceae28d5
treeb432866c40b820b9d56ed2612ce09007d7053f7a
parent30840f78517d0d716b7a4e4a500d5b67c28f43fa
Fix DVR downgrade exception / error code

Updating a distributed router back to a legacy router
should return error 400 (BadRequest), not error 500.

Closes-Bug: #1505346
Change-Id: Ia57e80107bd11ff7b38b89d30279603017913724
neutron/common/exceptions.py
neutron/db/l3_dvr_db.py
neutron/tests/unit/db/test_l3_dvr_db.py