mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-19 14:34:18 +00:00
Add listing attributes of various types in the help string to help manegement utilities. Added on request from Mark Buechler <mark.buechler@gmail.com>.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1762 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3637,18 +3637,6 @@ static struct scst_trace_log iscsi_local_trace_tbl[] = {
|
||||
#define ISCSI_TRACE_TBL_HELP ", d_write, conn, conn_dbg, iov, pdu, net_page"
|
||||
#endif
|
||||
|
||||
#define ISCSI_MGMT_CMD_HELP \
|
||||
" echo \"add_attribute IncomingUser name password\" >mgmt\n" \
|
||||
" echo \"del_attribute IncomingUser name\" >mgmt\n" \
|
||||
" echo \"add_attribute OutgoingUser name password\" >mgmt\n" \
|
||||
" echo \"del_attribute OutgoingUser name\" >mgmt\n" \
|
||||
" echo \"add_target_attribute target_name IncomingUser name password\" >mgmt\n" \
|
||||
" echo \"del_target_attribute target_name IncomingUser name\" >mgmt\n" \
|
||||
" echo \"add_target_attribute target_name OutgoingUser name password\" >mgmt\n" \
|
||||
" echo \"del_target_attribute target_name OutgoingUser name\" >mgmt\n" \
|
||||
" echo \"add_target_attribute target_name allowed_portal portal_mask\" >mgmt\n" \
|
||||
" echo \"del_target_attribute target_name allowed_portal portal_mask\" >mgmt\n"
|
||||
|
||||
struct scst_tgt_template iscsi_template = {
|
||||
.name = "iscsi",
|
||||
.sg_tablesize = 0xFFFF /* no limit */,
|
||||
@@ -3664,7 +3652,8 @@ struct scst_tgt_template iscsi_template = {
|
||||
.add_target = iscsi_sysfs_add_target,
|
||||
.del_target = iscsi_sysfs_del_target,
|
||||
.mgmt_cmd = iscsi_sysfs_mgmt_cmd,
|
||||
.mgmt_cmd_help = ISCSI_MGMT_CMD_HELP,
|
||||
.tgtt_optional_attributes = "IncomingUser, OutgoingUser",
|
||||
.tgt_optional_attributes = "IncomingUser, OutgoingUser, allowed_portal",
|
||||
#endif
|
||||
#if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)
|
||||
.default_trace_flags = ISCSI_DEFAULT_LOG_FLAGS,
|
||||
|
||||
Reference in New Issue
Block a user