vmware-nsx/neutron/plugins/vmware/api_client
Salvatore Orlando 61c2c03eaf NSX plugin: return 400 for invalid gw certificate
Gateway certificates are validated by the NSX backend.
The code currently treats a failure in certification
validation as a backend failure and therefore returns
a 500 status code.

This patch changes this behaviour by returning a 400
status code and an appropriate error description.
To this aim a handler for 400 errors has been added to
the NSX API client.

Closes-Bug: #1293508

Change-Id: I196f14337e47cd40710a6d8a30bbe1cac5ffe05b
2014-03-24 01:46:29 -07:00
..
__init__.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
base.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
client.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
eventlet_client.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
eventlet_request.py NSX: Add ability to retry on 503's returned by the controller 2014-03-06 18:57:17 -08:00
exception.py NSX plugin: return 400 for invalid gw certificate 2014-03-24 01:46:29 -07:00
request.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00
version.py Finish off rebranding of the Nicira NVP plugin 2014-03-01 18:14:52 -08:00