1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00
libvirt/tests/qemublocktestdata/xml2json/network-qcow2-backing-chain-cache-unsafe.json
Peter Krempa 1cb98a1fb3 qemu: block: Add support for RBD authentication for blockdev
To allow using -blockdev with RBD we need to support the recently added
RBD authentication.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2018-07-10 13:37:51 +02:00

65 lines
1.0 KiB
JSON

{
"node-name": "node-b-f",
"read-only": false,
"cache": {
"direct": false,
"no-flush": true
},
"driver": "qcow2",
"file": "node-a-s",
"backing": "node-b-f"
}
{
"driver": "rbd",
"pool": "rbdpool",
"image": "rbdimg",
"server": [
{
"host": "host1.example.com",
"port": "0"
},
{
"host": "host2.example.com",
"port": "0"
}
],
"user": "testuser-rbd",
"auth-client-required": [
"cephx",
"none"
],
"key-secret": "node-a-s-secalias",
"node-name": "node-a-s",
"cache": {
"direct": false,
"no-flush": true
},
"read-only": false,
"discard": "unmap"
}
{
"node-name": "node-b-f",
"read-only": true,
"cache": {
"direct": false,
"no-flush": true
},
"driver": "qcow2",
"file": "node-b-s",
"backing": null
}
{
"driver": "iscsi",
"portal": "example.org:3260",
"target": "iscsitarget",
"lun": 1,
"transport": "tcp",
"node-name": "node-b-s",
"cache": {
"direct": false,
"no-flush": true
},
"read-only": true,
"discard": "unmap"
}