Re: [Roll] About measure DODAG size and priority

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Wed, 10 February 2021 08:10 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 93AAD3A0E17 for <roll@ietfa.amsl.com>; Wed, 10 Feb 2021 00:10:55 -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, RCVD_IN_DNSWL_BLOCKED=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=WGl0aEiI; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=HgjiGhLa
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 F2bMNC5uhP6c for <roll@ietfa.amsl.com>; Wed, 10 Feb 2021 00:10:53 -0800 (PST)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 666003A0E12 for <roll@ietf.org>; Wed, 10 Feb 2021 00:10:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4674; q=dns/txt; s=iport; t=1612944653; x=1614154253; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=zcUuOkfyCHIGHYnqi0hdWPbpQW6iPhvaoLWQNE9zyho=; b=WGl0aEiIKgiHA9vfm8WsjAYZom4zNvIfO6j16kyUyM3cX1tJg/xw2I2V qtxVfgwURqyVNJm4WsH9BlLyGsRyauaiVksZRSNsDb3T2j+LJcY0+KV4+ P/DaENqgfwkvtPHs7cDSv7EE5CYiAtAyKLCQrQnYBJntNnljnuNbMSC8c o=;
IronPort-PHdr: 9a23:OBGG+xZcbUhSIDI6WL0HNJD/LSx94ef9IxIV55w7irlHbqWk+dH4MVfC4el21QaTD4TW9/wCjPDZ4OjsWm0FtJCGtn1KMJlBTAQMhshemQs8SNWEBkv2IL+PDWQ6Ec1OWUUj8yS9Nk5YS8fze1OUpWe9vnYeHxzlPl9zIeL4UofZk8Ww0bW0/JveKwVFjTawe/V8NhKz+A7QrcIRx4BlL/U8
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0C8AAA7lCNg/5RdJa1iHAEBAQEBAQcBARIBAQQEAQFAgT0FAQELAYFSKSgHdlo2MQqHfwOOEQOZHIEugSUDVAsBAQENAQElCAIEAQGBVoJ1AoICAiU2Bw4CAwEBCwEBBQEBAQIBBgRxhWENhkMBAQEDAUABATgECwIBCBEDAQEBAScHMhQJCAIEEwiCaYJVAw4gAQ6kDQKKJXSBNIMEAQEGgUdBgwkYghIDBoE4AYJ1gmxQhwcmG4FBP4ERQ4FYUC4+gl0BAQIBAYFdg0iCK4FTB4FYUQIiYz8IDQUGB0BJnE+KfpAygRQKgnqJNpJzoyWfX5FzCIRQAgICAgQFAg4BAQaBXAUugVdwFYMkUBcCDY4fDBeBAgEHCAeCNYUUhUVzAjUCBgEJAQEDCXyKCAGBDgEB
X-IronPort-AV: E=Sophos;i="5.81,167,1610409600"; d="scan'208";a="769401036"
Received: from rcdn-core-12.cisco.com ([173.37.93.148]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 10 Feb 2021 08:10:52 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by rcdn-core-12.cisco.com (8.15.2/8.15.2) with ESMTPS id 11A8Aqsj009387 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for <roll@ietf.org>; Wed, 10 Feb 2021 08:10:52 GMT
Received: from xfe-aln-001.cisco.com (173.37.135.121) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 10 Feb 2021 02:10:52 -0600
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by xfe-aln-001.cisco.com (173.37.135.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Wed, 10 Feb 2021 02:10:51 -0600
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 10 Feb 2021 02:10:51 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SdRuI0+z6wiHsmHmVtq9p5EADN4wMYhapixkSTD5S+iUBS/6pM/zHfRr/8XU+w1o6yW0X8PyKrndB3RFQ7dcu8+6nqKhwDYxys1mAKdDtsGEhyO0uoPU3aO7gTpRuQnO7RfxAlGju6BMXXY2PmXVHH38z2lRbsJMU84IbqKsdyJ+t1SNJ+B0SsqtMeRdS6yWba5dTzItIqcvGMkSNZeZ+XwjNgsncapUDZ1d9DcDcjKRA+tdtr73hp++vMNdGYSI0A2wnDkNfHFWBs5PnIq9THSN9gT9G1X27LEZ+zQ82w+H85OtHuuz/ie4M1BKorOg1aMPEpPCd0/LYWAYg6KaJA==
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=zcUuOkfyCHIGHYnqi0hdWPbpQW6iPhvaoLWQNE9zyho=; b=JVsb0X/1epJDuZBO+XbR6EAdMfoHRv9/eI+soI7IdH0fcXzWUZo3TEMkdNJ+TxZvsAJDViQJekR2CuBD8Ldp5bcWM3UutpQViyWHjzW2eiWDciRhPBV/uEfFsSEobDAHu1gjrOE8pMMOA40oVY5bHOoxwBdrUQZFKX2gi5p+8kgVyJKwcqhs2kM0MZ+Qij1CbhL/Qrs3FN6HPmuHh2UtjggdzAj7Q8CmfRhkoq+EGGXnjX8GJ5Zf+cGn6ZVfoenLDtlAI3AA/IPIgvg3xA451W32ubit1S3j6UZR+zmVC15xFVJ90YLZGsWIr759RjOKHtY6dW/WUvfs+c3EnX7vbw==
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=zcUuOkfyCHIGHYnqi0hdWPbpQW6iPhvaoLWQNE9zyho=; b=HgjiGhLazrWs3DM5M5U7seFMDG52+nt+n75vmp48+iJ1E+o5cVLHOMQ2vMpxHydY/vRv2+rpcyTTgIsvy4q1qoqlm1hZ3yKlnUn5GTxV7GhWBLduFZrvoVf373YBE2lm/gSifPJWKv3D7E/e4T6+6rdYx/GhBLJNLCth4+88gtQ=
Received: from CO1PR11MB4881.namprd11.prod.outlook.com (2603:10b6:303:91::20) by MWHPR1101MB2269.namprd11.prod.outlook.com (2603:10b6:301:4d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.27; Wed, 10 Feb 2021 08:10:50 +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.038; Wed, 10 Feb 2021 08:10:50 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: [Roll] About measure DODAG size and priority
Thread-Index: AQHW/4Qw/GfMqYyFV0u0q1+b9uRjyg==
Date: Wed, 10 Feb 2021 08:10:26 +0000
Deferred-Delivery: Wed, 10 Feb 2021 08:10:11 +0000
Message-ID: <CO1PR11MB48816D0E8011567E4EA84DD2D88D9@CO1PR11MB4881.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> <PH0PR11MB49193A656F873725C2A24B0E8C8D9@PH0PR11MB4919.namprd11.prod.outlook.com>
In-Reply-To: <PH0PR11MB49193A656F873725C2A24B0E8C8D9@PH0PR11MB4919.namprd11.prod.outlook.com>
Accept-Language: fr-FR, 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: [173.38.220.51]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 89b67e73-0277-4706-b074-08d8cd9b613b
x-ms-traffictypediagnostic: MWHPR1101MB2269:
x-microsoft-antispam-prvs: <MWHPR1101MB226930E844BD6DD6906589BFD88D9@MWHPR1101MB2269.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: CL004IvOWc32itYZNGQ14bDrLGcSlteEPSLvvHqTCEJgXvXht8iDnljFroRlezFk96TSggM5+pnbV7CqyvlZ+fwtszlkkZDFaP9R2VNR42G7Pb4u/qAPcTlmb/8tyOdamptDHMO1kO+/Sl3HFeP69QEn1p6RUGbXcm8pynoRnO8zniR6HEqucI2ds6/qroACNqTYMeWcFk/Y/MC2zWmmW1CeSalUcd9JX6e1pd38jXEH/lDV5VcVtJi5Vpz4bv6VixQdabEcd/qKzppeijY6kjzNLxPji43qWPTaobaNIX0Mtirv0ZppddR+Pl04jmn5ZU2ZZTdvWh/Tw9Gr6gzzESVsbBoopYVenw34W88YpuRKCaooLRNaiaGm4pFBYQPwwBuIb05vTDW5cEL9bhORdWgbJBLhxDTf7bOb+LattHZvDHGJ6RK31rCEG+c9r8OCzkcJWNWjblCMUrtsFYP02AFDYio9d4NthAoCYQpToj3HsE4ibZhD0kQTquofdaYGd0Ur2AZ+n6GRqBV/T24uOr6diKAUnwIpVnG+czawuqwFEKWaTCjzvry14DKHq4ropsCfriiFZ3vwgYcGVkaJCAgyZ6Ylb4VMGwjG5hdQl7I=
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:(396003)(376002)(136003)(366004)(346002)(39860400002)(478600001)(5660300002)(8936002)(33656002)(966005)(55016002)(6916009)(66446008)(76116006)(66476007)(9686003)(66556008)(64756008)(2906002)(86362001)(66946007)(6666004)(71200400001)(52536014)(186003)(83380400001)(53546011)(6506007)(7696005)(26005)(316002)(8676002)(66574015); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: dCBgSKfZBtk24SdeUOZ7XY6z2Ls/G1LMh9WIEhFDy9t2KXl/PGi3rlWFViTYMdlh8kjZV78ZbmZS/W7dqe9F0Xq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+Y9FrI2yUpNy9Dx7uTqmsB4izYHU8AcoXneCG5pqMPTlOhfiGQLtX5bjz7u9szF0NDabCx+urhCsB6X/BoGLwVE6Pn34beXqKwf7vinp2Nr9OFLrKpngfzo9YjR7fSF50/CwmoKygTrWc/jsZRJmNjmdz95KZVgVKDNe38a
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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: 89b67e73-0277-4706-b074-08d8cd9b613b
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2021 08:10:50.6607 (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: w6ynulj/1ZPuammD44gsmLUPk/vhODBfJ3YsnkWMR/tXy7UQ8dIicll7HC8dKXBr54M+pmzW2pI72RFPOQKWGQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2269
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: rcdn-core-12.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/CeRg9rLmwABWcrqyyx6sWXcNFyM>
Subject: Re: [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 08:10:56 -0000

Hello Li:

Great questions. 

> In non-storing mode, whether the external routes should be included.
Ultimately that's the Root decision based on admin. We need to provide a default, I suggest that default is yes.

> In storing mode, routes are always aggregated. Root can't get correct route number.
They are typically not aggregated in the common sense (shorter prefix). They are collated but you can still count them.

> In mop 0, there is no DAO reported. So root can't get route number too.
True, we'll have to add text on this. 

Keep safe!

Pascal

From: Roll <roll-bounces@ietf.org> On Behalf Of Li Zhao (liz3)
Sent: mercredi 10 février 2021 4:13
To: roll@ietf.org
Subject: [Roll] About measure DODAG size and priority

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

Pascal Thubert (pthubert) <mailto: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 <mailto:mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide