Spdk/scripts/rpc
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
..
__init__.py rpc.py: import print_dict for get_rpc_methods 2018-01-26 12:13:15 -05:00
app.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
bdev.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
client.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
iscsi.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
log.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
lvol.py lvol: display details of single lvol store RPC 2018-01-31 12:08:04 -05:00
nbd.py rpc: Break rpc client into individual python files 2018-01-25 10:24:46 -05:00
net.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
nvmf.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00
pmem.py rpc: Break rpc client into individual python files 2018-01-25 10:24:46 -05:00
vhost.py rpc.py: make 'verbose' a client parameter 2018-02-06 08:54:38 -05:00