From 8eb0db45ab482868736bff1be85bd604d0d97fc5 Mon Sep 17 00:00:00 2001 Message-Id: <8eb0db45ab482868736bff1be85bd604d0d97fc5@dist-git> From: Peter Krempa Date: Fri, 21 Nov 2014 15:04:03 +0100 Subject: [PATCH] docs: domain: Move docs for storage hosts under the element https://bugzilla.redhat.com/show_bug.cgi?id=1164528 The docs describing the element that are under the element in the XML document were incorrectly placed under the element. Move them to the correct place. (cherry picked from commit 33b282eadc9a9bd69f2f0d12360d3be0a772eafe) Signed-off-by: Jiri Denemark --- docs/formatdomain.html.in | 109 +++++++++++++++++++++++++--------------------- 1 file changed, 59 insertions(+), 50 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 138b5e1..a458067 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -1938,6 +1938,65 @@ may have zero or more host sub-elements used to specify the hosts to connect.

+ +
+
host
+
+

+ The host element supports 4 attributes, viz. "name", + "port", "transport" and "socket", which specify the hostname, + the port number, transport type and path to socket, respectively. + The meaning of this element and the number of the elements depend + on the protocol attribute. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Protocol Meaning Number of hosts Default port
nbd a server running nbd-server only one 10809
iscsi an iSCSI server only one 3260
rbd monitor servers of RBD one or more 6789
sheepdog one of the sheepdog servers (default is localhost:7000) zero or one 7000
gluster a server running glusterd daemon only one 24007
+

+ gluster supports "tcp", "rdma", "unix" as valid values for the + transport attribute. nbd supports "tcp" and "unix". Others only + support "tcp". If nothing is specified, "tcp" is assumed. If the + transport is "unix", the socket attribute specifies the path to an + AF_UNIX socket. +

+
+
+

For a "file" or "volume" disk type which represents a cdrom or floppy (the device attribute), it is possible to define @@ -2268,56 +2327,6 @@ characters. Since 1.0.1 -

host
-
The host element supports 4 attributes, viz. "name", - "port", "transport" and "socket", which specify the hostname, the port - number, transport type and path to socket, respectively. The meaning - of this element and the number of the elements depend on the protocol - attribute. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Protocol Meaning Number of hosts Default port
nbd a server running nbd-server only one 10809
iscsi an iSCSI server only one 3260
rbd monitor servers of RBD one or more 6789
sheepdog one of the sheepdog servers (default is localhost:7000) zero or one 7000
gluster a server running glusterd daemon only one 24007
- gluster supports "tcp", "rdma", "unix" as valid values for the - transport attribute. nbd supports "tcp" and "unix". Others only - support "tcp". If nothing is specified, "tcp" is assumed. If the - transport is "unix", the socket attribute specifies the path to an - AF_UNIX socket. -
address
If present, the address element ties the disk to a given slot of a controller (the -- 2.1.3