summaryrefslogtreecommitdiff
path: root/tools/regression/iscsi/ctl.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/iscsi/ctl.conf')
-rw-r--r--tools/regression/iscsi/ctl.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/tools/regression/iscsi/ctl.conf b/tools/regression/iscsi/ctl.conf
new file mode 100644
index 000000000000..a6667cc8c34e
--- /dev/null
+++ b/tools/regression/iscsi/ctl.conf
@@ -0,0 +1,35 @@
+auth-group meh {
+ chap user secretsecret
+}
+
+portal-group meh {
+ listen 0.0.0.0
+ discovery-auth-group no-authentication
+}
+
+target iqn.2012-06.com.example:1 {
+ auth-group no-authentication
+ portal-group meh
+ lun 0 {
+ path /var/tmp/example_t1l0
+ size 4G
+ }
+ lun 1 {
+ path /var/tmp/example_t1l1
+ size 4G
+ }
+}
+
+target iqn.2012-06.com.example:2 {
+ auth-group meh
+ portal-group meh
+ lun 0 {
+ path /var/tmp/example_t2l0
+ size 4G
+ }
+ lun 1 {
+ path /var/tmp/example_t2l1
+ size 4G
+ }
+}
+