From 5805492002ad291f2848468c988505de701bb9af Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 11 Nov 2016 23:40:27 +0100 Subject: [PATCH] storage.html.in: Kill useless spaces in

The 
 section is rendered as-is on the page. That is, if all
the lines are prefixed with 4 spaces the rendered page will also
have them. Problem is if we put a box around such 
 because
the content might not fix into it.

Signed-off-by: Michal Privoznik 
---
 docs/storage.html.in | 296 +++++++++++++++++++++----------------------
 1 file changed, 148 insertions(+), 148 deletions(-)

diff --git a/docs/storage.html.in b/docs/storage.html.in
index f1960f94c6..2e5b65e13f 100644
--- a/docs/storage.html.in
+++ b/docs/storage.html.in
@@ -135,12 +135,12 @@
 
     

Example pool input definition

-      <pool type="dir">
-        <name>virtimages</name>
-        <target>
-          <path>/var/lib/virt/images</path>
-        </target>
-      </pool>
+<pool type="dir"> + <name>virtimages</name> + <target> + <path>/var/lib/virt/images</path> + </target> +</pool>

Valid pool format types

@@ -188,15 +188,15 @@

Example pool input

-      <pool type="fs">
-        <name>virtimages</name>
-        <source>
-          <device path="/dev/VolGroup00/VirtImages"/>
-        </source>
-        <target>
-          <path>/var/lib/virt/images</path>
-        </target>
-      </pool>
+<pool type="fs"> + <name>virtimages</name> + <source> + <device path="/dev/VolGroup00/VirtImages"/> + </source> + <target> + <path>/var/lib/virt/images</path> + </target> +</pool>

Valid pool format types

@@ -261,17 +261,17 @@

Example pool input

-      <pool type="netfs">
-        <name>virtimages</name>
-        <source>
-          <host name="nfs.example.com"/>
-          <dir path="/var/lib/virt/images"/>
-          <format type='nfs'/>
-        </source>
-        <target>
-          <path>/var/lib/virt/images</path>
-        </target>
-      </pool>
+<pool type="netfs"> + <name>virtimages</name> + <source> + <host name="nfs.example.com"/> + <dir path="/var/lib/virt/images"/> + <format type='nfs'/> + </source> + <target> + <path>/var/lib/virt/images</path> + </target> +</pool>

Valid pool format types

@@ -315,17 +315,17 @@

Example pool input

-      <pool type="logical">
-        <name>HostVG</name>
-        <source>
-          <device path="/dev/sda1"/>
-          <device path="/dev/sdb1"/>
-          <device path="/dev/sdc1"/>
-        </source>
-        <target>
-          <path>/dev/HostVG</path>
-        </target>
-      </pool>
+<pool type="logical"> + <name>HostVG</name> + <source> + <device path="/dev/sda1"/> + <device path="/dev/sdb1"/> + <device path="/dev/sdc1"/> + </source> + <target> + <path>/dev/HostVG</path> + </target> +</pool>

Valid pool format types

@@ -352,15 +352,15 @@

Example pool input

-      <pool type="disk">
-        <name>sda</name>
-        <source>
-          <device path='/dev/sda'/>
-        </source>
-        <target>
-          <path>/dev</path>
-        </target>
-      </pool>
+<pool type="disk"> + <name>sda</name> + <source> + <device path='/dev/sda'/> + </source> + <target> + <path>/dev</path> + </target> +</pool>

Valid pool format types

@@ -449,16 +449,16 @@

Example pool input

-      <pool type="iscsi">
-        <name>virtimages</name>
-        <source>
-          <host name="iscsi.example.com"/>
-          <device path="iqn.2013-06.com.example:iscsi-pool"/>
-        </source>
-        <target>
-          <path>/dev/disk/by-path</path>
-        </target>
-      </pool>
+<pool type="iscsi"> + <name>virtimages</name> + <source> + <host name="iscsi.example.com"/> + <device path="iqn.2013-06.com.example:iscsi-pool"/> + </source> + <target> + <path>/dev/disk/by-path</path> + </target> +</pool>

Valid pool format types

@@ -482,15 +482,15 @@

Example pool input

-      <pool type="scsi">
-        <name>virtimages</name>
-        <source>
-          <adapter name="host0"/>
-        </source>
-        <target>
-          <path>/dev/disk/by-path</path>
-        </target>
-      </pool>
+<pool type="scsi"> + <name>virtimages</name> + <source> + <adapter name="host0"/> + </source> + <target> + <path>/dev/disk/by-path</path> + </target> +</pool>

Valid pool format types

@@ -518,12 +518,12 @@

Example pool input

-      <pool type="mpath">
-        <name>virtimages</name>
-        <target>
-          <path>/dev/mapper</path>
-        </target>
-      </pool>
+<pool type="mpath"> + <name>virtimages</name> + <target> + <path>/dev/mapper</path> + </target> +</pool>

Valid pool format types

