+11
−0
Loading
Add test to keep the --dry-run functionality working, useful for printing
the JSON that would be sent to SPDK.
Similar to --verbose, but without a need to a running SPDK instance.
Below an example for request in the test:
$ ./scripts/rpc.py --dry-run bdev_get_bdevs -b bdev_name
Request:
{
"method": "bdev_get_bdevs",
"params": {
"name": "bdev_name"
}
}
null
Change-Id: I772987fc94f75362a7b8cc7b998a49fb80d861bb
Signed-off-by:
Tomasz Zawadzki <tomasz.zawadzki@nutanix.com>
Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26542
Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>
Reviewed-by:
Jim Harris <jim.harris@nvidia.com>
Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com>
Reviewed-by:
Boris Glimcher <Boris.Glimcher@emc.com>