]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Stop ignoring 400 errors returned by ODL
authorCédric Ollivier <ollivier.cedric@gmail.com>
Sun, 14 Sep 2014 11:04:21 +0000 (13:04 +0200)
committerCédric Ollivier <ollivier.cedric@gmail.com>
Tue, 11 Nov 2014 11:48:16 +0000 (11:48 +0000)
commitfe7c2331e3dd8fdd524b3f9bd896831824a50b1c
treec0c46105f141b0d6ade98bda864e7f06972bdf80
parent44fe2d924327b8c8de17e59ad1b925fd11cc017b
Stop ignoring 400 errors returned by ODL

This commit stops ignoring 400 (Bad Request) HTTP codes returned by ODL
in create and update operations. It also modifies sendjson() because it
doesn't ignore any HTTP error code now.

Change-Id: Id0db2c0c1d8fddfbd16b3ce9476a2358e2ef1e49
Closes-Bug: #1369239
(cherry picked from commit f1507d080d9840e4cb6c1d5cfe5a4b6c1443bd8f)
neutron/plugins/ml2/drivers/mechanism_odl.py
neutron/tests/unit/ml2/test_mechanism_odl.py