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

"Huimin She (hushe)" <hushe@cisco.com> Thu, 04 February 2021 09:41 UTC

Return-Path: <hushe@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 11DE13A1126 for <roll@ietfa.amsl.com>; Thu, 4 Feb 2021 01:41:09 -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=MPvYvg6H; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=UXBW0zkC
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 9Bs46Fj9PovP for <roll@ietfa.amsl.com>; Thu, 4 Feb 2021 01:41:06 -0800 (PST)
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 B62483A1125 for <roll@ietf.org>; Thu, 4 Feb 2021 01:41:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3252; q=dns/txt; s=iport; t=1612431666; x=1613641266; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=pxhO7SdbgRrrBtGwYeLsfuREdxsFbBIJhZCd+ZPjd8g=; b=MPvYvg6HXqgWQMFk9WFFJFMd506HJcuv4vaZfntNieeAWPpuUUF0RAOw FzZfTF4VnLchGqutzOfeRDG9qfNMadVzuUtHrdEeKIAHq9NWJl0v9PNzc TmedG0fDLP8qHxUYe8XchhVxMHR8LJpRQ+BG1ZvpPUfXqiTP4+cQYKr4z U=;
X-IPAS-Result: A0CyAADSvxtgmI0NJK1iHQEBAQEJARIBBQUBQIE+BQELAYFSKSh9WjYxhECDSAONZSWZHIJTA1QLAQEBDQEBIwoCBAEBgVWCdRmBZQIlNwYOAgMBAQEDAgMBAQEBBQEBAQIBBgQUAQEBAQEBAQGGCQYnDYVzAQEEDxURDAEBIxQBEQEWCgICJgIEMBUSBAENBYMmAYJVAw4gAQ6lXAKKJXaBMoMFAQEGhRkYghIJgQ4qAYJ2hAaGQiYbgUE/gTgMEIMUgX9eAoEcJTWDAjSCLIIGgSxDDwFmFQpGEgGUGEGlRwqCegSBFYgdkkwDH4MuikaVKzqEQ481iyqSEYQ4AgICAgQFAg4BAQaBbCKBWXAVZQGCPglHFwINjA6CExodbgEHCAeBYVSKWXQ3AgYBCQEBAwl8ixkBAQ
IronPort-PHdr: 9a23:K9LmVxRtO9w2mpYo7ieflDkYOtpsv++ubAcI9poqja5Pea2//pPkeVbS/uhpkESQB92J8PtCh+fStqnmH2cJst6Ns3EHJZpLURJNycAbhBcpD8PND0rnZOXrYCo3EIUnNhdl8ni3PFITFJP4YFvf8Wa76zIfHhD2M0x+L7e9Fovblc/i0ee09tXaaBlJgzzoZ7R0IV22oAzdu9NQj5FlL/M6ywDCpT1DfOEFyA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.79,400,1602547200"; d="scan'208";a="640971308"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 04 Feb 2021 09:41:05 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 1149f5XN011610 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 4 Feb 2021 09:41:05 GMT
Received: from xfe-aln-004.cisco.com (173.37.135.124) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 4 Feb 2021 03:41:05 -0600
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by xfe-aln-004.cisco.com (173.37.135.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Thu, 4 Feb 2021 03:41:05 -0600
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 4 Feb 2021 04:41:04 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J1bRGEM7rUenmF0CNdYdfzzztAFFgankDby8GZGUrE3/syBlDRQBlegIfhZW+fssMYeT02t6rOFkrUMt/WOZ3LvddeG3wf6cCYMoP1wBVtrABQqb/meYCYwGOALNWm3GFKTBDcrjKc5wGEe3R7x+fiGCxVurpGn48I8Tj1kkWoC4+bsKJgCLHYdqeaB+kllfwxCYrCOizwxryv/k6/0KRLL0xii2DMQvO2AQT/gpGCJoo/Lj98XuM3xkw0YwZGKjJi+cTRRVIW/mFm4tH6hZUxjv8rMRULAMtbZMQVd04WV3vIDSlGp146Ev+Bc1QQ8MjYlldJENFfkY+JAGfTzfdA==
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=pxhO7SdbgRrrBtGwYeLsfuREdxsFbBIJhZCd+ZPjd8g=; b=IOWsimUXWwaA5PHMiYzONtk5jXttUoWnVXn6tc24zVpCe6kwNK7dEOAdQ0SDBoMmWVShR/I/1rF3CMu5PZ9vZ8MkOaMmGoIpta1ffbaYGizfE8L/eTKe0SLAymb4seF2MjQb02NBN31cvuV6FjKMM9YL5GZ778a/egiJabL3B/g7FlJnpSJI2djJxCijcugLrbAISLlBtBgpCeS+TLtbtzLELZjRiVcyECpaw8pKV0mCjlVfCLSOTdfiiFDqpcH2MaOD8RfRxv4V2xQzgIIYEQUD69t659egc0s4b9dwlm4rbZ5LIibfFVezXzCnO2eyc1N2B6iP9s8v/0D+b9iRnQ==
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=pxhO7SdbgRrrBtGwYeLsfuREdxsFbBIJhZCd+ZPjd8g=; b=UXBW0zkCNqelufSvFQCvATeEiGRnYmHlacy5sCmGbli7IOHuKVwbCXBI/yWrlvkkXupPj7NGxX9w0rZmkOI1fJKNd2WtSxl1RxIEaIacxlv4dpIrCPvptqYx7J2OGOTj/d2tgSKl5NvFP2xpFu+Dc169zLt/2rLzSFh4fUswIhI=
Received: from DM6PR11MB3803.namprd11.prod.outlook.com (2603:10b6:5:141::30) by DM6PR11MB4329.namprd11.prod.outlook.com (2603:10b6:5:201::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.17; Thu, 4 Feb 2021 09:40:57 +0000
Received: from DM6PR11MB3803.namprd11.prod.outlook.com ([fe80::ecaf:ec3b:12eb:d335]) by DM6PR11MB3803.namprd11.prod.outlook.com ([fe80::ecaf:ec3b:12eb:d335%6]) with mapi id 15.20.3805.028; Thu, 4 Feb 2021 09:40:57 +0000
From: "Huimin She (hushe)" <hushe@cisco.com>
To: 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+tnW4nSwmAqnH0OPpMU1bjMGqw==
Date: Thu, 04 Feb 2021 09:40:57 +0000
Message-ID: <53213D6A-2693-4E6F-98D7-93B9C32826E2@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.44.20121301
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2001:420:588c:1252:dd3b:661d:38d9:9ae3]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f9608497-d74b-4117-9570-08d8c8f0f9a1
x-ms-traffictypediagnostic: DM6PR11MB4329:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DM6PR11MB43294F5CAFB1A47B40EE4307A3B39@DM6PR11MB4329.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: YjAZf+osvtsj043rV6LKUsUn2j2z3AbD8DblWWGSrIurPA9aaTfHICQO/scepRlzFzEU4aPO7t10/UoahfcVhO7olp2/xdew9UIZcUrQLqBr/2uxjhCh9wVu+q5bEAOXDG5p3o7LnsjVEHP74BgyQu5hE4LISUxfU6RczVcejflftninpu+qkuof/dPcuv5GJ+zHh53YuxeTiwU6boyaS4mpJ94vHKhjEfH7AoYQy6bYTU/74IzHGYS01VoNiKeJU6obYZfW4nyocvoP7S7U/avYUSUxDE5pnbf/pn+x9R+nJaDlp+nRUvwTzu4hGZmQwNacHpMweBCYUu1YSfxC03Ox2IWJhK4HLN+i0OVadJPyViQUZs9ViQtx6G42nzFDR489e84xdkyoh7z72WDoinFHt3Z3ztQ9dlu7rgZbliUYFPGkPpAfYo0pCPQTWoC39FP5wkTgAAgy+ecIaS0IvmA2x6VBdeMyo38Lwbmco8xyJvuUhRuH/aCB6nJptD1ocsW9usxtg/Hi4gPJZEZSIB2ugiJMPz8E1AE8vxARms9/h0X8MW26qdnN99+YLxLqxuIzAjYJLqY+TFhxjj1ZV/CJ1oJPk1rjvSyteEXdGd/7nnKUr3yVZAfUxAUbWObPJpkiY6+67Nz8NRDWhxkFTA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3803.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(396003)(346002)(39860400002)(136003)(366004)(186003)(2616005)(8676002)(86362001)(2906002)(6486002)(33656002)(71200400001)(83380400001)(966005)(8936002)(6506007)(36756003)(478600001)(5660300002)(316002)(64756008)(110136005)(54906003)(66446008)(66476007)(66556008)(66946007)(6512007)(107886003)(4326008)(91956017)(76116006)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: pc3xOUAp68Pf03KBOL4kAcPCCOpDf3Q6DTQjRJZHcBvD0x2ORYc15Mdor7ilfrWKM68usKHjhwzQbqLKnubdq7fQeATSMSTpUhnfWMKVBgw/pA6vbMeo7NL+O6vzObJJgf8kp3gNdI21f2o2UTXVprTrGeuQBQwrXlnWSo1D6llBZsY5Xx2YW7tvh/zygUbv2mWDw0OwcrTRaeUH2O3aJWA3LEkQDzyYYWIreHo2mEFXP5UMpNEt8s2bwi+POb+sR+PDFD6Ya9cXbtX0ybcOjJgfozW6t0AokL8eGvIZm6SLKSOdu6ngm4c1Mtct1/6jCBlTzwl11jCkOcHeIAr1bOUeHakRZq/DCNHYP3RzKoMnzfcAur5tU3cuOFjFz3Ci8d8eIZ1R2QZSxKVp4ON4DJodN8vmQxFZw7dK2LUP6i2KMVroLhNcp6iA1+klVH/zOLazJYN0oDEPy8hfp88t+nl7pDIoQMUDOFKxTvtb3UdxdmRs15WsFeH2GZAcDQ1BJWa9fOwiOYmrgoCk92NJFzix9GEhwb0QPwslrxfNlXoCfAYH/ceAYYEZYapjkpTG4ZgpSZ3DgKYLW/sIiu+oEG+oiZ5dMcP3xIe2C3OXNAgtUxHBnAIDDnQkXf7VS+Vz9ZgOMgCcHaogF/TNjS1Zu/DbQJp+dfuS8a3MYqIe0nURSQDp+Uj6NEF221Fb2oHeV9f81lGzjNLcpLSGlauvXHb+V387rcQheFLELglf6+k7GFM07EMI+37pbrTbj2EfE9EMBY7a1VYME93XYATmBsdVhkqFdy8uCoVY1wsxOF8PMbC9yCdZE4sYHmSGbkBq3e+afDm6vTcaUyiqLsVxOUTPEvpdNtIZDagWNM38taaP/QaNsAabu++sDBR9LPixtEoyut3n2UbASceBEFpSKYBz30oie2FxYuOvoQqrdSz7A1Fs9+/9cIC0n0xn8WiaZigNzEoQI0xFWZj2VtPrBvs02ZyCvTqQsGN1mnfykMZvdJLs8q/sCgSZxLbURMg+SlPky/ZbbhOMbZMYu2vRzImgnTFtdUuhDAgQgf2xCDcWL75wcS0DHNhcauXKq79gjO95mGLrsPaRHEQTcuUkyPcAIndzfLtNXFAVRXrkiZb7QmDZvl6ZLYWNg49jx+NJ6mDy7U5nejqxDAxBzQVzaQ==
Content-Type: text/plain; charset="utf-8"
Content-ID: <A5DB8E92AD76AF46ADE914AE88D764A0@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3803.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f9608497-d74b-4117-9570-08d8c8f0f9a1
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2021 09:40:57.5089 (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: utqPwj8iJO3DYpT9aSDgilvkmMpzRYRFudjDHGm3YOgWT3DKnEenK/7uXw4AweLj
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4329
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.14, xch-rcd-004.cisco.com
X-Outbound-Node: alln-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/39iPlUB4i2ywqHMddTO8Rj7IYvg>
Subject: [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 09:41:09 -0000

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    [