summaryrefslogtreecommitdiff
path: root/doc/source/cli/command-objects/compute-service.rst
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2017-06-13 15:55:33 -0400
committerAndreas Jaeger <aj@suse.com>2017-06-23 11:54:32 +0200
commit9599ffe65d9dcd4b3aa780d346eccd1e760890bf (patch)
tree9281e521e50b8bed66eca087bc11fa03adf2aed3 /doc/source/cli/command-objects/compute-service.rst
parent19c8cabeca1ea3c83da734ab5269318b27eb5634 (diff)
downloadpython-openstackclient-9599ffe65d9dcd4b3aa780d346eccd1e760890bf.tar.gz
reorganize existing documentation according to the new standard layout
Move existing content around based on the doc-migration specification. Replace :doc: markup with :ref: to have sphinx keep track of where the files move and generate valid hyperlinks. Add a few toctrees and index pages for the new directories. Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454 Change-Id: I253ee8f89d3ec40e39310c18bb87ed1d3d5de330 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'doc/source/cli/command-objects/compute-service.rst')
-rw-r--r--doc/source/cli/command-objects/compute-service.rst89
1 files changed, 89 insertions, 0 deletions
diff --git a/doc/source/cli/command-objects/compute-service.rst b/doc/source/cli/command-objects/compute-service.rst
new file mode 100644
index 00000000..ba624ea0
--- /dev/null
+++ b/doc/source/cli/command-objects/compute-service.rst
@@ -0,0 +1,89 @@
+===============
+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)