af1a55bfd2

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
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.
- License: Apache License, Version 2.0
- Documentation: http://docs.openstack.org/developer/python-neutronclient
- Source: http://git.openstack.org/cgit/openstack/python-neutronclient
- Bugs: http://bugs.launchpad.net/python-neutronclient
Description
Languages
Python
100%