9dbdced729f6d7750307092d10a9737867a5b01c
If API call is done by admin, neutron API returns all resources from all tenants. We received several times a request that tenant_id is useful in such case. This patch displays tenant_id column when *-list is invoked by a user with 'admin' role by default. If columns to be displayed are specified by '-c' option, the specified columns are honored and tenant_id columns is not added. Add functional tests to cover this change. This feature depends on keystoneauth1 and unit tests cannot cover this change. Closes-Bug: #1526238 Change-Id: Id58a0b795f76b4fe24aaf89f1f6486c23f19a553
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%