libvirt/docs/schemas
Michal Privoznik 5222256849 schemas: Allow all generic elements and attributes for all interfaces
There are some interface types (notably 'server' and 'client')
which instead of allowing the default set of elements and
attributes (like the rest do), try to enumerate only the elements
they know of. This way it's, however, easy to miss something. For
instance, the <address/> element was not mentioned at all. This
resulted in a strange behavior: when such interface was added
into XML, the address was automatically generated by parsing
code. Later, the formatted XML hasn't passed the RNG schema. This
became more visible once we've turned on the XML validation on
domain XML changes: appending an empty line at the end of
formatted XML (to trick virsh think the XML had changed) made
libvirt to refuse the very same XML it formatted.

Instead of trying to find each element and attribute we are
missing in the schema, lets just allow all the elements and
attributes like we're doing that for the rest of types. It's no
harm if the schema is wider than our parser allows.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2015-01-29 16:23:15 +01:00
..
basictypes.rng schemas: Move definition of 'hexuint' to basictypes 2015-01-23 13:18:04 +01:00
capability.rng schemas: finish virTristate{Bool,Switch} transition 2014-09-17 16:10:26 +02:00
domain.rng conf: set up for per-grammar overrides in schemas 2014-04-15 21:07:59 +02:00
domaincaps.rng domaincaps: Expose UEFI binary path, if it exists 2014-09-17 16:29:49 +02:00
domaincommon.rng schemas: Allow all generic elements and attributes for all interfaces 2015-01-29 16:23:15 +01:00
domainsnapshot.rng conf: split <disk> schema into more pieces 2014-04-16 10:45:55 +02:00
interface.rng schemas: finish virTristate{Bool,Switch} transition 2014-09-17 16:10:26 +02:00
Makefile.am Introduce domain_capabilities 2014-07-03 12:22:37 +02:00
network.rng network: Let domains be restricted to local DNS 2015-01-20 01:07:18 -05:00
networkcommon.rng Use the network route definitions for domains 2015-01-16 10:14:03 +01:00
nodedev.rng schemas: Move definition of 'hexuint' to basictypes 2015-01-23 13:18:04 +01:00
nwfilter.rng nwfilter: Add support for icmpv6 filtering 2015-01-07 11:41:49 -05:00
secret.rng schemas: finish virTristate{Bool,Switch} transition 2014-09-17 16:10:26 +02:00
storagecommon.rng add ploop fs driver type 2015-01-16 14:07:46 +01:00
storagepool.rng storage: unify permission formatting 2014-12-16 15:47:56 +01:00
storagevol.rng storage: unify permission formatting 2014-12-16 15:47:56 +01:00