Re: [Roll] Fwd: I-D Action: draft-ietf-roll-rpl-observations-03.txt

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Thu, 28 November 2019 15:25 UTC

Return-Path: <pthubert@cisco.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 D637312088D for <roll@ietfa.amsl.com>; Thu, 28 Nov 2019 07:25:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=KR6hZs7f; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=kC1VZSkC
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 yXHPM-fFO3F6 for <roll@ietfa.amsl.com>; Thu, 28 Nov 2019 07:25:31 -0800 (PST)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 36C73120890 for <roll@ietf.org>; Thu, 28 Nov 2019 07:25:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=30721; q=dns/txt; s=iport; t=1574954731; x=1576164331; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=mqZivttutdkt2ju1S2M4hPBcEvWmeVpmZN2HojMqKK4=; b=KR6hZs7f+IY6r+dzYntqyJYayViG/BfAlAa7GeED1TPPpK53+tfzaWWf sb1SWrxS9uvMYj81qy+Qvgq+vPMnSFUha1LCq22CeaGjHNqEVdw/i0nXJ mVpihJjOPbRmIwY6ajBIu11wiaDf/RE7ErPiOAoGrLR7dG9+5Xg021vwS I=;
IronPort-PHdr: 9a23:+QL+jReKEuS6Ekg8CGrPhGi2lGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGQD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/dzA6Ac5PTkNN9HCgOk8TE8H7NBXf
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CeBACs5t9d/5xdJa1lGgEBAQEBAQEBAQMBAQEBEQEBAQICAQEBAYF+gUskLAVsWCAECyoKhCFRgnUDimxOgWwliVuOKYFCgRADVAkBAQEMAQEYAQwIAgEBhEACF4FvJDgTAgMNAQEEAQEBAgEFBG2FNwyFUgEBAQEDAQEQER0BASwMDwIBCBEDAQEBKAMCAgIfBgsUCQgCBBMigwABgXlNAy4BAgELqCACgTiIYHWBMoJ+AQEFgTkCDkFAglUNC4IXCYE2hRuGexqBQT+BEScMFIFOfj6CG0kBAQIBARiBKwU3DQmCWjKCLI0vgmuFTIlJjlFCCoIuhx6KIIQbG4JBc4Z6iVuGGpAMhnqCFI9HAgQCBAUCDgEBBYE/KiKBWHAVGiEqAYJBCUcRFIpsg3OFFIU/dIEoj0cBgQ8BAQ
X-IronPort-AV: E=Sophos;i="5.69,253,1571702400"; d="scan'208,217";a="674131595"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 28 Nov 2019 15:25:01 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by rcdn-core-5.cisco.com (8.15.2/8.15.2) with ESMTPS id xASFP1ZN018908 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Thu, 28 Nov 2019 15:25:01 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 28 Nov 2019 09:25:00 -0600
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 28 Nov 2019 09:24:59 -0600
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 28 Nov 2019 10:24:59 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J5Z425JWed6YNz5SDYLMk+Ly0rATi91AF7CwuUivlx1KE9KwJi1WowYKIPrF0qRrdQlamlsb6jpZPEE1khO5EaaC1gYD5NyYRS50ZSLVVK8XsHbpLNlehNQTHK9WLd5RpOoFexN09rdycKOfhFQrCIHXk7mqU1GkNqlyBCS+UOe2fBXExgJxJaJ88Sa+C6Y4YfAdx08R/76jIt48ZOhZY3hvyKskYifULVQ3J0iLfo29vy3jaR5Sw0SD0+6awSwAPPmugGWkOBUvSjQ9TaDhgarDOaEJeyr5foxy2EWG+/55mmUMU8SXJDgGd5UCR2EE8yyK5bnO4KaMJe6oNp1ZGQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mqZivttutdkt2ju1S2M4hPBcEvWmeVpmZN2HojMqKK4=; b=inN4czm+3k5/EejnFMOjIqbYkxxNgL3MjlNbvZrSTQdFRXHDphIrIFVsJg9lRD2o9GaNnJSftOUWm9wzLS4Wkq++04n7bu/f6K1bXi81VS+kNcimL/cQiD4yIC4BnPe/YUipelUDSq2pBlvXNa8NaKIS973FgaWWSjI94gHq2pjkTK4/hPkUMMmgzfAMlodJzT2h8JNwRoFUFPC7RNWDWyqM1Iw19FpdCPvlRj44T7R8jI34emrtjYbpVqiAvKe3NRx3qM6psAkIzmPuN3RxdfYywziaR9bmm9lWEtPv7chJW7tFdGLQMZmR5svQEYvVqEmdviaEhpNsVRnlLPCNXg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mqZivttutdkt2ju1S2M4hPBcEvWmeVpmZN2HojMqKK4=; b=kC1VZSkCsWLoVVSqLftudJceDXpe29zo7rdTY9SbuOlngac00F1hRnrObxhDbtjN5h7TKOODIeIBwTByHOA7PTo+wzvgTLAnjsXU8a5HRpubJ2f4cARZhTp3FXIbKSDiAUKmv12U5P7kg+Xm2y5MkqBD1bKRUL9VnhbqEbXmQdQ=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (20.178.250.159) by MN2PR11MB3997.namprd11.prod.outlook.com (10.255.181.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.24; Thu, 28 Nov 2019 15:24:58 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::3037:66f1:dc79:b564]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::3037:66f1:dc79:b564%7]) with mapi id 15.20.2495.014; Thu, 28 Nov 2019 15:24:58 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] Fwd: I-D Action: draft-ietf-roll-rpl-observations-03.txt
Thread-Index: AQHVpGVkXobK5qdhG0OdbsPUc6qF1KedgkpAgAK6FwCAAHrR5Q==
Date: Thu, 28 Nov 2019 15:24:58 +0000
Message-ID: <D577BCA4-9DCC-4278-8CA3-56AC17E96D9A@cisco.com>
References: <157477212600.13715.10647534303499379032@ietfa.amsl.com> <CAO0Djp1K=_6DwAQ31+Y8raVkfBP7=YobaQkOzrtBCB9Da3Fd0A@mail.gmail.com> <MN2PR11MB35651EEACA6CB142CB57D1F4D8450@MN2PR11MB3565.namprd11.prod.outlook.com> <CAO0Djp2kX52TfrwJSzuBB2bOLoE46WvJOw-XJ-9D66U-nqXeuQ@mail.gmail.com> <MN2PR11MB3565F261BED62B3A70FEE564D8450@MN2PR11MB3565.namprd11.prod.outlook.com>, <CAO0Djp3+XTtr8HAJPaZJMZ=Pj2gKjbJk4MG=AkjcBG-fJQud0A@mail.gmail.com>
In-Reply-To: <CAO0Djp3+XTtr8HAJPaZJMZ=Pj2gKjbJk4MG=AkjcBG-fJQud0A@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pthubert@cisco.com;
x-originating-ip: [91.69.164.91]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 21ee04c4-ca85-4aeb-571c-08d774172116
x-ms-traffictypediagnostic: MN2PR11MB3997:
x-ms-exchange-purlcount: 7
x-microsoft-antispam-prvs: <MN2PR11MB39976B8A2D81CBE388D2D184D8470@MN2PR11MB3997.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0235CBE7D0
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(346002)(136003)(39860400002)(376002)(53754006)(199004)(189003)(22974007)(66946007)(6306002)(14454004)(36756003)(606006)(5070765005)(86362001)(186003)(99286004)(66066001)(316002)(4001150100001)(53546011)(25786009)(2906002)(76176011)(6506007)(6116002)(3846002)(6486002)(64756008)(236005)(7736002)(229853002)(446003)(6916009)(26005)(6436002)(5660300002)(54896002)(81156014)(14444005)(66574012)(8676002)(66446008)(81166006)(66556008)(66476007)(256004)(11346002)(2616005)(478600001)(71200400001)(71190400001)(6246003)(966005)(33656002)(6512007)(91956017)(8936002)(102836004)(76116006)(244885003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3997; H:MN2PR11MB3565.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: IEcsr3a14IBWrL5T+VXGvpn0OC9O6TtueOGkJwIjTjhPFkVtsi1cPq9g2YIAkUAS65kErzGO0vAz8XpZllJaGf+jZHiSw0Po6sB2jXhZO55TYwSgh2uUBECxL+xXQRq+F4k17i1CwYbx9KqjOLWGmgdW3mNdISwKF+Uk6e1UHBMBhL15lthF8jl2RMp/JUUvHeB9/w1O2NqTRtMvYR63mQTziCgjIg715fckyTQWtHwj7WrVm0Yr3BAtF3wrZ4HTSBNDYUS+TcOKangMD/xxLYuxmASAHiH9xE+6XZuYEA3p4mO4YQrNdS7jAvGZxr4i42RUPvGLWd6rPCOcikKVRd0U10ytduXamzZT0FR0nD/YoeW+28VSePOc/+87u37ImY1F/pP68V3oVdT1MU51kh4sH8bVnnLaHWLKxAY/OGzvB+kLn7K6nhYPMKg/KaZ+iSm7Y+LOcLeSJUIrzAVKzQLvbM2OQUzhMLLJFiARycM=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_D577BCA49DCC42788CA356AC17E96D9Aciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 21ee04c4-ca85-4aeb-571c-08d774172116
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2019 15:24:58.3277 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: WzGGBvVCeTOHwYaj5IejoiBtt8MYu+1G3K7knxWsZlNG7U7Bm/Rxy6RxvbvafOOoTVxsNRYNHxrNYBinV/N1Jg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3997
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.12, xch-aln-002.cisco.com
X-Outbound-Node: rcdn-core-5.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/_d06liUcY6bYFRryTWZM6cRlz0E>
Subject: Re: [Roll] Fwd: I-D Action: draft-ietf-roll-rpl-observations-03.txt
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: Thu, 28 Nov 2019 15:25:34 -0000

Hello Rahul

The text works. I’d have liked that it makes a distinction between resetting and restarting. The former acts on parameters the latter on a running timers.

Resetting means I<-Imin. That’s it.
Restarting the timer means an API call to the kernel timer services.
These are different things and it would be more clear if we separated them.

If I is not Imin then resetting means changing the value of I; this implies that the current running timer operates on wrong parameters and this may time out too late. The simple thing to do to solve this is to restart the timer based on the new parameters.

But if I is already set into Imin resetting it (to Imin) produces no effect. Which means that the running timer operates on the right parameters and doesn’t need to be restarted.


Regards,

Pascal

Le 28 nov. 2019 à 09:06, Rahul Jadhav <rahul.ietf@gmail.com> a écrit :


Hi Pascal,

I have updated as follows. This clarifies the interpretation and then also explains specifically in context to multicast DIS/DIO operation.

"

5.  Interpreting Trickle Timer

   Trickle timer defines a mechanism to reset the timer.  Trickle timer
   reset is unlike regular periodic timers wherein the timer is simply
   reset to start again.  Reset of trickle timer implies resetting the
   trickle back to Imin and starting with a new interval as mentioned in
   Section 4.2 of [RFC6206].

|----|--------|----------------|--------------------------------| . . . . . .
 Imin   I2             I3                       I4                       I5

                     Figure 4: Trickle Timer Operation

   The above figure shows an example of trickle intervals.  An interval
   is double that of the previous interval size.  Section 4.2. of
   [RFC6206] states that,

   "If Trickle hears a transmission that is "inconsistent" and I is
   greater than Imin, it resets the Trickle timer.  To reset the timer,
   Trickle sets I to Imin and starts a new interval as in step 2.  If I
   is equal to Imin when Trickle hears an "inconsistent" transmission,
   Trickle does nothing.  Trickle can also reset its timer in response
   to external "events"."

   Thus if the trickle timer has advanced to subsequent intervals i.e.,
   >= I2, then a reset of trickle timer implies going back to Imin.
   However, if the trickle timer is currently in Imin and if it hears an
   inconsistent transmission then it does nothing.

   In context to multicast DIS/DIO operation, this implies that if the
   DIO trickle timer is already at Imin and if the node hears a
   multicast DIS, then the timer does nothing.  It MUST NOT reset the
   timer again in this case.

   An implementation MUST never restart the timer within an interval.
   For e.g., in the above figure, if the timer is in interval I2, the
   implementation MUST never restart the timer to the beginning of the
   current interval i.e., I2.  If the timer is in interval T2 and if the
   reset is to be done then the interval is set back to Imin.  If the
   timer is already in Imin, then the reset should do nothing.

"
https://github.com/roll-wg/rpl-observations/pull/8

Best,
Rahul

On Tue, 26 Nov 2019 at 22:31, Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>> wrote:
Hello Rahul :

I mean that if the spec says reset trickle and I is already Imin then the timer already operates within the bounds that are expected so it does not need to be restarted. Now if I was larger than Imin at the time of the reset then it was operating out of bounds and needs to be restarted to timeout earlier. Same if K changes, e.g., by configuration. The current timer operates with the wrong parameters and should be restarted.

Makes more sense?

Pascal

From: Roll <roll-bounces@ietf.org<mailto:roll-bounces@ietf.org>> On Behalf Of Rahul Jadhav
Sent: mardi 26 novembre 2019 15:25
To: Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>
Subject: Re: [Roll] Fwd: I-D Action: draft-ietf-roll-rpl-observations-03.txt

Hi Pascal,

On Tue, 26 Nov 2019 at 20:56, Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>> wrote:
Hello Rahul

I believe I undertand what you want to d but the text below is really unclear to me
“
  Implementations MUST not restart the trickle timer to the
  instantaneous value of I which could have been advanced over a period
  of time.
“
[RJ] ok. But I could not think of anything better. May be I should use asciiart and explain with an example. What do you think?

What I thought you’d write is that the trickle time needs only be restarted is one value I, K has changed, making the current run incompatible with the setting.
[RJ] This is unclear for me. Specifically "trickle time needs only be restarted is one value I, K has changed"


All the best

Pascal


From: Roll <roll-bounces@ietf.org<mailto:roll-bounces@ietf.org>> On Behalf Of Rahul Jadhav
Sent: mardi 26 novembre 2019 13:47
To: Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>
Subject: [Roll] Fwd: I-D Action: draft-ietf-roll-rpl-observations-03...txt

Hello All,

The update contains clarification regarding Trickle timer reset handling.

Regards,
Rahul
---------- Forwarded message ---------
From: <internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>>
Date: Tue, 26 Nov 2019 at 20:42
Subject: [Roll] I-D Action: draft-ietf-roll-rpl-observations-03.txt
To: <i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>>
Cc: <roll@ietf.org<mailto:roll@ietf.org>>



A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Routing Over Low power and Lossy networks WG of the IETF.

        Title           : RPL Observations
        Authors         : Rahul Arvind Jadhav
                          Rabi Narayan Sahoo
                          Yuefeng Wu
        Filename        : draft-ietf-roll-rpl-observations-03.txt
        Pages           : 18
        Date            : 2019-11-26

Abstract:
   This document describes RPL protocol design issues, various
   observations and possible consequences of the design and
   implementation choices.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-roll-rpl-observations/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-roll-rpl-observations-03
https://datatracker.ietf.org/doc/html/draft-ietf-roll-rpl-observations-03

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-roll-rpl-observations-03


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org<http://tools.ietf.org>.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp...ietf.org/internet-drafts/<ftp://ftp.ietf.org/internet-drafts/>

_______________________________________________
Roll mailing list
Roll@ietf.org<mailto:Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll
_______________________________________________
Roll mailing list
Roll@ietf.org<mailto:Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll
_______________________________________________
Roll mailing list
Roll@ietf.org<mailto:Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll
_______________________________________________
Roll mailing list
Roll@ietf.org
https://www.ietf.org/mailman/listinfo/roll