Re: [Dime] OVLI: Clarification on the format of the OC-Report-Type AVP

Jouni Korhonen <jouni.nospam@gmail.com> Wed, 04 December 2013 10:14 UTC

Return-Path: <jouni.nospam@gmail.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 660751AE230 for <dime@ietfa.amsl.com>; Wed, 4 Dec 2013 02:14:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 jHPFUxa5L650 for <dime@ietfa.amsl.com>; Wed, 4 Dec 2013 02:14:36 -0800 (PST)
Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by ietfa.amsl.com (Postfix) with ESMTP id 8B1ED1AE232 for <dime@ietf.org>; Wed, 4 Dec 2013 02:14:36 -0800 (PST)
Received: by mail-bk0-f52.google.com with SMTP id u14so6421378bkz.25 for <dime@ietf.org>; Wed, 04 Dec 2013 02:14:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=lMX6rXM0n0GMVMtUfKv9R8pMzJuLjEzsE2zDixavqjE=; b=XeZpaZzoTlHWeJH2vt1LUj2QdCDqxN4gjB49VYe2/A0XEOX/AAjlIPpkuHpVyw653t TQJcSt0wUJnY8rgG4P+EXranXmyQe+JkcGStVHtBWZuc6KmNZu929ZEYxpUeGq7e6EPm QiEb5Iwf2FDun/d+2mySohAgXpnj6D8p/UMwc1NUIvhazRxIaKimgIf1vXfgkn1ahPyw M3mgwPao0Z7Xcyclnq0eIUGkpAzraTwQJhaS/icWYW0WaO7icfUAU3rf/HtYXwMQRa7+ 8D4J7+wTxAz6nUyMI69KUM7S5yuHI7bWjCY5ve2iykwkSrfYCyRXp9QEpvQwpzGsyWKC 1OdA==
X-Received: by 10.205.35.204 with SMTP id sx12mr5201307bkb.49.1386152073055; Wed, 04 Dec 2013 02:14:33 -0800 (PST)
Received: from ?IPv6:2001:6e8:480:60:ed07:fe0e:d711:f11c? ([2001:6e8:480:60:ed07:fe0e:d711:f11c]) by mx.google.com with ESMTPSA id on10sm81357797bkb.13.2013.12.04.02.14.30 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 02:14:30 -0800 (PST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <960_1386111033_529E6039_960_7297_1_6B7134B31289DC4FAF731D844122B36E3196C3@PEXCVZYM11.corporate.adroot.infra.ftgroup>
Date: Wed, 04 Dec 2013 12:14:32 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <F0D12E4A-FFD2-4D69-8BB3-3E0009D71F00@gmail.com>
References: <26806_1386092152_529E1678_26806_2515_1_6B7134B31289DC4FAF731D844122B36E313B4B@PEXCVZYM13.corporate.adroot.infra.ftgroup> <C181DA7E-74BB-454C-8E71-959CB56FEA7E@gmail.com> <960_1386111033_529E6039_960_7297_1_6B7134B31289DC4FAF731D844122B36E3196C3@PEXCVZYM11.corporate.adroot.infra.ftgroup>
To: lionel.morand@orange.com
X-Mailer: Apple Mail (2.1510)
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] OVLI: Clarification on the format of the OC-Report-Type 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: Wed, 04 Dec 2013 10:14:39 -0000

On Dec 4, 2013, at 12:50 AM, lionel.morand@orange.com wrote:

> Hi Jouni,
> 
> The setting of the M-bit will be decided per application and not by this document.
> Obviously, when reused in existing applications, it will be purely optional. But designers may decide to include this AVP as mandatory AVP to understand in a new application and then the issues regarding Enumerated AVP will come back, no?

Changing the enumerated to unsigned64 does not change the situation.
You have the same issue still. The best thing we can do is to define
the procedures when receiving a value that is not understood.

We do have an error code for invalid values. So the application
designer have two choices. Define the report type with M=0 and just
ignore the AVP (+OLR) when the value is not understood or then
just return DIAMETER_INVALID_AVP_VALUE when M=1. This is independent
whether the AVP type is enumerated or something homegrown. 

- JOuni


> 
> Lionel
> 
> -----Message d'origine-----
> De : Jouni [mailto:jouni.nospam@gmail.com] 
> Envoyé : mardi 3 décembre 2013 19:15
> À : MORAND Lionel IMT/OLN
> Cc : dime@ietf.org
> Objet : Re: [Dime] OVLI: Clarification on the format of the OC-Report-Type AVP
> 
> 
> On Dec 3, 2013, at 7:35 PM, <lionel.morand@orange.com> <lionel.morand@orange.com> wrote:
> 
>> Hi,
>> 
>> The proposed format for OC-Report-Type AVP is Enumerated.
>> This would lead to extensibility issue as discussed several times.
> 
> I know what you refer to but I think it is a non-issue since the
> AVP is optional and we can define the default behavior when the
> content is not understood.
> 
> - Jouni
> 
> 
> 
>> 
>> I would propose to define the OC-Report-Type AVP as Unsigned64 and create specific values. The same registry can be used to add values but we would get rid of the problem with Enumerated AVP.
>> 
>> Comment?
>> 
>> Lionel
>> 
>> _________________________________________________________________________________________________________________________
>> 
>> 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
> 
> 
> _________________________________________________________________________________________________________________________
> 
> 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.
>