summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorAkihiro Motoki <motoki@da.jp.nec.com>2016-01-09 13:18:36 +0900
committerAkihiro Motoki <motoki@da.jp.nec.com>2016-01-24 23:44:32 +0900
commit9dbdced729f6d7750307092d10a9737867a5b01c (patch)
tree302c2bb6387331758743839a8bde8e7f7837a165 /releasenotes
parenta1f75e3abb1ed771d93daa5321e79aa40e42c83f (diff)
downloadpython-neutronclient-9dbdced729f6d7750307092d10a9737867a5b01c.tar.gz
Show tenant_id in *-list by admin
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
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/show-tenant-id-admin-listing-dc13ee7eb889d418.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/show-tenant-id-admin-listing-dc13ee7eb889d418.yaml b/releasenotes/notes/show-tenant-id-admin-listing-dc13ee7eb889d418.yaml
new file mode 100644
index 0000000..6b84e18
--- /dev/null
+++ b/releasenotes/notes/show-tenant-id-admin-listing-dc13ee7eb889d418.yaml
@@ -0,0 +1,6 @@
+---
+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.