Spdk/python/spdk/rpc
Shuhei Matsumoto 95e4ddce51 python/rpc: Change num arg to default for bdev_error_injection_error
If we add default arguments to the bdev_error_injection_error RPC,
it causes a syntax error, non-default argument follows default
argument.

The RPC handler initializes the value of the num argument to be 1
if it is omitted. Hence, the RPC client can make the num argument
from non-default to default by removing =1. Otherwise, we have to
insert new default argument before the num argument.

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: I0eb009ff3c0c5078f2afc4fa15e9ac97feeb0846
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15023
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com>
2022-11-03 14:54:28 +00:00
..
__init__.py lib/vfu_tgt: add library for PCI device emulation 2022-09-29 19:42:56 +00:00
accel.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
app.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
bdev.py python/rpc: Change num arg to default for bdev_error_injection_error 2022-11-03 14:54:28 +00:00
blobfs.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
client.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
cmd_parser.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
dsa.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
env_dpdk.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
helpers.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
iaa.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
ioat.py accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
iscsi.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
log.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
lvol.py blobstore: add RPC for growing blobstore 2022-06-28 17:55:43 +00:00
nbd.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
notify.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
nvme.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
nvmf.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
pmem.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
sock.py sock/ssl: Add psk_key and psk_identity options to spdk_sock_impl_opts 2022-08-15 16:52:28 +00:00
subsystem.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
trace.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
vfio_user.py module/vfu_device: add virtio-scsi emulation 2022-09-29 19:42:56 +00:00
vhost.py python: remove unneeded deprecated_alias imports 2022-06-03 16:06:33 +00:00
vmd.py vmd: method for forcing a rescan 2022-09-01 08:48:32 +00:00