df897ed490
The modules in scripts/rpc/*.py should be a generic, reusable library; the printing should be done by the command-line frontend (rpc.py) instead of the library code. Change-Id: Ibeb022a3591f0a140fc43104d8dcf17d7041e48b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/404426 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
8 lines
199 B
Python
Executable File
8 lines
199 B
Python
Executable File
def get_subsystems(args):
|
|
return args.client.call('get_subsystems')
|
|
|
|
|
|
def get_subsystem_config(args):
|
|
params = {'name': args.name}
|
|
return args.client.call('get_subsystem_config', params)
|