Re: [core] πŸ”” WGLC for Resource Directory

Badis Djamaa <badis.djamaa@gmail.com> Wed, 22 May 2019 13:22 UTC

Return-Path: <badis.djamaa@gmail.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 38C7312004F for <core@ietfa.amsl.com>; Wed, 22 May 2019 06:22:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Ytzg5u9HccBg for <core@ietfa.amsl.com>; Wed, 22 May 2019 06:22:50 -0700 (PDT)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9F99D120033 for <core@ietf.org>; Wed, 22 May 2019 06:22:49 -0700 (PDT)
Received: by mail-lf1-x130.google.com with SMTP id n134so1660583lfn.11 for <core@ietf.org>; Wed, 22 May 2019 06:22:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=posx3TvxLfFZ6jFg3l3QMVQ2JTCuz7ypTGmI/BcvMps=; b=F269q3AEAQB5UgxAn3pndxGLwlMKhf0KBZnaselWFtYjV64iflJRBzVJsNixktpPnX u+TcwLiKuwF3C8O1/19mzyCOmeowu4mcf432lThcSxyJ5pi+BUxvgDkvqvFDGdHRb+p3 7tNy5NbgLn/S4MUFFkhjLkk2Rr4EHRDeJEFainPz26VLswmlD2bfHmixr+Yib1ON8z+6 rn7pl3Q/MF9m8KgwAKtjpx/VFNJ+LduRYFKo3/dyliWBc5i6zLHIRtLRg3jdbiM6wuRd AARdEkHD3HVNYa6tBw2ZBpkDtlHtGPUfmybOuWdFU9DXl5ceASHrdFoLZcr/Hh0dggAb uvUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=posx3TvxLfFZ6jFg3l3QMVQ2JTCuz7ypTGmI/BcvMps=; b=P612lwJXqD1klIB/6Iv5PLtcMAzKWg/Igkj8QKThQzrDWszIHn73VmzuMowWZB8tH4 NtMZoFuLx4ZAGRbAd7E0XWdDbfmfZjdafpwU3ZrKcuGso6Nj2PlBVVtKrq7ukIMB1xMo ZZ8agU1gNi8dm3yTXN2rPJJjB+HXXl3qcBwIAyaQWU3gF6UwDMYjjJCPv4ejLWvXYu+n S364X3mot8mEP8YYWRHJM2mLIYmWexhTiybJCVd0DavlrGiJoKYDttW1S2LBJEXW2kW8 m51JKRWmFWYS+bBZ0exY9aWUKiLjuC7XHvR07oSr4GG5XChOO9LPbLA0L2BqZwZxQug/ T/8A==
X-Gm-Message-State: APjAAAV/yjB4CIVwkPXR+aoB9+ou+LP08Pvh++h40GkbV8MBsSwEWwrA TixLIN3IqMHxjghbbL++y3jjdmY7twy1XFPoca0=
X-Google-Smtp-Source: APXvYqyU8iPJ+Y6ke94NxwHnDpT9MRDem/Rkka4tCrVWSGanacWnrv/6wWg+g3TZreeaWYv5Ztnv8LRZLf+RTGebrMw=
X-Received: by 2002:ac2:5626:: with SMTP id b6mr18464209lff.82.1558531367931; Wed, 22 May 2019 06:22:47 -0700 (PDT)
MIME-Version: 1.0
References: <AM5PR0701MB230754CF5CD643B6B7DC1A7697420@AM5PR0701MB2307.eurprd07.prod.outlook.com> <EBFF17D7-86DF-4C3E-B69E-EF69206A6D17@fugue.com> <02585a832a91742de93f6d311259ae61@bbhmail.nl>
In-Reply-To: <02585a832a91742de93f6d311259ae61@bbhmail.nl>
From: Badis Djamaa <badis.djamaa@gmail.com>
Date: Wed, 22 May 2019 15:22:08 +0200
Message-ID: <CAPm4LDRvt6gicgr3cgd37mo64YiGzEjPv_crYu6W12WSC_Ef-A@mail.gmail.com>
To: consultancy@vanderstok.org, Christian AmsΓΌss <christian@amsuess.com>
Cc: Ted Lemon <mellon@fugue.com>, Stuart Cheshire <cheshire@apple.com>, core@ietf.org
Content-Type: multipart/alternative; boundary="0000000000008e9913058979dcf4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/RQ83CbK4VYp1yJ-YrIUC-E0mUA4>
Subject: Re: [core] πŸ”” WGLC for Resource Directory
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: Wed, 22 May 2019 13:22:52 -0000

