Re: [Roll] capability vs. configuration

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Mon, 27 May 2019 05:08 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 D81D41201F3 for <roll@ietfa.amsl.com>; Sun, 26 May 2019 22:08:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, 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=Gemb52NL; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=dWz4seI1
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 vVQHcMjwYR5D for <roll@ietfa.amsl.com>; Sun, 26 May 2019 22:07:59 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 512DC1201EB for <roll@ietf.org>; Sun, 26 May 2019 22:07:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=19845; q=dns/txt; s=iport; t=1558933679; x=1560143279; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=ImUSUb0oA3iy+c9fYfnH3UC1sJgra+HNFjvV6TDrG6Q=; b=Gemb52NLVF0sHTxlc0Tp2i71aEoEroo/egcfrPfHA/GB7rdEZrhPSVNW bARAJ/dZYrdRS+M0ivpUyokjkPfkLQO8ZLHeFe4157W9BnpO94nINCWvH p7+WyoV8ITqouipTb7BSlzsSZCBZwvZz0kpA8ZSnq/lNPq6kMRIk0seh8 U=;
IronPort-PHdr: 9a23:XsHJWh0axLWfeMcwsmDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxKGt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSwdDjMwXmwI6B8vQEVH7MfTndTASF8VZX1gj9Ha+YgBY
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B1AABkcOtc/5JdJa1aCh0BAQUBBwUBgVEIAQsBgQ4vUANpVSAECygKhAmDRwOEUoonSoFoJZJbhFCBLhSBEANUCQEBAQwBARgBCgoCAQGEQAIXgiojNAkOAQMBAQQBAQIBBG0cDIVKAQEBBAEBEBEdAQErAQwPAgEIEQMBAigDAgICJQsUCQgCBBMigwABgR1NAx0BAgELnBACgTiIX3GBL4J5AQEFgTYCgQ+CMxiCDwMGgTQBhGiBIIFYg3IXgUA/gREnDBOBTn4+gmEBAQOBMw8FCi0NCYJUMoImiyRUghSEY5VoCQKCDYY0hEiIGRuCH4pmiUSTcI52AgQCBAUCDgEBBYFPOIFXcBU7KgGCQYIPg3CFFIU/coEpilmBLwGBIAEB
X-IronPort-AV: E=Sophos;i="5.60,517,1549929600"; d="scan'208,217";a="276886935"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 May 2019 05:07:56 +0000
Received: from XCH-RCD-020.cisco.com (xch-rcd-020.cisco.com [173.37.102.30]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x4R57u0R015324 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Mon, 27 May 2019 05:07:56 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-020.cisco.com (173.37.102.30) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 27 May 2019 00:07:55 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 27 May 2019 00:07:54 -0500
Received: from NAM04-BN3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 27 May 2019 00:07:54 -0500
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=ImUSUb0oA3iy+c9fYfnH3UC1sJgra+HNFjvV6TDrG6Q=; b=dWz4seI1d1btblsigLmdUrlcUO9izCCC0gbUZwH4IestP7wCdwv4FZJxy+ZIKjK/z2zd+cpUIn8yQNmV++6+CTVjgCV3A6FOeCXN9NUhformzurimdyhnUomlHZUJXC2DxxHn6IVSX+LYIZEl5CuLBabp27wUDhYWdKECbjDXxs=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (20.178.250.159) by MN2PR11MB3855.namprd11.prod.outlook.com (20.178.253.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.17; Mon, 27 May 2019 05:07:54 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::7cc2:b440:8820:f0fc]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::7cc2:b440:8820:f0fc%7]) with mapi id 15.20.1922.021; Mon, 27 May 2019 05:07:53 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] capability vs. configuration
Thread-Index: AQHVFDua42hZh9XuNUOlnMD+d9AwVaZ+a88W
Date: Mon, 27 May 2019 05:07:53 +0000
Message-ID: <6E26B721-36DF-4B0D-8930-3F90179D557B@cisco.com>
References: <A587F9B0-9F1A-4307-9D3E-C261D6EF566A@cisco.com>
In-Reply-To: <A587F9B0-9F1A-4307-9D3E-C261D6EF566A@cisco.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: bb320b00-ecce-4280-12f0-08d6e2614661
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB3855;
x-ms-traffictypediagnostic: MN2PR11MB3855:
x-ms-exchange-purlcount: 2
x-microsoft-antispam-prvs: <MN2PR11MB385561D55F84CAEF3620ABBDD81D0@MN2PR11MB3855.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0050CEFE70
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(396003)(39860400002)(136003)(376002)(199004)(189003)(14454004)(229853002)(66574012)(68736007)(82746002)(6116002)(5660300002)(54896002)(25786009)(478600001)(3846002)(6486002)(99286004)(53936002)(6246003)(26005)(66066001)(966005)(6512007)(6916009)(76176011)(476003)(81156014)(316002)(2616005)(446003)(11346002)(36756003)(6436002)(6506007)(102836004)(53546011)(33656002)(91956017)(14444005)(73956011)(66946007)(6306002)(7736002)(256004)(66446008)(64756008)(66556008)(66476007)(81166006)(76116006)(8676002)(2906002)(486006)(606006)(86362001)(8936002)(83716004)(236005)(71190400001)(71200400001)(186003)(244885003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3855; 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: /RGmEb+dyi+W22CGVdMvUkUJecmP3ZJU32186QH6mY5JtDMQxXiW/Idoj8EP5E2Oid46trXGmkIqvYbTWTNnZ9fzBME0RTU52D+GbLzRUmd7KbXCkxoZ+UevCH3Ol9n7Q9l9NaOsbTh7L60fAzIujA5DSRYT4mXWNCWaMMuOUYaP8TxQKIdF+Te9foGWwI/bXnuosdDjx9qNl6JB/rHPrW+/gL6VlnHeSp8O9iJ0nDjeproXWjbPQ7JZk6tcDOciIBq3qqjpttYsnY8urv5S6150no/W8VieYLzF5JE+Joz8PoVSG8+Iho7x4yxoPFtGVogXgpOfBj8jwxzJhkywT8nK7kJ1RGxDsGSfBy2wjqNbFeqOg5I63tKUxJiW1DyRLEXN8kMEiGbkrooMvwH7NhY0IGN6inn7mL5f2wPzp6g=
Content-Type: multipart/alternative; boundary="_000_6E26B72136DF4B0D89303F90179D557Bciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: bb320b00-ecce-4280-12f0-08d6e2614661
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2019 05:07:53.7637 (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: pthubert@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3855
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.30, xch-rcd-020.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/qw4NYBC26K-hoauLFZRWNK49bNQ>
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 05:08:02 -0000

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<mailto: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<mailto:rahul.jadhav@huawei.com>>
Date: Saturday, May 25, 2019 at 9:18 AM
To: Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>, Li Zhao <liz3@cisco.com<mailto: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 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<mailto:Roll@ietf.org>
https://www.ietf.org/mailman/listinfo/roll