]> 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>
Sun, 14 Sep 2014 11:27:01 +0000 (13:27 +0200)
commitf1507d080d9840e4cb6c1d5cfe5a4b6c1443bd8f
treed36753a97f5fdc3411665c5e686f7983db9d6ddf
parent903e2a8cd1dd9169048d1ad9dd8a566b2ae52395
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
neutron/plugins/ml2/drivers/mechanism_odl.py
neutron/tests/unit/ml2/test_mechanism_odl.py