Re: [Dime] [dime] #49: capabilities announcement mechanism needs to be rethought

"Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com> Wed, 12 February 2014 08:47 UTC

Return-Path: <ulrich.wiehe@nsn.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 202901A08CA for <dime@ietfa.amsl.com>; Wed, 12 Feb 2014 00:47:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] 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 AdN_AQEnTKRP for <dime@ietfa.amsl.com>; Wed, 12 Feb 2014 00:47:05 -0800 (PST)
Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [93.183.12.32]) by ietfa.amsl.com (Postfix) with ESMTP id E9E7E1A08C5 for <dime@ietf.org>; Wed, 12 Feb 2014 00:47:04 -0800 (PST)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd001.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id s1C8l24n020832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 12 Feb 2014 09:47:02 +0100
Received: from DEMUHTC001.nsn-intra.net ([10.159.42.32]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id s1C8l24b027836 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 12 Feb 2014 09:47:02 +0100
Received: from DEMUHTC005.nsn-intra.net (10.159.42.36) by DEMUHTC001.nsn-intra.net (10.159.42.32) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 12 Feb 2014 09:47:01 +0100
Received: from DEMUMBX014.nsn-intra.net ([169.254.14.242]) by DEMUHTC005.nsn-intra.net ([10.159.42.36]) with mapi id 14.03.0123.003; Wed, 12 Feb 2014 09:47:01 +0100
From: "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com>
To: ext Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com>, "dime@ietf.org" <dime@ietf.org>
Thread-Topic: [Dime] [dime] #49: capabilities announcement mechanism needs to be rethought
Thread-Index: AQHPJ25Iid4Ru3kOOUuYJlIK6HwZcJqxSf3w
Date: Wed, 12 Feb 2014 08:47:00 +0000
Message-ID: <5BCBA1FC2B7F0B4C9D935572D9000668151B2ECF@DEMUMBX014.nsn-intra.net>
References: <057.08dd5ea0343928355a0b92f85a22d2ac@trac.tools.ietf.org> <52F90653.6040104@usdonovans.com> <4208F877-455F-4A28-BB15-FA3C5B3A8795@gmail.com> <52F9605C.7000504@usdonovans.com> <37D3D981-FBA0-4DF9-B381-34ED048F8BFD@gmail.com> <5BCBA1FC2B7F0B4C9D935572D9000668151B2BB2@DEMUMBX014.nsn-intra.net> <D17443EE-94C5-4B82-A843-898009B59510@gmail.com> <087A34937E64E74E848732CFF8354B92097731D8@ESESSMB101.ericsson.se>
In-Reply-To: <087A34937E64E74E848732CFF8354B92097731D8@ESESSMB101.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.159.42.106]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-purgate-type: clean
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-size: 7501
X-purgate-ID: 151667::1392194822-000025D0-15CDDB38/0-0/0-0
Subject: Re: [Dime] [dime] #49: capabilities announcement mechanism needs to be rethought
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, 12 Feb 2014 08:47:08 -0000

Hello,

not sure I understand the proposal.

Isn't it so that session states are maintained by client and server whereas capabilities are exchanged between reacting node and reporting node?
In the following example configuration

                                         +--------+
+----------------+                       | A1     |              +---------+
| client         |-----------------------|        |--------------| Server  |
| not supporting |                       +--------+              |         |   
| DOIC           |                       +--------+              |         |     
|                |-----------------------| A2     |--------------|         | 
+----------------+                       |        |              +---------+
                                         +--------+

A first request within a session may be sent from Client via A1 to the server; a second request within the same session may take the path via A2. A1 and A2 may support different capabilities.
The proposed requirement not to allow a capability change within a session would not be met by such example configurations.

I'm ok with Ben's proposal 

 >.....to mandate that the capabilities are stateless,
 >that is, must be included in every request, and any OLR in a response must
 >match the OC-Supported-Features from the corresponding request.

Ulrich

-----Original Message-----
From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of ext Maria Cruz Bartolome
Sent: Tuesday, February 11, 2014 10:14 PM
To: dime@ietf.org
Subject: Re: [Dime] [dime] #49: capabilities announcement mechanism needs to be rethought

Hello all,

I would like to come back to the initial comments by Ben on this subject:

>The capabilities announcement mechanism needs serious rethought.
 >Specifically, the lifetime of the state associated with a capabilities
 >announcement is unclear. It does not make sense to tie that lifetime to
 >Diameter session lifetimes, unless we expect to have different capability
 >sets for different sessions. (and it doesn't help at all for non-session
 >applications or pseudo-sessions.)

[MCruz] I agree we do not need to tie a capability set to a session, but on the other hand, what could be the reason to modify the capability set within a session?
I think this was the original reason why it is considered that the capability just needs to be announced once per session. In fact, I think this is a valid solution.

