libvirt/tests/storagepoolxml2xmlout
Eric Blake 887dd3625b storage: fix RNG validation of gluster via netfs
While trying to compare netfs against my new gluster pool, I
discovered two things:

virt-xml-validate chokes on valid xml produced by 'virsh pool-dumpxml'
[yet another reason that ALL patches that add new xml should be adding
corresponding tests]

When using glusterfs FUSE mounts, you cannot access a subdirectory
of a gluster volume.  The recommended workaround in the gluster
community is to mount the volume to an intermediate location, then
bind-mount the desired subdirectory to the final location.  Maybe
we should teach libvirt to do bind-mounting, but for now I chose to
just document the limitation.

* docs/storage.html.in: Improve documentation.
* docs/schemas/storagepool.rng (sourcefmtnetfs): Allow all
formats, and drop redundant info-vendor.
* tests/storagepoolxml2xmltest.c (mymain): New test.
* tests/storagepoolxml2xmlin/pool-netfs-gluster.xml: New file.
* tests/storagepoolxml2xmlout/pool-netfs-gluster.xml: Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-11-13 12:10:00 -07:00
..
pool-dir.xml Update xml schemas according to libvirt source 2012-08-02 14:36:23 -06:00
pool-disk.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-fs.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-iscsi-auth.xml storage_pool: Rework chap XML to mimic ceph 2013-07-15 12:41:12 -04:00
pool-iscsi-multiiqn.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-iscsi-vendor-product.xml storage_pool: Rework chap XML to mimic ceph 2013-07-15 12:41:12 -04:00
pool-iscsi.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-logical-create.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-logical-nopath.xml Make logical pools independent on target path 2013-07-16 12:16:37 +02:00
pool-logical.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-mpath.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-netfs-gluster.xml storage: fix RNG validation of gluster via netfs 2013-11-13 12:10:00 -07:00
pool-netfs.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
pool-rbd.xml storage_pool: Rework chap XML to mimic ceph 2013-07-15 12:41:12 -04:00
pool-scsi-type-fc-host.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-scsi-type-scsi-host.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-scsi.xml New XML attributes for storage pool source adapter 2013-04-08 18:41:06 +08:00
pool-sheepdog.xml Add a sheepdog backend for the storage driver 2012-07-18 20:08:27 +01:00