rpc: Document scsi_get_devices
Signed-off-by: Monica Kenguva <monica.kenguva@intel.com> Change-Id: Id7febeb8e4cad2f8f7e98366e38b6117afa7d7d9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6916 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot
This commit is contained in:
parent
039ab97c48
commit
132d80be05
@ -4120,6 +4120,42 @@ Example response:
|
||||
}
|
||||
}
|
||||
~~~
|
||||
|
||||
## scsi_get_devices {#rpc_scsi_get_devices}
|
||||
|
||||
Display SCSI devices
|
||||
|
||||
### Parameters
|
||||
|
||||
This method has no parameters.
|
||||
|
||||
### Example
|
||||
|
||||
Example request:
|
||||
|
||||
~~~
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"method": "scsi_get_devices",
|
||||
"id": 1
|
||||
}
|
||||
~~~
|
||||
|
||||
Example response:
|
||||
|
||||
~~~
|
||||
{
|
||||
"jsonrpc": "2.0",
|
||||
"id": 1,
|
||||
"result": [
|
||||
{
|
||||
"id": 0,
|
||||
"device_name": "iqn.2016-06.io.spdk:Target3"
|
||||
}
|
||||
]
|
||||
}
|
||||
~~~
|
||||
|
||||
## iscsi_set_discovery_auth method {#rpc_iscsi_set_discovery_auth}
|
||||
|
||||
Set CHAP authentication for sessions dynamically.
|
||||
|
Loading…
Reference in New Issue
Block a user