python-openstackclient/doc/source/command-objects/compute-service.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
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: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

93 lines
1.5 KiB
ReStructuredText

===============
compute service
===============
Compute v2
compute service delete
----------------------
Delete compute service(s)
.. program:: compute service delete
.. code:: bash
openstack compute service delete
<service> [<service> ...]
.. _compute-service-delete:
.. describe:: <service>
Compute service(s) to delete (ID only)
compute service list
--------------------
List compute services
.. program:: compute service list
.. code:: bash
openstack compute service list
[--host <host>]
[--service <service>]
[--long]
.. _compute-service-list:
.. option:: --host <host>
List services on specified host (name only)
.. option:: --service <service>
List only specified service (name only)
.. option:: --long
List additional fields in output
compute service set
-------------------
Set compute service properties
.. program:: compute service set
.. code:: bash
openstack compute service set
[--enable | --disable]
[--disable-reason <reason>]
[--up | --down]
<host> <service>
.. _compute-service-set:
.. option:: --enable
Enable service
.. option:: --disable
Disable service
.. option:: --disable-reason <reason>
Reason for disabling the service (in quotes). Should be used with --disable option.
.. option:: --up
Force up service
.. option:: --down
Force down service
.. describe:: <host>
Name of host
.. describe:: <service>
Name of service (Binary name)