Re: [Dime] [dime] #70 (draft-ietf-dime-ovli): Appendix B - Example

Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com> Wed, 10 September 2014 14:02 UTC

Return-Path: <maria.cruz.bartolome@ericsson.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 7201D1A02DF for <dime@ietfa.amsl.com>; Wed, 10 Sep 2014 07:02:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 1ljsA2BibKox for <dime@ietfa.amsl.com>; Wed, 10 Sep 2014 07:02:42 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6284D1A00BB for <dime@ietf.org>; Wed, 10 Sep 2014 07:02:41 -0700 (PDT)
X-AuditID: c1b4fb30-f79736d0000053b8-96-541059ff4865
Received: from ESESSHC016.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id 78.EB.21432.FF950145; Wed, 10 Sep 2014 16:02:39 +0200 (CEST)
Received: from ESESSMB101.ericsson.se ([169.254.1.185]) by ESESSHC016.ericsson.se ([153.88.183.66]) with mapi id 14.03.0174.001; Wed, 10 Sep 2014 16:02:38 +0200
From: Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com>
To: Ben Campbell <ben@nostrum.com>, "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com>
Thread-Topic: [Dime] [dime] #70 (draft-ietf-dime-ovli): Appendix B - Example
Thread-Index: AQHPzKArGIptMc1Hek2MmXu5dUbbdpv6ZbSg
Date: Wed, 10 Sep 2014 14:02:38 +0000
Message-ID: <087A34937E64E74E848732CFF8354B920981209A@ESESSMB101.ericsson.se>
References: <075.932a395897d769fbc9cf22116adcb797@trac.tools.ietf.org> <5BCBA1FC2B7F0B4C9D935572D90006681520A0BF@DEMUMBX014.nsn-intra.net> <E194C2E18676714DACA9C3A2516265D2026C2A8B@FR712WXCHMBA12.zeu.alcatel-lucent.com> <5BCBA1FC2B7F0B4C9D935572D90006681520A2B6@DEMUMBX014.nsn-intra.net> <B1FB443E-36D4-4A51-AF4B-C71A65A236F1@nostrum.com>
In-Reply-To: <B1FB443E-36D4-4A51-AF4B-C71A65A236F1@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.19]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42KZGfG3Rvd/pECIwd2JOhbzO0+zW8ztXcFm sfx4A7PFpvPrWCzWvV3B5MDq0fpsL6vHkiU/mTxm7XzC4vFz/VV2jy+XP7MFsEZx2aSk5mSW pRbp2yVwZbxcu4i5YJlCxYWJLSwNjF8kuxg5OSQETCR2fV/KAmGLSVy4t56ti5GLQ0jgKKPE jC3f2SGcJYwS6yfuZAOpYhOwk7h0+gUTiC0iECfx8PA7JpAiZoFTjBI7Nh5kB0kIC3hLzFl0 nx2iyEdi+bIFjBC2kUTL4hVg61gEVCXe908Es3kFfCVaP31hgdh2i0ni0pkpQNs4ODgF7CX+ vQ8BqWEEOu/7qTVgi5kFxCVuPZnPBHG2gMSSPeeZIWxRiZeP/7FC2IoS7U8bGCHq9SRuTJ3C BmFrSyxb+JoZYq+gxMmZT1gmMIrNQjJ2FpKWWUhaZiFpWcDIsopRtDi1OCk33chIL7UoM7m4 OD9PLy+1ZBMjMP4ObvltsIPx5XPHQ4wCHIxKPLwLNvCHCLEmlhVX5h5ilOZgURLnXXhuXrCQ QHpiSWp2ampBalF8UWlOavEhRiYOTqkGxtnLP91aG/VV/+Ifz6OfHwUfa91zUarula6y9srI p73zd4feXF+i67pjzvxXEokXp/gY2n+UuaD78UW0u9beQLPUfbtmNq4SbPVZGnfO4elhv/dr 7I7XftrCH3FX30I1/mzgtJPpO/k+XY+Odu9u2XIu68DPQB05d5mXei6KK9l3lq9+4/3Y2kqJ pTgj0VCLuag4EQBVsFGboAIAAA==
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/hYRwgN1PG2PCsCWEKB6ECKo4ls8
Cc: "dime@ietf.org" <dime@ietf.org>, "draft-ietf-dime-ovli@tools.ietf.org" <draft-ietf-dime-ovli@tools.ietf.org>
Subject: Re: [Dime] [dime] #70 (draft-ietf-dime-ovli): Appendix B - Example
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, 10 Sep 2014 14:02:43 -0000

