Previously when fwaas osc plugin was going to look for firewall related resources, like e.g. asking neutron for firewall group or policy was done with ignore_missing=True which means that openstack SDK client didn't raise exception when requested object was not found on the server. That led to the weird and unclear error message displayed by the OpenStack client which said something about "'NoneType' object is not subscriptable". This patch adds "ignore_missing=True" to all those "find_*" methods used in the fwaas osc plugin. That way proper exception is raised by the SDK client and valid error message is displayed to the user by OSC. Closes-bug: #2142458 Change-Id: I309a5dbf61c65d5837d4ea2b3235aa41269ae73d Signed-off-by: Slawek Kaplonski <[email protected]>
Team and repository tags
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).
Note
This project has been deprecated. The CLI code has been deleted and is not accessible anymore. The Python bindings are still in use by other projects but no new features will be added to this project. All projects under Openstack governance migrating to use OpenstackSDK. Any new feature should be proposed to OpenStack SDK and OpenStack Client.
- License: Apache License, Version 2.0
- PyPi - package installation
- Online Documentation
- Launchpad project - release management
- Blueprints - feature specifications
- Bugs - issue tracking
- Source
- Developer's Guide
Description
Languages
Python
100%