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

"Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com> Wed, 26 February 2014 10:00 UTC

Return-Path: <ulrich.wiehe@nsn.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 A260C1A01BA for <dime@ietfa.amsl.com>; Wed, 26 Feb 2014 02:00:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5] 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 2j5ZT0JIy6DJ for <dime@ietfa.amsl.com>; Wed, 26 Feb 2014 02:00:25 -0800 (PST)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [93.183.12.31]) by ietfa.amsl.com (Postfix) with ESMTP id 9A01A1A01AF for <dime@ietf.org>; Wed, 26 Feb 2014 02:00:24 -0800 (PST)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id s1QA0KDY030546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 26 Feb 2014 11:00:21 +0100
Received: from DEMUHTC002.nsn-intra.net ([10.159.42.33]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id s1QA09HD000573 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 26 Feb 2014 11:00:19 +0100
Received: from DEMUHTC011.nsn-intra.net (10.159.42.42) by DEMUHTC002.nsn-intra.net (10.159.42.33) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 26 Feb 2014 11:00:12 +0100
Received: from DEMUMBX014.nsn-intra.net ([169.254.14.242]) by DEMUHTC011.nsn-intra.net ([10.159.42.42]) with mapi id 14.03.0123.003; Wed, 26 Feb 2014 11:00:12 +0100
From: "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com>
To: ext Steve Donovan <srdonovan@usdonovans.com>, "dime@ietf.org" <dime@ietf.org>
Thread-Topic: [Dime] [dime] #45: Why is a validity duration of 0 disallowed?
Thread-Index: AQHPMagI3DCddS4DqUu7RccaCVEivZrHSnlQ
Date: Wed, 26 Feb 2014 10:00:12 +0000
Message-ID: <5BCBA1FC2B7F0B4C9D935572D9000668151B4917@DEMUMBX014.nsn-intra.net>
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> <530BBA98.9080903@usdonovans.com>
In-Reply-To: <530BBA98.9080903@usdonovans.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.159.42.116]
Content-Type: multipart/alternative; boundary="_000_5BCBA1FC2B7F0B4C9D935572D9000668151B4917DEMUMBX014nsnin_"
MIME-Version: 1.0
X-purgate-type: clean
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-size: 13612
X-purgate-ID: 151667::1393408821-00003660-67040F24/0-0/0-0
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/NRkxHJlTB8rpRg9M26x2ysPPtw0
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: Wed, 26 Feb 2014 10:00:30 -0000

My understanding was that e.g. if the reporting node has requested 30% reduction but now detects that it needs a 50% reduction, it just sends a new OLR with 50% and that will implicitly indicate that the previous OLR with 30% is no longer valid. This is a valid way to make the 30% OLR invalid; no need to first send an zero validity time OLR to make the 30% OLR invalid. Any (correctly coded) fresh OLR makes a previous OLR invalid.

The second sentence (at least in my understanding) is ambiguous: is it the OLR that contains a zero percentage that should not be regarded invalid or is it the previously received OLR?

I have no strong view whether or not to allow zero validity and/or zero percentage, but the proposed text is not understandable/acceptable.

Ulrich

From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of ext Steve Donovan
Sent: Monday, February 24, 2014 10:33 PM
To: dime@ietf.org
Subject: Re: [Dime] [dime] #45: Why is a validity duration of 0 disallowed?

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<mailto: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<mailto:DiME@ietf.org>

https://www.ietf.org/mailman/listinfo/dime