]> git.ipfire.org Git - thirdparty/libvirt.git/commit
schema: do not require name for certain pool types
authorJán Tomko <jtomko@redhat.com>
Tue, 28 Mar 2017 13:07:50 +0000 (15:07 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 29 Mar 2017 08:36:55 +0000 (10:36 +0200)
commit8ef12b96faa357eae17fad7ab884b63dbd70feaf
tree309438e65b7f19016373bbe96d21d09aaf4bff60
parentca8c36a9e315613639ae14a5016da370c5a17477
schema: do not require name for certain pool types

Pool types that have the VIR_STORAGE_POOL_SOURCE_NAME flag set
allow omitting the <name> element and instead fill out the pool name
from the <source><name> element.

Relax the schema to make <name> optional for these pools.
Expressing that at least one of these is required is out of scope
of the schema.
docs/schemas/storagepool.rng
tests/storagepoolxml2xmlin/pool-logical-noname.xml [new file with mode: 0644]