pyocf: add get_default_queue to core object
#
-# Copyright(c) 2019-2021 Intel Corporation
+# Copyright(c) 2019-2022 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -124,6 +124,9 @@ class Core:
volume, queue.handle, addr, length, direction, io_class, flags)
return Io.from_pointer(io)
+ def get_default_queue(self):
+ return self.cache.get_default_queue()
+
def get_stats(self):
core_info = CoreInfo()
usage = UsageStats()
