]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: arrange "listing hosts" section 48721/head
authorZac Dover <zac.dover@gmail.com>
Thu, 3 Nov 2022 14:12:25 +0000 (00:12 +1000)
committerZac Dover <zac.dover@gmail.com>
Thu, 3 Nov 2022 14:12:25 +0000 (00:12 +1000)
Collect the material at the top of this page into a
"Listing Hosts" section and clean the English so that
it is clearer.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
doc/cephadm/host-management.rst

index ffe581601e5ce6ec627ab8c90f80874d4d5293f7..6d43ae82cf921ee8f8af60d4119db80226bce797 100644 (file)
@@ -4,17 +4,25 @@
 Host Management
 ===============
 
-To list hosts associated with the cluster:
+Listing Hosts
+=============
+
+Run a command of this form to list hosts associated with the cluster:
 
 .. prompt:: bash #
 
    ceph orch host ls [--format yaml] [--host-pattern <name>] [--label <label>] [--host-status <status>]
 
-where the optional arguments "host-pattern", "label" and "host-status" are used for filtering.
-"host-pattern" is a regex that will match against hostnames and will only return matching hosts
-"label" will only return hosts with the given label
-"host-status" will only return hosts with the given status (currently "offline" or "maintenance")
-Any combination of these filtering flags is valid. You may filter against name, label and/or status simultaneously
+In commands of this form, the arguments "host-pattern", "label" and
+"host-status" are optional and are used for filtering. 
+
+- "host-pattern" is a regex that will match against hostnames and will only
+  return matching hosts.
+- "label" returns only hosts with the specified label.
+- "host-status" returns only hosts with the specified status (currently
+  "offline" or "maintenance").
+- Any combination of these filtering flags is valid. You may filter against
+  name, label and/or status simultaneously.
 
 .. _cephadm-adding-hosts: