diff options
Diffstat (limited to 'src/spdk/scripts/rpc/subsystem.py')
-rw-r--r-- | src/spdk/scripts/rpc/subsystem.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/spdk/scripts/rpc/subsystem.py b/src/spdk/scripts/rpc/subsystem.py new file mode 100644 index 00000000..c8e662bc --- /dev/null +++ b/src/spdk/scripts/rpc/subsystem.py @@ -0,0 +1,7 @@ +def get_subsystems(client): + return client.call('get_subsystems') + + +def get_subsystem_config(client, name): + params = {'name': name} + return client.call('get_subsystem_config', params) |