Re: [Dime] endpoint determination

Jouni Korhonen <jouni.nospam@gmail.com> Wed, 04 December 2013 10:02 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 08EBE1AE220 for <dime@ietfa.amsl.com>; Wed, 4 Dec 2013 02:02:58 -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 DFI2_wIvoiHK for <dime@ietfa.amsl.com>; Wed, 4 Dec 2013 02:02:55 -0800 (PST)
Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 799EC1AE059 for <dime@ietf.org>; Wed, 4 Dec 2013 02:02:55 -0800 (PST)
Received: by mail-lb0-f175.google.com with SMTP id x18so9136396lbi.20 for <dime@ietf.org>; Wed, 04 Dec 2013 02:02:51 -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=7hxPB99fIeAzgQwUb9nq3F8mbX6hxpBrp3Y0YQqzu8k=; b=mIXmg02mHH88d/9rSIQpUj3RdUe4Ir9hW5sGdj3oR/zEJZ6bL4ViNmf+F6yIT7U4ju xIvZLpk1hlGr0CR+XwZsxgSPH3nAQZX3EXHDeV93F1zLQiof2epf8JeEPOHIDR0VSerH EGWLuy9gKjH8i0/N89TZSdi5XUV3tU+nvxTASieuWJxuntcp3nMhyWnPPjfwYSm0kWFz bPIWd8dpmUi98S+L2ZwUCGjkTyEqtOo+YIBmovGOs1Sa6Pc0jJwOxByJhcxdrnIzLtGO F+xg13jAdsmTqDY+7Ruea9MgeWHRmjdg5zsa0paDH7HrJ2B3E0CYB98NI3p+YE47m8oP 1z2w==
X-Received: by 10.112.155.106 with SMTP id vv10mr243552lbb.53.1386151371746; Wed, 04 Dec 2013 02:02:51 -0800 (PST)
Received: from [192.168.250.212] ([194.100.71.98]) by mx.google.com with ESMTPSA id m5sm91415334laj.4.2013.12.04.02.02.48 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 02:02:48 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <B2C75305-AC2B-40A3-AC3B-EA22AF3EF02F@nostrum.com>
Date: Wed, 04 Dec 2013 12:02:50 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <C903D62B-DD1E-4FB3-99CC-F39F8BC8AD12@gmail.com>
References: <5BCBA1FC2B7F0B4C9D935572D90006681519BD77@DEMUMBX014.nsn-intra.net> <B2C75305-AC2B-40A3-AC3B-EA22AF3EF02F@nostrum.com>
To: Ben Campbell <ben@nostrum.com>
X-Mailer: Apple Mail (2.1510)
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] endpoint determination
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:02:58 -0000

On Dec 3, 2013, at 11:45 PM, Ben Campbell <ben@nostrum.com> wrote:

> 
> On Nov 28, 2013, at 6:21 AM, Wiehe, Ulrich (NSN - DE/Munich) <ulrich.wiehe@nsn.com> wrote:
> 
>> Hi,
>> 
>> draft-ietf-dime-ovli-00 in Clause 5.1 says:
>> 
>> How the endpoints are determined is specific to a deployment, a Diameter node role in that deployment and local configuration.
>> 
>> 
>> In order to better address REQ  6 of RFC 7068 I would like to propose some principles that should be taken into account:
>> 
>> 1. A client that supports the Diameter Overload Control Mechanism must (offer to) take the role of a reacting endpoint and hence includes the OC-Feature-Vector AVP when sending requests.
>> 2. An Agent that - based on local configuration - takes the role of a reporting endpoint (towards the downstream reacting endpoint) must also (offer to) take the role of a reacting endpoint towards the server and hence replace the received OC-Feature-Vector AVP with its own OC-Featur-Vector AVP.

This should already be possible according to the current
spec..

> I agree with the concepts in 1 and 2, but not as written (assuming you intend the use of must to be normative.) I think this is better written in terms of a definition of what reporting node and reacting node means, then mention that a supporting client is normally a reacting node, a supporting server is normally a reporting node, and an agent can be both.
> 
>> 3. An agent that supports the Diameter Overload Control Mechanism and that - based on absence of local configuration - does not take the role of a reporting endpoint must be able to detect whether a downstream agent or client  already takes the role of the reacting endpoint (e.g. by checking the presence of an OC-Feature-Vector AVP in the received request). If it detects that no downstream node took the role of the reacting  endpoint, the agent must take the role of the reacting endpoint and hence 

I do not agree the MUST here to be written into the spec.
The agent is free to do the above procedure but it is an
implementation & local config issue. 

- JOuni


>> insert an OC-Feature AVP to the request. I.e. determination of the reporting endpoint is done dynamically and does not rely on local configuration.
> 
> I read that to mean you expect an agent to "take over" as the reacting node even if the administrator has completely turned off OC? If so, I don't agree, at least not as a normative requirement. Implementors can choose to create such a mode if they want to, but we don't need to require it.
> 
> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime