Akihiro Motoki af1a55bfd2 Ensure to use exception per status code for all cases
Previously, only when an exception has a content with
{'NeutronError': {'type': xxxx, 'message': xxxx}},
exception per status code is raised from neutronclient library.
There are cases where this kind of message is not contained
in exception messages, for example, some extension is loaded.

Library users expect an exception is raised based on response
status code and it should not depend on an exception message.
This commit applies a fallback logic to map generic per-status
exception to all exception types from the neutron server.

Closes-Bug: #1513879
Change-Id: Ib3d0a8359aed444b12217b3404d40443d61fc2c0
2016-02-24 10:23:46 +00:00
2015-12-29 19:14:17 +00:00
2012-01-18 09:39:25 +11:00
2015-03-06 22:51:31 +00:00
2015-12-04 13:44:13 +09:00
2013-11-11 11:29:58 -08:00
2012-01-18 09:39:25 +11:00
2013-06-01 10:08:50 +02:00
2015-12-09 11:09:26 +03:00
2016-01-28 14:06:03 +00:00
2015-09-17 12:16:54 +00:00

Python bindings to the Neutron API

This is a client library for Neutron built on the Neutron API. It provides a Python API (the neutronclient module) and a command-line tool (neutron).

Development takes place via the usual OpenStack processes as outlined in the developer guide.

Description
OpenStack Networking (Neutron) Client
Readme 39 MiB
Languages
Python 100%