Hello,

In my opinion, the main reason to answer realm-routed requests with only Realm OLR is because specific host(s) OLR may never be used by this reacting node, since this client may never send a request routed to these hosts
If ever the reacting node sends a request to any host, it will receive back corresponding host OLR, and from then on it could apply corresponding abatement.

Regards
/MCruz

-----Original Message-----
From: Ben Campbell [mailto:ben@nostrum.com] 
Sent: miércoles, 10 de septiembre de 2014 4:38
To: Wiehe, Ulrich (NSN - DE/Munich)
Cc: ext TROTTIN, JEAN-JACQUES (JEAN-JACQUES); Maria Cruz Bartolome; dime@ietf.org; draft-ietf-dime-ovli@tools.ietf.org
Subject: Re: [Dime] [dime] #70 (draft-ietf-dime-ovli): Appendix B - Example

We had exactly that example in the draft discussed in Toronto ( draft-donovan-doic-agent-cases ).

Comments inline:

On Sep 9, 2014, at 5:57 AM, Wiehe, Ulrich (NSN - DE/Munich) <ulrich.wiehe@nsn.com> wrote:

> Dear JJacques,
> 
> assume the following example:
> In step 1 (realm routed request sent from Client to Agent), the client indicates that it supports loss.
> In step 2 (host routed request send from agent to S1), the agent indicates that it supports loss and rate.
> In step 3 (answer from S1 to agent, containing a host type OLR), S1 indicates that it selected rate.
> 
> Now in step 4 there is no point in forwarding the host-type OLR from agent to client as the client does not support rate. Similar for step 8 where no host type OLR of rate shall be sent in addition to the realm-type OLR of loss.

I agree there is no point forwarding the OLR per se. However, the agent may still indicate that it supports "loss" back to the client, and send loss-based reports if the client sends too much traffic for the agent to comply with the max rate without throttling.

> 
> Also note that the answer in step 8 can contain only one Supported-Features AVP i.e. can only contain one selected algorithm. Even when the agent supports loss and realm, you cannot say in one answer "use loss for realm routed requests and rate for host routed requests"

One approach is where you end up with is "loss" is supported between the client and agent, and "rate" is supported between the agent and server.

Don't get me wrong, I'm not saying that's a _required_ approach, but it should be allowed.

> 
> Furthermore the client may never send host routed requests to S1. (And if it does, it will learn the host type OLR and selected algorithm in the corresponding answer).
> 

I don't follow this. Do you mean "might never"? (I read "may never" as "is never allowed to").

The agent has to ensure that any OLRs that get back to the client match the capabilities the client advertised, and received. It could do that by stripping all OC-S-F and OLR avps in answers, or it could act as as an algorithm "gateway" and (statefully) translate between the capabilities selected on either side. 

> I'm aware that there may be cases where agent and server select the same algorithm and the problem described above disappears, but even then we should not mandate including the host-type OLR in the answer that corresponds to a realm type request.

I don't see that following. We should prevent a server from putting any host reports into answers to realm routed requests. Otherwise, you have use cases that just want work. For example, consider how a server could report any overload at all for an application that is exclusively realm-routed.

Also, consider that with the recently discussed distinction between realm-routed requests and host-routed requests, we consider a request to be host-routed if it has a Destination-Host _or_ if a node has other knowledge that the request will go to specific server (e.g., if the peer-selection decision would send a request to the specific host. ) In the second case, the server itself cannot distinguish a host-routed request from a host-routed request.