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

Jouni Korhonen <jouni.nospam@gmail.com> Fri, 07 February 2014 10:09 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 2E80E1A036B for <dime@ietfa.amsl.com>; Fri, 7 Feb 2014 02:09:59 -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 LGyZYgRpHx1B for <dime@ietfa.amsl.com>; Fri, 7 Feb 2014 02:09:56 -0800 (PST)
Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 0BE371A01FB for <dime@ietf.org>; Fri, 7 Feb 2014 02:09:55 -0800 (PST)
Received: by mail-lb0-f170.google.com with SMTP id u14so2486327lbd.1 for <dime@ietf.org>; Fri, 07 Feb 2014 02:09:53 -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=XMTpNaTr1cK4WrXlwBhKOtq89v2aeDF7jgDxilWgDrM=; b=zb6mx65XtxIY5zzcOapAI0useRlVUQhquDPF3eZrPaBSHcHKjIrhcBMkZMw1efeQSr Rv0lmegpzRZbd4Z7rkjFnwgWi2yWyWN/1kDUwA1uTUZKU4DjdFwzhY1THHWf4vh0socC sqQWzuZbPieMz4CwATbfk9NMpX4tzUBIgg/+l0AUaq/tQSk7Iv0TBOFnpqGe8fJDth5C FmMuZmp6oR4H2w6ovzALLV8XWBRY++ezCnX5dktewMvo1eHglVsY0RuaKhOCrMALZxS7 4CLmh1f8o7ApmoZjvPMhhc1GB86/B8S85pWl73cmuP9bW21CjZ89+XQ7Iu0HPG41/W9L r6lA==
X-Received: by 10.152.19.66 with SMTP id c2mr431095lae.54.1391767793816; Fri, 07 Feb 2014 02:09:53 -0800 (PST)
Received: from ?IPv6:2001:6e8:480:60:5cf:580e:21dd:449d? ([2001:6e8:480:60:5cf:580e:21dd:449d]) by mx.google.com with ESMTPSA id th3sm4316838lbb.11.2014.02.07.02.09.03 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 02:09:03 -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: <5BCBA1FC2B7F0B4C9D935572D9000668151B1F71@DEMUMBX014.nsn-intra.net>
Date: Fri, 07 Feb 2014 12:09:05 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <A98D20BC-23C9-4C1C-889F-3748A53DF856@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>
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: Fri, 07 Feb 2014 10:09:59 -0000

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.

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