Re: [Roll] AD Review of draft-ietf-roll-efficient-npdao-09

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Thu, 16 May 2019 09:12 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 DB319120228; Thu, 16 May 2019 02:12:39 -0700 (PDT)
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=eZjdlVCA; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Q2FQwJC+
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 XM4QNyrm1EtQ; Thu, 16 May 2019 02:12:36 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5319C120225; Thu, 16 May 2019 02:12:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=26570; q=dns/txt; s=iport; t=1557997956; x=1559207556; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=EeK3IjHkVNKryKMbUH5p3EZWvwnF3B16x6MTYEiaKsc=; b=eZjdlVCAEs/7vCaYg2D7PCGKoCwO5b2geCy0AuzIPpJg6nHFLQd1pUQN QkRKubnu3psnJACvuzdwWGlu1L+ZPopMKiAzBrb9kYG0n4eae7l0jZYJ7 NKe2qIhof58xXv12NRyTu1lgRPKpubOhLw1GYP2Puh5CUs8iPOgbSZxtu k=;
IronPort-PHdr: 9a23:tb8mLxFGqxYBAYxyjSQnjp1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4z1Q3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+eeb2bzEwEd5efFRk5Hq8d0NSHZW2ag==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AlAAC6KN1c/4kNJK1kGwEBAQEDAQEBBwMBAQGBUgUBAQELAYEOLyQsA2lVIAQLKIQRg0cDjnOCV36IQY1mgS6BJANUCQEBAQwBASMKAgEBhEACF4IUIzUIDgEDAQEEAQECAQRtHAyFSgEBAQQSEQoTAQEwBwEPAgEIEQQBASsCAgIfER0IAgQBDQUIGoMBgR1NAx0BAgwDoEgCgTWIX3GBL4J5AQEFhQUNC4IPAwaBMwGEZIZqF4FAP4ERRlF9STU+ghpHAoFBAQECHiuCXTKCJo1ghFOUcTkJAoIJhiGIZ4NxghSGTItMgUKMNIEihTaBT4xjAgQCBAUCDgEBBYFQATaBV3AVgyeCDwwXg0yFFIU/coEpjQOCQwEB
X-IronPort-AV: E=Sophos;i="5.60,476,1549929600"; d="scan'208,217";a="276489467"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 16 May 2019 09:12:35 +0000
Received: from XCH-RCD-018.cisco.com (xch-rcd-018.cisco.com [173.37.102.28]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id x4G9CYte005811 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 16 May 2019 09:12:35 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-018.cisco.com (173.37.102.28) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 16 May 2019 04:12:34 -0500
Received: from xhs-rtp-001.cisco.com (64.101.210.228) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 16 May 2019 04:12:33 -0500
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-001.cisco.com (64.101.210.228) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 16 May 2019 05:12:33 -0400
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=EeK3IjHkVNKryKMbUH5p3EZWvwnF3B16x6MTYEiaKsc=; b=Q2FQwJC+RQiAawuOYNuQdDlSttE4O5GVpWhcTf4qnO3ZNZ12xANcX4sU6itTRM12nqsMrwrE1s5/ydE1AXr4p7c7T9exIKgoBJnd+PuyLt3BxX0M33yKqF6vZdO5+/KW1PDQ+wNwuFdEyf69/MrdnjBknHqFRhtaxKOsF8pPYZY=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (20.178.250.159) by MN2PR11MB3807.namprd11.prod.outlook.com (20.178.254.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.16; Thu, 16 May 2019 09:12:31 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::68f6:21c8:b681:c73]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::68f6:21c8:b681:c73%4]) with mapi id 15.20.1878.024; Thu, 16 May 2019 09:12:31 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Rahul Arvind Jadhav <rahul.jadhav@huawei.com>, Routing Over Low power and Lossy networks <roll@ietf.org>, Alvaro Retana <aretana.ietf@gmail.com>
CC: roll-chairs <roll-chairs@ietf.org>, "draft-ietf-roll-efficient-npdao@ietf.org" <draft-ietf-roll-efficient-npdao@ietf.org>
Thread-Topic: AD Review of draft-ietf-roll-efficient-npdao-09
Thread-Index: AQHU8KtDtpUmejFlUk+O7eLC9Cvsx6ZQZseAgBAPgoCADPtTgIAAMlMAgAAEcUA=
Date: Thu, 16 May 2019 09:12:07 +0000
Deferred-Delivery: Thu, 16 May 2019 09:10:59 +0000
Message-ID: <MN2PR11MB35652CB15B32DD7566AF3B1DD80A0@MN2PR11MB3565.namprd11.prod.outlook.com>
References: <CAMMESsy11FvVEZ6VGRK7PYo4FXzVs8x=G-y-0U8C3bkgyK5R8A@mail.gmail.com> <CAO0Djp16zsnfq266Y5=5sw6HbWx3KDdGqQfoQZ9jJfyUahVAfw@mail.gmail.com> <CAMMESswxytDEfBbtFxM0-cd7QTZ-j5-JTrCF6pDSckZQVM5KrQ@mail.gmail.com> <982B626E107E334DBE601D979F31785C5DEA5543@BLREML503-MBX.china.huawei.com> <982B626E107E334DBE601D979F31785C5DEA5687@BLREML503-MBX.china.huawei.com>
In-Reply-To: <982B626E107E334DBE601D979F31785C5DEA5687@BLREML503-MBX.china.huawei.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pthubert@cisco.com;
x-originating-ip: [2001:420:c0c0:1002::23f]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: fd4888de-025b-4e27-bda8-08d6d9dea07d
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:MN2PR11MB3807;
x-ms-traffictypediagnostic: MN2PR11MB3807:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <MN2PR11MB3807E51892796779401CF6E8D80A0@MN2PR11MB3807.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0039C6E5C5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(39860400002)(396003)(366004)(199004)(189003)(51444003)(76176011)(6506007)(53546011)(7696005)(54906003)(7736002)(229853002)(71200400001)(110136005)(71190400001)(186003)(74316002)(606006)(6246003)(46003)(6436002)(66446008)(33656002)(102836004)(64756008)(66556008)(66476007)(53936002)(99286004)(73956011)(66946007)(76116006)(486006)(54896002)(68736007)(790700001)(86362001)(6306002)(55016002)(236005)(9686003)(52536014)(476003)(11346002)(446003)(316002)(8936002)(4326008)(8676002)(81156014)(81166006)(25786009)(256004)(14444005)(6666004)(5660300002)(14454004)(478600001)(966005)(2906002)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3807; 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-message-info: kYa2FrLQGvEs4j6GahH/wcU0PEvIP1j8VPXXEPEcDgKp7Iv9cBlL953LUZdAVlm3s07qHsuP0enHHaiK3iAikotQAHVgpfmaR1APzTV6sNgh1lH/tDKSqMcSbSyOrZkqrGYOxmsx/6HYzhm7vfdTWKQJgGxU5ACQu4TOFAvJkjJWaktpKDBGTjxgGMEcsschbh1bAWidJmAfhCqFQIUb3fHi63tqEafskliLT00DQj4Tdwyc0Rdm/YyNxldzdM6ENLKSLgZa9i1Rp6eSo496Rak/Jw1LVgzuXk+UDPnDTco2t/Bi7eGYriTrvyvvFIpYCbtFnOzVT9Cc1oOrF3U8/nOhu9mzUVVh3Cae5GNIBX8LjdxJPE6FoPo5FZZ9zfWDhjlGNJKYv+HPR9RxQ/g9CFwItL0+TTIub6ecMYKV+KI=
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB35652CB15B32DD7566AF3B1DD80A0MN2PR11MB3565namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: fd4888de-025b-4e27-bda8-08d6d9dea07d
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2019 09:12:31.6314 (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-Transport-CrossTenantHeadersStamped: MN2PR11MB3807
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.28, xch-rcd-018.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/T4_a6bADzw-Pcb5vZP7OkcIS9rw>
Subject: Re: [Roll] AD Review of draft-ietf-roll-efficient-npdao-09
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, 16 May 2019 09:12:40 -0000

Hello Rahul:

My intuition was that a node that ceases to see or ceases to want to use one of its parents P (a parent through which it sent a DAO in the past) would increment its path sequence and send a new DAO with the I flag set via the new set of selected parents. Note that if the parent is still reachable the NPDAO can also invalidate the route but the DCO has a number of advantages. In particular it only kills the old route when the new route is available, and it follows the traffic on the way down to it does not kill it as the cross like a NPDAO would.

The result is invalidation of all the routes with the older path sequence. To answer Alvaro, the trigger is a loss of a parent, or the desire to stop getting traffic from a parent for whatever other reasons.
Also note that a common ancestor may have more than one child reaching the target and all the children with the stale path sequence should get a DCO.

DTSN will pull the routes and if a stale route shows up at the common ancestor then the common ancestor may decide to send a DCO that is not triggered by a I flag but by observing a stale route. The target cannot know that. I agree that the I flag is relatively armless since the DCO is only sent to stale paths. But how long would a target still set it? For me it is mostly a one shot thing, at least if the DAO is acked.

All the best,

Pascal

From: Rahul Arvind Jadhav <rahul.jadhav@huawei.com>
Sent: jeudi 16 mai 2019 10:38
To: Routing Over Low power and Lossy networks <roll@ietf.org>; Alvaro Retana <aretana.ietf@gmail.com>
Cc: roll-chairs <roll-chairs@ietf.org>; draft-ietf-roll-efficient-npdao@ietf.org
Subject: RE: AD Review of draft-ietf-roll-efficient-npdao-09

I missed one important point raised in Alvaro’s review:

498 4.4.1. Dependent Nodes invalidation

500 Current RPL [RFC6550] does not provide a mechanism for route
501 invalidation for dependent nodes. This document allows the dependent
502 nodes invalidation. Dependent nodes will generate their respective
503 DAOs to update their paths, and the previous route invalidation for
504 those nodes should work in the similar manner described for switching
505 node. The dependent node may set the I-bit in the transit
506 information option as part of regular DAO so as to request
507 invalidation of previous route from the common ancestor node.

[major] This part is underspecified. How do the dependent nodes know of
the switch? Is A (Figure 1) the common ancestor node mentioned above?

I found the same question being asked during WGLC, and the answer seems to
be: "the dependent nodes will always set the I-flag". Is that my correct
interpretation? The behavior needs to be reflected in the specification.

https://mailarchive.ietf.org/arch/msg/roll/LejLNET8Hk92wPWU3Xi6OaxCujg

[RJ] I have added a para to describe this more. Please check if it makes sense.

If the dependent node always sets the I bit, wouldn’t that result in constant invalidation (unless no route existed before)?  IOW, it seems like the setting of the I bit has to be conditional.  The mail archive talks about the DTSN incrementing — I’m assuming this will happen then the parent switches to a different parent…is that true?  If so, then I think that this piece of text still needs some work.

[RJ]  Actually this point has relation on how sub-dodag (rooted at 6LR switching the parent) routing state update happens in storing MOP. Unfortunately 6550 is not clear on this. We had made this observation in the rpl-observation draft.

If the sub-dodag has to be updated then there are two ways:

  1.  Incrementing DTSN by the switching 6LR. When downstream child 6LRs see a new DTSN from their preferred parent, they also increment DTSN (as well as resetting trickle timer) and thus update the sub-dodag. This has control overhead implications but most easy to implement. If the network is not too deep/mobile and the MRHOF switching threshold is high enough then this works out great.
  2.  Other option is that switching 6LR update the routing state on new path based on its own routing state. This has looping implications as Pascal mentioned in previous mail and also is not easy to implement because you can only stuff in x number of targets/transit options in a given DAO and then managing multiple DAOs is painful.

My implementation currently uses option 1. Thus I am tempted to follow option 1 and let I-flag be enabled only on identifying DTSN increment. But then I didn’t see any loss in keeping I-flag enabled always if target is interested in its invalidation. The invalidation only happens if the route entry is with different nexthop and the path sequence criteria is fulfilled on the ancestor node. In my implementation, I currently enable I-flag always (even though I could have enabled it on the basis of DTSN value). Having said that, if anyone else has any other opinion, I am open to changing the text and setting I-flag conditionally based on DTSN increment.

Or I could point out these possibilities as it is in the draft and let the implementers decide?