mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-30 17:45:23 +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>
20 lines
382 B
JSON
20 lines
382 B
JSON
protocol:
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/i.img",
|
|
"size": 42
|
|
}
|
|
|
|
format:
|
|
{
|
|
"key-secret": "0123456789ABCDEF0123456789ABCDE-encalias",
|
|
"cipher-alg": "serpent-256",
|
|
"cipher-mode": "cbc",
|
|
"hash-alg": "sha256",
|
|
"ivgen-alg": "plain64",
|
|
"ivgen-hash-alg": "sha256",
|
|
"driver": "luks",
|
|
"file": "0123456789ABCDEF0123456789ABCDE",
|
|
"size": 1337
|
|
}
|