libvirt/tests/domainsnapshotxml2xmlout/disk_snapshot.xml
Peter Krempa 90521d0754 storage: Store RBD image name as pool and image name
Similarly to how we store gluster names, split the name into a pool and
image portions when paring the XML and store them separately.
2017-11-07 14:58:04 +01:00

34 lines
1.1 KiB
XML

<domainsnapshot>
<name>my snap name</name>
<description>!@#$%^</description>
<disks>
<disk name='/dev/HostVG/QEMUGuest1'/>
<disk name='hdb' snapshot='no'/>
<disk name='hdc' snapshot='internal'/>
<disk name='hdd' snapshot='external' type='file'>
<driver type='qed'/>
</disk>
<disk name='hde' snapshot='external' type='file'>
<source file='/path/to/new'/>
</disk>
<disk name='hde' snapshot='external' type='file'>
<source file='/path/to/new2'/>
</disk>
<disk name='hdf' snapshot='external' type='block'>
<source dev='/path/to/new3'/>
</disk>
<disk name='hdg' snapshot='external' type='network'>
<source protocol='gluster' name='volume/path'>
<host name='host' port='1234'/>
</source>
</disk>
<disk name='hdh' snapshot='external' type='network'>
<source protocol='rbd' name='vol/name'>
<host name='host' port='1234'/>
<host name='host2' port='1234' transport='rdma'/>
<host name='host3' port='1234'/>
</source>
</disk>
</disks>
</domainsnapshot>