> I think we either need to mandate that the capabilities are stateless,
 >that is, must be included in every request, and any OLR in a response must
 >match the OC-Supported-Features from the corresponding request.
 >Otherwise, we need a way to activate and deactivate the set associated
 >with a capabilities set.

[MCruz] We could allow to define the capability set just once per session (obviously for session-based applications, for non-session based keeps being in each message).
We can define that within a session it is not allowed to modify the capability set.


-----Original Message-----
From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of Jouni Korhonen
Sent: martes, 11 de febrero de 2014 18:56
To: Wiehe, Ulrich (NSN - DE/Munich)
Cc: dime@ietf.org; draft-docdt-dime-ovli@tools.ietf.org; ben@nostrum.com
Subject: Re: [Dime] [dime] #49: capabilities announcement mechanism needs to be rethought


Fine with me. That just needs to be just stated more clearly.
Now there are too many SHOULDs and stuff.

- JOuni

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

> I agree that OC-OLR AVPs are allowed only in answer messages.
> 
> But I do not agree with
>>> if there are other DOIC AVPs in the request, then the absence of the 
>>> OC-Supported-Features is interpreted as support for the default 
>>> abatement algorithm.
> 
> "other DOIC AVPs" would be AVPs defined for future extensions. A reporting node that does not support any future extension would simply ignore "other DOIC AVPs" and would interprete the absence of OC-Supported-Features as "DOIC not supported by any downstream node".
> 
> Things are not symmetric.
> Ulrich
> 
> 
> -----Original Message-----
> From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of ext Jouni 
> Korhonen
> Sent: Tuesday, February 11, 2014 7:45 AM
> To: Steve Donovan
> Cc: ben@nostrum.com; dime@ietf.org; 
> draft-docdt-dime-ovli@tools.ietf.org
> Subject: Re: [Dime] [dime] #49: capabilities announcement mechanism 
> needs to be rethought
> 
> 
> Your assumption is correct. "Other DOIC AVPs" is a future thing.
> Currently we have no other DOIC AVPs for requests. It is just I asking 
> the same semantics for the OC-Supported-Features for both directions.
> 
> - Jouni
> 
> 
> On Feb 11, 2014, at 1:27 AM, Steve Donovan <srdonovan@usdonovans.com> wrote:
> 
>> It has been my assumption that the OC-OLR AVP would only be allowed in answer messages.  Is this the consensus?
>> 
>> Steve
>> 
>> On 2/10/14 4:27 PM, Jouni Korhonen wrote:
>>> Basically yes.. however, if there are other DOIC AVPs in the 
>>> request, then the absence of the OC-Supported-Features is 
>>> interpreted as support for the default abatement algorithm.
>>> We should have that behaviour in both requests and answers.
>>> 
>>> - Jouni
>>> 
>>> On Feb 10, 2014, at 7:03 PM, Steve Donovan 
>>> <srdonovan@usdonovans.com>
>>> wrote:
>>> 
>>> 
>>>> My sense from recent discussions is that the lifetime of the OC-Supported-Feature AVP is assumed to be one transaction.  This means that the AVP must be included in all request messages sent by a reacting node.
>>>> 
>>>> Steve
>>>> 
>>>> On 2/7/14 4:19 PM, dime issue tracker wrote:
>>>> 
>>>>> #49: capabilities announcement mechanism needs to be rethought
>>>>> 
>>>>> The capabilities announcement mechanism needs serious rethought.
>>>>> Specifically, the lifetime of the state associated with a 
>>>>> capabilities announcement is unclear. It does not make sense to 
>>>>> tie that lifetime to Diameter session lifetimes, unless we expect 
>>>>> to have different capability sets for different sessions. (and it 
>>>>> doesn't help at all for non-session applications or 
>>>>> pseudo-sessions.)
>>>>> 
>>>>> I think we either need to mandate that the capabilities are 
>>>>> stateless, that is, must be included in every request, and any OLR 
>>>>> in a response must match the OC-Supported-Features from the corresponding request.
>>>>> Otherwise, we need a way to activate and deactivate the set 
>>>>> associated with a capabilities set.
>>>>> 
>>>>> (This is a side effect of allowing DOIC to cross non-supporting 
>>>>> agents. If we didn't allow that, we could make DOIC support and 
>>>>> capabilites negotiation happen as part of the CAR exchange. )
>>>>> 
>>>>> 
>>>>> 
>>> 
>> 
> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime

_______________________________________________
DiME mailing list
DiME@ietf.org
https://www.ietf.org/mailman/listinfo/dime

_______________________________________________
DiME mailing list
DiME@ietf.org
https://www.ietf.org/mailman/listinfo/dime