Re: [Roll] Alvaro's review on turnon Rfc 8138 07

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Tue, 07 July 2020 07:57 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 C26813A02BE; Tue, 7 Jul 2020 00:57:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=SM8iXY7z; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Hl71ns4W
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 GUYX1KjEhdGh; Tue, 7 Jul 2020 00:57:41 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A9CB43A0121; Tue, 7 Jul 2020 00:57:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5547; q=dns/txt; s=iport; t=1594108661; x=1595318261; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=EsU8sIzXUv0dbnFRtY01UQKO0H6hIpCWXGUKdvc5sZw=; b=SM8iXY7zVbNjSJnybR7EJXMw/qA1GEMng7ss3SwXeoeUDEDw2tuOqdpa 6qurJZotXX8nB7o8l5ZibhrUaxwGGyMkSJC/B0fVjUTCP/QtJjZgo97cL duxAq6a+TxMknfrQrSUYaCM+KVt9HZW7oJB4U7DaqQmYrqOpjkbSoNRzT k=;
IronPort-PHdr: 9a23:tfuBOhwMyGEl8ajXCy+N+z0EezQntrPoPwUc9psgjfdUf7+++4j5ZRWFt/RgkFGPWp/UuLpIiOvT5qbnX2FIoZOMq2sLf5EEURgZwd4XkAotDI/gawX7IffmYjZ8EJFEU1lorHC2LUYTH9zxNBXep3So5msUHRPyfQN+OuXyHNvUiMK6n+C/8pHeeUNGnj24NLhzNx6x6w7Ws5ob
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DXAQB2KgRf/4ENJK1gGwEBAQEBAQEBBQEBARIBAQEDAwEBAUCBSoFSUQeBRy8sh3gDjUuYWoJSA1ULAQEBDAEBLQIEAQGERwKCJgIkOBMCAwEBCwEBBQEBAQIBBgRthVsMhW4BAQEDARIoBgEBOAQHBAIBCBEEAQEBHhAyHQgBAQQBEggRCYVQAw4gAZ1gAoE5iGF0gTSDAQEBBYUSGIIOCYE4gmmCTUZ/gXGDfhqBQT+BVIIYNT6CXASBPw8Rg0eCLbUPCoJcmWqCc4kwjViFIpFamkGEIAIEAgQFAg4BAQWBaiKBVnAVgyRQFwINjh4MF4NOilZ0AjUCBggBAQMJfI0hgkQBAQ
X-IronPort-AV: E=Sophos;i="5.75,323,1589241600"; d="scan'208";a="526111740"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 07 Jul 2020 07:57:40 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 0677veZM007072 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 7 Jul 2020 07:57:40 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Jul 2020 02:57:40 -0500
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 7 Jul 2020 02:57:39 -0500
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 7 Jul 2020 02:57:39 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gXTwoh1CMwvHgrF0VqUcD4we260wRB61K2pRtwp/wtmUIyL315A33FlracmV31EtJ/Ns7UrKfxEpi4tCzyi+crsGunHoacc17Yok0AfcI2DPLDKSxqV2wDx0FchOMeEONf/UKyqRaeU3Qcvmq5vW4N1SX1h+4xwBL609Wkz6FqPgdHNvy2qwjK0thGI+HPbxNnDklorJQUDXepw66qI/YIoNXjugIqL0by7aWPWGOwti0BsO5cY2YD5bT40Ay+YjiXuJFoHFgqpMrX0MpFsPNFN2SkDnJskwmOqHaOUUGBRnf84F9N++6u5O0oitKDlNL4wA2+rAEJAGh8sWuEZ1xA==
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=hJmCrdQRcEwYCoCr87g628Hd4FdVyPyv4oAqHI8p6nQ=; b=W6fpzbWkqNq6sI+qR5wfSj3Woq3iU2gS5uvyc5S3cRxUoOe7kjHDpW4DVnT1U1A3QeaLqP6CNohA7zP3ZEx4Ltyp6MCHEBZnyenQXk1AewT1JRzEetuQdnJ363b7xpAPFGoOdh3Ei4b81Qcs3tqbFkTNK/iV5u15Iyh/KVVrzv7/w0Qn9UhSodY8qd9UmWVvrtdqmCboJl/0+Pa3oTpF502dQvBREWE9Xh6ZJo68N6YluvkGRWAnOV9HYOHEnL6Nozmg7NYD/lk+01mrX67jQrOaEM33T7s39us4EZmzIW+C9oiEAQnKWCJA9YBL6WFBAPWaE5FebSVROqqYRTILwQ==
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=hJmCrdQRcEwYCoCr87g628Hd4FdVyPyv4oAqHI8p6nQ=; b=Hl71ns4WJVy1p+hvesWwQubgNaMaIpoflxh9+312M74nH1TAynTX+v9/NdrPKHSZaon94GVKCQxe389fSLnFXfU/YKqjopWC9m6GYJ4VhlhNKjQBze9KcG+n3Lhn4jYK/nPlaq9Y6ACSSzqLBp3yLGZnvX4veHz83qy6v6FuUAY=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (2603:10b6:208:ea::31) by MN2PR11MB4047.namprd11.prod.outlook.com (2603:10b6:208:13a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.28; Tue, 7 Jul 2020 07:57:38 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::55bb:b065:86c1:1108]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::55bb:b065:86c1:1108%6]) with mapi id 15.20.3153.029; Tue, 7 Jul 2020 07:57:38 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>, "roll-ads@ietf.org" <roll-ads@ietf.org>
Thread-Topic: [Roll] Alvaro's review on turnon Rfc 8138 07
Thread-Index: AdZTplwpn8kqIWljTEmY8gxaq0eNOgAE7ywAAB1Nt/A=
Date: Tue, 07 Jul 2020 07:57:36 +0000
Deferred-Delivery: Tue, 7 Jul 2020 07:57:14 +0000
Message-ID: <MN2PR11MB3565BD10D7AF55F662300F01D8660@MN2PR11MB3565.namprd11.prod.outlook.com>
References: <MN2PR11MB35657CEB09EA8FB7F1BF8391D8690@MN2PR11MB3565.namprd11.prod.outlook.com> <23854.1594056180@localhost>
In-Reply-To: <23854.1594056180@localhost>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2a01:cb1d:4ec:2200:9909:7bae:eb40:4a61]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3ff5d8ea-2b2c-4730-2633-08d8224b6aca
x-ms-traffictypediagnostic: MN2PR11MB4047:
x-microsoft-antispam-prvs: <MN2PR11MB4047C3835292F3AEAD11DABAD8660@MN2PR11MB4047.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0457F11EAF
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Uotzlkdk9O74LpmpZrvy6Uu07pY2JKBs0UOp5p50TCssiwOsvjdVz2VhNQsN3Z34TJWdQIY6WZfLdI6+EFmwU1Pt2Oac4MFEfT5LcTipxk/pEVPNDGpf9N1IR0ZKJ2QzDk6bbRNgMOFlwa+a/cK72vqEwbvcujoAGbV4LxghTgJR1vClx7xi98mkisu28dhJ+STnj0xkejqVhcpjdUQHu+J8h+k5BZ/Jer17vGDlcFngn+e7j1PEmQ1npnWE54somJ6SUTRYIf+MrSZHL//iOpRGdgglEMzDIGWmKG+BzM3oZ3bv/3O1wVKeXVwh1QgWVSPo8vD3rvjSjQx0vG6keA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3565.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(346002)(136003)(396003)(39860400002)(66446008)(86362001)(186003)(478600001)(53546011)(33656002)(7696005)(55016002)(66946007)(6506007)(66574015)(71200400001)(2906002)(76116006)(8936002)(8676002)(9686003)(450100002)(66556008)(316002)(64756008)(52536014)(110136005)(83380400001)(66476007)(5660300002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: y33yu5FGlmjpDAzrQUH5mhB855Zcj31k+ASy+InvuChEtEF4Uc/9TmwkVgBU1D3nDD4XodVwKttIDuczXYTgmptbpFhXZN0qYnSr5gI++/WmB5KDTgG+yN/VtT/w4tq7OR/hLPNo5GwWgnJt3MNTcCnr7AanOe1dpMSdgabyyw+j0sDh6XAKlnuOwdmxJTpPKr69Vd/V9ODqI1PyDPrtsuHtKL4pXkeMqU1ljJohUW6HQXbvaHl9Oqp7aljRSv9PhZKOtEb3REYmuzq/kk5kwCDJGUs7hFKZOiQVwkgrU3rZLN56872/159WLs9NJ4QZa968q1bZNtF0+ckWcA10wOQGnVxTaU3uA2D4yyxI+ANBQlPU9RJylE4ciys1IBH16To4oV4QHT4EqPwG8/9quHMg9P9kuxGo1DDYRsDMWCSW53wzfe41WftAVA1v8CrTzV7+NRggGeTl20zwQbIBY4nW+toDceAYa5zCd/4/rmr7VbFHKwDZJfO45P2M2YuON7up61jFX/KoJYkExUQEhLeYdDQIOZbtQcbPLsJJ17mUGwCkVJD2r6lCPXV/si7J
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3565.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3ff5d8ea-2b2c-4730-2633-08d8224b6aca
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2020 07:57:38.0380 (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: rGDVk11e5IiNPPb+MuvIT/4e1xgBVsIE/d4DP+bNaYMIFWqAicvKcDuIfMMM4OZtg5CdeDt+Xgndx7P2UNjtog==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4047
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.12, xch-rcd-002.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/tprl2bxmuv6RNoYaUY7Fvcl_0vE>
Subject: Re: [Roll] Alvaro's review on turnon Rfc 8138 07
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: Tue, 07 Jul 2020 07:57:44 -0000

Hello Michael:

This is really useful, many thanks for contributing. I'll need more from you and the WG, please see below;

> -----Original Message-----
> From: Roll <roll-bounces@ietf.org> On Behalf Of Michael Richardson
> Sent: lundi 6 juillet 2020 19:23
> To: Routing Over Low power and Lossy networks <roll@ietf.org>; 'roll-
> ads@tools.ietf.org' <roll-ads@tools.ietf.org>
> Subject: Re: [Roll] Alvaro's review on turnon Rfc 8138 07
> 
> 
> Pascal Thubert \(pthubert\) <pthubert=40cisco.com@dmarc.ietf.org> wrote:
>     > This takes us to 2) The above is why in the current text the leaf that
>     > does not support the compression SHOULD act as a RUL, so it is an
>     > external target and thus the default for it is to decompress before
>     > forwarding. Alvaro and I are talking about MUSTing that, with the
>     > argument that a RUL supporting the RPL compression looks like an
>     > oxymoron.
> 
> The problem is that this is a new rule (new code), and the point was to allow
> rfc8138 to be turned on without new code, right?

