mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
b8240fe704
Reference the storage via node name rather than inlining it. This is the approach that will be used with -blockdev/blockdev-add since it allows more control and is more future proof. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
60 lines
971 B
JSON
60 lines
971 B
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",
|
|
"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"
|
|
}
|