]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r278354: Teach ctld(8) to control non-iSCSI CTL ports.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Feb 2015 17:09:49 +0000 (17:09 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Feb 2015 17:09:49 +0000 (17:09 +0000)
commitaf2ff0a6eb1a46237435ca2005a72a793e30c225
tree1bcbb40474ed9f4d90600664b6b78ee19c302f2c
parentb5aa69c54ec378af4e7605293f8cd5caf796681f
MFC r278354: Teach ctld(8) to control non-iSCSI CTL ports.

This change introduces new target option "port", that assigns current target
to specified CTL port.  On config application ctld(8) will apply LUN mapping
according to target configuration to specified port and bring the port up.
On shutdown cltd(8) will remove the mapping and put the port down.

This change allows to configure both iSCSI and FibreChannel targets in the
same configuration file in alike way.

Kernel side support was added earlier at r278037.

Relnotes: yes
Sponsored by: iXsystems, Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@279055 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/ctld/ctl.conf.5
usr.sbin/ctld/ctld.c
usr.sbin/ctld/ctld.h
usr.sbin/ctld/kernel.c
usr.sbin/ctld/parse.y
usr.sbin/ctld/token.l