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

Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com> Tue, 11 February 2014 13:54 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 665471A00BC for <dime@ietfa.amsl.com>; Tue, 11 Feb 2014 05:54:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.85
X-Spam-Level:
X-Spam-Status: No, score=-3.85 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, HTML_MESSAGE=0.001, 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 Jzy8SvbjUAbI for <dime@ietfa.amsl.com>; Tue, 11 Feb 2014 05:54:43 -0800 (PST)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id AD0F21A031B for <dime@ietf.org>; Tue, 11 Feb 2014 05:54:38 -0800 (PST)
X-AuditID: c1b4fb25-b7f038e000005d01-6e-52fa2b9ddb83
Received: from ESESSHC022.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id AF.38.23809.D9B2AF25; Tue, 11 Feb 2014 14:54:37 +0100 (CET)
Received: from ESESSMB101.ericsson.se ([169.254.1.172]) by ESESSHC022.ericsson.se ([153.88.183.84]) with mapi id 14.02.0387.000; Tue, 11 Feb 2014 14:53:55 +0100
From: Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com>
To: "dime@ietf.org list" <dime@ietf.org>
Thread-Topic: [Dime] [dime] #45: Why is a validity duration of 0 disallowed?
Thread-Index: AQHPJlD7NvPtWONPVUazL45pZeb7hpqukxIAgAADxQCAAAUcgIAAYRYAgAAcxICAAPpJ0A==
Date: Tue, 11 Feb 2014 13:53:55 +0000
Message-ID: <087A34937E64E74E848732CFF8354B9209772FEF@ESESSMB101.ericsson.se>
References: <057.2153d3a0ed57933cb4ec7468d82db1d9@trac.tools.ietf.org> <A27A0204-5080-46F6-B1F4-B4FE1CB1AD5D@gmail.com> <889030ED-A32B-442D-BE2D-674950AA769E@nostrum.com> <B28458B2-D601-4914-B51D-C05C61B3DCB8@gmail.com> <61BD40D6-20C5-4F47-876D-27E2D323C241@nostrum.com> <97EF76DD-0AAA-458C-90E4-A16443E5B06B@gmail.com> <F8DA59C4-65A5-44B5-8DD9-AEDA8F04C32D@nostrum.com>
In-Reply-To: <F8DA59C4-65A5-44B5-8DD9-AEDA8F04C32D@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.154]
Content-Type: multipart/alternative; boundary="_000_087A34937E64E74E848732CFF8354B9209772FEFESESSMB101erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLLMWRmVeSWpSXmKPExsUyM+Jvje5c7V9BBtN6dC3m9q5gc2D0WLLk J1MAYxSXTUpqTmZZapG+XQJXxufPbawFx/Mrvp3vZG1gfBXfxcjBISFgIvH4jXcXIyeQKSZx 4d56ti5GLg4hgUOMEhtOTGCHcJYwSrxc94oFpIpNwE7i0ukXTCDNIgIaEitOZIKEhQW8JX58 uMwEYosI+Ej0Nh5hg7DDJK6u2sICUs4ioCoxp10PJMwr4CvxaO4SJojx/5gkFp9+yQqS4BSw l9j0/CFYLyPQQd9PrQGbySwgLnHryXwmiEMFJJbsOc8MYYtKvHz8jxXCVpJYdPszVH2+xLQL f9gglglKnJz5hGUCo8gsJKNmISmbhaQMIq4jsWD3JzYIW1ti2cLXzDD2mQOPmZDFFzCyr2Jk z03MzEkvN9rECIySg1t+q+5gvHNO5BCjNAeLkjjvh7fOQUIC6YklqdmpqQWpRfFFpTmpxYcY mTg4pRoYPd0F5Vf3n5n3JiHqV4TlhWc9by7/bimL9HPQu/TYsrvtr7v/j7uqTNlnCqTi9rfy RLhxHlgl/fvRogyGVdtn3P3jEOv5Qul/bJqs5YyCqdLbjVtnJf9wXRLC989nqqK6qenrZUof j38Taq3NcXbtyfI+e6VoVovKxX/JLE/DJHymXVke+ahHiaU4I9FQi7moOBEApIogC2ACAAA=
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: Tue, 11 Feb 2014 13:54:45 -0000

