python-openstackclient/doc/source/command-objects/service.rst
Kevin_Zheng 446e6f2fa8 change os in command example to openstack(3)
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ie67c0152d8ff8b7c456f91dc8b9a9164437ee9d1
2016-12-20 09:26:15 +08:00

2.2 KiB

service

Identity v2, v3

service create

Create new service

service create

openstack 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

openstack service delete
    <service> [<service> ...]




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

service list

List services

service list

openstack 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

openstack 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

openstack service show
    [--catalog]
    <service>

--catalog

Show service catalog information

Identity version 2 only

Service to display (type, name or ID)