nova/nova/tests/unit/api/ec2
Matthew Treinish f500f99aad
Handle neutron exception on bad floating ip create request
This commit adds a new nova exception to handle a floating ip create
failure with a BadRequest exception from neutronclient. This is then
used in all 3 nova api implementations to ensure a 400 response is
returned just as neutron is returning to nova.

Change-Id: I36e8ef0113ae91e3b15c846c6d10e0b766cf2a37
Closes-Bug: #1482816
2015-08-27 19:25:24 -04:00
..
public_key move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_api.py Get py34 subunit.run test discovery to work 2015-07-28 10:40:56 +00:00
test_apirequest.py Replacing unichr() with six.unichr() and reduce with six.moves.reduce() 2015-08-06 10:11:08 +05:30
test_cinder_cloud.py Simplify interface for creating snapshot of volume-backed instance 2015-08-13 07:55:54 +03:00
test_cloud.py Move V2.1 API unittest to top level directory 2015-08-17 11:15:26 +10:00
test_ec2_validate.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
test_ec2utils.py ensure DatabaseFixture removes db on cleanup 2015-03-12 16:55:55 -04:00
test_error_response.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
test_faults.py Switch to moxstubout and mockpatch from oslotest 2014-12-02 08:03:42 -05:00
test_middleware.py Handle neutron exception on bad floating ip create request 2015-08-27 19:25:24 -04:00