python-openstackclient/doc/source/command-objects/service.rst
sunyajing 6df09fd377 Support multi-delete for commands in identity V2
Commands are "ec2 credentials delete", "service delete", "endpoint delete".
Also update their unit tests and functional tests.

Partial-Bug: #1592906
Change-Id: I1a0b7160b803a523646d09d030e6f112c81c4c24
2016-06-23 23:57:49 -04:00

2.2 KiB

service

Identity v2, v3

service create

Create new service

service create

os service create
    [--name <name>]
    [--description <description>]
    [--enable | --disable]
    <type>

--name <name>

New service name

--description <description>

New service description

--enable

Enable service (default)

Identity version 3 only

--disable

Disable service

Identity version 3 only

New service type (compute, image, identity, volume, etc)

service delete

Delete service(s)

service delete

os service delete
    <service> [<service> ...]




Service(s) to delete (type, name or ID)

service list

List services

service list

os service list
    [--long]

--long

List additional fields in output

Returns service fields ID, Name and Type. --long adds Description and Enabled (Identity version 3 only) to the output.

service set

Set service properties

  • Identity version 3 only*

service set

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

--type <type>

New service type (compute, image, identity, volume, etc)

--name <name>

New service name

--description <description>

New service description

--enable

Enable service

--disable

Disable service

Service to modify (type, name or ID)

service show

Display service details

service show

os service show
    [--catalog]
    <service>

--catalog

Show service catalog information

Identity version 2 only

Service to display (type, name or ID)