mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
caf516db51
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>
20 lines
476 B
XML
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>
|