Re: [Dime] [dime] #45: Why is a validity duration of 0 disallowed?

Steve Donovan <srdonovan@usdonovans.com> Mon, 24 February 2014 21:33 UTC

Return-Path: <srdonovan@usdonovans.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 67F911A0298 for <dime@ietfa.amsl.com>; Mon, 24 Feb 2014 13:33:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.35
X-Spam-Level: **
X-Spam-Status: No, score=2.35 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_SORBS_WEB=0.77, SPF_NEUTRAL=0.779] autolearn=no
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 YSr52eyfCso9 for <dime@ietfa.amsl.com>; Mon, 24 Feb 2014 13:33:11 -0800 (PST)
Received: from biz131.inmotionhosting.com (biz131.inmotionhosting.com [173.247.247.114]) by ietfa.amsl.com (Postfix) with ESMTP id A07D51A026D for <dime@ietf.org>; Mon, 24 Feb 2014 13:33:11 -0800 (PST)
Received: from [137.254.4.54] (port=59052 helo=SDmac.local) by biz131.inmotionhosting.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from <srdonovan@usdonovans.com>) id 1WI39B-0002fq-KV for dime@ietf.org; Mon, 24 Feb 2014 13:33:10 -0800
Message-ID: <530BBA98.9080903@usdonovans.com>
Date: Mon, 24 Feb 2014 15:33:12 -0600
From: Steve Donovan <srdonovan@usdonovans.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: dime@ietf.org
References: <057.2153d3a0ed57933cb4ec7468d82db1d9@trac.tools.ietf.org> <E194C2E18676714DACA9C3A2516265D2026649BC@FR712WXCHMBA11.zeu.alcatel-lucent.com> <087A34937E64E74E848732CFF8354B9209774896@ESESSMB101.ericsson.se> <E194C2E18676714DACA9C3A2516265D2026649F8@FR712WXCHMBA11.zeu.alcatel-luc! ent.com> <52FCB76E.6020202@usdonovans.com> <E194C2E18676714DACA9C3A2516265D2026686E4@FR712WXCHMBA12.zeu.alcatel-lucent.com> <087A34937E64E74E848732CFF8354B9209775207@ESESSMB101.ericsson.se> <27861_1392393201_52FE3BF1_27861_1566_1_6B7134B31289DC4FAF731D844122B36E4A3E77@PEXCVZYM13.corporate.adroot.infra.ftgroup> <83E6BED2-035D-4C26-A1AF-9F833B1070C5@nostrum.com> <5302365A.8080408@usdonovans.com> <E194C2E18676714DA! CA9C3A2516265D2026697BC@FR712WXCHMBA12.zeu.alcatel-lucent.com> <27433_1392660486_53025006_27433_1223_1_6B7134B31289DC4FAF731D844122B36E4AB48A@PEXCVZYM13.corporate.adroot.infra.ftgroup> <579DC2BE-CC3C-43E6-819C-ADB7B1182CED@nostrum.com>
In-Reply-To: <579DC2BE-CC3C-43E6-819C-ADB7B1182CED@nostrum.com>
Content-Type: multipart/alternative; boundary="------------090508020701010204040803"
X-OutGoing-Spam-Status: No, score=-2.9
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - biz131.inmotionhosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - usdonovans.com
X-Get-Message-Sender-Via: biz131.inmotionhosting.com: authenticated_id: srdonovan@usdonovans.com
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/VE8a3WmhQQlTrhU7CML6jCCDE84
Subject: Re: [Dime] [dime] #45: Why is a validity duration of 0 disallowed?
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: Mon, 24 Feb 2014 21:33:13 -0000

I think the proposal here is the following:

A reporting node communicates that an overload report is no longer valid
by sending an OLR with a Validity-Period AVP with a value of zero.  This
is the only way for a reporting node to indicate that an overload report
is no longer valid.  For instance, setting the reduction-percentage to
zero does not make the overload report invalid. 

Do we have agreement on this?

Steve

On 2/17/14 12:44 PM, Ben Campbell wrote:
> On Feb 17, 2014, at 12:08 PM, lionel.morand@orange.com wrote:
>
>> I would like to highlight that my proposal is not related to the default Reduction-percentage algo.
>>
>> Whatever the ago used, I think that an OLR can only be sent for two purposes:
>> - Send an indication of overload situation
>> - Send an indication of end of the overload situation
>>
>> For me, providing both indications in the same message would be a non-sense. And I don't understand why the validity period would prevail in that case.
> So here's the question: Let's assume a reporting node sends you an OLR using the "loss" algorithm, a reduction-percentage of 50%, and a Validity-Duration of 10 minutes. 5 minutes later, it sends you a new OLR with an invalid reduction percentage and a Validity-Duration of 0.
>
> What's the current overload state?
>
> What if the second OLR used the "rate" algorithm, with a valid value, but still had a validity duration of 0. Does that change anything?
>
> I am arguing that, in both cases, the second OLR ends the overload period.
>
> I'm actually okay if we have a normative statement to the effect that the reporting node MUST NOT send an invalid reduction percentage, and that a reacting node MUST ignore an OLR with an invalid value _except_ for the case of a validity-duration set to zero.
>
> This all comes down to how much guessing we are willing to do about the intent of the sender when one receives an invalid OLR. I think it's reasonable to guess that a zero validity duration means to end an overload condition, without regard to the rest of the message. I _don't_ think it's reasonable to try to guess what the sender meant with an invalid reduction percentage, when the validity period is non-zero.
>
> Another, perhaps simpler, approach would be to assert that the reception of _any_ invalid OLR automatically ends any existing overload condition. (I'm not necessarily arguing for that--it's just something to think about.)
>
>> Now, if what is argued by Ben and supported by JJ and Steve is clear for the rest of the group, I will not fight.
> ... but the fighting is the fun part :-)
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime
>