libvirt/tests/storagepoolxml2xmlin/pool-iscsi-auth.xml
Eric Blake caf516db51 storage: allow interleave in pool XML
The RNG grammar did not allow arbitrary interleaving, which makes
it harder than necessary to create a new pool from handwritten XML.

* docs/schemas/storagepool.rng: Allow interleaving.
* tests/storagepoolxml2xmlin/pool-sheepdog.xml: Test interleave.
* tests/storagepoolxml2xmlin/pool-iscsi-auth.xml: Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2013-10-16 10:15:44 -06:00

20 lines
476 B
XML

<pool type='iscsi'>
<source>
<auth type='chap' username='admin'>
<secret uuid='2ec115d7-3a88-3ceb-bc12-0ac909a6fd87'/>
</auth>
<device path="demo-target"/>
<host name="iscsi.example.com"/>
</source>
<uuid>e9392370-2917-565e-692b-d057f46512d6</uuid>
<target>
<permissions>
<owner>0</owner>
<mode>0700</mode>
<group>0</group>
</permissions>
<path>/dev/disk/by-path</path>
</target>
<name>virtimages</name>
</pool>