]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Improve ODL ML2 Exception Handling
authorDave Tucker <dave@dtucker.co.uk>
Wed, 23 Apr 2014 16:01:38 +0000 (17:01 +0100)
committerDave Tucker <dave@dtucker.co.uk>
Fri, 25 Apr 2014 18:15:27 +0000 (19:15 +0100)
commit7db44edd3c5ad4aea508c3cc74a8b0b8d785c26b
tree302a1a777f7cc8e7271e113879481ea88c663657
parentcf22dd2ff9a4da6777043300127d14e73db4f1ed
Improve ODL ML2 Exception Handling

Raise a MechanismDriverError when authentication with ODL fails.
Re-raise HTTPError in "sync_resources" for exceptions whose status code is not 404.

Closes-Bug: #1311758
Change-Id: I99d2c4f270007c369024525ba4e6188d232a0b13
neutron/plugins/ml2/drivers/mechanism_odl.py