libvirt/docs/schemas
Eric Blake 116d6af979 schema: rewrite seclabel rng to match code
The RNG for <seclabel> was too strict - if it was present, then it
had to have sub-elements, even if those didn't make sense for the
given attributes.  Also, we didn't have any tests of <seclabel>
parsing or XML output.

In this patch, I added more parsing tests than output tests (since
the output populates and/or reorders fields not present in certain
inputs).  Making the RNG reliable is a precursor to using <seclabel>
variants in more places in the XML in later patches.

See also:
http://berrange.com/posts/2011/09/29/two-small-improvements-to-svirt-guest-configuration-flexibility-with-kvmlibvirt/

* docs/schemas/domaincommon.rng (seclabel): Tighten rules.
* tests/qemuxml2argvtest.c (mymain): New tests.
* tests/qemuxml2xmltest.c (mymain): Likewise.
* tests/qemuxml2argvdata/qemuxml2argv-seclabel-*.*: New files.
2011-12-30 10:38:37 +08:00
..
basictypes.rng Use a common xml type for ceph secret usage. 2011-10-28 16:01:14 -06:00
capability.rng Fix capabilities XML to use generic terms for suspend targets 2011-11-30 10:12:29 +00:00
domain.rng
domaincommon.rng schema: rewrite seclabel rng to match code 2011-12-30 10:38:37 +08:00
domainsnapshot.rng
interface.rng
Makefile.am
network.rng link-state: conf: Add element to XML for controling link state 2011-09-06 16:08:15 +08:00
networkcommon.rng
nodedev.rng npiv: Expose fabric_name outside 2011-12-07 18:42:08 +08:00
nwfilter.rng Add support for STP filtering 2011-11-22 15:12:03 -05:00
secret.rng Use a common xml type for ceph secret usage. 2011-10-28 16:01:14 -06:00
storageencryption.rng
storagepool.rng
storagevol.rng