The RUL text only applies to a node that would have some new code but not the support for compression.
True, a legacy node cannot obey that. Which means that we can force it to be a leaf but we cannot force it to be a RUL.
We can protect that legacy node in non-storing mode by forcing that the last hop must be uncompressed, e.g., with a configuration knob. 
That's the special knowledge the doc talks about. The text defaults that if we do not have a special knowledge the last hop must be uncompressed.
The trouble is with storing mode. We never know when it's the last hop. So we cannot uncompress, and the RAL will be cut off. Unless we have special knowledge that the RAL does not support the compression. This kinda reverse the situation vs. non-storing. I believe I need a section to explain all that.

> 
> When we did RFC8138, it was stated that it would get deployed in greenfields
> only, and that we didn't need signaling.
> That's not the case, so we have jumped on this work to do "something".

True, that's this draft.

> 
> This document is not supposed to accomodate old nodes: compression is either
> supported on every node, or not yet supported on every node.

Right. The document aims at enabling RFC 8138 in a brown field. The *normal* scenario is migrate slowly the nodes with the bit off and when all are migrated turn the bit on. The complex case is that of "forgotten nodes", e.g., nodes for which there was never a new code for this draft and for the compression, to try to serve them still. Imagine a network where thousands of meters out of millions are from an old brand that can never be upgraded. Can we replace them? Probably not. So do we live with the idea that the compression can never be turned on in the whole network? 

