Re: [Dime] WLGC #2 for draft-ietf-dime-ovli-06

Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com> Thu, 22 January 2015 16:42 UTC

Return-Path: <maria.cruz.bartolome@ericsson.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B486C1A1A11 for <dime@ietfa.amsl.com>; Thu, 22 Jan 2015 08:42:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.001
X-Spam-Level:
X-Spam-Status: No, score=-3.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_35=0.6, J_CHICKENPOX_38=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8UlK9PYu471X for <dime@ietfa.amsl.com>; Thu, 22 Jan 2015 08:41:52 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3968E1ACD25 for <dime@ietf.org>; Thu, 22 Jan 2015 08:41:52 -0800 (PST)
X-AuditID: c1b4fb2d-f79fc6d000001087-b4-54c1284edf19
Received: from ESESSHC009.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id F4.A6.04231.E4821C45; Thu, 22 Jan 2015 17:41:50 +0100 (CET)
Received: from ESESSMB101.ericsson.se ([169.254.1.82]) by ESESSHC009.ericsson.se ([153.88.183.45]) with mapi id 14.03.0195.001; Thu, 22 Jan 2015 17:41:49 +0100
From: Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com>
To: Steve Donovan <srdonovan@usdonovans.com>, "dime@ietf.org" <dime@ietf.org>
Thread-Topic: [Dime] WLGC #2 for draft-ietf-dime-ovli-06
Thread-Index: AQHQNlEZTlYSoZcWBECTDxIlmAHYi5zMTqew
Date: Thu, 22 Jan 2015 16:41:48 +0000
Message-ID: <087A34937E64E74E848732CFF8354B92098ADD13@ESESSMB101.ericsson.se>
References: <54B5399D.3020600@gmail.com> <AEE2E3C8-9ADF-4D0F-9793-B1F15A0EFDBA@nostrum.com> <54BEA19E.80309@usdonovans.com> <444F5015-38E2-4D19-A5F8-EBC32BAD38F6@nostrum.com> <54BEC3E7.40703@usdonovans.com> <54C10B60.7010405@usdonovans.com>
In-Reply-To: <54C10B60.7010405@usdonovans.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.149]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsUyM+Jvja6fxsEQg5OLxS3m9q5gs9jQxOPA 5LFkyU8mj1Vv+1gDmKK4bFJSczLLUov07RK4Mu7e/M1e8N2mYtKdPWwNjE/1uxg5OSQETCQa n2xmhbDFJC7cW8/WxcjFISRwhFFi6+67YAkhgcWMEvenB4DYbAJ2EpdOv2ACsUUEfCWOd55m AbGFBcwlOr6eArI5gOIWEhOuMUKUGEncOnmPHcRmEVCV+HjtLZjNC9T6dF4/I8SuH4wSN/4/ BWvgFNCT+DStA2wvI9BB30+tAdvFLCAucevJfCaIQwUkluw5zwxhi0q8fPwP6gElibWHt7NA 1OtILNj9iQ3C1pZYtvA1M8RiQYmTM5+wTGAUnYVk7CwkLbOQtMxC0rKAkWUVo2hxanFxbrqR sV5qUWZycXF+nl5easkmRmCUHNzyW3cH4+rXjocYBTgYlXh4P8w/ECLEmlhWXJl7iFGag0VJ nDfPYUOIkEB6YklqdmpqQWpRfFFpTmrxIUYmDk6pBsaKZS+WM4rnhIpZT02cvew5m9OZc5dC Xk0K9Yuct3PepmB22+OzDCdJJYhMn8mlV3WB+5Dv16qfWa1Np68p5PDa7Zqa6LVc5BD7lQkt LVUL9f8fOX/37LkgNjYv26/7sj+kzRPR38L88dB/3/fFd88U7PxQ+O3eujN7jbhnzmGtTlu9 ePOlKLMLSizFGYmGWsxFxYkASivGcHMCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/dime/Nko6_vnP7KcaDMYfeNBvt-F8EaA>
Subject: Re: [Dime] WLGC #2 for draft-ietf-dime-ovli-06
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime/>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jan 2015 16:42:01 -0000

Dear all,

A) About 'M' bit:

My understanding of RFC6733:

      The 'M' bit, known as the Mandatory bit, indicates whether the
      receiver of the AVP MUST parse and understand the semantics of the
      AVP including its content.  The receiving entity MUST return an
      appropriate error message if it receives an AVP that has the M-bit
      set but does not understand it.  An exception applies when the AVP
      is embedded within a Grouped AVP.  See Section 4.4 for details.

       4.4:
   Receivers of a Grouped AVP that
   does not have the 'M' (mandatory) bit set and one or more of the
   encapsulated AVPs within the group has the 'M' (mandatory) bit set
   MAY simply be ignored if the Grouped AVP itself is unrecognized.  The
   rule applies even if the encapsulated AVP with its 'M' (mandatory)
   bit set is further encapsulated within other sub-groups, i.e., other
   Grouped AVPs embedded within the Grouped AVP.


If the Grouped AVP does not have the 'M' bit set, but one (or more) of its sub-AVPs do have it, then the grouped AVP may be ignored (instead of sending an error) if the Grouped AVP itself is "unrecognized"
But what "unrecognized" mean in this context? In my opinion, the grouped AVP is not recognized as long as mandatory sub-AVPs are missed, this includes conditionally mandatory (up to negotiation) sub AVPs.
Then I would proposed a variant to your proposal 2 below:

3) sub-AVPs of DOIC grouped AVPs MUST NOT  have the m-bit set unless the sub-avp is mandatory or conditionally mandatory (i.e. part of an extension explicitly negotiated in the feature vector).


B) Going out of 100% reduction

