Re: [Roll] Unaware-leaves - ND-Status and RPL-Status linkage

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Tue, 10 March 2020 15:04 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 90A393A149E; Tue, 10 Mar 2020 08:04:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.597
X-Spam-Level:
X-Spam-Status: No, score=-9.597 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.001, RCVD_IN_MSPIKE_WL=0.001, 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=G3N1Yadh; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=Ol/A/P9d
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 SgZwDxUXUE8S; Tue, 10 Mar 2020 08:04:30 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AACF13A1461; Tue, 10 Mar 2020 08:04:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=25930; q=dns/txt; s=iport; t=1583852670; x=1585062270; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=VaeTilMrHXAPj6TD+0f29zLt6uVIElPNwbB2SNz8uvo=; b=G3N1YadhBGfwmcz+JzAFcdleqHFhkhhuaOkAITDv7XHdacqUV6OYGoap Wy/59ATBXaBubUvpKaFyoV552vDrayQNbj0mRw7tZswOH+A5lARTf+aUh FUfs0RbGofp2Nzsj8Y6EcebhOCSvyh66Cb+9LYY4DicOQxjdR+mg4Xr7I I=;
IronPort-PHdr: 9a23:a9X8ehAw6BLbcSY3T689UyQJPHJ1sqjoPgMT9pssgq5PdaLm5Zn5IUjD/qs03kTRU9Dd7PRJw6rNvqbsVHZIwK7JsWtKMfkuHwQAld1QmgUhBMCfDkiuNOLqciY3BthqX15+9Hb9Ok9QS47z
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AlAgAerGde/4cNJK1lGwEBAQEBAQEFAQEBEQEBAwMBAQGBe4ElAS5QBWwPSSAECyqHWgOKcIJfgQGIYo4yglIDVAkBAQEMAQEfDgIEAQGEQwKCBiQ4EwIDAQELAQEFAQEBAgEFBG2FVgyFYwEBAQEDDAYbEwEBJRIBDwIBCA4DBAEBASAHByERFAkIAgQOBQgRCYJ/BAKBfU0DLgEOnioCgTmIYoIngn8BAQWFEw0LggwDBoE4jCwagUE/gRFHUYFHBy4+ghtJAQECAYE6CiArCYMNgiyNazCIQ4JNlj9ECoI8h1SKXoRVgkqIJJBMhEiIc4E+iH2CMZAkAgQCBAUCDgEBBYFpIg2BS3AVgydQGA2OHQwXg1CFFIVBdIEpixWCQgEB
X-IronPort-AV: E=Sophos;i="5.70,537,1574121600"; d="scan'208,217";a="489826463"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 10 Mar 2020 15:04:25 +0000
Received: from XCH-RCD-005.cisco.com (xch-rcd-005.cisco.com [173.37.102.15]) by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 02AF4NZd024732 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 10 Mar 2020 15:04:23 GMT
Received: from xhs-aln-001.cisco.com (173.37.135.118) by XCH-RCD-005.cisco.com (173.37.102.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 10 Mar 2020 10:04:23 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-aln-001.cisco.com (173.37.135.118) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 10 Mar 2020 10:04:23 -0500
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 10 Mar 2020 10:04:22 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tc2BAGGFl76FcbcFcZgoMeKCnGfpywoGU5qkhRoJC2JHglPToeKYuivfKdVJg7kwM08TJHKi/Owr897JLUzkOxSG+5wx/9e93Tns6Ry1vlqmPtI/14Q3I4IZAAszwUp+Pmrxt3d6/Meh97RHZplVM3dX2dBHxfJaN5OsXRb1nDRbwg5pYqXbmc0kUDAhuvrG1n9He0mSQcFd9qcXvbQfLH/tv4t9OdqG0LNyCbPMWGlwdvoAgDr/T4KAzAJa0a8TSyhfwMlrQg33qoZuKV3gsNPP6Sf6nW4FhNrn5gpr46XREtOqVDnaJmb18H3RRiZBp2T0qJdCMsaLEJWkal5IfQ==
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=3PCQtZbEEKloLjWNmNoaavTEVZHAMhoMUjzu2gwwKTo=; b=k4hE3Xp/LdkgDHQvPpSPJUD/nHZlYYt6fxvHs1HaByduMn5uW1MUibQwqMJqtjqV/SrPY/Kns3fGbmEygpo/Qeyt2Jxs6+gIo4w+M9mpT5QmD535SOvE2iEFqGlbK2hWp/f1vjcCMiqSBDpeAOTFTpMTtwxQZ4ypu8uMxXJTC53D+luRld58bnnHtD5rk5BooRs0HKzWMPoALXTzKs+IUJAmwTOyqwaa9Y++UDuYXBALFNU2K+WHLb7tJ/4N8F79flRHgQdtSlSrq4kjz5z3BDQMTmWGdy+wPIRjH/+X8zzxievoL1YUpkdwftZTxb4gnc1scO8TdXlyH67lypJ6FQ==
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=3PCQtZbEEKloLjWNmNoaavTEVZHAMhoMUjzu2gwwKTo=; b=Ol/A/P9d8E3+sfzLHQvROk89cBkcEIBaTujwllDFl59PQG/mtZh5dUVAFuxSKEN1d1JLp8eZZuX3D+RCDXINgiGnyQVjqpGXLMTU/JWv996f7z8db6ExnpuG0LMxB62Pq/PSpX9e6nkL8W2iwtGpfgCfOobdiRZa/ju+JrY421U=
Received: from MN2PR11MB3565.namprd11.prod.outlook.com (2603:10b6:208:ea::31) by MN2PR11MB3951.namprd11.prod.outlook.com (2603:10b6:208:13b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.14; Tue, 10 Mar 2020 15:04:22 +0000
Received: from MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::edba:2b0f:7341:2c24]) by MN2PR11MB3565.namprd11.prod.outlook.com ([fe80::edba:2b0f:7341:2c24%6]) with mapi id 15.20.2793.018; Tue, 10 Mar 2020 15:04:22 +0000
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Rahul Jadhav <nyrahul@outlook.com>, Routing Over Low power and Lossy networks <roll@ietf.org>
CC: "6lo@ietf.org" <6lo@ietf.org>
Thread-Topic: [Roll] Unaware-leaves - ND-Status and RPL-Status linkage
Thread-Index: AQHV65j7GPZZWofsCUyTIQk82a8tYqhB68TAgAAOF4CAAAEfcIAABkiAgAAAaCA=
Date: Tue, 10 Mar 2020 15:04:07 +0000
Deferred-Delivery: Tue, 10 Mar 2020 15:03:50 +0000
Message-ID: <MN2PR11MB3565A4749C425EDD4FF91FECD8FF0@MN2PR11MB3565.namprd11.prod.outlook.com>
References: <CAO0Djp1K18CGXv+YC9H4qgCgyH=fkon4ihFAUmgfKwdYQy38dQ@mail.gmail.com> <MN2PR11MB35657EDC8F8FBF9EB5359A57D85B0@MN2PR11MB3565.namprd11.prod.outlook.com> <25979.1576604888@localhost> <MN2PR11MB356572131554810FF88AC01ED8500@MN2PR11MB3565.namprd11.prod.outlook.com> <CAO0Djp0XEM+h366FhOA5BtCGaa+R=aLz2CJyUSysPKMrJG9gnA@mail.gmail.com> <9584.1577428097@localhost> <CAO0Djp1HqK9k4n9GRbAhotFRXhHtOhhSpHYnms0b6NsorCtDUw@mail.gmail.com> <CAO0Djp04YKwCH=cRnaBCEC9v2RAm4D-=yvk_R701Jsd5TEh9VQ@mail.gmail.com>, <MN2PR11MB3565EA29346BC0948B97E57BD8FF0@MN2PR11MB3565.namprd11.prod.outlook.com> <MAXPR0101MB129041793453F361119F746CA9FF0@MAXPR0101MB1290.INDPRD01.PROD.OUTLOOK.COM>, <MN2PR11MB3565F40E5ABE7875715F2B93D8FF0@MN2PR11MB3565.namprd11.prod.outlook.com> <MAXPR0101MB12900F8E88A5A29D59929D54A9FF0@MAXPR0101MB1290.INDPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <MAXPR0101MB12900F8E88A5A29D59929D54A9FF0@MAXPR0101MB1290.INDPRD01.PROD.OUTLOOK.COM>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pthubert@cisco.com;
x-originating-ip: [2001:420:44f3:1300:e4c6:fe46:f3c4:7a34]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 30e1e12e-05b3-42d6-e897-08d7c50450e1
x-ms-traffictypediagnostic: MN2PR11MB3951:
x-microsoft-antispam-prvs: <MN2PR11MB3951A6217DE4C3EC2EB5EBFFD8FF0@MN2PR11MB3951.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 033857D0BD
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(136003)(346002)(396003)(376002)(366004)(199004)(189003)(478600001)(2906002)(8936002)(55016002)(8676002)(45080400002)(6666004)(5660300002)(52536014)(71200400001)(110136005)(316002)(7696005)(81166006)(64756008)(81156014)(9686003)(76116006)(86362001)(53546011)(6506007)(33656002)(186003)(4326008)(66446008)(66556008)(66476007)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB3951; H:MN2PR11MB3565.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: R1o5Z20n71JrWchHqmqqjlnJXHBt79RSPkgNuqDuHPt+P2zuZvtIxl5vwKG4zOL9usd/Vf/tOx6wZ6i5S5p10tzvvHygtz901GjiP3xUVlhxSO7ccGv95+S/mlkHOp8A7aBOUuMbY5mEnTOFk7IpzclhX6p06VeNZIk7kvXunK8cxophGCQTRZBEm7HLsTdem1ROh19Xrq4+sJ/oLjqlCRNme9+3N7et6O+0c/3VBdnqS2qkJ1wMcWx1Gh2zWjIRv9CFomy1MtDRXUVceLGNebMRoDF0XoQOkabXGgOWEY/5/f09RevSFgJsuMYvxjI+3s6z3K8vM4yu/Efm0PEpUcRHi9SZUPo3WaLunR9NcyllzCRdNPmYbXasZ4gFWtMLip1kZiipETnC0lMj83uw2Cmze4BoBJTwFB1748BK5xHeEuMsO9M4HplvjS9VYCqe1QqNAtMLg78athUyAq1+ki8Yr3ra/qZGSkQQdK2OG4r3yUlw0z+qt/VJ16LOPKa1ZOl9kJ4MIiQJ4Kifdz5kuA==
x-ms-exchange-antispam-messagedata: sZHYI/l7HjRehWFx/C4S0mw70HQl9ts2jrl9M99Z1Z4CF+AL61qv5jxtY0qSFr9ltaBLCPaBLooJzDCmw0MIrzP74oJDzosp+JQvGua3Xi40L1BufdeWs2HD9zq3JD+iGyUVm+YONM0Eo6gQGTQUOIX7/dRhogfPz+vKbkUbgrOrbvCdTKUV742Qh6y4nDZLh6I9Ga42g7/c8b48TU4qAw==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MN2PR11MB3565A4749C425EDD4FF91FECD8FF0MN2PR11MB3565namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 30e1e12e-05b3-42d6-e897-08d7c50450e1
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2020 15:04:22.2808 (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: i8brIncWDLc6Zu4UqA8ELJXpznUcRDDaEXhLZ1Z1QxMz2Msr5JTyC3WEczYmr3UNgtrRGM0Gxu+gQPWfydqGSg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3951
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.15, xch-rcd-005.cisco.com
X-Outbound-Node: alln-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/-elwMWqXDxu42EeHzhLRNUfsbdY>
Subject: Re: [Roll] Unaware-leaves - ND-Status and RPL-Status linkage
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: Tue, 10 Mar 2020 15:04:41 -0000

That's the point in my first sentence Rahul. If all we want to carry is moved then we can use the 6lo status, no need to invent another value.
We need to invent values for RPL specific stuff only. Here it makes the life of the device easier if there's a single code for moved unless we need to know the difference

Pascal

From: Rahul Jadhav <nyrahul@outlook.com>
Sent: mardi 10 mars 2020 15:58
To: Pascal Thubert (pthubert) <pthubert@cisco.com>; Routing Over Low power and Lossy networks <roll@ietf.org>
Cc: 6lo@ietf.org
Subject: Re: [Roll] Unaware-leaves - ND-Status and RPL-Status linkage

Please find my comment [RJ] inline.

________________________________
From: Pascal Thubert (pthubert) <pthubert@cisco.com<mailto:pthubert@cisco.com>>
Sent: 10 March 2020 08:12 PM
To: Rahul Jadhav <nyrahul@outlook.com<mailto:nyrahul@outlook.com>>; Routing Over Low power and Lossy networks <roll@ietf.org<mailto:roll@ietf.org>>
Cc: 6lo@ietf.org<mailto:6lo@ietf.org> <6lo@ietf.org<mailto:6lo@ietf.org>>
Subject: RE: [Roll] Unaware-leaves - ND-Status and RPL-Status linkage


True, we could.



Note that we might understand the "A" bit differently. For me the flag means that the definition of the value is inherited from a 6lo spec, it does not mean that in runtime the status was imported from a 6lo message.



Now if the node moves to a different root that is attached to a different 6BBR, it will get 1100 0011 which is 195. If the node moves within the same root, the code will be whatever we decide here. Does the node really care which case that is?



Maybe we could use 195 as opposed to 130?



[RJ] Sorry, but I don't get this. Value 195 is a 6lo value i.e., the 'A' bit (2nd MSB) is set. The DCO-draft talks primarily about values when 'A' bit is not set i.e., about RPL related values only. The DCO draft normatively refers to unaware-leaves for values with 'A' bit set and for the definition of 'A' bit itself.

My understanding is, if a common ancestor node within RPL Instance generates DCO then the value is 130 ('A' bit is unset). If the DCO is generated because of 6lo operations (across 6BBR) then the value could be 195 ('A' bit set and lower 6-bits according to 6lo). Thus 130 value is ok in DCO-draft (in ROLL). Unaware-draft will talk about value 195.









2. RPL status code for DCO (currently 130)
RPL Status code of 130 in DCO indicates that the address has moved i.e., somewhere below/downstream in the sub-dodag the target has changed parents.

It was discussed that 130 may not be an appropriate value but when I checked again it seems all right.

 0
 0 1 2 3 4 5 6 7
+-+-+-+-+-+-+-+-+
|E|A|  Value    |
+-+-+-+-+-+-+-+-+

130 == 1000 0010

The E bit is set indicate rejection and A bit is unset to indicate non-ND value.

Thus 130 seems to be the right value.

Action Point? No change if this rationale is correct.



Pascal >  Moved is 3 in 6lo (https://tools.ietf.org/html/rfc8505)



       3   | Moved: The registration failed because it is not the most |

   |       | recent.  This Status indicates that the registration is   |

   |       | rejected because another more recent registration was     |

   |       | done, as indicated by the same ROVR and a more recent     |

   |       | TID.  One possible cause is a stale registration that has |

   |       | progressed slowly in the network and was passed by a more |

   |       | recent one.  It could also indicate a ROVR collision.



Pascal > If we say that Value is the 6Lo status we want 128 + 3, and get 131..  I think that's the point we wanted to make.

Dec  Hex       Oct        Bin

    131 83         203       10000011



Pascal > Same here, am I missing something here? Any comments?



[RJ] But the 6lo value is applicable only when 'A' bit is set. With 'A' bit unset, as is the case above, RPL is free to choose its own values for the remaining 6bits. Isn't it? I was assuming that the 6-bit registry will not be common between 6lo Status Code and RPL Status Code.





Take care,



Pascal



On Sat, 28 Dec 2019 at 12:36, Rahul Jadhav <rahul.ietf@gmail.com<mailto:rahul.ietf@gmail.com>> wrote:

On Fri, 27 Dec 2019 at 11:58, Michael Richardson <mcr+ietf@sandelman.ca<mailto:mcr%2Bietf@sandelman.ca>> wrote:
>
>
> Rahul Jadhav <rahul.ietf@gmail.com<mailto:rahul.ietf@gmail.com>> wrote:
>     >> > > You mean that we could change the ND status to 6-bits in the 6lo
>     >> WG?  > (I would have parsed ND status as being someing 6man takes care
>     >> of)
>     >>
>     >> Yes, or mandate that the 64 first Status values are reserved for stuff
>     >> that could be carried in RPL
>     >>
>
>     RJ> Wondering how such a mandate would work. IF we do it this way,
>     RJ> future extensions to ND ARO status need to consider whether they are
>     RJ> applicable to RPL and define accordingly. This implies familiarity in
>     RJ> 6lo/6MAN with RPL.
>
>     > I prefer the other approach where we restrict the ND ARO status to
>     > 64bits itself. Anyways using 128 bits in the future seems far-fetched
>     > (as indicated by Pascal before). But to limit ND ARO status to 64bits
>     > we need to convince the 6lo/6MAN group that "because of RPL" we need to
>     > reduce the size. I am not sure if this is easy to digest!
>
> I thought that we had 6-bits to store 64-values, while ND has 8-bits to store
> 256 values.  Please correct me if I mis-understood.
>

[RJ] Currently ND has 8bits to store 256 values ... RPL needs to carry
the same 8-bits but currently it has space only for 6-bits in RPL
Status field. But as of now only few values of ND status has been used
and using up 256 values (or for that matter 64 values) seem
far-stretched.
Thus one of the opinions is to limit the ND status to 64-bits and
carry as-is in the RPL status.