libvirt/tests/qemublocktestdata/imagecreate/luks-encopts.json
Peter Krempa c1a1975e49 tests: qemublock: Add testing of 'blockdev-create' generators
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>
2019-07-18 17:59:34 +02:00

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
}