summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/ctl.conf.5
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-02-06 17:43:13 +0000
committermav <mav@FreeBSD.org>2015-02-06 17:43:13 +0000
commit7bd92dacb8d7f8dabe4266e8eaa7c14c339b09e4 (patch)
tree27ef1245ae93716ad309d2c64416f2208fbeb573 /usr.sbin/ctld/ctl.conf.5
parented270a5b10cfad67e8efe67ad3974fe3b00025ce (diff)
downloadFreeBSD-src-7bd92dacb8d7f8dabe4266e8eaa7c14c339b09e4.zip
FreeBSD-src-7bd92dacb8d7f8dabe4266e8eaa7c14c339b09e4.tar.gz
Add support for multiple portal groups per target.
This change allows multiple "portal-group" options to be specified per target. Each of them may include new optional auth-group name parameter to override per-target auth parameters for specific portal group. Kernel side support was added earlier at r278161. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Diffstat (limited to 'usr.sbin/ctld/ctl.conf.5')
-rw-r--r--usr.sbin/ctld/ctl.conf.59
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/ctld/ctl.conf.5 b/usr.sbin/ctld/ctl.conf.5
index 789161f..fa053b0 100644
--- a/usr.sbin/ctld/ctl.conf.5
+++ b/usr.sbin/ctld/ctl.conf.5
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 1, 2015
+.Dd February 6, 2015
.Dt CTL.CONF 5
.Os
.Sh NAME
@@ -66,7 +66,7 @@ file is:
.No target Ar name {
.Dl auth-group Ar name
-.Dl portal-group Ar name
+.Dl portal-group Ar name Op Ar agname
.Dl lun Ar number Ar name
.Dl lun Ar number No {
.Dl path Ar path
@@ -310,12 +310,15 @@ This clause is mutually exclusive with
.Sy auth-group ;
one cannot use
both in a single target.
-.It Ic portal-group Ar name
+.It Ic portal-group Ar name Op Ar agname
Assign a previously defined portal group to the target.
The default portal group is
.Qq Ar default ,
which makes the target available
on TCP port 3260 on all configured IPv4 and IPv6 addresses.
+Optional second argument specifies auth group name for connections
+to this specific portal group.
+If second argument is not specified, target auth group is used.
.It Ic redirect Aq Ar address
IPv4 or IPv6 address to redirect initiators to.
When configured, all initiators attempting to connect to this target
OpenPOWER on IntegriCloud