@@ -558,38 +558,38 @@

Example pool input

-      <pool type="rbd">
-        <name>myrbdpool</name>
-        <source>
-          <name>rbdpool</name>
-          <host name='1.2.3.4'/>
-          <host name='my.ceph.monitor'/>
-          <host name='third.ceph.monitor' port='6789'/>
-          <auth username='admin' type='ceph'>
-            <secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/>
-          </auth>
-        </source>
-      </pool>
+<pool type="rbd"> + <name>myrbdpool</name> + <source> + <name>rbdpool</name> + <host name='1.2.3.4'/> + <host name='my.ceph.monitor'/> + <host name='third.ceph.monitor' port='6789'/> + <auth username='admin' type='ceph'> + <secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/> + </auth> + </source> +</pool>

Example volume output

-       <volume>
-         <name>myvol</name>
-         <key>rbd/myvol</key>
-         <source>
-         </source>
-         <capacity unit='bytes'>53687091200</capacity>
-         <allocation unit='bytes'>53687091200</allocation>
-         <target>
-           <path>rbd:rbd/myvol</path>
-           <format type='unknown'/>
-           <permissions>
-             <mode>00</mode>
-             <owner>0</owner>
-             <group>0</group>
-           </permissions>
-         </target>
-       </volume>
+<volume> + <name>myvol</name> + <key>rbd/myvol</key> + <source> + </source> + <capacity unit='bytes'>53687091200</capacity> + <allocation unit='bytes'>53687091200</allocation> + <target> + <path>rbd:rbd/myvol</path> + <format type='unknown'/> + <permissions> + <mode>00</mode> + <owner>0</owner> + <group>0</group> + </permissions> + </target> +</volume>

Example disk attachment

RBD images can be attached to Qemu guests when Qemu is built @@ -622,33 +622,33 @@

Example pool input

-      <pool type="sheepdog">
-        <name>mysheeppool</name>
-        <source>
-          <name>mysheeppool</name>
-          <host name='localhost' port='7000'/>
-        </source>
-      </pool>
+<pool type="sheepdog"> + <name>mysheeppool</name> + <source> + <name>mysheeppool</name> + <host name='localhost' port='7000'/> + </source> +</pool>

Example volume output

-       <volume>
-         <name>myvol</name>
-         <key>sheep/myvol</key>
-         <source>
-         </source>
-         <capacity unit='bytes'>53687091200</capacity>
-         <allocation unit='bytes'>53687091200</allocation>
-         <target>
-           <path>sheepdog:myvol</path>
-           <format type='unknown'/>
-           <permissions>
-             <mode>00</mode>
-             <owner>0</owner>
-             <group>0</group>
-           </permissions>
-         </target>
-       </volume>
+<volume> + <name>myvol</name> + <key>sheep/myvol</key> + <source> + </source> + <capacity unit='bytes'>53687091200</capacity> + <allocation unit='bytes'>53687091200</allocation> + <target> + <path>sheepdog:myvol</path> + <format type='unknown'/> + <permissions> + <mode>00</mode> + <owner>0</owner> + <group>0</group> + </permissions> + </target> +</volume>

Example disk attachment

Sheepdog images can be attached to Qemu guests. @@ -707,14 +707,14 @@ subdirectory relative to the gluster volume to use instead of the top-level directory of the volume.

-      <pool type="gluster">
-        <name>myglusterpool</name>
-        <source>
-          <name>volname</name>
-          <host name='localhost'/>
-          <dir path='/'/>
-        </source>
-      </pool>
+<pool type="gluster"> + <name>myglusterpool</name> + <source> + <name>volname</name> + <host name='localhost'/> + <dir path='/'/> + </source> +</pool>

Example volume output

Libvirt storage volumes associated with a gluster pool @@ -726,14 +726,14 @@ URI of the volume but it may be changed to a UUID of the volume in the future.

-       <volume>
-         <name>myfile</name>
-         <key>gluster://localhost/volname/myfile</key>
-         <source>
-         </source>
-         <capacity unit='bytes'>53687091200</capacity>
-         <allocation unit='bytes'>53687091200</allocation>
-       </volume>
+<volume> + <name>myfile</name> + <key>gluster://localhost/volname/myfile</key> + <source> + </source> + <capacity unit='bytes'>53687091200</capacity> + <allocation unit='bytes'>53687091200</allocation> +</volume>

Example disk attachment

Files within a gluster volume can be attached to Qemu guests. @@ -773,14 +773,14 @@

Example pool input

-      <pool type="zfs">
-        <name>myzfspool</name>
-        <source>
-          <name>zpoolname</name>
-          <device path="/dev/ada1"/>
-          <device path="/dev/ada2"/>
-        </source>
-      </pool>
+<pool type="zfs"> + <name>myzfspool</name> + <source> + <name>zpoolname</name> + <device path="/dev/ada1"/> + <device path="/dev/ada2"/> + </source> +</pool>

Valid pool format types