mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +00:00
1cb98a1fb3
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>
59 lines
1.1 KiB
JSON
59 lines
1.1 KiB
JSON
{
|
|
"node-name": "node-b-f",
|
|
"read-only": false,
|
|
"driver": "qcow2",
|
|
"encrypt": {
|
|
"format": "luks",
|
|
"key-secret": "node-b-f-encalias"
|
|
},
|
|
"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",
|
|
"read-only": false,
|
|
"discard": "unmap"
|
|
}
|
|
{
|
|
"node-name": "node-b-f",
|
|
"read-only": true,
|
|
"driver": "qcow2",
|
|
"encrypt": {
|
|
"format": "luks",
|
|
"key-secret": "node-b-f-encalias"
|
|
},
|
|
"file": "node-b-s",
|
|
"backing": null
|
|
}
|
|
{
|
|
"driver": "iscsi",
|
|
"portal": "example.org:3260",
|
|
"target": "iqn.2016-09.com.example:iscsitarget",
|
|
"lun": 1,
|
|
"transport": "tcp",
|
|
"user": "testuser-iscsi",
|
|
"password-secret": "node-b-s-secalias",
|
|
"node-name": "node-b-s",
|
|
"read-only": true,
|
|
"discard": "unmap"
|
|
}
|