Add a match test for vhost_ctrl show_details method. In spdkcli source the equivalent function is `UIVhostCtrl.show_details`. This method is one of few that left untested in spdkcli. This patch is related to trello task: https://trello.com/c/CHOOxcGj/151-spdkcli-extend-test-coverage Change-Id: I4f13f863bdc815430c5fb2b67b12056f01201f8c Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/462860 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
23 lines
385 B
Plaintext
23 lines
385 B
Plaintext
{
|
|
"backend_specific": {
|
|
"scsi": [
|
|
{
|
|
"id": 0,
|
|
"luns": [
|
|
{
|
|
"bdev_name": "Malloc2",
|
|
"id": 0
|
|
}
|
|
],
|
|
"scsi_dev_num": 0,
|
|
"target_name": "Target 0"
|
|
}
|
|
]
|
|
},
|
|
"cpumask": "0x3",
|
|
"ctrlr": "vhost_scsi1",
|
|
"delay_base_us": 20,
|
|
"iops_threshold": 1000000,
|
|
"socket": "$(S)/vhost_scsi1"
|
|
}
|