libvirt/tests/qemublocktestdata/imagecreate/network-ssh-qcow2.json
Jonathon Jongsma 7c5a5366ff schema: allow 'ssh' as a protocol for network disks
There was support in the code for parsing protocol='ssh' on network disk
sources, but it was not present in the xml schema. Add this to the
schema.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2023-09-19 14:28:49 -05:00

20 lines
275 B
JSON

protocol:
{
"driver": "ssh",
"location": {
"path": "asdf/i.qcow2",
"server": {
"host": "example.com",
"port": "1234"
}
},
"size": 4294967296
}
format:
{
"driver": "qcow2",
"file": "0123456789ABCDEF0123456789ABCDE",
"size": 8589934590
}