libvirt/tests/domainsnapshotxml2xmlout/disk_snapshot.xml
Eric Blake 0ea43b55a4 snapshot: Use post-parse instead of regex in testsuite
Now that we can override the post-parse handling, let's update the
testsuite to provide the desired timestamp/name rather than ignoring
the non-deterministic one that was previously being generated. A few
output files need timestamps added now that they are no longer
ignored.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
2019-04-16 21:55:59 -05:00

35 lines
1.1 KiB
XML

<domainsnapshot>
<name>my snap name</name>
<description>!@#$%^</description>
<creationTime>1555419243</creationTime>
<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>