Re: [Roll] DAO Projection - identifying storing, non-storing P-DAO

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Wed, 13 June 2018 09:25 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 E4499130EF1 for <roll@ietfa.amsl.com>; Wed, 13 Jun 2018 02:25:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, 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
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 XbHmnTqwmgZ6 for <roll@ietfa.amsl.com>; Wed, 13 Jun 2018 02:24:58 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 612A2130EB3 for <roll@ietf.org>; Wed, 13 Jun 2018 02:24:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2336; q=dns/txt; s=iport; t=1528881898; x=1530091498; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=7u97BjJN4X17oEhuALrABOdL673OSyHGaycnSnaheKM=; b=jRaSBV6Z2cMRxu/cSwTTW/u2DKhHVHAr1rpk+XHTe58CWBFGRt/6ugxf FdbFuXXJYxPZviEhextiDJIZja8FDP7Au6tiz3V1sA4L2QJ61PgIv9UJn dXaIeDDbn2fWLbHenS/0SgkPq2YyQR11rRp6JsQEsNFzJXatjzMCjDQ30 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DRAAC94SBb/5xdJa1SChkBAQEBAQEBAQEBAQEHAQEBAQGDSGJ/KAqDb4gEjGmBf4gYjE+BeAsjhEkCF4IgITQYAQIBAQEBAQECbRwMhSgBAQEBAyMRUQQCAQgRBAEBAwImAgICHxEVCAgCBBMIgxyBZwMVD6x/ghyHCw2BLIFjBYELhz2BVD+BDoIPUC6CT0ICgTUPQoJbglUCmFwsCQKFcoYAgn6NO4oKS4ZBAhETAYEkHTiBUnAVgn6FfYpSb41SKoEEgRoBAQ
X-IronPort-AV: E=Sophos;i="5.51,218,1526342400"; d="scan'208";a="128390196"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2018 09:24:57 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id w5D9OvYg018741 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 13 Jun 2018 09:24:57 GMT
Received: from xch-rcd-001.cisco.com (173.37.102.11) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 13 Jun 2018 04:24:57 -0500
Received: from xch-rcd-001.cisco.com ([173.37.102.11]) by XCH-RCD-001.cisco.com ([173.37.102.11]) with mapi id 15.00.1320.000; Wed, 13 Jun 2018 04:24:57 -0500
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Rahul Jadhav <rahul.ietf@gmail.com>, Routing Over Low power and Lossy networks <roll@ietf.org>
Thread-Topic: DAO Projection - identifying storing, non-storing P-DAO
Thread-Index: AQHUArmPOlwhv4EjZEKQ3Ahw70fS1aRd5u6w
Date: Wed, 13 Jun 2018 09:24:31 +0000
Deferred-Delivery: Wed, 13 Jun 2018 09:24:00 +0000
Message-ID: <6b16c897762d4f979b8302022c79bf79@XCH-RCD-001.cisco.com>
References: <CAO0Djp1n9oQ3wDD0TFJZqKD70ZBHP5rXac+Hz7xzS88aQGnYsA@mail.gmail.com>
In-Reply-To: <CAO0Djp1n9oQ3wDD0TFJZqKD70ZBHP5rXac+Hz7xzS88aQGnYsA@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.228.216.15]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/roll/P3tPaTVzWxvOpchlggQhWghmDAc>
Subject: Re: [Roll] DAO Projection - identifying storing, non-storing P-DAO
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.26
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, 13 Jun 2018 09:25:02 -0000

I agree Rahul, 

I picked that method as a starting point but as I presented at the IETF meeting I do not like it either, and it would be great that the group come up with something better.

Would you have a particular preference based on your experience here?

Pascal


> -----Original Message-----
> From: Rahul Jadhav <rahul.ietf@gmail.com>
> Sent: mercredi 13 juin 2018 03:55
> To: Routing Over Low power and Lossy networks <roll@ietf.org>; Pascal
> Thubert (pthubert) <pthubert@cisco.com>
> Subject: DAO Projection - identifying storing, non-storing P-DAO
> 
> Hello Pascal, WG,
> 
> When i started implementing storing mode P-DAO, i faced one problem, ... as
> per the draft the only way to identify storing P-DAO from non-storing P-DAO
> is that storing P-DAO has at-least 2 VIOs whereas non-storing P-DAO has only
> one VIO.
> The problem with implementation is that i need to traverse the whole P-DAO
> before i know whether it is storing or non-storing P-DAO and populate the
> route table accordingly. This way either i have to buffer VIO/via temporarily
> and then act. Otherwise i have to have a 2-pass traversal through the P-DAO
> to check whether it is storing or non-storing first and then act on the fields in
> later pass.
> 
> If we can have a flag somewhere in the P-DAO header to signal storing or non-
> storing then it would make implementation much simpler.
> 
> For interested ones, part implementation of DAO projection code is at:
> https://github.com/whitefield-framework/contiki/tree/dao_projection
> It currently supports registration/unregistration of projected routes using
> non-storing P-DAO with +/- ACKing.
> 
> Regards,
> Rahul