Re: [Dime] [dime] #30: OC-Supported-Features AVP in answer messages

Jouni Korhonen <jouni.nospam@gmail.com> Sun, 09 February 2014 12:42 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 E6CD71A022D for <dime@ietfa.amsl.com>; Sun, 9 Feb 2014 04:42:50 -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 Zhp0ANwGwhFK for <dime@ietfa.amsl.com>; Sun, 9 Feb 2014 04:42:48 -0800 (PST)
Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) by ietfa.amsl.com (Postfix) with ESMTP id 8A78E1A0033 for <dime@ietf.org>; Sun, 9 Feb 2014 04:42:47 -0800 (PST)
Received: by mail-lb0-f181.google.com with SMTP id z11so2964682lbi.40 for <dime@ietf.org>; Sun, 09 Feb 2014 04:42:47 -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=UAVGTFg1oLS5WFXTj3+4yh5k6WoM8AuKSN1Ap2GLYYo=; b=xldlBTL/lw4ENHnC1C1w/MKZB6wSe8rEAIHOYge7j9w8iobk8TI2unWo2556Wmi8ZX qpfJcSxBSZDV4xJHCfVi44hUwcIDyu4518s1+hM/qw8J4q6yxUIWK1VhplXk6CuEf9wv 5ZA4bXgq42MbZj1FHsdgP7RHRSrWUzhhRQlDF9E7awruL882cil7jFPUX0O3Xzj3Aac0 R0lHHv3GcjJAQVl8X8x+1tmYZK/bkfjZX/Ct0qcjP6lj2focNugNIbHcGTtMg2KN6lu1 jrtvsbFD8qm2lkZwr51Mu/uMeK4K9eCwn6lCU6zouutO/lw1rSB7HZRtcr0XMUEuFcSq 9FDQ==
X-Received: by 10.112.164.35 with SMTP id yn3mr791235lbb.45.1391949767114; Sun, 09 Feb 2014 04:42:47 -0800 (PST)
Received: from [188.117.15.108] ([188.117.15.108]) by mx.google.com with ESMTPSA id pz10sm11999713lbb.10.2014.02.09.04.42.46 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Feb 2014 04:42:46 -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: <5BCBA1FC2B7F0B4C9D935572D9000668151B25EB@DEMUMBX014.nsn-intra.net>
Date: Sun, 09 Feb 2014 14:42:51 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <A4C03BAB-DED7-4120-9A93-4987D9CDC368@gmail.com>
References: <066.d4a6efb42ff3bd328e8b56b872c4e1a7@trac.tools.ietf.org> <13009_1391526065_52F100B1_13009_2160_1_6B7134B31289DC4FAF731D844122B36E4770B0@PEXCVZYM13.corporate.adroot.infra.ftgroup> <5BCBA1FC2B7F0B4C9D935572D9000668151B1EA9@DEMUMBX014.nsn-intra.net> <7610_1391532667_52F11A7B_7610_3074_1_6B7134B31289DC4FAF731D844122B36E4774C1@PEXCVZYM13.corporate.adroot.infra.ftgroup> <5BCBA1FC2B7F0B4C9D935572D9000668151B1F71@DEMUMBX014.nsn-intra.net> <A98D20BC-23C9-4C1C-889F-3748A53DF856@gmail.com> <5BCBA1FC2B7F0B4C9D935572D9000668151B25EB@DEMUMBX014.nsn-intra.net>
To: "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com>
X-Mailer: Apple Mail (2.1510)
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] [dime] #30: OC-Supported-Features AVP in answer messages
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: Sun, 09 Feb 2014 12:42:51 -0000

On Feb 7, 2014, at 3:54 PM, "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com> wrote:

