[libvirt] [PATCH 24/24] tests: qemumonitorjson: Test extraction of iSCSI device node names

Eric Blake eblake at redhat.com
Wed Jul 26 22:14:56 UTC 2017


On 07/26/2017 05:00 AM, Peter Krempa wrote:
> ---
>  .../qemumonitorjson-nodename-iscsi-blockstats.json | 113 ++++++++++++++++++++
>  ...qemumonitorjson-nodename-iscsi-named-nodes.json | 114 +++++++++++++++++++++
>  .../qemumonitorjson-nodename-iscsi.result          |  13 +++
>  tests/qemumonitorjsontest.c                        |   1 +
>  4 files changed, 241 insertions(+)
>  create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-iscsi-blockstats.json
>  create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-iscsi-named-nodes.json
>  create mode 100644 tests/qemumonitorjsondata/qemumonitorjson-nodename-iscsi.result
> 

> +++ b/tests/qemumonitorjsondata/qemumonitorjson-nodename-iscsi-named-nodes.json
> @@ -0,0 +1,114 @@
> +[
> +    {
> +      "iops_rd": 0,
> +      "detect_zeroes": "off",
> +      "image": {
> +        "virtual-size": 1073741824,
> +        "filename": "json:{\"driver\": \"raw\", \"file\": {\"lun\": \"0\", \"portal\": \"example.com:3260\", \"driver\": \"iscsi\", \"transport\": \"tcp\", \"target\": \"iqn.2016-09.com.example:server\"}}",

Another fun name.

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170726/c71b38fa/attachment-0001.sig>


More information about the libvir-list mailing list