2018-03-19 11:51:20 +00:00
|
|
|
<disk type='network' device='disk'>
|
|
|
|
<driver name='qemu' type='qcow2'/>
|
|
|
|
<source protocol='rbd' name='rbdpool/rbdimg'>
|
|
|
|
<host name='host1.example.com'/>
|
|
|
|
<host name='host2.example.com'/>
|
|
|
|
<encryption format='luks'>
|
|
|
|
<secret type='passphrase' uuid='0a81f5b2-8403-7b23-c8d6-21ccc2f80d6f'/>
|
|
|
|
</encryption>
|
|
|
|
<auth username='testuser-rbd'>
|
|
|
|
<secret type='ceph' usage='testuser-rbd-secret'/>
|
|
|
|
</auth>
|
|
|
|
<privateData>
|
|
|
|
<nodenames>
|
|
|
|
<nodename type='storage' name='node-a-s'/>
|
|
|
|
<nodename type='format' name='node-b-f'/>
|
|
|
|
</nodenames>
|
|
|
|
</privateData>
|
|
|
|
</source>
|
|
|
|
<backingStore type='network' index='1'>
|
|
|
|
<format type='qcow2'/>
|
|
|
|
<source protocol='iscsi' name='iqn.2016-09.com.example:iscsitarget/1'>
|
|
|
|
<host name='example.org'/>
|
|
|
|
<privateData>
|
|
|
|
<nodenames>
|
|
|
|
<nodename type='storage' name='node-b-s'/>
|
|
|
|
<nodename type='format' name='node-b-f'/>
|
|
|
|
</nodenames>
|
|
|
|
</privateData>
|
2018-05-22 13:03:02 +00:00
|
|
|
<encryption format='luks'>
|
2018-03-19 11:51:20 +00:00
|
|
|
<secret type='passphrase' uuid='0a81f5b2-8403-7b23-c8d6-21ccc2f80d6f'/>
|
|
|
|
</encryption>
|
|
|
|
<auth username='testuser-iscsi'>
|
|
|
|
<secret type='iscsi' usage='testuser-iscsi-secret'/>
|
|
|
|
</auth>
|
|
|
|
</source>
|
|
|
|
<backingStore/>
|
|
|
|
</backingStore>
|
|
|
|
<target dev='vda' bus='virtio'/>
|
|
|
|
<alias name='virtio-disk0'/>
|
|
|
|
</disk>
|