python-openstackclient/doc/source/command-objects/compute-service.rst
zhiyong.dai 75f2875a6e Add ":option: " in the help message
This patch mainly adds  ":option:` `" in several help messages in the doc.
This modification will create one link which helps the readers find the relative
option quickly and conveniently in website.

Change-Id: Ia047e15c3b2064e4822ee7df7922d4774d862602
2017-01-03 12:13:10 +08:00

90 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-service:
.. 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]
.. 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>
.. option:: --enable
Enable service
.. option:: --disable
Disable service
.. option:: --disable-reason <reason>
Reason for disabling the service (in quotes). Should be used with :option:`--disable` option.
.. option:: --up
Force up service
.. option:: --down
Force down service
.. _compute_service_set-host:
.. describe:: <host>
Name of host
.. describe:: <service>
Name of service (Binary name)