libvirt/tests/qemublocktestdata/imagecreate/network-gluster-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

29 lines
431 B
JSON

protocol:
{
"driver": "gluster",
"location": {
"volume": "asdf",
"path": "i.qcow2",
"server": [
{
"type": "inet",
"host": "example.com",
"port": "1234"
},
{
"type": "inet",
"host": "alternate.example.com",
"port": "3214"
}
]
},
"size": 42
}
format:
{
"driver": "qcow2",
"file": "0123456789ABCDEF0123456789ABCDE",
"size": 1337
}