This class parses a Login Request message defined in the iSCSI Standard (RFC3720).
After establishing a TCP connection between an initiator and a target, the initiator MUST start a Login Phase to gain further access to the target’s resources.
The Login Phase (see Chapter 5) consists of a sequence of Login Requests and Responses that carry the same Initiator Task Tag.
Login Requests are always considered as immediate.
The version number of the current draft is0x00
. As such, all devices MUST carry version 0x00
for both Version-min and Version-max. Here the final flag has the following meaning: If set to 1
, indicates that the initiator is ready to transit to the next stage.
If the T
bit is set to 1
and NSG
is FullFeaturePhase
, then this also indicates that the initiator is ready for the Final Login Response (see Chapter 5).
1
, indicates that the initiator is ready to transit to the next stage. If the T bit is set to 1
and NSG is FullFeaturePhase, then this also indicates that the initiator is ready for the Final Login Response (see Chapter 5).
123
, all other Login Requests in the same Login Phase carry the CmdSN 123
and the first non-immediate command in FullFeaturePhase also carries the CmdSN 123
.500
, then that PDU carries CmdSN=500
. Subsequent Login Requests that are needed to complete this Login Phase may carry a CmdSN higher than 500
if non-immediate requests that were issued on other connections in the same session advance CmdSN.
@author Volker Wildi
|
|
|
|
|
|
|
|
|
|
|
|
|
|