Dear Chairs, RD authors, members,

Thank you for raising this point concerning section 4 of CoRE-RD draft.
Indeed, besides the diversity of options, there are also performance
issues, especially with the CoAP resource discovery approach. To deal with
this, we have proposed a new announce-based mechanism to discover RD
server(s) [1]. Section 1.3 of [1] points out some potential shortcomings of
section 4 of CoRE-RD and motivates the need of an announce-based mechanism
that can be generalized to announce other links (please see the discussion in
[2]).

[1]: https://tools.ietf.org/html/draft-djamaa-core-proactive-rd-discovery-00
[2]: https://mailarchive.ietf.org/arch/msg/core/s8bjwXJeipCm2PNkE_mS16GGBFw

All the best,
Badis


On Wed, 22 May 2019 at 11:04, Peter van der Stok <stokcons@bbhmail.nl>
wrote:

> Hi Ted,
>
> thanks for your comments, and apologies for the late reaction.
> Some discussions were needed.
>
> please see below;
>
> Greetings,
>
> peter
>
> Ted Lemon schreef op 2019-03-25 14:06:
>
> On Mar 21, 2019, at 5:32 PM, Jaime JimΓ©nez <jaime.jimenez@ericsson.com>
> wrote:
>
> Please take some time to carefully review the latest version and provide
> feedback by *2019-04-17* , specially those of you that contribute to
> other organisations that make use of some version of the document.
>
> Carsten asked me to look at the CORE server discovery text.   It mostly
> looks good, although I don't understand why there are so many options.   If
> the intention is to have different profiles for different types of
> constrained networks, it would be good to say that explicitly.   It doesn't
> make much sense to pre-configure *devices* to discover the resource
> directory using different mechanisms.   If that is really what is intended,
> then how this is going to be managed should be discussed.
>
> <pvds>
> The intention is not to specify a set of normative profiles but to guide
> implementers and users of the resource directory, dependent on their
> installation. The text can be used to check the presence of at least one of
> the mentioned facilities before installing and using a resource directory
> in a given installation. We think this text is helpful because
> installations can be very different and many bundary conditions need to be
> satified in, for example, a building control installation.
> The text of section 4.1 is proposed to be:
>
>   A (re-)starting device may want to find one or more resource
>    directories for discovery purposes.  Dependent on the operational
>    conditions, one or more of the techniques below apply.  The use of
>    DNS-SD [RFC6763] is described in [I-D.ietf-core-rd-dns-sd].
>
>    The device may be pre-configured to exercise specific mechanisms for
>    finding the resource directory
> </pvds>
>
> The text about DNSSD is somewhat problematic:
>
>
>    3.  It may be configured to use a service discovery mechanism such as
>        DNS-SD [RFC6763 <https://tools.ietf.org/html/rfc6763>].  The present specification suggests configuring
>
>        the service with name rd._sub._coap._udp, preferably within the
>
>        domain of the querying nodes.
>
>
> DNSSD works by first enumerating services, then choosing a service from
> among those services, then connecting to that service.  It looks like the
> idea here is that the default server name will be "rd", but that isn't
> stated explicitly.   Some discussion about how devices are suppose to
> choose between advertised RD servers is necessary here.   If the intention
> is that only one RD server ever be present or discoverable, then you could
> say that enumeration is not done at all, but then this isn't much different
> than just using DNS to resolve the hostname.
>
> <pvds>
> We intend to broach this subject in the rd-dns-sd draft. Point 3 in
> section 4.1 of RD draft is therefore suppressed.
> Indeed the procedure for discovering a dns-sd service is the one you
> describe.
> Extra text is needed in rd-dns-sd draft to cover the case that not only
> the services described in the RD are discoverable via DNS but also the RD
> itself.
>
> Thanks for pointing this out
> </pvds>
>
> Based on the discussions that I've had in certain other standards bodies
> on how to use Core RD, I think that leaving this very loosely specified is
> probably not the right thing to do.   If in fact the intention is that
> other per-network-type specifications will decide how Core RD servers will
> be discovered on networks of the type discussed by those specifications,
> then this document should be written to explicitly support that use.   If
> this is the case, what is said here isn't general enough.
>
> I'm writing this with the goal of starting the discussion, rather than
> saying what needs to be said, because I haven't been privy to the
> discussion that led to the text as it is written in the current document.
> It would help to understand what the authors/wg had in mind when this text
> was written.
>
> Thanks!
>
> Thanks,
>
> Peter
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>