libvirt/docs/schemas
John Ferlan 8002d3cb1b conf: Add/Allow parsing the auth in the disk source
Since the virStorageAuthDefPtr auth; is a member of _virStorageSource
it really should be allowed to be a subelement of the disk <source>
for the RBD and iSCSI prototcols. That way we can set up to allow
the <auth> element to be formatted within the disk source.

Since we've allowed the <auth> to be a child of <disk>, we'll need
to keep track of how it was read so that when writing out we'll know
whether to format as child of <disk> or <source>. For the argv2xml
parsing, let's format under <source> as a preference. Do not allow
<auth> to be both a child of <disk> and <source>.

Modify the qemuxml2argvtest to add a parse failure when there is an
<auth> as a child of <disk> *and* an <auth> as a child of <source>.

Add tests to validate that if the <auth> was found in <source>, then
the resulting xml2xml and xml2arg works just fine.  The two new .args
file are exact copies of the non "-source" version of the file.

The virschematest will read the new test files and validate from a
RNG viewpoint things are fine

Update the virstoragefile, virstoragetest, and args2xml file to show
the "preference" to place <auth> as a child of <source>.
2017-10-19 15:26:49 -04:00
..
basictypes.rng node_device: detect CCW devices 2017-05-26 10:44:05 -04:00
capability.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
cputypes.rng Add support for CPU cache specification 2017-04-27 22:07:14 +02:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincaps.rng schema: domaincaps: make machine element optional 2017-03-26 18:35:14 +04:00
domaincommon.rng conf: Add/Allow parsing the auth in the disk source 2017-10-19 15:26:49 -04:00
domainsnapshot.rng qemu: Store save cookie in save images and snapshots 2017-06-07 13:36:02 +02:00
interface.rng docs: make interface start mode element optional 2017-03-27 10:22:15 -04:00
network.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
networkcommon.rng domain_conf: Introduce <mtu/> to <interface/> 2017-01-26 09:59:56 +01:00
nodedev.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
nwfilter.rng rng: Fix formatting 2017-09-12 13:41:21 +02:00
secret.rng conf: Add new secret type "tls" 2016-09-09 08:20:05 -04:00
storagecommon.rng docs,rng: Adjust storage pool name grammar checks 2017-10-05 08:10:46 -04:00
storagepool.rng docs,rng: Adjust storage pool name grammar checks 2017-10-05 08:10:46 -04:00
storagevol.rng