Re: [Roll] About merging two RFC drafts: draft-ietf-roll-enrollment-priority and DODAG size

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Thu, 04 February 2021 10:03 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 BFD9F3A118E for <roll@ietfa.amsl.com>; Thu, 4 Feb 2021 02:03:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.62
X-Spam-Level:
X-Spam-Status: No, score=-9.62 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=lsDOSnAR; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=bC/mVV6t
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 ehXjKa4aApyS for <roll@ietfa.amsl.com>; Thu, 4 Feb 2021 02:03:48 -0800 (PST)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9FEBC3A118D for <roll@ietf.org>; Thu, 4 Feb 2021 02:03:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5058; q=dns/txt; s=iport; t=1612433028; x=1613642628; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zbpPdHj+mhJlDziRjR/2bc0qD/7ZJsK6aOboNjkbsNc=; b=lsDOSnAR0m+jrJNcxhWMyqkIXBM6WBpgA2weFyTocxqGRXqzlYbjXs/C bAW8SzaOK4CJtqOCEPOF8Tp7PoVnl7bTJ3lSSObo5fmCtUdl5n2efRZyg 4sS7ogACcR8pJ4xpzD62ZmExmTrWUp+P2g/Dwqbi5q5h8hJ5ii3FeNDpP A=;
X-IronPort-AV: E=Sophos;i="5.79,400,1602547200"; d="scan'208";a="844036507"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 04 Feb 2021 10:03:22 +0000
Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id 114A3MTd010300 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 4 Feb 2021 10:03:23 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 4 Feb 2021 04:03:22 -0600
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 4 Feb 2021 05:03:21 -0500
Received: from NAM10-DM6-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.1497.2 via Frontend Transport; Thu, 4 Feb 2021 04:03:21 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YdYbnwCwwIzwkUOXqTTO0FNVTurbSqQX6/ldOyNEZv4E/8UUP9tMbiG3heRKG0VogUmkmW+iXwCOq+cXPSy1AfedGl4wxjtFls2o6gQV7Li8cSdMtNlWDUA54YnRm3bI9/v2Hsr7qO8E1qOsqlx9QMrwVGfD3f8ae0kaPylQmAHXbCkENecC1TcdOsQ6aCUjYy/bwjKz7objqJYWovCn+Q7FiB2t3WkZs2MFHDUy9EqoRfaS+as4y01GNsIPY8JJ5X/F+4jPUP9Rv+Ivs0AUzCwv9oERQefTCDMfQMsPake7DK7yTZ7CPXXNGZpICpageL8KFZsA+33nc3nUBHPWHg==
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=zbpPdHj+mhJlDziRjR/2bc0qD/7ZJsK6aOboNjkbsNc=; b=bX0eju4qG5gFXsuxpfu1/7LSN1g563m5l7H02TYbhTSoQ/FctnhUTT7qGks87wAwremeeTZ+iNzJ6RGKzILv7nfVokrmTkXNYJhcq2RUZ+AbYXTG7fe/v72OUm+mOLuLrARitSULi0RNLTk87I0PxXnLiQVMl7i9gb3AvoHOFuvYcJtgPFNaeYnwb5wCcHAn5GV0bRPLFgYu4ahIeFqGfy3hr6DPbXju4qWUJGw0Q7WLKyyStJbV59RvgeNtONGYd/ogO10WoUGPnyN6HkF/uCaHisWXHtpGc3Ge3sdxU3fjVg5uqLYhyo37KVdm6zoB+CgaZaznz3v0yww0FqOpDg==
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=zbpPdHj+mhJlDziRjR/2bc0qD/7ZJsK6aOboNjkbsNc=; b=bC/mVV6tSEUVjukJLd6+T0IQzGcW9AB6s42EPDQH1OHNVlnA52U2aPd/C5D55PyDyC7wZbRyB1pi56MyQ+Ve51XQEPUaF47Q05W8wyfzHUIKDQK5DBKBPwznEMgbPzjUdtaPfUhGzrkjOU9WW+cxZ2pXfLacmVKbEgd75NyfjjA=
Received: from CO1PR11MB4881.namprd11.prod.outlook.com (2603:10b6:303:91::20) by MWHPR11MB1408.namprd11.prod.outlook.com (2603:10b6:300:24::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.23; Thu, 4 Feb 2021 10:03:20 +0000
Received: from CO1PR11MB4881.namprd11.prod.outlook.com ([fe80::14a1:29eb:e708:d7e6]) by CO1PR11MB4881.namprd11.prod.outlook.com ([fe80::14a1:29eb:e708:d7e6%7]) with mapi id 15.20.3805.025; Thu, 4 Feb 2021 10:03:20 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: "Huimin She (hushe)" <hushe@cisco.com>, Michael Richardson <mcr@sandelman.ca>, "roll@ietf.org" <roll@ietf.org>
Thread-Topic: About merging two RFC drafts: draft-ietf-roll-enrollment-priority and DODAG size
Thread-Index: AQHW+tnW4nSwmAqnH0OPpMU1bjMGq6pHwixQ
Date: Thu, 04 Feb 2021 10:03:17 +0000
Deferred-Delivery: Thu, 4 Feb 2021 10:02:38 +0000
Message-ID: <CO1PR11MB488127E6CC71362E8BE2E205D8B39@CO1PR11MB4881.namprd11.prod.outlook.com>
References: <53213D6A-2693-4E6F-98D7-93B9C32826E2@cisco.com>
In-Reply-To: <53213D6A-2693-4E6F-98D7-93B9C32826E2@cisco.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;cisco.com; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [173.38.220.40]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6ab45fd6-2210-4e86-1627-08d8c8f419e7
x-ms-traffictypediagnostic: MWHPR11MB1408:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <MWHPR11MB14088A78E49D3B8DBD6F38C7D8B39@MWHPR11MB1408.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 2GS/Y7Ya8lXxnn5pal5OdqIlNNqnwMD9m89GUbfbusyLisu6GVbD1UhCmmRJpBNMbXc6wQemNpFHnUCdCXC5jylFJKvTh/m41M409Ox4A4sX+J33bIfdA2DXPWwOQl4zCO0qDcbg9oaJqk3Gev4KyMJa9bUJ61XZ4deLywM7yklOD0FnjrICJ2BKa7wGb0ar4yh+6lk3F1uVcnfSM+5oQecjbrgo2cAFr8/3fSDzUXEWW3ok8YgxfLnxjYdGqn9oLhJcJN8aDYkk2Wgch/zFImI/MDTVLSTYlsJDRg4Mujle4M/dkdXjCN8TKWNSCds2O88FfGT7gx/mUX9Y6euQqSyvdLg/Yrv8GIiTsocx/bFcAVOy2+BH3O9q/teL07RMdDEHrcXD+9p4SaKmxpXm4j1bW+6z7xCAy7F0cbEogKBheUwVhR/9PFL/NUu4U83cX2dyHZ4aAP4HaY0DwPY/D3tUVYuBDvzucAwEqvce5MNgdXW5fxssJX4BLA2aEKK2blXj4Qsniy5ZtpT4O7i/53Nni39AkVhfD7tPNTfbGqZUHkhfdUrERP8OrJlV+RWHqMKAw45pE8K5Q926eBDl3C8jqR0fdI0P0lCNFBn1UrU=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB4881.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(39850400004)(366004)(376002)(346002)(396003)(9686003)(8936002)(966005)(107886003)(66446008)(6666004)(6506007)(186003)(52536014)(110136005)(8676002)(55016002)(478600001)(4326008)(54906003)(26005)(64756008)(5660300002)(66556008)(33656002)(66574015)(83380400001)(53546011)(316002)(86362001)(66946007)(2906002)(76116006)(71200400001)(7696005)(66476007); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: UL14ia64kr1QngsjveC3xjWUS/F6DSCVQ0N92b5zbvp7hrHPMzHs7nonnVJYkTTLoekyLuq3ZCYCYUiEkbiMB9VW8NJ5Riu+jKyMxyX9xBwnwiENS+yR/0pDJqh6Uvzj56u8PuYSP8InxhElTArtWpJkETAcSFU8+cuREO5Vw19BmQtWudIVYm3WYEq5UAoWt7PjlzJtzM8Zu3BLAQTBEBFUq9CKGRrTXfoqG1eMngkAsV9xE/f6tbvRaWUn0AINr55Q2MfNeP+gAPxtaSwFa6ZW9FUqQlz8xYtWPagShlzlfmlTYN94dfGzMzZyRD0o5FCqpGleva/UU2Zhn+czCWBQx/JR/Y4E5AN6clxldk+dVe1kXAGmMXoVB9TMS166i1ykjg1Dp+Tdv2ikFrw0vVrsMGk15kg9NRhJTGVciTaymHKgWDXOMstaZf7isn35f89nOU4+VRqDlc7HJqqEsBNAKTsRv/as7wa/4w9+0DKxzGLyI5tLHGpeIb48oEcUEinckbn5URx0oPg67V+okCfLKqxi+Cypbkstgoy6SC5Ta8lrJA7ZDnXZb0JngvnWBSQb3cVWHGfWFRrTt+lyb2gCbKBAG032CXu3p2uVWBUA701GqB/XuBIUSZdip1aurTmIWzF+9O1yNq1rKFVfMAeEsdz3GBZGgGIrrFDI9r9H3lJIvKlHVscGJ+grYkgXMD0G5kEhnz32rxCG4pbdvaaaJTzvSz1zRtpMnrfIw+k2iq6BHz4dnQnhmrOyHkIJ1ZwZ9NJ80fKHT56Mb9p0Jk0ChzRFP7vSQdeJYB79lypd61g/YhcsoNZsLjgMovcDFIWEqWd/T6aVw6/JlvZhsfH5Wrv5L6F3exhlCTBcgs/W6FWtpqv8dz1Q8IJzw6HVWHjru/ws4VxZOPr3XRcqKCdegdHWalIekEZOeYLLhbYo+/C71YK+rqqrnGoPStIEXIlGetypCSyOywPnD4mppguy9yxE1I5rsLktcLh0M9fprc0VPeYCqL3A7z3LVQDhdguXMecjoBNQUP+MzzIh6X4JjuyaDo1LeuHwdeuOFIdY+sECeuR6Irja3TJYt/seGd+SNAh78mdri0etq9rH+A8CJK3zCuaixIp8QNbBT/wJ2y9goNy3yW6MyMmvoJL03EJnI6W9QMSbm6ap/SEt+acTE5lbHPx/0WMlR65y4knIfuGhu2891+qhfgo7NOh0Yo6OIcRI6jrl/5Q6vy/3HML94E7ww/8fmoDjNiGZMd+ibnNaHpFLkIVu6MzgE5UoqA7b/bujk/X0cjF98LQhYcphzjlV02kDrPjiREBqednH6gEDPGsoeIl2iWK+al2Z
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4881.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6ab45fd6-2210-4e86-1627-08d8c8f419e7
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2021 10:03:20.3900 (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: 6vHTdUSPAiixaiEdW4tga6mqMk9awfmSO9y16eF1l7ns6KC0eQImFaRc1taWnKclBdj3kPgaeZVfJml+Ati0fA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1408
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.11, xch-aln-001.cisco.com
X-Outbound-Node: rcdn-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/5h8I1pAHKu0lxLMYh-jbk1bgyVA>
Subject: Re: [Roll] About merging two RFC drafts: draft-ietf-roll-enrollment-priority and DODAG size
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, 04 Feb 2021 10:03:51 -0000

Hello Huimin:

1) I agree that the (min) Priority in the draft could inherit from the DODAG size and is still quite different, since it could also reflect other gating factors such as an administrative willingness, the bandwidth availability / utilization near the Root, the memory in the Root more routes, etc... So constraining that the DODAG size derives from the priority degrades the value of the priority dramatically
2) I like the 12+4 bits representation that seems to bring the best of both worlds. I agree that it addresses the issues raised at the call.