I think we should keep 5.2.2 as it is.
But I think there is a bit of misalignment with 6.3. I will propose following rephrasing:

Now: 5th paragraph:

   If reacting node comes out of the 100 percent traffic reduction as a
   result of the overload report timing out, the following procedures
   are RECOMMENDED to be applied.  The reacting node sending the traffic
   should be conservative and, for example, first send "probe" messages
   to learn the overload condition of the overloaded node before
   converging to any traffic amount/rate decided by the sender.  Similar
   concerns apply in all cases when the overload report times out unless
   the previous overload report stated 0 percent reduction.

Proposed: 5th paragraph:

   If reacting node comes out of the 100 percent traffic reduction as a
   result of the overload report timing out,					<--
                                                                the reacting node sending the traffic	<--
   SHOULD be conservative and, for example, first send "probe" messages	<--
   to learn the overload condition of the overloaded node before
   converging to any traffic amount/rate decided by the sender.  Similar
   concerns apply in all cases when the overload report times out unless
   the previous overload report stated 0 percent reduction.


Best regards
/MCruz

-----Original Message-----
From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of Steve Donovan
Sent: jueves, 22 de enero de 2015 15:38
To: dime@ietf.org
Subject: Re: [Dime] WLGC #2 for draft-ietf-dime-ovli-06

All,

We need to close these two issues to finish WGLC #2.

Please review an let me know if the alternatives I have outlined below are acceptable.

Thanks,

Steve

On 1/20/15 3:08 PM, Steve Donovan wrote:
>
> On 1/20/15 1:20 PM, Ben Campbell wrote:
>>> On Jan 20, 2015, at 12:42 PM, Steve Donovan 
>>> <srdonovan@usdonovans.com> wrote:
>>>
>>> The following is the resolution of Ben's issues that were not 
>>> addressed directly in an email thread started by Ulrich.
>>>
>>> Regards,
>>>
>>> Steve
>>>
>>>> -- 5.3, 4th paragraph:
>>>>
>>>> As I mentioned in previous discussion, after re-reading the related 
>>>> text in 6733, it's no longer clear to me this works like we thought 
>>>> it did. That is, I think any attempt to make sub-AVPs mandatory 
>>>> risks causing errors in the enclosing Diameter transaction. I don't 
>>>> know how to solve this, other just disallowing mandatory sub-AVPs.
>>>> (Jouni previously convinced me 6733 treatment of the m-bit in 
>>>> sub-avps worked like we wanted--perhaps he can re-convince me :-)
>>>>
>>> SRD>Given that Jouni successfully convinced Ben about the 6733
>>> treatment, I'm not planning to make any changes, as I'm assuming he 
>>> can be just as successful the second time.
>> I think that's a bad assumption.
>>
>> We had previously assumed that if a node receives a grouped AVP 
>> (without the m-bit set) that includes an unrecognized sub-avp with 
>> the m-bit set, then the receiver could just ignore the entire grouped 
>> AVP, and otherwise process the transaction. But 6733 actually says 
>> the following:
>>
>> "Receivers of a Grouped AVP that
>>     does not have the 'M' (mandatory) bit set and one or more of the
>>     encapsulated AVPs within the group has the 'M' (mandatory) bit set
>>     MAY simply be ignored if the Grouped AVP itself is unrecognized.  
>> The
>>     rule applies even if the encapsulated AVP with its 'M' (mandatory)
>>     bit set is further encapsulated within other sub-groups, i.e., other
>>     Grouped AVPs embedded within the Grouped AVP."
>>
>> Note the "... if the Grouped AVP itself is unrecognized." clause.
>>
>> The case we have in mind is when you receive a _recognized_ grouped 
>> AVP (that is, you implement DOIC), but it includes an unrecognized 
>> sub-avp with the M-bit set. This is not covered by the exception.
>> This would seem to indicate that the entire request must fail. I 
>> don't think that's what we want.
> SRD> I see how it could be interpreted that way.
>>
>> At this point, I think we need to either say that sub-avps of DOIC 
>> grouped AVPs either 1) MUST NOT have the m-bit set, or 2) MUST NOT 
>> have the m-bit set unless the sub-avp is part of an extension 
>> explicitly negotiated in the feature vector.
> SRD> I'm ok either way but prefer number 2).
>>
>>
>>
> [...]
>>>> Paragraph 5:
>>>>
>>>> Is this redundant to the last paragraph of 5.2.2?
>>>>
>>> SRD> I don't see an issue.  One is general and the other specific to
>>> the loss algorithm.  They don't conflict.
>> The one in 5.2.2 is specific to situations where an OLR quenches all 
>> requests, and says MUST. So is this, and says RECOMMENDED (which 
>> means SHOULD in 2119).
> SRD>Actually 5.2.2 isn't only about quenching.  It's also about the
> reacting node having sent no traffic, because it had no traffic to 
> send, and now needs to send traffic soon after the OCS expires. The 
> reporting node might still be in an overload state but the reacting 
> node doesn't know until the first request is sent.
>>
>> If the idea is that the text in 6.3 is the recommended way to fulfill 
>> the MUST in 5.2.2, then that's okay I guess (although I would prefer 
>> one of the two to be non-normative.)
> SRD> 6.3 deals specifically with quenching, thus is a little different
> than 5.2.2, although there is overlap.
>>
>> Another approach would to leave this to 6.3, and add something to the 
>> effect that any new algorithm that can cause total quenching of 
>> requests must address how the reacting node restarts from that state.
> SRD> I prefer to leave it as it currently is.
>>
>> [...]
>
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime
>

_______________________________________________
DiME mailing list
DiME@ietf.org
https://www.ietf.org/mailman/listinfo/dime