[Roll] About measure DODAG size and priority

"Li Zhao (liz3)" <liz3@cisco.com> Wed, 10 February 2021 03:13 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 607453A1285 for <roll@ietfa.amsl.com>; Tue, 9 Feb 2021 19:13:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.619
X-Spam-Level:
X-Spam-Status: No, score=-9.619 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, HTML_MESSAGE=0.001, 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=a/jdcJ+5; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Mbcx+vIu
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 PpbfsR-w5xyB for <roll@ietfa.amsl.com>; Tue, 9 Feb 2021 19:12:58 -0800 (PST)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD0013A1284 for <roll@ietf.org>; Tue, 9 Feb 2021 19:12:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11723; q=dns/txt; s=iport; t=1612926778; x=1614136378; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=UlUWJmw2mqykuJ/9w2AR+CGg3t0Jzp8dvtEKwPEtQ5c=; b=a/jdcJ+5p6+gkb+rGZqfAceUcdKX9UYnAYo0du1g5OYFlQdt10GQ29lE M6nNL3Paf1wyjd9C1/OLSn+ldyNRDJBQhtW+98B6JxS+6sy4AMnLceIBF nsRQlLAHnHb4sPRjT5cBbi5eZLrpexdkGKgwgGvo4U+XEDuzAYUD5NnL+ g=;
X-IPAS-Result: A0AdAQAMTiNg/4ENJK1iHQEBAQEJARIBBQUBQIE9BgELAYEiMCkoB3ZaNjEKh38DjhADlCmEc4EugSUDVAsBAQENAQElCAIEAQGBVoJ1AoICAiU2Bw4CAwEBAQMCAwEBAQEFAQEBAgEGBHGFYQEMhkMBAQQBQAEBOAQLAgEZAwECAS4yHQgCBBMIgmmBflcDDh8BAQ6kDAKKJXSBNIMEAQEGgUdBgwEYghIDBoE4AYJ1gmxQgxSDcyaCG4ERQ4Iog0kBAQIBAYFdK4MdgiuBU4FfUQIiYz8IEgYHQElWAZounHqBFAYEgnoEiTKSc6MlOpN6iyuRc4RYAgICAgQFAg4BAQaBXAsogVdwgW6BS1AXAg2OHwwXgQIBBwgHgjWFFIVFcwI1AgYBCQEBAwl8iggBgQ4BAQ
IronPort-PHdr: 9a23:WxwLnxVk2I8hc3gOmiPzI4KqcOTV8LGuZFwc94YnhrRSc6+q45XlOgnF6O5wiEPSBNyBufNJl+SQtLrvCiQM4peE5XYFdpEEFxoIkt4fkAFoBsmZQVb6I/jnY21ffoxCWVZp8mv9PR1TH8DzNFzfvnP06iQdSV3zMANvLbHzHYjfx828y+G1/cjVZANFzDqwaL9/NlO4twLU48IXmoBlbK02z0jE
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.81,166,1610409600"; d="scan'208,217";a="643588191"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 10 Feb 2021 03:12:57 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by alln-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id 11A3CvK6022679 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Wed, 10 Feb 2021 03:12:57 GMT
Received: from xfe-rcd-005.cisco.com (173.37.227.253) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 9 Feb 2021 21:12:57 -0600
Received: from xhs-aln-001.cisco.com (173.37.135.118) by xfe-rcd-005.cisco.com (173.37.227.253) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Tue, 9 Feb 2021 21:12:57 -0600
Received: from NAM04-DM6-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 9 Feb 2021 21:12:57 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TWxJEDI9LRt6O39A61c10d9sKzBkf42w5g9BCi0kNUSa5yukT6H9SciAmqSQ+4C57FWx2l7mLqFR6GLfNDY0uLXXameMivf2MlbkZxupdNif0USJicVqM6IXhpnHgMYPYq0xvY3mGCR34RO6Xm8VKfa50zH/nN00UHqFxf9puNf+ZE0kBX7Cqsx+yLQBPHW2ScOcEVwHutKxHHTrSSovdBQohLDQ1hdrN1vlHj4VszwyNaFCtoOj1BxHN5YKJcF7RkrBDyHm7g9gHC2DqkmlnvouT2dhyG2KSaNzHzDquTvUlMgGpG5xK8G3O6YyH21uy1Z2KfT00SVB6lI+0we4fw==
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=Uzz6l9EF4iZfpNzuiihvUytbFrBheyVSFT9LzgXuh/w=; b=aWOGdSAWIGtQSxFSiCQpqPQBqFFMvZcPfXV5jx61wxD17Z8SEmlqUGRlb13TSwaGfrlHZIm5U6O/ZdBaTzvsMBAYSVW18P3XnbBNOMf1ryPaQrMVtEFdx6fip69uok60EtVLQjUaCKCUsZ2HV7mPbwkc/djFbzbYmyUgOXgxbyEgd38OnhCzjTN3e2+cBBA7WFJbwYHQdHZsGT0a/nLmJkXanB6OR+yHAWAkBugfS8fGe5rYXcLKgtsXqBwPQgAvV7+vpxrCfwx1NNHbPRH3NC4J35O5Hbg75OgtVnXMZpe7MV2hbZMUtqyVBGWxEzr+Xb0DssR/rFIqdmcSM2yPwg==
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=Uzz6l9EF4iZfpNzuiihvUytbFrBheyVSFT9LzgXuh/w=; b=Mbcx+vIuazspsHQulj18KI2mLtp/Dm3Caw15Zwt/mDQbnygRyoMUjZyU1gY/cY/apeBYuD2YjFRJLL9pFNdok5+GuOY91Y6Mlmg2WC52pwm/5aF+z0N6pgenv1n/UbNTs08ZQ8LkR00NNCheANx1qAKCIZeTEtM4e2Vs4hpRLRc=
Received: from PH0PR11MB4919.namprd11.prod.outlook.com (2603:10b6:510:34::12) by PH0PR11MB4869.namprd11.prod.outlook.com (2603:10b6:510:41::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.23; Wed, 10 Feb 2021 03:12:56 +0000
Received: from PH0PR11MB4919.namprd11.prod.outlook.com ([fe80::507d:f909:b91b:95c7]) by PH0PR11MB4919.namprd11.prod.outlook.com ([fe80::507d:f909:b91b:95c7%4]) with mapi id 15.20.3825.030; Wed, 10 Feb 2021 03:12:56 +0000
From: "Li Zhao (liz3)" <liz3@cisco.com>
To: "roll@ietf.org" <roll@ietf.org>
Thread-Topic: About measure DODAG size and priority
Thread-Index: AQHW/1qg1+6xY8i+r0mfjbSkto6HyA==
Date: Wed, 10 Feb 2021 03:12:56 +0000
Message-ID: <PH0PR11MB49193A656F873725C2A24B0E8C8D9@PH0PR11MB4919.namprd11.prod.outlook.com>
References: <53213D6A-2693-4E6F-98D7-93B9C32826E2@cisco.com> <CO1PR11MB488127E6CC71362E8BE2E205D8B39@CO1PR11MB4881.namprd11.prod.outlook.com> <28613.1612455125@localhost> <CO1PR11MB4881B45B84DEEAB6F51E811AD8B29@CO1PR11MB4881.namprd11.prod.outlook.com>, <21397.1612648565@localhost> <8441343A-075F-418D-8E18-825D8A8A8FA9@cisco.com>, <30635.1612663873@localhost>
In-Reply-To: <30635.1612663873@localhost>
Accept-Language: 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: [124.78.10.105]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: d326f993-f62d-43f1-7203-08d8cd71c327
x-ms-traffictypediagnostic: PH0PR11MB4869:
x-microsoft-antispam-prvs: <PH0PR11MB48691BBB4AA62AC7B82CA8508C8D9@PH0PR11MB4869.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: DggwJaMMBOuZz0xhDtceAosPqRhfzUtrX742CAA8gcyYGbvfFJGUNw4Hgc6tzZnfbSqxWuj3R4SrHCThRTcP5uqYPQ+6KMjYjpIPdWHWdftxEeVXNGqE2JlolwtDZaXICSD2p/asJx9I+dnnmM6/H7sdrYID4oWVIWjzpzh0PFzNlbKiVzeEHADiZvwRY3MALZUF9p5SQGdrkoTm3aBouWjAgX25ENe9ZZ43pZZaMS4p6hGApSmY6fLi1nMhYkJTVmezHItxwjh4DfEdSF4gJ3RrSHmHqjNMZRl7Irfm3Rohy8MxRWb1RvV4dhAVGVfvEdapTBu4m+8qxM2wcjQy2wII/AAWnhByyHwBIL69HhwRJBSXNXWz87qxEHUclKhQMarpfZUdBBiXiU1vEoLLYTW0QwuZvCQT3tL7G6q09AKa7D7U0RAAQ8b8OLvEo6W2mLs2DzZpOiwoVxf0AIA+n6+PQ2heK8TCA/URi78QB733eXHpi5mo46abVIEJKJ+y6A5R47nAaGXJ/Xrq3EFnqCp7mr5Zuatfxm0BZwgmV/3sgN3iQ9asZiqH8nFeNjLaVSEgkxgJQwvzAxCY6UTEyhRq0mbqYVwB98BhbaRzvRh4WmDh0ose/7qGHmNe3DCS27R3Oj1eT+G7jE1Ctg+5cg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB4919.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(136003)(376002)(346002)(39860400002)(396003)(33656002)(316002)(7696005)(6916009)(8676002)(5660300002)(66574015)(71200400001)(166002)(64756008)(52536014)(26005)(83380400001)(186003)(86362001)(9686003)(478600001)(8936002)(66446008)(4743002)(91956017)(76116006)(55016002)(53546011)(2906002)(66946007)(966005)(6506007)(66476007)(66556008)(88722002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: c1dirmTm2q5PhOArS7DQjNZGWe87O5Q4QNPSDOS3XcWkMPAtGiRdS0HMWWNutkqoDpzDGXnOSLtFSnhAkVBd9ITS+z+XLoW/Ui9Q/PmsIAXOU9RkmTczmusLlwlFv8uL8H/jrNmPLYAti1NBJYavMr3VXeaAchPHG6JpxosJFBaU4nQum9nstS2OELMg2YTlDlYfIX2U1t+cGYDpXyHfTHToo3KTVfqFnMQQl9jSTO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Zr5etwmoVXe66S9qP+ZlAFNX+MTLQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_PH0PR11MB49193A656F873725C2A24B0E8C8D9PH0PR11MB4919namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB4919.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d326f993-f62d-43f1-7203-08d8cd71c327
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2021 03:12:56.1159 (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: kRP//T9TJKQgKX4MDXe8A7XLjI7LbnEYmtEyE0bySNVDeJt1tQ9bfT4jvqjy5eLU
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4869
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: alln-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/-MqqxvTW-3bM5F4k4qH7n5FaxYM>
Subject: [Roll] About measure DODAG size and priority
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: Wed, 10 Feb 2021 03:13:01 -0000

Hello Michael/Pascal,

If we measure DODAG size in terms of number of routes,  probably we should consider:
In non-storing mode, whether the external routes should be included.
In storing mode, routes are always aggregated. Root can’t get correct route number.
In mop 0, there is no DAO reported. So root can’t get route number too.


Another problem is how to indicate the priority value, currently roots don’t sync any rpl information, we can’t make sure single root can get the correct priority. For example, if root A knows there is another root B with higher uplink throughput and fewer route number, A could lower its priority.


Best regards,
Li


From: Roll <roll-bounces@ietf.org> on behalf of Michael Richardson <mcr+ietf@sandelman.ca>
Date: Sunday, February 7, 2021 at 10:11
To: roll@ietf.org <roll@ietf.org>
Subject: Re: [Roll] About merging two RFC drafts: draft-ietf-roll-enrollment-priority and DODAG size

Pascal Thubert (pthubert) <pthubert@cisco.com> wrote:
    >> Your text puts both values into a single Metric.  I was thinking it
    >> would be two metrics, but upon reflection, it probably does belong in
    >> a single metric object.
    >>

    > Not sure what you mean by this. Same record ?

Yes, I mean, you've extended the single metric object to have two things.
We could have created two metric objects at a small byte cost.
More flexibility, but maybe more than is actually needed.

    >> What would an appropriate default be if the metric is introduced in
    >> the middle of the DODAG?
    >> https://datatracker.ietf.org/doc/html/draft-ietf-roll-enrollment-priority-03#section-2.1

    > Not sure it should be ; that’s the text I commented out and wanted to
    > discuss with you. My initial understanding was that it didn’t happen
    > but rereading I found the text allowed it. Same as above allowing that
    > it is injected in the middle raises many questions for which I have no
    > answer like on which occasion that happens, and what sense it makes. Eg
    > the dodag size cannot be invented by a node in the middle;
    > realistically not can a meaningful priority for the same reasons.

So my reason to including it mid-DODAG is because, otherwise, we have to use
capabilities or something to figure out what happens when the root is
emitting it, and it's not getting to the leaves.

    doc> The size of the DODAG is measured by the Root based one the DAO
    doc> activity. It represents a number of routes not a number of nodes,
    doc> and can only be used to infer a load in an homogeneous network where
    doc> each node advertises the same number of addresses and generates
    doc> roughly the same amount of traffic
    >>
    >> I really that we would measure in terms of number of routes.

    > You mean nodes not routes? Sadly we have no way to know that, do we?

I really like that we could measure routes easily, so lets use that.

    pt> I'm concerned that the undocumented/future behavior will create
    pt> comments at the IESG.  My observation is that we should either define
    pt> the process fully or not mention it at all.
    >>
    >> I concur that we will get comments, and yet, I think that we really do
    >> want to allow for "future work".

    > More than comments; they ask for crisp specification, backward
    > compatibility and security issues...

Yup.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide