Re: [manet] DLEP-17: duplicate functions - Options & extensions negotiations

Rick Taylor <rick@tropicalstormsoftware.com> Thu, 10 December 2015 10:19 UTC

Return-Path: <rick@tropicalstormsoftware.com>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C61A1A8965; Thu, 10 Dec 2015 02:19:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 yQ1lpFrsxk0v; Thu, 10 Dec 2015 02:19:20 -0800 (PST)
Received: from mail.tropicalstormsoftware.com (mail.tropicalstormsoftware.com [188.94.42.120]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3B26A1A895C; Thu, 10 Dec 2015 02:19:20 -0800 (PST)
Received: from tss-server1.home.tropicalstormsoftware.com ([fe80::753b:fa82:5c0:af0d]) by tss-server1.home.tropicalstormsoftware.com ([fe80::753b:fa82:5c0:af0d%10]) with mapi; Thu, 10 Dec 2015 10:18:43 +0000
From: Rick Taylor <rick@tropicalstormsoftware.com>
To: Henning Rogge <hrogge@gmail.com>, Stan Ratliff <ratliffstan@gmail.com>
Thread-Topic: [manet] DLEP-17: duplicate functions - Options & extensions negotiations
Thread-Index: AQHRMralbsLpmb3j7U2fXTxohWyKMg==
Date: Thu, 10 Dec 2015 10:18:41 +0000
Message-ID: <38A5475DE83986499AEACD2CFAFC3F9801B8E96052@tss-server1.home.tropicalstormsoftware.com>
References: <56687ABA.803@labn.net> <CALtoyonnuk03=FqiyPfQS4t9mKJt81kUfkZP-JB0FD0hfRp-6Q@mail.gmail.com> <566888B0.3070806@labn.net> <CALtoyomO1YTNydyohqRczjHnivCkfPp_gwv5oRWjdRmC5yOb0Q@mail.gmail.com> <56689542.2080303@labn.net> <CALtoyomdxY8P4QgxDMgkkFg452f=rC70xKCJOEkpyJH8K+u9AA@mail.gmail.com> <CAGnRvuofzTvTjNWq2d9oA+0Cxpy8mnRc6mkpuKnLp0LLsb7M-A@mail.gmail.com> <CALtoyomqbnTJer9ekYLZ1sseFRbVv19pNXR+Y7pridCGPghejA@mail.gmail.com> <CAGnRvuqja8ngi7+mWb8zCsvUMq6anjwuVit01GWxC=2Ee9iQ6w@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/manet/_Qut15KyVSmrQYJIy2CTgaSVTbo>
Cc: MANET IETF <manet@ietf.org>, "draft-ietf-manet-dlep@ietf.org" <draft-ietf-manet-dlep@ietf.org>
Subject: Re: [manet] DLEP-17: duplicate functions - Options & extensions negotiations
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Mobile Ad-hoc Networks <manet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet>, <mailto:manet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/manet/>
List-Post: <mailto:manet@ietf.org>
List-Help: <mailto:manet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet>, <mailto:manet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Dec 2015 10:19:22 -0000

I have previously used a Session Update message to carry extension data
items after Session Init.  Rather than include 'unknown' data items too
early (check my dlep destination service announcement draft)

I must admit to not being keen on adding an extra Init step to the state
machine with another message.

There might be some cross-over here however.  If we handle 'unexpected
data item' as a 'continue' status code, rather than a 'terminate', then
the issue disappears (apart from the 2-pass parse, but it's only at
session init, so I don't care about performance here).

Rick (still on vacation...)


On 09/12/15 22:23, Henning Rogge wrote:
> On Wed, Dec 9, 2015 at 11:09 PM, Stan Ratliff <ratliffstan@gmail.com> wrote:
>> Yeah... two-stage parsing... don't know about you, but I'd like to avoid
>> that.
> What I am doing at the moment is having a place to store every data
> item I support... this way its possible to do a single-stage parsing.
>
> Default values are only delivered by the radio to the router if I
> remember it correctly, which happens after the router tells the radio
> what it supports.
>
> This means the router can instantly drop the session if it gets a
> metric it does not support.
>
>>> We only have a few mandatory metrics (link speed related things,
>>> right?)... I am not sure I am good with dropping them too.
>>>
>>>
>>> This gives a router at least a chance to determine what this radio is
>>> useful for.
>>
>> IMO, being able to negatively acknowledge the Session Metrics Init message
>> does the same thing, I think - a router has the opportunity to look at the
>> metrics being advertised by a modem, and make the determination you speak
>> of. Just for the record - I think a modem implementation that doesn't
>> announce link speed is pretty silly. But then, I don't claim to understand
>> each and every possible use case. Something that is totally absurd to us
>> might actually work for someone...
> In fact its even "okay" to report both link speed and maximum link
> speed once at a constant... so this should be EASY for any kind of
> implementation.
>
> Link speed is hard to measure for the router... lets keep it in there.
>
> Henning
>
> _______________________________________________
> manet mailing list
> manet@ietf.org
> https://www.ietf.org/mailman/listinfo/manet
>