]> 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)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 May 2017 19:42:44 +0000 (15:42 -0400)
commit987213ac7d455bd2b77735140b87a0b311d83f06
treef79886790766d66ddc42d5b50e3ae070e810b542
parent7627dcdc7d369e53f9ffbcbc075fc808c5aa30fd
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.

(cherry picked from commit 8ef12b96faa357eae17fad7ab884b63dbd70feaf)
docs/schemas/storagepool.rng
tests/storagepoolxml2xmlin/pool-logical-noname.xml [new file with mode: 0644]