Re: [core] Fwd: New Version Notification for draft-djamaa-core-proactive-rd-discovery-00.txt
Christian Amsüss <christian@amsuess.com> Tue, 02 April 2019 05:40 UTC
Return-Path: <christian@amsuess.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 42E3512004A for <core@ietfa.amsl.com>; Mon, 1 Apr 2019 22:40:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Z5RrsCUijJuF for <core@ietfa.amsl.com>; Mon, 1 Apr 2019 22:40:24 -0700 (PDT)
Received: from prometheus.amsuess.com (prometheus.amsuess.com [5.9.147.112]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7362C120049 for <core@ietf.org>; Mon, 1 Apr 2019 22:40:24 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com (095129206250.cust.akis.net [95.129.206.250]) by prometheus.amsuess.com (Postfix) with ESMTPS id 7349F40614; Tue, 2 Apr 2019 07:40:21 +0200 (CEST)
Received: from poseidon-mailbox.amsuess.com (hermes.amsuess.com [10.13.13.254]) by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 7522436; Tue, 2 Apr 2019 07:40:20 +0200 (CEST)
Received: from hephaistos.amsuess.com (unknown [213.208.157.36]) by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id 72ACB74; Tue, 2 Apr 2019 07:40:18 +0200 (CEST)
Received: (nullmailer pid 26795 invoked by uid 1000); Tue, 02 Apr 2019 05:40:17 -0000
Date: Tue, 02 Apr 2019 07:40:17 +0200
From: Christian Amsüss <christian@amsuess.com>
To: Badis Djamaa <badis.djamaa@gmail.com>
Cc: core@ietf.org, ali yachir <a_yachir@yahoo.fr>
Message-ID: <20190402054015.GA22410@hephaistos.amsuess.com>
References: <155413839109.17114.2318273093661309081.idtracker@ietfa.amsl.com> <CAPm4LDSHAPZ+9OeRD0tZbLK2MNpdcHnAv+pgfS159xr=pMFHxg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8"
Content-Disposition: inline
In-Reply-To: <CAPm4LDSHAPZ+9OeRD0tZbLK2MNpdcHnAv+pgfS159xr=pMFHxg@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/enqOicYvlJx_nQp_WJxD9y_dZKw>
Subject: Re: [core] Fwd: New Version Notification for draft-djamaa-core-proactive-rd-discovery-00.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Apr 2019 05:40:28 -0000
Hello Badis, On Mon, Apr 01, 2019 at 07:29:21PM +0200, Badis Djamaa wrote: > A new Internet-draft has been uploaded to IETF repository. The draft > proposes an announce-based mechanism that builds upon CoAP Group > Communication (GroupComm) to discover CoRE Resource Directories (RDs). thanks for sending this document; it describes a strategy I have not considered before. On first reading, some questions and remarks came up: * Ad Approach 6: This approach does not necessarily mean that the RD is deployed on the 6LBR, just that it can be discovered from it (eg. the 6LBR may announce `<coap://some.example.com/rd>;rt=core.rd`. Same goes for approach 7. * Ad 4.1.1: Where would the rd template value come from? * The DA generation process looks like every device is supposed to be a simple RD (that may be only capable of accepting a single registration, which is that of the actual ID), that is then replicated. Maintaining such replication seems to me to be quite a task for small nodes, especially if they're supposed to use the registration update interface and thus remember locations for each sub-PRD they registered to (though I'm not sure what is intended here, "SHOULD only contain the content and parameters that have been changed" seems to imply registration update, while 4.1.1 describes the registration interface which can't rely on previous registrations). The document may benefit from exploring alternatives here (even if only to confirm the conclusion that the approach taken is the right one), like using the Simple Registration interface (would answer the question ad 4.1.1) or setting the announcements up as nontraditional responses[1] (eg. notifications about an unspoken request to GET /.well-known/core?rt=core.rd. I can't tell whether that'd even be a good idea, that's yet to be seen). * I like to keep the resource directory as little a special-case as possible (see RD Section 3.1). In later stages of this document, it may be worth looking into whether there is anything in particular about RD announcements in it as compared to general link announcments. (Sure, there comes a point when not all resources can be announced proactively, and it makes sense to announce an RD as that provides all the other lookups, but maybe a single service is queried so often by each and every joining node that it makes sense to announce an RD *and* another link or two?) Best regards Christian [1]: https://tools.ietf.org/html/draft-bormann-core-responses-00 -- To use raw power is to make yourself infinitely vulnerable to greater powers. -- Bene Gesserit axiom
- [core] Fwd: New Version Notification for draft-dj… Badis Djamaa
- Re: [core] Fwd: New Version Notification for draf… Christian Amsüss
- Re: [core] Fwd: New Version Notification for draf… Badis Djamaa
- Re: [core] Fwd: New Version Notification for draf… Christian Amsüss
- Re: [core] Fwd: New Version Notification for draf… Badis Djamaa