Add parent project filter for listing projects
This patch introduces a new option --parent into project list, to specify a parent project to filter projects which has the given project as their parent. Depends-on: https://review.opendev.org/#/c/677101 Change-Id: I6725262cf040e0ec6ceca9cf0462ce59224049c6
This commit is contained in:
doc/source/cli/command-objects
openstackclient
releasenotes/notes
@@ -102,6 +102,7 @@ List projects
|
||||
|
||||
openstack project list
|
||||
[--domain <domain>]
|
||||
[--parent <parent>]
|
||||
[--user <user>]
|
||||
[--my-projects]
|
||||
[--long]
|
||||
@@ -115,6 +116,12 @@ List projects
|
||||
|
||||
.. versionadded:: 3
|
||||
|
||||
.. option:: --parent <parent>
|
||||
|
||||
Filter projects whose parent is :option:`\<parent\> <--parent>` (name or ID)
|
||||
|
||||
.. versionadded:: 3
|
||||
|
||||
.. option:: --user <user>
|
||||
|
||||
Filter projects by :option:`\<user\> <--user>` (name or ID)
|
||||
|
Reference in New Issue
Block a user