2022-11-13 02:15:47 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright (C) 2022 Intel Corporation.
|
|
|
|
# All rights reserved.
|
|
|
|
|
2022-09-15 11:29:26 +00:00
|
|
|
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)
|