numam-spdk/scripts/rpc/subsystem.py
Maciej Wawryk 378ad60b88 RPC: rename get_subsystem_config to framework_get_config
Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com>
Change-Id: Ia0d20a04cf2dd5b23ad201d2ae9677a703ec92f3
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/468682
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2019-10-01 13:57:36 +00:00

13 lines
332 B
Python

from .helpers import deprecated_alias
@deprecated_alias('get_subsystems')
def framework_get_subsystems(client):
return client.call('framework_get_subsystems')
@deprecated_alias('get_subsystem_config')
def framework_get_config(client, name):
params = {'name': name}
return client.call('framework_get_config', params)