Re: [Roll] capability vs. configuration

Abdussalam Baryun <abdussalambaryun@gmail.com> Mon, 27 May 2019 08:32 UTC

Return-Path: <abdussalambaryun@gmail.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF5EA12011A for <roll@ietfa.amsl.com>; Mon, 27 May 2019 01:32:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 FPFquoHiUPvH for <roll@ietfa.amsl.com>; Mon, 27 May 2019 01:32:04 -0700 (PDT)
Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D729120111 for <roll@ietf.org>; Mon, 27 May 2019 01:32:04 -0700 (PDT)
Received: by mail-oi1-x233.google.com with SMTP id f4so11336267oib.4 for <roll@ietf.org>; Mon, 27 May 2019 01:32:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FR7ZI5S4xa4aO6bEIfeST1j1ypJyHhj5pM5h8xPnXLU=; b=DD4yL9eDdiAdhTrwOBp1JvQAzJUkexENQI5lxloS7XGI8TNoh3aTO8MlPf6akgSLpU Q6TnVrXU7ftqd2/FYwB0UPPog3z3I5RE23BsdJmMiLAS9dT+xAy0t8xK07zlNf1L0T5m E2uX4eZQZZoxWmYRWz2KbefaSsPTCwCE64x4ZK3U2Y5maoVHCLz+gHDR98ktRRK9hilz PR6/VU8YWqBQWpGL6JO2Vi0KGFtS3jwqHqrVDWDgMsZdRQ/Ojz71Y3dSAPbxpka/dGkL UMYp5PC/aZbmjsblpe5AA2IkngJu9nChMG5njIaRzN2wfcMn2EB5ZMWhTqy4X64R5/sn H0eA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FR7ZI5S4xa4aO6bEIfeST1j1ypJyHhj5pM5h8xPnXLU=; b=W6ZYO+c8nG/xKqCDCI+gCDRw4VrcafqIdqpI+UsylO5T3MSI09CtzM5do6EZ2D/9qd LgEvI3z9nJFZn0sCUu/YhqrHhyOgCtnIaWaa3Z3kFuY9LZvdt9XE3yngvj1/7eGx6+AM OT209U5DV6kYl5OmbsHzlac4zIuPZVRauqi/xIGbbmJRwGP8MmJDtQkkn86ZxybNoY6V q+Sh2KpTJL2aO1wnUuagk954bTAuzCanBNTMPrPyAXqhppqhymvBu0TqxV1/GxiNEsjh vp7OTFjLUN/ii7u7LCnbtV2MgEXdKNvbSLhlhCV5Ch2uAqkl/F+mstVy+r7udHCc7sxr pj+A==
X-Gm-Message-State: APjAAAX9X8ylTM6WFUydIVrxFaYN956z7XgsO44w+HjELsmQemMg3PFB ZWeJHh6/L1dODOT+Z6UKWOrDbfpMtFeN7sumyakLYQ==
X-Google-Smtp-Source: APXvYqylmHddPkmKa3Bo2WxIOFbeEP7Sdf1F8bcvoIt1Tybsw6n8gShgoFF3fhwk4h/K/KT4v02wci8LskSBsHWoFHM=
X-Received: by 2002:aca:4750:: with SMTP id u77mr13987483oia.134.1558945923231; Mon, 27 May 2019 01:32:03 -0700 (PDT)
MIME-Version: 1.0
References: <A587F9B0-9F1A-4307-9D3E-C261D6EF566A@cisco.com> <6E26B721-36DF-4B0D-8930-3F90179D557B@cisco.com> <87C818D7-A6D2-466D-9E74-3FBFCBD812F9@cisco.com>
In-Reply-To: <87C818D7-A6D2-466D-9E74-3FBFCBD812F9@cisco.com>
From: Abdussalam Baryun <abdussalambaryun@gmail.com>
Date: Mon, 27 May 2019 10:31:40 +0200
Message-ID: <CADnDZ8-A+bz=ikdb=o14kGoY3krmq-BXz7CAJNafmCVYier6RA@mail.gmail.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fa75c60589da617a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/frrBG5fSoBVjDVR4sQ8Wy2Qsc9U>
Subject: Re: [Roll] capability vs. configuration
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 May 2019 08:32:07 -0000

On Mon, May 27, 2019 at 7:19 AM Li Zhao (liz3) <liz3@cisco.com> wrote:

> Hello Pascal,
>
> *   My point is that dynamic switch the capability too frequently or too
> easily is not good. At least we need some rule to limit the switch
> capability.*
>

I think it is better to have no switch of capability at all times, that is
more stable for the network, we need to ensure stability and reliability.


> *   For example, if a root forms a network with 1000 nodes which supports
> 8183. What should root do when it receives a non-8138 compatible DAO?
> Reject this node or switch the whole network to non-8138. It’s hard to
> decide by root itself. *
>

the idea of changing capability makes things complicated without important
outcomes.

AB






























