python-openstackclient/doc/source/command-objects/service.rst
Dean Troyer c2c3f2e0f2 Update service clist commands for v2 and v3
Changes to the 'service list' commands for Identity v2 and v3:
* Document support for --long
* Add Description to v3 output with --long
* v3 output is now (ID, Name, Type), with (Description, Enabled) added with --long
* Change v2 output to match v3 output, with the absense of Enabled.
* Update doc to match

Closes-Bug: #1411337
Change-Id: I999e3df22f61350cdeba63bbb7d01145c2ffeeaf
2015-01-16 12:59:14 -06: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

service delete

os service delete
    <service>




Service 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 update (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)