mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-09 23:10:08 +00:00
c1a1975e49
Test the output against the schema and also against what we expect. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
23 lines
438 B
JSON
23 lines
438 B
JSON
protocol:
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/i.qcow2",
|
|
"size": 42
|
|
}
|
|
|
|
format:
|
|
{
|
|
"driver": "qcow2",
|
|
"file": "0123456789ABCDEF0123456789ABCDE",
|
|
"size": 1337,
|
|
"encrypt": {
|
|
"key-secret": "0123456789ABCDEF0123456789ABCDE-encalias",
|
|
"cipher-alg": "serpent-256",
|
|
"cipher-mode": "cbc",
|
|
"hash-alg": "sha256",
|
|
"ivgen-alg": "plain64",
|
|
"ivgen-hash-alg": "sha256",
|
|
"format": "luks"
|
|
}
|
|
}
|