libvirt/tests/qemublocktestdata/imagecreate/network-rbd-qcow2.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

27 lines
378 B
JSON

protocol:
{
"driver": "rbd",
"location": {
"pool": "asdf",
"image": "i.qcow2",
"server": [
{
"host": "example.com",
"port": "1234"
},
{
"host": "alternate.example.com",
"port": "4321"
}
]
},
"size": 42
}
format:
{
"driver": "qcow2",
"file": "0123456789ABCDEF0123456789ABCDE",
"size": 1337
}