That's the big question to the group, is that a valid use case. Because if it is, we do not want to have to do yet another draft do we?

Note that if there are too many of them, turning them into leaves will kill the network anyway. This is why we have the 2 instances scenario.

> To determine that dynamically, we need capabilities.

Yes, in the normal scenario, the benefit of capabilities would be to ensure that all nodes are migrated. But if a node cannot be migrated, the capabilities can also tell the parent to uncompress when forwarding to this node. Life will be a lot simpler, though, if we mandate the support of the compression in RPLv2. That means no configuration bit, and no capabilities. Where's the best investment of code?


> What we have in this document is an operator controlled bit, not dynamic at
> all.

Yes. And management to decide if all nodes are migrated as opposed to capabilities. That works.

> I'm not sure when it mutated it's purpose :-)

Not really mutated but added work beyond the *normal* scenario to accommodate some non-migrated nodes by 1) making them leaves so they do not blackhole the network and 2) trying to find way to detect them so the parent can uncompress. 
 
> I believe that the document has tried to do too many things.
> Maybe just cut out everything that is not about that bit.

I understand here that you find that 2) above may be excessive. Text below indicates that you find 1) excessive too. 

> For instance, section 5, paragraph 3:
> 
>    If the
>    compression is turned on, the node cannot forward compressed packets
>    and therefore it cannot act as a router.
> 
> should just say, "the node/network fails"

If we do not make the node a leaf doing 1) then yes, the network fails. If we do 1 but not 2) only the node fails.


> >   To ensure that a packet is forwarded across the RPL Instance in the
> >   form in which it was generated, it is required that all the routers
> >   support [RFC8138] at the time of the switch, and that all nodes that
> >   do not support [RFC8138] only operate as leaves.
> 
> I believe it is a misconfiguration (operator error) to turn on rfc8138 if there are
> nodes that do not support it.  Just don't deal with that.

That would drop both the work for 1) and 2). That would simplify the draft considerably. But we need to be careful, because if the case of scattered untouchable meters is real then the compression can never be turned on.

WG: Do we have some real world indication for this?

Pascal