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

Jouni Korhonen <jouni.nospam@gmail.com> Fri, 07 February 2014 10:04 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 954A01A05E2 for <dime@ietfa.amsl.com>; Fri, 7 Feb 2014 02:04:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1
X-Spam-Level:
X-Spam-Status: No, score=-1 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, FREEMAIL_REPLY=1, SPF_PASS=-0.001] autolearn=no
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 cXJK0ANgiTUo for <dime@ietfa.amsl.com>; Fri, 7 Feb 2014 02:04:35 -0800 (PST)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) by ietfa.amsl.com (Postfix) with ESMTP id CA0D21A05C7 for <dime@ietf.org>; Fri, 7 Feb 2014 02:04:34 -0800 (PST)
Received: by mail-la0-f51.google.com with SMTP id c6so2409150lan.24 for <dime@ietf.org>; Fri, 07 Feb 2014 02:04:32 -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=lvhN5XwNmbtg98xDuaq+P2TGcN2HqogdBBexu+SgDZU=; b=EK8tVOXRZaAlIoPEGtBNCjpiDbh7g3/8c0CLytqIpCqmpvALI8pxYA/+FfT3fZuAv/ /67OkicTcr74BPpBE5c1asVD00hbtE62CaJX5vakYXLzfKf2RL/kFI5pltmR9K2jFpFi +b3HCkfapmSAvspDVxl1fm3DKjJhCpOrjiW4uaIQkgec06X/SOQ9hTzi/DrFXH5dH7LO RgQ8ciImZpUgYS4jvs6I4rgWTJ0X2OIJD7v3Pn08LIDVsBSXaN+0aBmuk3AVlmobMS18 3SKxvhqbJIH8HTpWDV5ckV2mKgJRu6p4KA7UL5qpOzOHVHo02gpykkXlF0bJ+kgPV8f4 9kcA==
X-Received: by 10.152.205.11 with SMTP id lc11mr9398812lac.29.1391767472750; Fri, 07 Feb 2014 02:04:32 -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 10sm6013703lan.5.2014.02.07.02.04.20 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Feb 2014 02:04:21 -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: <13009_1391526065_52F100B1_13009_2160_1_6B7134B31289DC4FAF731D844122B36E4770B0@PEXCVZYM13.corporate.adroot.infra.ftgroup>
Date: Fri, 07 Feb 2014 12:04:22 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <41DC79BF-FFD9-4C17-B61D-8BDFE7D446A8@gmail.com>
References: <066.d4a6efb42ff3bd328e8b56b872c4e1a7@trac.tools.ietf.org> <13009_1391526065_52F100B1_13009_2160_1_6B7134B31289DC4FAF731D844122B36E4770B0@PEXCVZYM13.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] [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:04:36 -0000

On Feb 4, 2014, at 5:01 PM, lionel.morand@orange.com wrote:

> I think that there is actually an issue here but the proposed way to solve it is not the correct one.

Agree.

> 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.

The initial idea was to go on lines of RFC5447.

> 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.

My intention was always allow:

  client announces  ABC
  server supports    BCD
  server announced only  e.g. C since it is common
  alternatively server announced nothing and then the default applies

> 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.

Bah. OLR should work for additional abatement algorithms
IF we agree that the OLR is align with the announced
abatement algorithm.. 

> It would be purely optional to send the Supported-Features AVP along with the OC-OLR AVP.

It is already today if you only support the default, right.

- Jouni

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