libvirt/tests/qemublocktestdata/xml2json/network-nbd-tls.json
Peter Krempa 3875459235 tests: qemublock: Test NBD with TLS in the JSON generator
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2018-06-05 08:14:00 +02:00

20 lines
331 B
JSON

{
"node-name": "node-b-f",
"read-only": false,
"driver": "qcow2",
"file": "node-a-s",
"backing": null
}
{
"driver": "nbd",
"server": {
"type": "inet",
"host": "host1.example.com",
"port": "10809"
},
"tls-creds": "node-a-s-tls0",
"node-name": "node-a-s",
"read-only": false,
"discard": "unmap"
}