Spdk/scripts
Daniel Verkamp a54e7e584b rpc.py: make 'verbose' a client parameter
Rather than requiring the 'verbose' flag as a parameter to
JSONRPCClient.call(), move it to the JSONRPCClient constructor so that
it can be set once.

This fixes the inconsistency between RPC method wrappers that passed
args.verbose and those that didn't; now, rpc.py -v works reliably for
all methods.

The JSONRPCClient.call() verbose parameter is maintained as well to
allow individual calls to be set to verbose if desired.

Change-Id: Iee385510cc9eb1d2984d3b9982055789dff188c6
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/398508
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: <shuhei.matsumoto.xt@hitachi.com>
2018-02-06 08:54:38 -05:00
..
ceph test/ceph: move ceph_raw.img to /var/tmp 2017-08-11 12:35:18 -04:00
perf/nvme scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
rpc rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
vagrant scripts/vagrant: add vagrant-libvirt provider 2017-12-04 17:36:45 -05:00
autotest_common.sh autotest: detect if nbd module is available 2018-02-02 12:34:21 -05:00
build_kmod.sh spdk: add the ioat_kperf test tool to autobuild system 2016-01-22 07:58:13 -07:00
check_format.sh scripts/check_format: ignore POSIX includes in include/linux 2017-12-15 13:16:47 -05:00
common.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
detect_cc.sh detect_cc.sh: further fix CC_TYPE generation 2017-05-11 16:45:24 -07:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py iscsi: Add an iscsi target application 2016-08-04 13:15:33 -07:00
gen_nvme.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
genconfig.py genconfig.py: use print() for Python 3 compat 2017-06-02 19:46:47 -04:00
pkgdep.sh pkgdep.sh: add sg3_utils 2018-01-05 12:19:56 -05:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh scripts: Add reset option to prep_benchmarks.sh 2018-01-09 13:40:59 -05:00
rpc.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
setup.sh setup.sh: hide SKIP_PCI from public help 2018-01-24 16:45:09 -05:00