>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *     Best regards, Li   From: Roll <roll-bounces@ietf.org
<roll-bounces@ietf.org>> on behalf of "Pascal Thubert (pthubert)"
<pthubert@cisco.com <pthubert@cisco.com>> Reply-To: Routing Over Low power
and Lossy networks <roll@ietf.org <roll@ietf.org>> Date: Monday, May 27,
2019 at 1:08 PM To: Routing Over Low power and Lossy networks
<roll@ietf.org <roll@ietf.org>> Subject: Re: [Roll] capability vs.
configuration   Hello Li   I do not understand your point that the
capability to switch to 8138 is not a good idea. I understand it is better
to avoid the situation but sometimes you have no choice. And if you upgrade
a first node in the middle of the network then there are no parent to form
a dodag.    Bottom line is you upgrade all your nodes and then you set the
flag in the capability.   What do I miss?     Regards,   Pascal Le 27 mai
2019 à 05:24, Li Zhao (liz3) <liz3@cisco.com <liz3@cisco.com>> a écrit : In
order to decide whether  it can safely set the config flags, it would be
good that the root knows about the node capabilities such as route
projection, RFC 8138 compression and option x23 for RPI. So I thought that
the node could expose that capability using mop-ext and we add the bits in
the draft already.   [RJ] So the root is expected to set the T-flag after
learning the nodes capabilities after the initial DIO-DAO round .. is this
right? i.e. once the root learns that all nodes are 8138 capable then it
sets the T-flag in the subsequent DIO (possibly after DTSN increment)? What
happens if a node springs up later and announces that it does not support
8138 after the T-flag was turned on by the root ?   [Li] How to identify
the initial DIO-DAO round is also a problem to deal with. Because the root
doesn’t know the scalability/max hop/form time of each PAN. One propose is
adding scalability/form time as capability of root, root can detect initial
DIO-DAO and then announces 8138 or option x23 to nodes.   [RJ]  What
happens if a non-8138 compatible node springs up later (i.e., after root
has announced T-flag set in DIO) and advertises that it is not 8138 capable
? Would root in turn start updating the network to reset T-flag in DIO? In
this case there could be 8138 compressed traffic in-transit while the
unsetting of T-flag is in progress.   [Li] The mixed 8138 and non-8138
network should not be common case when deployment. It’s usually existing
during upgrading firmware. Dynamic switch 8138/non-8138 by root is not a
good idea. If it’s indeed a mixed network, two instances(one for 8138 and
another for non-8183) is a workaround.   For route projection, we could
include a number of routes that the node can store, using a number like 10
hops max for non-storing PDAOs.   [RJ] Yes this could be done and will help
route projection.   [Li] In non-storing PDAO, the route entries number and
max hops are both needed as capabilities.   Best regards, Li     From:
Rahul Arvind Jadhav <rahul.jadhav@huawei.com <rahul.jadhav@huawei.com>>
Date: Saturday, May 25, 2019 at 9:18 AM To: Routing Over Low power and
Lossy networks <roll@ietf.org <roll@ietf.org>>, Li Zhao <liz3@cisco.com
<liz3@cisco.com>> Subject: RE: capability vs. configuration   As you know,
we have a configuration option in standard RPL. It is used by useofrplinfo
to trigger the use of option x23 and by
https://tools.ietf.org/html/draft-thubert-roll-turnon-rfc8138-00
<https://tools.ietf.org/html/draft-thubert-roll-turnon-rfc8138-00> to
trigger the use of RFC 8138 compression.   This must not be confused with
the capability draft in draft-rahul-roll-mop-ext which is how the nodes and
the root share on what capabilities they have. A configuration is a flat
order from the root, the capability is an exchange of information.   [RJ]
By flat order, I assume you mean that all the nodes either support it or
they don’t. There are no mixed nodes. In this case, yes, this is a
candidate for existing configuration option rather than capabilities. I
read the draft and I believe this to be true.   In order to decide whether
it can safely set the config flags, it would be good that the root knows
about the node capabilities such as route projection, RFC 8138 compression
and option x23 for RPI. So I thought that the node could expose that
capability using mop-ext and we add the bits in the draft already.   [RJ]
So the root is expected to set the T-flag after learning the nodes
capabilities after the initial DIO-DAO round .. is this right? i.e. once
the root learns that all nodes are 8138 capable then it sets the T-flag in
the subsequent DIO (possibly after DTSN increment)? What happens if a node
springs up later and announces that it does not support 8138 after the
T-flag was turned on by the root ?   For route projection, we could include
a number of routes that the node can store, using a number like 10 hops max
for non-storing PDAOs.   [RJ] Yes this could be done and will help route
projection.   _______________________________________________ Roll mailing
list Roll@ietf.org <Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll
<https://www.ietf.org/mailman/listinfo/roll> *
>
>
>
>
>
>
> * _______________________________________________ Roll mailing list
> Roll@ietf.org <Roll@ietf.org> https://www.ietf.org/mailman/listinfo/roll
> <https://www.ietf.org/mailman/listinfo/roll> *