Re: [Dime] [dime] #54: OC-Report-Type as mandatory AVP

Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com> Fri, 21 February 2014 09:47 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 0740F1A04D3 for <dime@ietfa.amsl.com>; Fri, 21 Feb 2014 01:47:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.851
X-Spam-Level:
X-Spam-Status: No, score=-3.851 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, 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 VDcESWtJmWkY for <dime@ietfa.amsl.com>; Fri, 21 Feb 2014 01:47:53 -0800 (PST)
Received: from mailgw2.ericsson.se (mailgw2.ericsson.se [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id E13FC1A0452 for <dime@ietf.org>; Fri, 21 Feb 2014 01:47:52 -0800 (PST)
X-AuditID: c1b4fb25-b7f038e000005d01-82-530720c3b2d8
Received: from ESESSHC006.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id B1.38.23809.3C027035; Fri, 21 Feb 2014 10:47:48 +0100 (CET)
Received: from ESESSMB101.ericsson.se ([169.254.1.28]) by ESESSHC006.ericsson.se ([153.88.183.36]) with mapi id 14.02.0387.000; Fri, 21 Feb 2014 10:47:46 +0100
From: Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com>
To: "dime@ietf.org" <dime@ietf.org>
Thread-Topic: [Dime] [dime] #54: OC-Report-Type as mandatory AVP
Thread-Index: AQHPKdHmQtBV/d0cbEW2/a46j08/xpq/f2cw
Date: Fri, 21 Feb 2014 09:47:46 +0000
Message-ID: <087A34937E64E74E848732CFF8354B92097840F1@ESESSMB101.ericsson.se>
References: <075.72da31b401c033905a4fb81d09a8b4aa@trac.tools.ietf.org> <7077_1392216348_52FB891B_7077_4146_1_6B7134B31289DC4FAF731D844122B36E49E1A4@PEXCVZYM13.corporate.adroot.infra.ftgroup> <E194C2E18676714DACA9C3A2516265D2026649A3@FR712WXCHMBA11.zeu.alcatel-lucent.com> <EE7D3FEB-CD2A-45D9-9700-5CCA118D9A14@gmail.com> <546C1F19-2B53-4054-9C26-DDE6D0DF3C9F@nostrum.com>
In-Reply-To: <546C1F19-2B53-4054-9C26-DDE6D0DF3C9F@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.150]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsUyM+Jvje4RBfZgg+YNXBZze1ewOTB6LFny kymAMYrLJiU1J7MstUjfLoErY/O6LcwF04wrTm+8ytbAeFuji5GTQ0LARGLG7lVMELaYxIV7 69m6GLk4hAQOMUrs/fAGylnMKPHowS0WkCo2ATuJS6dfAHVwcIgIKEuc/uUAEhYWsJe4cH02 K4gtIuAg8X32eUYI20hi2b/pYAtYBFQl1q3ZzwZi8wr4Sjx+9oMVYv5vJom5O6+BNXACDbp/ 8TRYAyPQRd9PrQGzmQXEJW49mQ91qYDEkj3nmSFsUYmXj/+xQthKEiu2X2KEqNeTuDF1ChuE rS2xbOFrZojFghInZz5hmcAoOgvJ2FlIWmYhaZmFpGUBI8sqRvbcxMyc9HKjTYzAwD+45bfq DsY750QOMUpzsCiJ83546xwkJJCeWJKanZpakFoUX1Sak1p8iJGJg1OqgXGZdRPT8h+5qWtq 9tptnvpvgYeK1TvJjoSwRYsF9jwW3Sm+4kDS3vAfZ9w4eGU81RXdXTtf/n9y16X1F5fGzbU3 JPUmnppn8MnsfdZeX84Xfy6c4n+xeUqU00G93auuFWa4tirflrS59f60Vf0jhed2BlYHVMze fvlqkp2YsvP19t+zdoppy5spsRRnJBpqMRcVJwIAP/LVYEoCAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/sbXZ625pDZNzacIXPDU13D1QMas
Subject: Re: [Dime] [dime] #54: OC-Report-Type as mandatory AVP
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: Fri, 21 Feb 2014 09:47:57 -0000

Hello all,

I understand JJ point of view, but I still tend to prefer to make it mandatory, since I think this is less error-prone, since the only node that knows the requested Report-Type is the reporting, if for any reason a reporting is omitting it (since it is optional), it will be always interpreted as HOST, but this type may be wrong.

I think DEFAULT values should never be error-prone, but used in "general cases", as a simplification, like e.g. a default for the Validity-Duration. Default Validity-Duration will never be an "error", it could be not the best value (compared with another value perfectly tuned to reporting node overload situation) but never the use of a Default value should lead to an erroneous behavior.

Best regards
/MCruz

-----Original Message-----
From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of Ben Campbell
Sent: viernes, 14 de febrero de 2014 23:13
To: Jouni Korhonen
Cc: dime@ietf.org
Subject: Re: [Dime] [dime] #54: OC-Report-Type as mandatory AVP

I actually prefer making it mandatory. The cost of adding it is trivial--even more so for a reporting node that only supports the default. The value of having it is less opportunity for interop errors.

On Feb 13, 2014, at 6:05 AM, Jouni Korhonen <jouni.nospam@gmail.com> wrote:

> 
> Agree that it is a small optimization, which I put there because at 
> the beginning there seemed to be a lot of worry on every extra AVP ;-)
> 
> I prefer having the AVP optional but with a default value just like it 
> is now. We have the same for the reduction percentage and the validity 
> time as well.
> 
> - Jouni
> 
> On Feb 13, 2014, at 10:55 AM, "TROTTIN, JEAN-JACQUES (JEAN-JACQUES)" <jean-jacques.trottin@alcatel-lucent.com> wrote:
> 
>> Hi Mcruz
>> 
>> The current description indicates that when not present the OLR is of type Host, which was fine for me and keeps my preference. 
>> We may have  deployments where Realm OLR is not used, or where statistically the HOST type is the most frequent, so to have the grouped OLR-AVP containing a minimum of AVPs minimizes parsing. I agree it is a small optimization.
>> 
>> Best regards
>> 
>> JJacques
>> 
>> 
>> 
>> 
>> -----Message d'origine-----
>> De : DiME [mailto:dime-bounces@ietf.org] De la part de 
>> lionel.morand@orange.com Envoyé : mercredi 12 février 2014 15:46 À : 
>> dime@ietf.org; maria.cruz.bartolome@ericsson.com Objet : Re: [Dime] 
>> [dime] #54: OC-Report-Type as mandatory AVP
>> 
>> Hi Maria Cruz,
>> 
>> I'm assuming that you mean "required" instead of "mandatory", right?
>> 
>> So instead of:
>> 
>>  OC-OLR ::= < AVP Header: TBD2 >
>>             < OC-Sequence-Number >
>>             [ OC-Report-Type ]
>>             [ OC-Reduction-Percentage ]
>>             [ OC-Validity-Duration ]
>>           * [ AVP ]
>> 
>> You would prefer:
>> 
>>  OC-OLR ::= < AVP Header: TBD2 >
>>             < OC-Sequence-Number >
>>             { OC-Report-Type }
>>             [ OC-Reduction-Percentage ]
>>             [ OC-Validity-Duration ]
>>           * [ AVP ]
>> 
>> And I'm fine with this proposal.
>> 
>> Cheers,
>> 
>> Lionel
>> 
>> -----Message d'origine-----
>> De : DiME [mailto:dime-bounces@ietf.org] De la part de dime issue 
>> tracker Envoyé : mercredi 12 février 2014 15:26 À : 
>> maria.cruz.bartolome@ericsson.com Cc : dime@ietf.org Objet : [Dime] 
>> [dime] #54: OC-Report-Type as mandatory AVP
>> 
>> #54: OC-Report-Type as mandatory AVP
>> 
>> Now in chapter 4.6:
>> 
>>   The default value of the OC-Report-Type AVP is 0 (i.e. the host
>>   report).
>> 
>> This AVP is always required, right? Then, I think it is more precise that  we define this AVP as mandatory.
>> 
>> --
>> -----------------------------------------------+---------------------
>> -----------------------------------------------+---
>> -----------------------------------------------+---
>> Reporter:  maria.cruz.bartolome@ericsson.com  |      Owner:  MCruz
>>    Type:  defect                             |  Bartolomé
>> Priority:  major                              |     Status:  new
>> Component:  draft-docdt-dime-ovli              |  Milestone:
>> Severity:  Active WG Document                 |    Version:  1.0
>>                                              |   Keywords:
>> -----------------------------------------------+---------------------
>> -----------------------------------------------+---
>> -----------------------------------------------+---
>> 
>> Ticket URL: <http://trac.tools.ietf.org/wg/dime/trac/ticket/54>
>> dime <http://tools.ietf.org/wg/dime/>
>> 
>> _______________________________________________
>> DiME mailing list
>> DiME@ietf.org
>> https://www.ietf.org/mailman/listinfo/dime
>> 
>> _____________________________________________________________________
>> ____________________________________________________
>> 
>> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>> 
>> This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation.
>> If you have received this email in error, please notify the sender and delete this message and its attachments.
>> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>> Thank you.
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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