Re: [Roll] capability vs. configuration

"Li Zhao (liz3)" <liz3@cisco.com> Mon, 27 May 2019 03:23 UTC

Return-Path: <liz3@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 1D98212020A for <roll@ietfa.amsl.com>; Sun, 26 May 2019 20:23:57 -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=Q3scrTsJ; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=nAjvPNDw
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 ENP8C3vJRMtD for <roll@ietfa.amsl.com>; Sun, 26 May 2019 20:23:55 -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 4EA651200D7 for <roll@ietf.org>; Sun, 26 May 2019 20:23:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=17673; q=dns/txt; s=iport; t=1558927435; x=1560137035; h=from:to:subject:date:message-id:mime-version; bh=JiiQ4dTmp041CbUxZxtZY29T+adgGMRwkvWypFhr4GE=; b=Q3scrTsJ9/NBatYoh3zx0FIdNnesfG7bZSPbuNhKnuW/aInfmNICcIXO mHc+dQHxLl9R/RsqZS8beHIPx506Vk1V+PXgxCKuxaq7jNFnFatHtx3xX U+XuwDCfUthZWTc+WHfqtpvduvlWfadicJ9QXoIRiC55h3OMzrVBtP+sE E=;
IronPort-PHdr: 9a23:UmRaDxX8KxMY8AtlNod0CV5XtUjV8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSANiJ8OpK3uzRta2oGXcN55qMqjgjSNRNTFdEwd4TgxRmBceEDUPhK/u/ay0oR+xJVURu+DewNk0GUMs=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CNAADcV+tc/5JdJa1aCh4BBgcGgVEJCwGBDi9QA2lVIAQLKAqECYNHA454SoFoJZJbhFCBLhSBEANUCQEBAQwBASMKAgEBhEACF4IoIzQJDgEDAQEEAQECAQRtHAyFSgEGEhEdAQErDREBCBEDAQIoAwIEMBQJCgQTIoMAAYEdTQMdAQIMnAUCgTiIX3GBL4J5AQEFgTYCgQ+CMhiCDwMGgTQBhgiBWINyghaBEScME4JMPoJhAQEDgTMPBQotDQmCVDKCJoExAYxahGOVaAYDAoINhjSESIgZG4IfimaJRJNwjnYCBAIEBQIOAQEFgU84gVdwegFzgU6CD4NwhRSFP3KBKYpZgS8BgSABAQ
X-IronPort-AV: E=Sophos;i="5.60,517,1549929600"; d="scan'208,217";a="281967053"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 27 May 2019 03:23:53 +0000
Received: from XCH-ALN-014.cisco.com (xch-aln-014.cisco.com [173.36.7.24]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id x4R3NrEV015342 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Mon, 27 May 2019 03:23:53 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-ALN-014.cisco.com (173.36.7.24) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 26 May 2019 22:23:52 -0500
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 26 May 2019 22:23:51 -0500
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 26 May 2019 22:23:52 -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=JiiQ4dTmp041CbUxZxtZY29T+adgGMRwkvWypFhr4GE=; b=nAjvPNDws+6cBhhof4OljO0DZbVDFVLtU/oZqQUHHn5HaOGiG7RAJLbqF+kDz7cNXN//jfREGknOKRKiI5Q2PLCTVxLaY8DBEBKq/AbYKy3bv9HMBFTeFLi8f8G+6f3+4mYTwifqgWxao8lvRweKNZP5T3CnzHA0C77CMXlxZCA=
Received: from BYAPR11MB3784.namprd11.prod.outlook.com (20.178.239.10) by BYAPR11MB2600.namprd11.prod.outlook.com (52.135.227.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1922.16; Mon, 27 May 2019 03:23:50 +0000
Received: from BYAPR11MB3784.namprd11.prod.outlook.com ([fe80::d473:1da8:c5a2:9bbc]) by BYAPR11MB3784.namprd11.prod.outlook.com ([fe80::d473:1da8:c5a2:9bbc%7]) with mapi id 15.20.1922.021; Mon, 27 May 2019 03:23:50 +0000
From: "Li Zhao (liz3)" <liz3@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] capability vs. configuration
Thread-Index: AQHVFDua42hZh9XuNUOlnMD+d9AwVQ==
Date: Mon, 27 May 2019 03:23:50 +0000
Message-ID: <A587F9B0-9F1A-4307-9D3E-C261D6EF566A@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=liz3@cisco.com;
x-originating-ip: [64.104.125.231]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 314cd80f-1690-4bfd-aa6c-08d6e252bd0e
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR11MB2600;
x-ms-traffictypediagnostic: BYAPR11MB2600:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <BYAPR11MB260087FE0A395D857D13E0818C1D0@BYAPR11MB2600.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0050CEFE70
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(366004)(396003)(39860400002)(189003)(199004)(99286004)(53546011)(6506007)(102836004)(14454004)(966005)(86362001)(478600001)(81156014)(81166006)(8676002)(82746002)(68736007)(53936002)(25786009)(6916009)(6246003)(229853002)(8936002)(71200400001)(6486002)(5660300002)(6306002)(7736002)(91956017)(54896002)(3846002)(36756003)(6512007)(236005)(6116002)(66066001)(26005)(2906002)(66446008)(66946007)(66556008)(66476007)(73956011)(6436002)(76116006)(64756008)(186003)(2616005)(316002)(476003)(486006)(606006)(33656002)(14444005)(256004)(71190400001)(83716004)(88722002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR11MB2600; H:BYAPR11MB3784.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: ADnCXHwx+06oCeN19PrX7NX8o18UrcWaPJi3Ft8N6HSj4TWeoTgX3D/Y8zFercLN+DFU5A2DuDZGCxqZNc23ApLpGXKz0gnNg/xgyK0ILqLV1+ga+qQBD0iACuRCtjExfS+KGIH+xrbP5Gbq1ujP/+gqe76r1EK+FX+vbf7Ywh1BmxuNHmB20h6BHUtu/zFtaXIFQ88lIhl57p+ir1M9yskIcs/2KK08RAOneO9vzWizklSgrGDiD3qdn3+D+eLtxpHo650y1B5JQtl7DRG7gRdyvTSfEncho8hUQSjLg6FGul8Ktb+2BSu2AdKpu4izc6sFrE51KmYIve1DZS0KOEVUlng6WIDzgDGRZS6/mQHfhUf/YFnwZ536ktWrcm2iwFPTVyx6v/C/DEv3jWKfCtnXvrv4SSF4UorPNiTenEE=
Content-Type: multipart/alternative; boundary="_000_A587F9B09F1A43079D3EC261D6EF566Aciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 314cd80f-1690-4bfd-aa6c-08d6e252bd0e
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2019 03:23:50.4835 (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: liz3@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2600
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.24, xch-aln-014.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/vEEiVpwLooGlyfpWMtN0vQzV9GM>
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 03:23:57 -0000

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.