12 lines
335 B
Python
12 lines
335 B
Python
|
from spdk.rpc.client import print_json
|
||
|
|
||
|
|
||
|
def perform_tests(args):
|
||
|
print_json(args.client.call('perform_tests'))
|
||
|
|
||
|
|
||
|
def spdk_rpc_plugin_initialize(subparsers):
|
||
|
p = subparsers.add_parser('perform_tests',
|
||
|
help='Returns true when hotplug apps starts running IO')
|
||
|
p.set_defaults(func=perform_tests)
|