Files
doc
source
_extra
cli
command-objects
access-token.rst
address-scope.rst
aggregate.rst
application-credentials.rst
availability-zone.rst
catalog.rst
command.rst
complete.rst
compute-agent.rst
compute-service.rst
configuration.rst
consistency-group-snapshot.rst
consistency-group.rst
console-log.rst
console-url.rst
consumer.rst
container.rst
credential.rst
domain.rst
ec2-credentials.rst
endpoint.rst
endpoint_group.rst
extension.rst
federation-protocol.rst
flavor.rst
floating-ip-pool.rst
floating-ip.rst
group.rst
host.rst
hypervisor-stats.rst
hypervisor.rst
identity-provider.rst
image.rst
implied_role.rst
ip-availability.rst
keypair.rst
limit.rst
limits.rst
mapping.rst
module.rst
network-agent.rst
network-auto-allocated-topology.rst
network-flavor-profile.rst
network-flavor.rst
network-meter-rule.rst
network-meter.rst
network-qos-policy.rst
network-qos-rule-type.rst
network-qos-rule.rst
network-rbac.rst
network-segment.rst
network-service-provider.rst
network.rst
network_segment_range.rst
object-store-account.rst
object.rst
policy.rst
port.rst
project-purge.rst
project.rst
quota.rst
region.rst
registered-limit.rst
request-token.rst
role-assignment.rst
role.rst
router.rst
security-group-rule.rst
security-group.rst
server-backup.rst
server-event.rst
server-group.rst
server-image.rst
server.rst
service-provider.rst
service.rst
subnet-pool.rst
subnet.rst
token.rst
trust.rst
usage.rst
user.rst
versions.rst
volume-backend.rst
volume-backup.rst
volume-host.rst
volume-qos.rst
volume-service.rst
volume-snapshot.rst
volume-transfer-request.rst
volume-type.rst
volume.rst
data
man
authentication.rst
backwards-incompatible.rst
command-list.rst
commands.rst
decoder.rst
index.rst
interactive.rst
plugin-commands.rst
configuration
contributor
conf.py
index.rst
Makefile
requirements.txt
examples
openstackclient
releasenotes
tools
.coveragerc
.gitignore
.gitreview
.mailmap
.stestr.conf
.zuul.yaml
CONTRIBUTING.rst
HACKING.rst
LICENSE
README.rst
babel.cfg
lower-constraints.txt
requirements.txt
setup.cfg
setup.py
test-requirements.txt
tox.ini
python-openstackclient/doc/source/cli/command-objects/project.rst
Gage Hugo d32664150f Add project tags functionality
This change adds tags functionality for projects in keystone. A user
can add a single tag with "--tag", chain "--tag" to add multiple
tags, or clear tags with "--no-tag".

Change-Id: I31cfef3e76dcefe299dacb00c11bb1a10a252628
Partially-Implements: bp project-tags
2018-02-23 20:26:57 +00:00

5.0 KiB

project

Identity v2, v3

project create

Create new project

project create

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)

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)

--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)

3

New project name

project delete

Delete project(s)

project delete

openstack project delete
    [--domain <domain>]
    <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

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\> <--domain> (name or ID)

3

--user <user>

Filter projects by \<user\> <--user> (name or ID)

3

--my-projects

List projects for the authenticated user. Supersedes other filters.

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)

3

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

List projects which have any given tag(s)

3

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

Exclude projects which have all given tag(s)

3

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

Exclude projects which have any given tag(s)

3

project set

Set project properties

project set

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\> <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)

Identity version 2 only

Project to modify (name or ID)

project show

Display project details

project show

openstack 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)

project unset

Unset project properties

Identity version 2 only

project unset

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)