Ben,

This approach sounds reasonable to me.
But I would like to clarify what should be the behavior if a Reduction-Percentage=0 is received. This is an invalid value, then I presume it should be discarded by client.

Regards
/MCruz

From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of Ben Campbell
Sent: martes, 11 de febrero de 2014 0:56
To: Jouni Korhonen
Cc: dime@ietf.org list; draft-docdt-dime-ovli@tools.ietf.org
Subject: Re: [Dime] [dime] #45: Why is a validity duration of 0 disallowed?

So, here's some proposed text. (intentionally ignoring the related discussion about handling invalid values):

Section 4.5, first paragraph, last 2 sentences:

Old:

Validity duration values 0 (i.e., 0 seconds) and above 86400 (i.e., 24 hours) MUST NOT be used. Invalid validity duration values are treated as if the OC-Validity-Duration AVP were not present.

New:

Validity duration values above 86400 MUST NOT be used. Invalid validity duration values are treated as if the OC-Validity-Duration AVP were not present. A value of zero (0) indicates that an existing overload condition has ended and that the reporting node is in a stable condition.

Section 4.7, 2nd paragraph:

Old:

 The value of the Reduction-Percentage AVP is between one (1) and one hundred (100).  Values greater than 100 are interpreted as 100.  The value of 100 means that no traffic is expected, i.e. the reporting node is under a severe load and ceases to process any new messages. The Reduction-Percentage AVP MUST be present in an overload report that uses the default abatement algorithm.

Note that there is no zero (0) value defined for the Reduction-Percentage AVP. A zero value would logically indicate that no overload abatement is requested. Instead, reporting nodes use a OC-Validity-Duration AVP value of zero (0) to indicate the end of an overload condition. [Section 4.5]






On Feb 10, 2014, at 4:12 PM, Jouni Korhonen <jouni.nospam@gmail.com<mailto:jouni.nospam@gmail.com>> wrote:


Just post it here.



On Feb 10, 2014, at 6:25 PM, Ben Campbell <ben@nostrum.com<mailto:ben@nostrum.com>> wrote:


Okay. Does that mean we should assign the issue to me in the tracker?

On Feb 10, 2014, at 10:06 AM, Jouni Korhonen <jouni.nospam@gmail.com<mailto:jouni.nospam@gmail.com>> wrote:



Ben,

Propose some text and we can see how it fits in.

- Jouni


On Feb 10, 2014, at 5:53 PM, Ben Campbell <ben@nostrum.com<mailto:ben@nostrum.com>> wrote:



On Feb 10, 2014, at 5:12 AM, Jouni Korhonen <jouni.nospam@gmail.com<mailto:jouni.nospam@gmail.com>> wrote:



On Feb 7, 2014, at 11:54 PM, dime issue tracker <trac+dime@trac.tools.ietf.org<mailto:trac+dime@trac.tools.ietf.org>> wrote:


#45: Why is a validity duration of 0 disallowed?

Section 4.5 disallows a validity duration of zero. Why do we want to
disallow that? It would allow a quick way of ending any existing overload
condition without worrying about the semantics of the abatement algorithm.
(We currently use a reduction percentage of zero to end an overload
condition--but that's specific to the loss algorithm and might not make
sense for all future ones.)

Right. Avoiding two ways of ending overload condition was the reason.
I am OK to have validity duration 0 as an additional method ending the
overload condition based on the reasoning above.

I would go further and make duration 0 the _preferred_ way, for two reasons:

1) It's algorithm independent. (reduction-percentage of 0 is specific to algorithms that use reduction percentage.)

2) Explicit signaling of the end of an overload condition becomes semantically identical to the expiration of an overload condition. This allows a simpler implementation.




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