project

project

Identity v2, v3

project create

Create new project

openstack project create
    [--domain <domain>]
    [--parent <project>]
    [--description <description>]
    [--enable | --disable]
    [--property <key=value>]
    [--or-show]
    [--tag <tag>]
    <name>
--domain <domain>

Domain owning the project (name or ID)

New in version 3.

--parent <project>

Parent of the project (name or ID)

New in version 3.

--description <description>

Project description

--enable

Enable project (default)

--disable

Disable project

--property <key=value>

Add a property to <name> (repeat option to set multiple properties)

--or-show

Return existing project

If the project already exists return the existing project data and do not fail.

--tag

Add a tag to the project (repeat option to set multiple tags)

New in version 3.

<name>

New project name

project delete

Delete project(s)

openstack project delete
    [--domain <domain>]
    <project> [<project> ...]
--domain <domain>

Domain owning <project> (name or ID)

New in version 3.

<project>

Project to delete (name or ID)

project list

List projects

openstack project list
    [--domain <domain>]
    [--user <user>]
    [--my-projects]
    [--long]
    [--sort <key>[:<direction>,<key>:<direction>,..]]
    [--tags <tag>[,<tag>,...]] [--tags-any <tag>[,<tag>,...]]
    [--not-tags <tag>[,<tag>,...]] [--not-tags-any <tag>[,<tag>,...]]
--domain <domain>

Filter projects by <domain> (name or ID)

New in version 3.

--user <user>

Filter projects by <user> (name or ID)

New in version 3.

--my-projects

List projects for the authenticated user. Supersedes other filters.

New in version 3.

--long

List additional fields in output

--sort <key>[:<direction>,<key>:<direction>,..]

Sort output by selected keys and directions (asc or desc) (default: asc), multiple keys and directions can be specified –sort <key>[:<direction>,<key>:<direction>,..]

--tags <tag>[,<tag>,...]

List projects which have all given tag(s)

New in version 3.

--tags-any <tag>[,<tag>,...]

List projects which have any given tag(s)

New in version 3.

--not-tags <tag>[,<tag>,...]

Exclude projects which have all given tag(s)

New in version 3.

--not-tags-any <tag>[,<tag>,...]

Exclude projects which have any given tag(s)

New in version 3.

project set

Set project properties

openstack project set
    [--name <name>]
    [--domain <domain>]
    [--description <description>]
    [--enable | --disable]
    [--property <key=value>]
    [--tag <tag> | --clear-tags | --remove-tags <tag>]
    <project>
--name <name>

Set project name

--domain <domain>

Domain owning <project> (name or ID)

New in version 3.

--description <description>

Set project description

--enable

Enable project (default)

--disable

Disable project

--property <key=value>

Set a property on <project> (repeat option to set multiple properties)

Identity version 2 only

<project>

Project to modify (name or ID)

project show

Display project details

openstack project show
    [--domain <domain>]
    <project>
--domain <domain>

Domain owning <project> (name or ID)

New in version 3.

--parents

Show the project’s parents as a list

New in version 3.

--children

Show project’s subtree (children) as a list

New in version 3.

<project>

Project to display (name or ID)

project unset

Unset project properties

Identity version 2 only

openstack project unset
    --property <key> [--property <key> ...]
    <project>
--property <key>

Property key to remove from project (repeat option to remove multiple properties)

<project>

Project to modify (name or ID)

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.