public enum OperationalTextKey extends Enum<OperationalTextKey>
| Enum Constant and Description |
|---|
AUTH_METHOD
Use: During Login - Security Negotiation Senders: Initiator and Target
Scope: connection AuthMethod = <list-of-values> The main item of
security negotiation is the authentication method (AuthMethod).
|
DATA_DIGEST
See for the details in the HEADER_DIGEST documentation above.
|
DATA_PDU_IN_ORDER
Use: LO
Senders: Initiator and Target Scope: SW Irrelevant when: SessionType=Discovery DataPDUInOrder=<boolean-value> Default is Yes. |
DATA_SEQUENCE_IN_ORDER
Use: LO
Senders: Initiator and Target Scope: SW Irrelevant when: SessionType=Discovery DataSequenceInOrder=<boolean-value> Default is Yes. |
DEFAULT_TIME_2_RETAIN
Use: LO
Senders: Initiator and Target Scope: SW DefaultTime2Retain=<numerical-value-0-to-3600> Default is 20. |
DEFAULT_TIME_2_WAIT
Use: LO
Senders: Initiator and Target Scope: SW DefaultTime2Wait=<numerical-value-0-to-3600> Default is 2. |
ERROR_RECOVERY_LEVEL
Use: LO
|
FIRST_BURST_LENGTH
Use: LO
Senders: Initiator and Target Scope: SW Irrelevant when: SessionType=Discovery Irrelevant when: ( InitialR2T=Yes and ImmediateData=No ) FirstBurstLength=<numerical-value-512-to-(2**24-1)> Default is 65536 (64 Kbytes).Result function is Minimum. |
HEADER_DIGEST
Use: IO
Senders: Initiator and Target Scope: CO HeaderDigest = <list-of-values> DataDigest = <list-of-values> Default is None for both HeaderDigest and DataDigest. |
IF_MARK_INT
OFMarkInt is Irrelevant when: OFMarker =
No |
IF_MARKER
OFMarker =
<boolean-value> |
IMMEDIATE_DATA
Use: LO
Senders: Initiator and Target Scope: SW Irrelevant when: SessionType=Discovery ImmediateData=<boolean-value> Default is Yes. |
INITIAL_R2T
Use: LO
Senders: Initiator and Target Scope: SW Irrelevant when: SessionType=Discovery InitialR2T=<boolean-value> Examples: I->InitialR2T=No T->InitialR2T=No Default is Yes. |
INITIATOR_ALIAS
Use: ALL, Declarative, Any-Stage
Senders: Initiator Scope: SW InitiatorAlias=<iSCSI-local-name-value> Examples: InitiatorAlias=Web Server 4 InitiatorAlias=spyalley.nsa.gov InitiatorAlias=Exchange Server If an initiator has been configured with a human-readable name or description, it SHOULD be communicated to the target during a Login Request PDU. |
INITIATOR_NAME
Use: IO, Declarative, Any-Stage
Senders: Initiator Scope: SW InitiatorName=<iSCSI-name-value> Examples: InitiatorName=iqn.1992-04.com.os-vendor.plan9:cdrom.12345 InitiatorName=iqn.2001-02.com.ssp.users:customer235.host90 The initiator of the TCP connection MUST provide this key to the remote endpoint at the first Login of the Login Phase for every connection. |
MAX_BURST_LENGTH
Use: LO
Senders: Initiator and Target Scope: SW Irrelevant when: SessionType=Discovery MaxBurstLength=<numerical-value-512-to-(2**24-1)> Default is 262144 (256 Kbytes). |
MAX_CONNECTIONS
Use: LO
Senders: Initiator and Target Scope: SW Irrelevant when: SessionType=Discovery MaxConnections=<numerical-value-from-1-to-65535> Default is 1. |
MAX_OUTSTANDING_R2T
Use: LO
Senders: Initiator and Target Scope: SW MaxOutstandingR2T=<numerical-value-from-1-to-65535> Irrelevant when: SessionType=Discovery Default is 1. |
MAX_RECV_DATA_SEGMENT_LENGTH
Use: ALL, Declarative
Senders: Initiator and Target Scope: CO MaxRecvDataSegmentLength=<numerical-value-512-to-(2**24-1)> Default is 8192 bytes. |
OF_MARK_INT
OFMarkInt is used to set the interval for the initiator to target markers
on the connection.
|
OF_MARKER
OFMarker is used to turn on or off the initiator to target markers on the
connection.
|
SEND_TARGETS
Use: FFPO
Senders: Initiator Scope: SW For a complete description, see Appendix D. |
SESSION_BALANCER
Use: LO, Declarative, Any-Stage
|
SESSION_TYPE
Use: LO, Declarative, Any-Stage
|
TARGET_ADDRESS
Use: ALL, Declarative, Any-Stage
Senders: Target Scope: SW TargetAddress=domainname[:port][,portal-group-tag] The domainname can be specified as either a DNS host name, a dotted-decimal IPv4 address, or a bracketed IPv6 address as specified in [RFC2732]. |
TARGET_ALIAS
Use: ALL, Declarative, Any-Stage
Senders: Target Scope: SW TargetAlias=<iSCSI-local-name-value> Examples: TargetAlias=Bob-s Disk TargetAlias=Database Server 1 Log Disk TargetAlias=Web Server 3 Disk 20 If a target has been configured with a human-readable name or description, this name SHOULD be communicated to the initiator during a Login Response PDU if SessionType=Normal (see Section 12.21 SessionType). |
TARGET_NAME
Use: IO by initiator, FFPO by target - only as response to a SendTargets,
Declarative, Any-Stage
Senders: Initiator and Target Scope: SW TargetName=<iSCSI-name-value> Examples: TargetName=iqn.1993-11.com.disk-vendor:diskarrays.sn.45678 TargetName=eui.020000023B040506 The initiator of the TCP connection MUST provide this key to the remote endpoint in the first login request if the initiator is not establishing a discovery session. |
TARGET_PORTAL_GROUP_TAG
Use: IO by target, Declarative, Any-Stage
Senders: Target Scope: SW TargetPortalGroupTag=<16-bit-binary-value> Examples: TargetPortalGroupTag=1 The target portal group tag is a 16-bit binary-value that uniquely identifies a portal group within an iSCSI target node. |
| Modifier and Type | Method and Description |
|---|---|
String |
value()
Returns the value of this enumeration.
|
static OperationalTextKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationalTextKey |
valueOfEx(String value)
Returns the constant defined for the given
value. |
static OperationalTextKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationalTextKey AUTH_METHOD
| Name | Description |
|---|---|
| KRB5 | Kerberos V5 - defined in [RFC1510] |
| SPKM1 | Simple Public-Key GSS-API Mechanism defined in [RFC2025] |
| SPKM2 | Simple Public-Key GSS-API Mechanism defined in [RFC2025] |
| SRP | Secure Remote Password defined in [RFC2945] |
| CHAP | Challenge Handshake Authentication Protocol defined in [RFC1994] |
| None | No authentication |
public static final OperationalTextKey HEADER_DIGEST
| Name | Description | Generator |
|---|---|---|
| CRC32CDigest | 32 bit CRC | 0x11edc6f41 |
| None | no digest | |
public static final OperationalTextKey DATA_DIGEST
public static final OperationalTextKey MAX_CONNECTIONS
1. public static final OperationalTextKey SEND_TARGETS
public static final OperationalTextKey TARGET_NAME
public static final OperationalTextKey INITIATOR_NAME
public static final OperationalTextKey TARGET_ALIAS
public static final OperationalTextKey INITIATOR_ALIAS
public static final OperationalTextKey TARGET_ADDRESS
public static final OperationalTextKey TARGET_PORTAL_GROUP_TAG
public static final OperationalTextKey INITIAL_R2T
public static final OperationalTextKey IMMEDIATE_DATA
| InitialR2T | ImmediateData | Unsolicited Data Out PDUs | Immediate Data |
|---|---|---|---|
| No | No | Yes | No |
| No | Yes | Yes | Yes |
| Yes | No | No | No |
| Yes | Yes | No | Yes |
public static final OperationalTextKey MAX_RECV_DATA_SEGMENT_LENGTH
public static final OperationalTextKey MAX_BURST_LENGTH
262144 (256 Kbytes). public static final OperationalTextKey FIRST_BURST_LENGTH
65536 (64 Kbytes).public static final OperationalTextKey DEFAULT_TIME_2_WAIT
2. 0 indicates that logout or active task reassignment can be attempted
immediately.public static final OperationalTextKey DEFAULT_TIME_2_RETAIN
20. Result function is Minimum.
The initiator and target negotiate the maximum time, in seconds after an initial wait (Time2Wait),
before which an active task reassignment is still possible after an unexpected connection termination
or a connection reset. public static final OperationalTextKey MAX_OUTSTANDING_R2T
1. F bit set to 1) is transferred, or a sequence reception timeout
(Section 6.1.4.1 Recovery Within-command) is encountered for that data sequence.public static final OperationalTextKey DATA_PDU_IN_ORDER
public static final OperationalTextKey DATA_SEQUENCE_IN_ORDER
0 and DataSequenceInOrder is set to Yes then MaxOustandingR2T MUST be set to
1.public static final OperationalTextKey ERROR_RECOVERY_LEVEL
Senders: Initiator and Target
Scope: SW
ErrorRecoveryLevel=<numerical-value-0-to-2>
Default is 0.
Result function is Minimum.
The initiator and target negotiate the recovery level supported. Recovery levels represent a combination of recovery capabilities. Each recovery level includes all the capabilities of the lower recovery levels and adds some new ones to them.
In the description of recovery mechanisms, certain recovery classes are specified. Section 6.1.5 Error Recovery Hierarchy describes the mapping between the classes and the levels.
public static final OperationalTextKey SESSION_TYPE
Senders: Initiator
Scope: SW
> SessionType= <Discovery|Normal>
Default is Normal.The initiator indicates the type of session it wants to create. The target can either accept it or reject it.
A discovery session indicates to the Target that the only purpose of this Session is discovery. The only requests a target accepts in this type of session are a text request with a SendTargets key and a logout request with reason "close the session".
The discovery session implies MaxConnections = 1 and overrides both the default and an
explicit setting.
public static final OperationalTextKey SESSION_BALANCER
Senders: Initiator
Scope: SW
> SessionBalancer= <RoundRobinSessionBalancer|ParallelSessionBalancer>
Default is RoundRobinSessionBalancer.The SessionBalancer to use;
public static final OperationalTextKey IF_MARKER
<boolean-value>
IFMarker = <boolean-value>
Default is No. Result function is AND.
IFMarker is used to turn on or off the target to initiator markers on the connection.
Examples:
I->OFMarker=Yes,IFMarker=Yes
T->OFMarker=Yes,IFMarker=Yes
Results in the Marker being used in both directions while:
I->OFMarker=Yes,IFMarker=Yes
T->OFMarker=Yes,IFMarker=No
Results in Marker being used from the initiator to the target, but not from the target to initiator.
public static final OperationalTextKey IF_MARK_INT
No
IFMarkInt is Irrelevant when: IFMarker = No
Offering:
OFMarkInt=<numeric-range-from-1-to-65535>
IFMarkInt=<numeric-range-from-1-to-65535>
Responding:
OFMarkInt=<numeric-value-from-1-to-65535>|Reject
IFMarkInt=<numeric-value-from-1-to-65535>|Reject
IFMarkInt is used to set the interval for the target to initiator markers on the connection.
For the offering, the initiator or target indicates the minimum to maximum interval (in 4-byte words) it wants the markers for one or both directions. In case it only wants a specific value, only a single value has to be specified. The responder selects a value within the minimum and maximum offered or the only value offered or indicates through the xFMarker key=value its inability to set and/or receive markers. When the interval is unacceptable the responder answers with "Reject". Reject is resetting the marker function in the specified direction (Output or Input) to No.
The interval is measured from the end of a marker to the beginning of the next marker. For example, a
value of 1024 means 1024 words (4096 bytes of iSCSI payload
between markers).
The default is 2048.
IF_MARKERpublic static final OperationalTextKey OF_MARKER
IF_MARKERpublic static final OperationalTextKey OF_MARK_INT
OF_MARKER,
IF_MARK_INTpublic static OperationalTextKey[] values()
for (OperationalTextKey c : OperationalTextKey.values()) System.out.println(c);
public static OperationalTextKey valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final String value()
public static final OperationalTextKey valueOfEx(String value)
value.value - The value to search for.value. Or null, if this value is
not defined by this
enumeration.Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.