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

Ted Lemon <mellon@fugue.com> Mon, 25 March 2019 13:09 UTC

Return-Path: <mellon@fugue.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 B594C1204A3 for <core@ietfa.amsl.com>; Mon, 25 Mar 2019 06:09:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.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 N6BR3sNYMxBH for <core@ietfa.amsl.com>; Mon, 25 Mar 2019 06:09:56 -0700 (PDT)
Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 7F05F12045A for <core@ietf.org>; Mon, 25 Mar 2019 06:09:56 -0700 (PDT)
Received: by mail-wr1-x42c.google.com with SMTP id o1so10033669wrs.13 for <core@ietf.org>; Mon, 25 Mar 2019 06:09:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=UkYwa1wfXRw6YwNHlyypAgMD6F7TeqKrNxOGZhCp/G0=; b=1+k43an8kA/d1OSwBQGqycrYzkA+4ZGKG8RoEqYyNdj9lRHLscRxjSyXKx8cXNVPE6 R5ZufqzSbAJCIyQFr+h1fGRjYuOYKXQhBXlL1wrbh+OpfPww4y4T6E9yBgQOCjn8a5DT FUAsDO4A3koZZmAwuvEiKTRn0zEDv3WybsNnBCWae0JY6Fvs41VTCgLqhnKc3KJ1XOL7 Avmx2JsEaOH1+bpJ335zPn6L/yzI75U92dTyuzouzBARPBK7J87AL/md3vP7QiXS6e2w fHcjhszKNGx16WXUgn8OarQSeuBkMZekmW0SJFXtggv30h6+VydVgembXnSn05ZwrtpQ ZeNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=UkYwa1wfXRw6YwNHlyypAgMD6F7TeqKrNxOGZhCp/G0=; b=Y5ByR4afXOxzRVEUNPTXHSbD/zghRnubcGMkaTG3fSRCaY/FgP0Syxbr3s5zOGmfag yRwmDCMoB1rAmqc6Td+h66scFpLaeRzJOFYdf5T/X4jHPZjiHCOVOl6hM9Yk5ZGm698q nKQZWVO1n3nvsgWz5R52X3BqN6waU9Ph8hYTKtb8g8RWJisrZxEirpG6bhW5lkFl4oah Jx/Q/pi8r+QvITN5jJ3sRySey+PUF+7a9ooCcXoCfINTuurpM1XsVZgPBvJunzTajxtz DbUR93U09GrABsKvbwGbwFA+7D/QSzQgUX4nD2+Upw/2ZJg0YEKNtHJou7X+XnZCqRXc Nekg==
X-Gm-Message-State: APjAAAWYiZLD2SJuw5A9eyZ8AePB/CGmFLlPr1RoVPa10E1uTgbU1PhU vvuJC91c9u7w9qZg1ZLVOC60l7rRt4JXGAla
X-Google-Smtp-Source: APXvYqw8+VxVSS/48ylI/3nIwINUiS0ySnH/trOAEsJ68tV/n+0Eg6FOUlpCutmjt3QAsnBHtmpdzw==
X-Received: by 2002:a5d:5343:: with SMTP id t3mr16256151wrv.49.1553519394694; Mon, 25 Mar 2019 06:09:54 -0700 (PDT)
Received: from dhcp-889a.meeting.ietf.org (dhcp-889a.meeting.ietf.org. [31.133.136.154]) by smtp.gmail.com with ESMTPSA id z13sm13374133wrw.36.2019.03.25.06.09.53 for <core@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2019 06:09:54 -0700 (PDT)
From: Ted Lemon <mellon@fugue.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_0912EE40-CAD7-4568-A0AD-FE161B00C759"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.2\))
Date: Mon, 25 Mar 2019 14:09:52 +0100
References: <AM5PR0701MB230754CF5CD643B6B7DC1A7697420@AM5PR0701MB2307.eurprd07.prod.outlook.com> <EBFF17D7-86DF-4C3E-B69E-EF69206A6D17@fugue.com>
To: "core@ietf.org" <core@ietf.org>
In-Reply-To: <EBFF17D7-86DF-4C3E-B69E-EF69206A6D17@fugue.com>
Message-Id: <669A037D-5400-4D0A-A14D-C672E4698D2B@fugue.com>
X-Mailer: Apple Mail (2.3445.104.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/8aWgEBjYmNPdlTTIgVFmWr_4rlY>
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: Mon, 25 Mar 2019 13:10:00 -0000

Another thing to add here is that the spec also proposes using RA or DHCP to tell the client what RD server to contact.   However, in practice it appears that different IoT frameworks use different RDs.   If it is ever going to be the case that more than one IoT framework is in use on the same link, which I suspect is likely, then a method for differentiating between these is necessary.   This means that whatever is offered by DHCP or RA would need to have server address/tag pairs, rather than just addresses, with the tags used to select the RD server based on the IoT framework that is in use by a particular device.

> On Mar 25, 2019, at 2:06 PM, Ted Lemon <mellon@fugue.com> wrote:
> 
> On Mar 21, 2019, at 5:32 PM, Jaime JimΓ©nez <jaime.jimenez@ericsson.com <mailto: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.
> 
> 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.
> 
> 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!
>