9dbdced729
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
7 lines
271 B
YAML
7 lines
271 B
YAML
---
|
|
features:
|
|
- Show tenant_id when ``*-list`` command is run by admin. In neutron
|
|
the list operations by admin retrieve all resources from all tenants.
|
|
It is not easy to distinguish resources without tenant_id.
|
|
This feature is useful for admin operations.
|