python-openstackclient/doc/source/command-objects/domain.rst
Huanxuan Ao 60639d76a7 Support bulk deletion for delete commands in identityv3
Support bulk deletion for delete commands in the list below
identity/v3/consumer
identity/v3/credential
identity/v3/domain
identity/v3/ec2creds
identity/v3/endpoint
identity/v3/federation_protocol
identity/v3/identity_provider
identity/v3/mapping
identity/v3/policy
identity/v3/region
identity/v3/service_provider
identity/v3/service

The unit test in identityv3 need to be refactored, so I add
some functional tests instead. I will add all unit tests at
one time after the refactor completed.

Change-Id: I82367570f59817b47c87b6c7bfeae95ccfe5c50e
Closes-Bug: #1592906
2016-07-19 09:49:36 +08:00

1.5 KiB

domain

Identity v3

domain create

Create new domain

domain create

os domain create
    [--description <description>]
    [--enable | --disable]
    [--or-show]
    <domain-name>

--description <description>

New domain description

--enable

Enable domain (default)

--disable

Disable domain

--or-show

Return existing domain

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

<domain-name>

New domain name

domain delete

Delete domain(s)

domain delete

os domain delete
    <domain> [<domain> ...]

<domain>

Domain(s) to delete (name or ID)

domain list

List domains

domain list

os domain list

domain set

Set domain properties

domain set

os domain set
    [--name <name>]
    [--description <description>]
    [--enable | --disable]
    <domain>

--name <name>

New domain name

--description <description>

New domain description

--enable

Enable domain

--disable

Disable domain

<domain>

Domain to modify (name or ID)

domain show

Display domain details

domain show

os domain show
    <domain>

<domain>

Domain to display (name or ID)