Bottom line:
- I support the merge
- Is there another important information from the Root that we may want to add before we close the draft?
- to Michael's point, happy to contribute to the draft.

You all take care,

Pascal

> -----Original Message-----
> From: Huimin She (hushe) <hushe@cisco.com>
> Sent: jeudi 4 février 2021 10:41
> To: Michael Richardson <mcr@sandelman.ca>; roll@ietf.org
> Cc: rahul.ietf@gmail.com; Pascal Thubert (pthubert) <pthubert@cisco.com>;
> Li Zhao (liz3) <liz3@cisco.com>
> Subject: About merging two RFC drafts: draft-ietf-roll-enrollment-priority and
> DODAG size
> 
> Hi all,
> 
> Thanks for the nice discussions. Here are the answers for the questions
> raised in the interim meeting.
> 
> Question 1: Do we need the DODAG size as a complement to enrollment
> priority?
> Answer: Yes.
> 1a) Enrollment priority is a metric providing the abstraction of battery power,
> network bandwidth and available memory.
>       It represents the willingness of a 6LR to act as a joining proxy.
>       While DODAG size provides more information for a new node to decide
> which DODAG to join.
> 1b) The DODAG size is not only useful for a new node to choose a DODAG to
> join, but also useful for load balance between multiple DODAGs since nodes
> are able to migrate between DODAGs after knowing the DODAG size.
> 
> Question 2: Is 2-byte enough for encoding the DODAG size?
> Answer: Yes.
> 2a) If we directly use the 2-byte, the max size is 65535 which might not be
> enough.
> 2b) An alternative encoding format is as follows:
> - 4 bits for the unit. Let's set x = 0, 1, 2, ..., 15, so the unit equals to 2^x , i.e,
> unit = 1, 2, 4, 8, ..., 2^15.
> - 12 bits for the value.
> So the max number is 2^15 * 2^12, which is big enough for representing the
> DODAG size.
> 
> Please let me know your thoughts. Thank you.
> 
> Best regards,
> Huimin
> 
> On 2021/2/4, 01:30, "Michael Richardson" <mcr@sandelman.ca> wrote:
> 
> 
>     Huimin She (hushe) <hushe@cisco.com> wrote:
>         > Thanks for the nice discussion in the IETF interim meeting.
> 
>         > Attached please find the slides we presented. The draft is available
>         > here: https://github.com/roll-wg/dodag-metric
> 
>         > It is a good idea if our two drafts can be merged. How shall we
>         > proceed?
> 
>     As ietf-roll-enrollment-priority is already adopted, if it is the will of the
>     WG to include your metric, then merging it in would make sense.
>     I suggest a pull request on github at
>       https://github.com/roll-wg/draft-ietf-roll-enrollment-priority.git
>     would make sense.
> 
>     (Add Huimin She as a co-author, and Pascal too if desired)
> 
>     Maybe do the pull request first, and let's bring that discussion to the WG.
> 
>     --
>     ]               Never tell me the odds!                 | ipv6 mesh networks [
>     ]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
>     ]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [
>