[PATCH V2 14/46] nvmftests-nvmf: add target package

Chaitanya Kulkarni ckulkarnilinux at gmail.com
Tue Oct 24 18:30:31 PDT 2017


From: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>

This adds a support for target package. In current implementation
target package supports port, ns, subsystem and configuration
management in loop mode.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
---
 .../selftests/nvmftests/nvmf/target/__init__.py    | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 tools/testing/selftests/nvmftests/nvmf/target/__init__.py

diff --git a/tools/testing/selftests/nvmftests/nvmf/target/__init__.py b/tools/testing/selftests/nvmftests/nvmf/target/__init__.py
new file mode 100644
index 0000000..66a1320
--- /dev/null
+++ b/tools/testing/selftests/nvmftests/nvmf/target/__init__.py
@@ -0,0 +1,25 @@
+# Copyright (c) 2016-2017 Western Digital Corporation or its affiliates.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA  02110-1301, USA.
+#
+#   Author: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
+#
+
+from .target import NVMFTarget
+from .target_subsystem import NVMFTargetSubsystem
+from .target_ns import NVMFTargetNamespace
+from .port import NVMFTargetPort
+from .target_config_generator import TargetConfig
-- 
1.8.3.1




More information about the Linux-nvme mailing list