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

"TROTTIN, JEAN-JACQUES (JEAN-JACQUES)" <> Mon, 24 March 2014 13:52 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id E74861A01BC for <>; Mon, 24 Mar 2014 06:52:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -6.899
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 ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id kwZUAIXp-lMs for <>; Mon, 24 Mar 2014 06:51:59 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 5BED41A01C1 for <>; Mon, 24 Mar 2014 06:51:58 -0700 (PDT)
Received: from ( []) by (8.13.8/IER-o) with ESMTP id s2ODpX3g000061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 24 Mar 2014 08:51:35 -0500 (CDT)
Received: from ( []) by (GMO) with ESMTP id s2ODpWs9020903 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 24 Mar 2014 14:51:32 +0100
Received: from ([]) by ([]) with mapi id 14.02.0247.003; Mon, 24 Mar 2014 14:51:32 +0100
To: Steve Donovan <>, "Shishufeng (Susan)" <>, Jouni Korhonen <>
Thread-Topic: [Dime] [dime] #54: OC-Report-Type as mandatory AVP
Date: Mon, 24 Mar 2014 13:51:31 +0000
Message-ID: <>
References: <> <7077_1392216348_52FB891B_7077_4146_1_6B7134B31289DC4FAF731D844122B36E49E1A4@PEXCVZYM13.corporate.adroot.infra.ftgroup> <> <> <> <> <> <> <> <> <> <>, <>
In-Reply-To: <>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
x-originating-ip: []
Content-Type: multipart/alternative; boundary="_000_E194C2E18676714DACA9C3A2516265D202672882FR712WXCHMBA12z_"
MIME-Version: 1.0
Cc: "" <>
Subject: Re: [Dime] [dime] #54: OC-Report-Type as mandatory AVP
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 24 Mar 2014 13:52:05 -0000

Hi all

I am also in line with the agreement tendency as that OC-Report-Type is not required (so to keep the text as it is in the draft); I expressed this  preference a while ago.

Best regards


De : DiME [] de la part de Steve Donovan []
Date d'envoi : lundi 24 mars 2014 13:25
À : Shishufeng (Susan); Jouni Korhonen
Objet : Re: [Dime] [dime] #54: OC-Report-Type as mandatory AVP


We are in the middle of the discussion and have not yet reached consensus.

I agree with Jouni on making it explicit.  Either way, we should try to make a decision quickly.


On 3/23/14 10:59 PM, Shishufeng (Susan) wrote:

Hello Jouni,

I assume we had a lot of discussion on this and reached consensus to keep it as it is in the draft.

Best Regards,

-----Original Message-----
From: Jouni Korhonen []
Sent: Saturday, March 22, 2014 10:38 AM
To: Steve Donovan
Subject: Re: [Dime] [dime] #54: OC-Report-Type as mandatory AVP

Lets have it explicit then. Use '<' and '>' to make the position fixed.

- Jouni

On Mar 19, 2014, at 1:29 AM, Steve Donovan <><> wrote:

I'm ok with either direction but generally lean toward being explicit.

Do we have other opinions?

On 3/18/14 12:16 PM, Maria Cruz Bartolome wrote:

I think the agreement tendency is the contrary: OC-Report-Type is not required, while default value is Host. i.e. it will remain as it is now in the draft.
This may be of some advantage for some applications that may only use Host, as long as they may never generate Realm reports.
If there is consensus on this, I will go with this.
Best regards

From: DiME [] On Behalf Of Steve Donovan
Sent: martes, 18 de marzo de 2014 17:47
Subject: Re: [Dime] [dime] #54: OC-Report-Type as mandatory AVP


Do we have consensus that the OC-Report-Type AVP is required?

If so then one change would be as indicated in the syntax definition proposed by Lionel.  We would also remove wording on the default value.


How do we indicate a fixed position for an AVP?

I presonally don't see this as critical but we can add this requirement if there is consensus.



On 2/28/14 10:27 AM, Jouni Korhonen wrote:


How having the AVP could be less error prone if it has a default
value and the receiver knows exactly how to proceed when the AVP is
not present?

If a node does not include it when it should, the implementation is
broken. Wouldn't a broken node be able to put wrong report type into
the AVP even if the AVP is mandatory?

Anyway, if it is my statement keeping issue #54 still open, consider
it resolved from my side. I am OK making the OC-Report-Type AVP as
required/mandatory AVP. Should we also consider it having a fixed
position just after the OC-Sequence-Number AVP as well since it is
going to in every OC-OLR?

- Jouni

On Feb 21, 2014, at 11:47 AM, Maria Cruz Bartolome <><> wrote:

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

-----Original Message-----
From: DiME [] On Behalf Of Ben Campbell
Sent: viernes, 14 de febrero de 2014 23:13
To: Jouni Korhonen
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 <><> 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)" <><> 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


-----Message d'origine-----
De : DiME [] De la part de<> Envoyé : mercredi 12 février 2014 15:46 À :<>;<> 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.



-----Message d'origine-----
De : DiME [] De la part de dime issue
tracker Envoyé : mercredi 12 février 2014 15:26 À :<> Cc :<> 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

This AVP is always required, right? Then, I think it is more precise that  we define this AVP as mandatory.

Reporter:<>  |      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: <><>
dime <><>

DiME mailing list<>


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 mailing list<>

DiME mailing list<>

DiME mailing list<>

DiME mailing list<>

DiME mailing list<>

DiME mailing list<>