Adds the possibility to retrieve a project and list its parents and subtree in the hierarchy. Co-Authored-By: Rodrigo Duarte <rodrigods@lsd.ufcg.edu.br> Co-Authored-By: Samuel de Medeiros Queiroz <samuel@lsd.ufcg.edu.br> Implements: bp hierarchical-multitenancy Change-Id: I874f6faffc8a2db9d99f12cbe0a69c0a30c0d9df
3.1 KiB
project
Identity v2, v3
project create
Create new project
project create
os project create
[--domain <domain>]
[--parent <project>]
[--description <description>]
[--enable | --disable]
[--property <key=value>]
<name>
--domain <domain>
Domain owning the project (name or ID)
3
--parent <project>
Parent of the project (name or ID)
3
--description <description>
Project description
--enable
Enable project (default)
--disable
Disable project
--property <key=value>
Add a property to \<name\> <project_create-name>
(repeat
option to set multiple properties)
New project name
project delete
Delete project(s)
project delete
os project delete
<project> [<project> ...]
--domain <domain>
Domain owning \<project\> <_project_delete-project>
(name or ID)
3
Project to delete (name or ID)
project list
List projects
project list
os project list
[--domain <domain>]
[--user <user>]
[--long]
--domain <domain>
Filter projects by \<domain\> <--domain>
(name or ID)
3
--user <user>
Filter projects by \<user\> <--user>
(name or ID)
3
--long
List additional fields in output
project set
Set project properties
project set
os project set
[--name <name>]
[--domain <domain>]
[--description <description>]
[--enable | --disable]
[--property <key=value>]
<project>
--name <name>
Set project name
--domain <domain>
Domain owning \<project\> <project_set-project>
(name or
ID)
3
--description <description>
Set project description
--enable
Enable project (default)
--disable
Disable project
--property <key=value>
Set a property on \<project\> <project_set-project>
(repeat
option to set multiple properties)
Project to modify (name or ID)
project show
Display project details
project show
os project show
[--domain <domain>]
<project>
--domain <domain>
Domain owning \<project\> <project_show-project>
(name
or ID)
3
--parents
Show the project's parents as a list
3
--children
Show project's subtree (children) as a list
3
Project to display (name or ID)