> See inline
> 
> -----Original Message-----
> From: ext Jouni Korhonen [mailto:jouni.nospam@gmail.com] 
> Sent: Friday, February 07, 2014 11:09 AM
> To: Wiehe, Ulrich (NSN - DE/Munich)
> Cc: ext lionel.morand@orange.com; dime@ietf.org
> Subject: Re: [Dime] [dime] #30: OC-Supported-Features AVP in answer messages
> 
> 
> On Feb 5, 2014, at 10:03 AM, "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com> wrote:
> 
>> Hi Loinel,
>> 
>> it seems that we can safely remove OC-Supported-Feature AVP from answer messages in the draft-ietf-dime-ovli (which does not define extensions to itself). This does not mean that a future extension cannot (re)-introduce it when needed. It also does not mean that reporting nodes are not allowed to include it in answer messages as long as answer messages have a *[AVP].
> 
> Not so fast. Leaving OC-Supported-Feature AVP away from the 
> answer is already supported by the -01. So there is nothing
> to fix in that part.
> <Ulrich> it seems you agree that 
> a) reporting nodes that only support OLR_DEFAULT_ALGO are not required to send OC-Supported-Features AVP in answer messages (of course they may if there is the *[AVP])

As I said this is already in the draft, thus ok. We just need to
clarify the use of OC-Supported-Features, remove the contradicting
text and clarify that the absence of the OC-Supported-Features
equals to the OLR_DEFAULT_ALGO (currently it only states that for
the OC-Feature-Vector).

- JOuni


