1# SPDX-License-Identifier: BSD-3-Clause 2# Copyright (C) 2022 Intel Corporation. 3# All rights reserved. 4 5from spdk.rpc.client import print_json 6 7 8def perform_tests(args): 9 print_json(args.client.call('perform_tests')) 10 11 12def spdk_rpc_plugin_initialize(subparsers): 13 p = subparsers.add_parser('perform_tests', 14 help='Returns true when hotplug apps starts running IO') 15 p.set_defaults(func=perform_tests) 16