c2d5d21
From 28336bc000520e89670ce29360697a71a42b5e24 Mon Sep 17 00:00:00 2001
c2d5d21
From: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
c2d5d21
Date: Fri, 22 Mar 2013 07:35:52 -0400
c2d5d21
Subject: Manpage changes for flashnode submode support for host mode.
c2d5d21
c2d5d21
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
c2d5d21
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
c2d5d21
---
c2d5d21
 doc/iscsiadm.8 | 35 +++++++++++++++++++++++++++++++----
c2d5d21
 1 file changed, 31 insertions(+), 4 deletions(-)
c2d5d21
c2d5d21
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
c2d5d21
index 7c209f6..b4c7388 100644
c2d5d21
--- a/doc/iscsiadm.8
c2d5d21
+++ b/doc/iscsiadm.8
c2d5d21
@@ -16,7 +16,7 @@ iscsiadm \- open-iscsi administration utility
c2d5d21
 
c2d5d21
 \fBiscsiadm\fR \-m fw [\-l]
c2d5d21
 
c2d5d21
-\fBiscsiadm\fR \-m host [ \-P printlevel ] [ \-H hostno|MAC ] [ -C chap [ -o operation ] [ -v chap_tbl_idx ] ]
c2d5d21
+\fBiscsiadm\fR \-m host [ \-P printlevel ] [ \-H hostno|MAC ] [ [ \-C chap [ \-o operation ] [ \-v chap_tbl_idx ] ] | [ \-C flashnode [ \-o operation ] [ \-A portal_type ] [ \-x flashnode_idx ] [ \-n name ] [ \-v value ] ] ]
c2d5d21
 
c2d5d21
 \fBiscsiadm\fR \-k priority
c2d5d21
 
c2d5d21
@@ -47,6 +47,12 @@ daemon (iscsid) be running.
c2d5d21
 This option is only valid for ping submode.
c2d5d21
 
c2d5d21
 .TP
c2d5d21
+\fB\-A\fR, \fB\-\-portal_type=\fI[ipv4|ipv6]\fR
c2d5d21
+Specify the portal type for the new flash node entry to be created.
c2d5d21
+.IP
c2d5d21
+This option is only valid for flashnode submode of host mode and only with \fInew\fR operation.
c2d5d21
+
c2d5d21
+.TP
c2d5d21
 \fB\-b\fR, \fB\-\-packetsize=\fIpacketsize\fP
c2d5d21
 Specify the ping \fIpacketsize\fR.
c2d5d21
 
c2d5d21
@@ -66,6 +72,12 @@ Currently iscsiadm support ping as submode for iface. For example,
c2d5d21
 
c2d5d21
 iscsiadm -m iface -I ifacename -C ping -a ipaddr -b packetsize -c count -i interval
c2d5d21
 
c2d5d21
+For host, it supports chap and flashnode as submodes. For example,
c2d5d21
+
c2d5d21
+iscsiadm -m host -H hostno -C chap -v chap_tbl_idx -o operation
c2d5d21
+
c2d5d21
+iscsiadm -m host -H hostno -C flashnode -x flashnode_idx -o operation
c2d5d21
+
c2d5d21
 .TP
c2d5d21
 \fB\-d\fR, \fB\-\-debug=\fIdebug_level\fP
c2d5d21
 print debugging information. Valid values for debug_level are 0 to 8.
c2d5d21
@@ -170,8 +182,9 @@ for \fIiface\fR, all ifaces setup in /etc/iscsi/ifaces are displayed.
c2d5d21
 
c2d5d21
 .TP
c2d5d21
 \fB\-n\fR, \fB\-\-name=\fIname\fR
c2d5d21
-Specify a field \fIname\fR in a record. For use with the \fIupdate\fR
c2d5d21
-operator.
c2d5d21
+In node mode, specify a field \fIname\fR in a record. In flashnode submode of host mode, specify name of the flash node parameter.
c2d5d21
+
c2d5d21
+For use with the \fIupdate\fR operator.
c2d5d21
 .IP
c2d5d21
 
c2d5d21
 .TP
c2d5d21
@@ -181,6 +194,8 @@ Specifies a database operator \fIop\fR. \fIop\fR must be one of
c2d5d21
 .IP
c2d5d21
 For iface mode, \fIapply\fR and \fIapplyall\fR  are also applicable.
c2d5d21
 .IP
c2d5d21
+For flashnode submode of host mode, \fIlogin\fR and \fIlogout\fR are also applicable.
c2d5d21
+.IP
c2d5d21
 This option is valid for all modes except fw. Delete should not be used on a running session. If it is iscsiadm will stop the session and then delete the
c2d5d21
 record.
c2d5d21
 .IP
c2d5d21
@@ -210,6 +225,12 @@ sid is passed in.
c2d5d21
 .IP
c2d5d21
 \fIapplyall\fR will cause the network settings to take effect on all the ifaces whose MAC address or host number matches that of the specific host.
c2d5d21
 
c2d5d21
+.IP
c2d5d21
+\fIlogin\fR will log into the specified flash node entry.
c2d5d21
+
c2d5d21
+.IP
c2d5d21
+\fIlogout\fR does the logout from the given flash node entry.
c2d5d21
+
c2d5d21
 .TP
c2d5d21
 \fB\-p\fR, \fB\-\-portal=\fIip[:port]\fR
c2d5d21
 Use target portal with ip-address \fIip\fR and \fIport\fR. If port is not passed
c2d5d21
@@ -292,12 +313,18 @@ for session mode).
c2d5d21
 \fB\-v\fR, \fB\-\-value=\fIvalue\fR
c2d5d21
 Specify a \fIvalue\fR for use with the \fIupdate\fR operator.
c2d5d21
 .IP
c2d5d21
-This option is only valid for node mode.
c2d5d21
+This option is only valid for node mode and flashnode submode of host mode.
c2d5d21
 
c2d5d21
 .TP
c2d5d21
 \fB\-V\fR, \fB\-\-version\fR
c2d5d21
 display version and exit
c2d5d21
 
c2d5d21
+.TP
c2d5d21
+\fB\-x\fR, \fB\-\-flashnode_idx=\fIindex\fR
c2d5d21
+Specify the \fIindex\fR of the flash node to operate on.
c2d5d21
+.IP
c2d5d21
+This option is only valid for flashnode submode of host mode.
c2d5d21
+
c2d5d21
 .SH DISCOVERY TYPES
c2d5d21
 iSCSI defines 3 discovery types: SendTargets, SLP, and iSNS.
c2d5d21
 
c2d5d21
-- 
c2d5d21
1.8.1.4
c2d5d21