[Ips] Boolean negotiations with optional responses
"Paul Hughes" <phughes@pillardata.com> Mon, 26 March 2007 17:44 UTC
Return-path: <ips-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HVtEs-0000N2-Bn; Mon, 26 Mar 2007 13:44:14 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HVtEq-0000Mw-Rp for ips@ietf.org; Mon, 26 Mar 2007 13:44:12 -0400
Received: from mail1.pillardata.com ([63.251.178.136]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HVtEo-0006Ht-CP for ips@ietf.org; Mon, 26 Mar 2007 13:44:12 -0400
Received: from coex02.trans.corp ([172.18.24.19]) by mail1.pillardata.com with ESMTP; 26 Mar 2007 11:43:53 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 26 Mar 2007 11:43:53 -0600
Message-ID: <16236EEEF4D4264DA31C2E35E3607CFE03DA6EDD@coex02.trans.corp>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Boolean negotiations with optional responses
Thread-Index: AcdvzlHlHm9pkYNcTbGvULf5oy1cKg==
From: Paul Hughes <phughes@pillardata.com>
To: "IP Storage Mailing List (E-mail)" <ips@ietf.org>
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 76c7db407a166e4c39f35d8215d8dd32
Subject: [Ips] Boolean negotiations with optional responses
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1404491692=="
Errors-To: ips-bounces@ietf.org
I have a question about Boolean negotiations with optional responses. Consider a case where the initiator is attempting to login to the target and sends a Login Request as follows: Login Request (T=1, C=0, CSG=1, NSG=3) InitiatorName=iqn.xxx.com TargetName=iqn.yyy.com SessionType=Normal InitialR2T=No FirstBurstLength=131072 DataPDUInOrder=No DataSequenceInOrder=No MaxRecvDataSegmentLength=65536 The target responds as follows and adds ImmediateData=No because it does not support the default value of ImmediateData=Yes: Login Response (T=0, C=0, CSG=1) TargetPortalGroupTag=0 TargetAlias=YYY InitialR2T=Yes FirstBurstLength=Irrelevant DataPDUInOrder=No DataSequenceInOrder=No MaxRecvDataSegmentLength=16777215 ImmediateData=No Here's where I need some help. Section 5.2.2 Simple-value Negotiations states: In Boolean negotiations (i.e., those that result in keys taking the values Yes or No), the accepting party MUST answer with the same key and the result of the negotiation when the received value does not determine that result by itself. The last value transmitted becomes the negotiation result. The rules for selecting the value to answer with are expressed as Boolean functions of the value received, and the value that the accepting party would have selected if given a choice. Specifically, the two cases in which answers are OPTIONAL are: - The Boolean function is "AND" and the value "No" is received. The outcome of the negotiation is "No". - The Boolean function is "OR" and the value "Yes" is received. The outcome of the negotiation is "Yes". Responses are REQUIRED in all other cases, and the value chosen and sent by the acceptor becomes the outcome of the negotiation. My question is whether the target's Logout Response should set T=1 and NSG=3 since the initiator has the option of not sending a Login Request with ImmediateData=No in this case. I assume it is ok for the target's Logout Response to set T=0, but the target would then need to handle a Login Request that contains ImmediateData=No or contains nothing. Thanks, Paul
_______________________________________________ Ips mailing list Ips@ietf.org https://www1.ietf.org/mailman/listinfo/ips