testdriver: Add more gluster examples

This commit is contained in:
Cole Robinson 2014-12-10 12:42:03 -05:00
parent e1ab165b1a
commit cb124bccbd
3 changed files with 25 additions and 2 deletions

View File

@ -3,7 +3,7 @@
</panic>
+ <disk type="file" device="disk">
+ <source file="/dev/default-pool/new1.img"/>
+ <target dev="vdae"/>
+ <target dev="vdaf"/>
+ </disk>
</devices>
</domain>

View File

@ -3,7 +3,7 @@
</panic>
+ <disk type="file" device="disk">
+ <source file="/dev/default-pool/testvol1.img"/>
+ <target dev="vdae"/>
+ <target dev="vdaf"/>
+ </disk>
</devices>
</domain>

View File

@ -212,6 +212,13 @@
</source>
<target dev='vdad' bus='virtio'/>
</disk>
<disk type='network' device='disk'>
<driver name='qemu' type='raw'/>
<source protocol='gluster' name='test-volume/test-gluster2.raw'>
<host name='192.168.1.100'/>
</source>
<target dev='vdae' bus='virtio'/>
</disk>
<!-- bus usb -->
<disk type='block' device='disk'>
@ -1866,6 +1873,22 @@ ba</description>
</target>
</volume>
<volume type='network'>
<name>test-gluster2.raw</name>
<key>gluster://192.168.1.100/test-volume/test-gluster2.raw</key>
<capacity unit='bytes'>10737418240</capacity>
<allocation unit='bytes'>2489327616</allocation>
<target>
<path>gluster://192.168.1.100/test-volume/test-gluster2.raw</path>
<format type='raw'/>
<permissions>
<mode>0666</mode>
<owner>0</owner>
<group>0</group>
</permissions>
</target>
</volume>
<volume type='network'>
<name>test-gluster.qcow2</name>
<key>gluster://192.168.1.100/test-volume/test-gluster.qcow2</key>