1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

qemustatusxml2xml: backup-pull: Test private data formatting/parsing

Modify the test case to enable TLS and add private data containing
aliases of objects corresponding to a TLS setup.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2020-09-14 17:46:42 +02:00
parent 2f7ee6914d
commit 6c2d91118d

View File

@ -254,12 +254,18 @@
<backups>
<domainbackup mode='pull'>
<incremental>12345</incremental>
<server transport='tcp' name='localhost' port='10809'/>
<server transport='tcp' tls='yes' name='localhost' port='10809'/>
<disks>
<disk name='vda' backup='yes' state='running' type='file'>
<scratch file='/path/to/file/'/>
</disk>
</disks>
<privateData>
<objects>
<secret type='tlskey' alias='testalias-secret'/>
<TLSx509 alias='testalias-tlsx509'/>
</objects>
</privateData>
</domainbackup>
</backups>
<domain type='kvm' id='4'>