> b) reacting nodes that only support  OLR_DEFAULT_ALGO can safely ignore OC-Supported-Features AVPs received in answer messages
> c) behavior of the reacting node that only supports OLR_DEFAULT_ALGO does not depend on presence/absence of OC-Supported-Features AVPs in received answer messages
> if that's agreed, why not say so clearly in the draft?
> (the clear way to say so is to remove this AVP from answers. </Ulrich>
> 
> 
> The thing that need to be fixed is the inconsistency on you
> pointed out which would make reacting node not to send any
> DOIC AVPs.
> 
> - JOuni
> 
>> 
>> Best regards
>> Ulrich
>> 
>> -----Original Message-----
>> From: ext lionel.morand@orange.com [mailto:lionel.morand@orange.com] 
>> Sent: Tuesday, February 04, 2014 5:51 PM
>> To: Wiehe, Ulrich (NSN - DE/Munich); dime@ietf.org
>> Subject: RE: [dime] #30: OC-Supported-Features AVP in answer messages
>> 
>> Hi Ulrich,
>> 
>> For the point 2 and 3, the difference between the "Should" and the "May" is quite subtle here and is for me only an implementation option.
>> 
>> For 4 and 5, ok if the node only supports the default algo. In other words, only the OLR matters for nodes supporting only the default algo. The rest is purely for information and can be safely ignored.
>> 
>> For 6, if the new feature consists in a new algo, it would mean defining a new dedicated OLR AVP. So nodes supporting only the default algo will ignore any unknown AVP if received.
>> 
>> Regards,
>> 
>> Lionel
>> 
>> -----Message d'origine-----
>> De : Wiehe, Ulrich (NSN - DE/Munich) [mailto:ulrich.wiehe@nsn.com] 
>> Envoyé : mardi 4 février 2014 17:04
>> À : MORAND Lionel IMT/OLN; dime@ietf.org
>> Objet : RE: [dime] #30: OC-Supported-Features AVP in answer messages
>> 
>> Dear Lionel,
>> 
>> thank you for your response.
>> 
>> If I correctly understand, the principles would be:
>> 1. Sending OC-Supported-Features in answer messages is syntactically optional.
>> 2. When the reacting node does only support OLR_DEFAULT_ALGO , the reporting node should not insert an OC-Supported-Features AVP in the answer message.
>> 3. When the reporting node does only support OLR_DEFAULT_ALGO, it should not insert an OC-Supported-Features AVP in the answer message.
>> 4. A reacting node that supports only OLR_DEFAULT_ALGO can safely ignore OC-Supported-Features AVPs received in answer messages.
>> 5. A reacting node that supports only OLR_DEFAULT_ALGO can safely ignor all extensions received in an OC-OLR.
>> 6. When a new feature is introduced, the spec introducing the new feature must define the details to ensure interoperability of nodes supporting the new feature with nodes that do not support the new feature (taking into account that nodes not supporting the new feature act according to the principles 1.-5.).
>> 
>> 
>> Best regards
>> Ulrich
>> 
>> 
>> 
>> -----Original Message-----
>> From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of ext lionel.morand@orange.com
>> Sent: Tuesday, February 04, 2014 4:01 PM
>> To: dime@ietf.org
>> Subject: Re: [Dime] [dime] #30: OC-Supported-Features AVP in answer messages
>> 
>> I think that there is actually an issue here but the proposed way to solve it is not the correct one.
>> The initial idea was to be able to use the same overload report with several algorithms. So the OLR was somehow only meaningful along with the OC-Feature-Vector AVP.
>> 
>> But because the OC-Feature-Vector AVP is defined as a set of flags, it is not possible to say that this OLR is to be used with only one given algo when more than one is defined (as the bit flags will advertize 1 AND 2 for 2 supported algos). So the OC-Feature-Vector cannot be used to indicate the abatement to perform.
>> 
>> As the syntax of the OC-Feature-Vector is adapted to advertize supported algos, it could be easier to clarify that the OC-OLR AVP is THE report AVP for the reduction algo (default) and a new dedicated report AVP must be created when a new algo is introduced. In this way, the OC-OLR is self-explicit.
>> 
>> It would be purely optional to send the Supported-Features AVP along with the OC-OLR AVP.
>> 
>> Lionel 
>> 
>> -----Message d'origine-----
>> De : dime issue tracker [mailto:trac+dime@trac.tools.ietf.org] 
>> Envoyé : mardi 4 février 2014 09:48
>> À : MORAND Lionel IMT/OLN
>> Cc : dime@ietf.org
>> Objet : [dime] #30: OC-Supported-Features AVP in answer messages
>> 
>> #30: OC-Supported-Features AVP in answer messages
>> 
>> According to the current feature advertisement/negotiation mechanism in
>> the -01 draft reporting DOIC endpoint insert an OC-Supported-Features AVP
>> in answer messages to indicate their supported OC features to the reacting
>> DOIC endpoint.
>> The author of this document believes that  the best a reacting node can do
>> with such information is to ignore it, and therefore proposes to allow
>> reporting nodes not to insert OC-Supported-Features AVPs in answer
>> messages.
>> Currently only one feature is defined (OLR_DEFAULT_ALGO).
>> A reacting DOIC endpoint that supports only OLR_DEFAULT_ALGO but no other
>> feature is only interested in receiving/not receiving OC-OLR AVPs from
>> reporting DOIC-endpoints. Receiving an OC-OLR AVP implicitly indicates
>> support of OLR_DEFAULT_ALGO  by the reporting DOIC endpoint; not receiving
>> an OC-OLR-AVP from the reporting DOIC endpoint may have two reasons:
>> 
>> a) There is no overload
>> b) DOIC is not supported
>> 
>> The reacting DOIC endpoint does not need to differentiate between these
>> two cases as the behavior (do not throttle) is the same in both cases.
>> The -01 draft says in  clause 4.1:
>>   If there is no single matching
>>   capability the reacting node MUST act as if it does not implement
>>   DOIC and cease inserting any DOIC related AVPs into any Diameter
>>   messages with this specific reacting node.
>> 
>> This however is inconsistent.
>> The reacting node that ceases sending DOIC related AVPs would never
>> recognize when the server is upgraded to support DOIC.
>> Subsequent requests (not including DOIC related AVPs) may take a different
>> path towards the server and on that path there may be an agent that
>> supports DOIC (with a match of supported features) and could take the role
>> of the reporting DOIC endpoint; but the agent cannot take this role since
>> the reacting node (although supporting DOIC) ceased sending of OC-
>> Supported-Features AVPs.
>> In summary: As long as no extension feature is defined within  draft-ietf-
>> dime-ovli  (i.e. never, since extensions will  be defined in other
>> drafts), there is no need for draft-ietf-dime-ovli  to mandate or even
>> describe inclusion of OC-Supported-Features AVP in answer messages.
>> 
>> -- 
>> --------------------------------------+--------------------------
>> Reporter:  lionel.morand@orange.com  |      Owner:  Ulrich Wiehe
>>    Type:  defect                    |     Status:  new
>> Priority:  major                     |  Milestone:
>> Component:  draft-docdt-dime-ovli     |    Version:
>> Severity:  Active WG Document        |   Keywords:
>> --------------------------------------+--------------------------
>> 
>> Ticket URL: <http://trac.tools.ietf.org/wg/dime/trac/ticket/30>
>> dime <http://tools.ietf.org/wg/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
>> 
>> _________________________________________________________________________________________________________________________
>> 
>> 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
>