libvirt/tests/storagepoolxml2xmlin
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 tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
pool-fs.xml tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
pool-iscsi-auth.xml storage: allow interleave in pool XML 2013-10-16 10:15:44 -06:00
pool-iscsi-multiiqn.xml Add multiIQN tests 2010-06-08 13:14:26 -04: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 tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
pool-logical-create.xml Make logical pools independent on target path 2013-07-16 12:16:37 +02:00
pool-logical-nopath.xml Make logical pools independent on target path 2013-07-16 12:16:37 +02:00
pool-logical.xml tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
pool-mpath.xml tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
pool-netfs-gluster.xml storage: fix RNG validation of gluster via netfs 2013-11-13 12:10:00 -07:00
pool-netfs.xml tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
pool-rbd.xml Storage: Fix the indention of rbd test file 2013-06-03 11:20:01 +08: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 tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
pool-sheepdog.xml storage: allow interleave in pool XML 2013-10-16 10:15:44 -06:00