Re: [core] Questions/Review on draft-ietf-core-resource-directory-12

Jim Schaad <ietf@augustcellars.com> Mon, 06 November 2017 15:21 UTC

Return-Path: <ietf@augustcellars.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 1976C13FC46; Mon, 6 Nov 2017 07:21:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=augustcellars.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 Bs29_oM2a8vB; Mon, 6 Nov 2017 07:21:24 -0800 (PST)
Received: from mail4.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF30C13FC3E; Mon, 6 Nov 2017 07:21:23 -0800 (PST)
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-us
DKIM-Signature: v=1; a=rsa-sha256; d=augustcellars.com; s=winery; c=simple/simple; t=1509981622; h=from:subject:to:date:message-id; bh=3iwHmiGf0uM6FcHLq9NcCxSrSN2UwMR6G8PD/pvY7U4=; b=OYAs0NmcpvG5JIzOLk9fEdsdZUy83m2n0Zcz2ZQAZWNOpDqRFtJdtwrgihRlG9SMUoJqiUdekNL eUiK5XAfl9HbzFSd0tjlKCQws5dwbnV6jjceibw0MEE8qEiqfCDUKCSVEQ1SYXHimUtOYXW3pRBfE natSOnGGoUkKPsfxMPXmfGwsxsgnm5hTdR4aqQXQRM+uvQ4nWuEDNR4PoDrawY7gYEnFSRVqea4bC lNdTi41+yy7jUF0VqJy2UXVqVCJMT1SK5vz3fH8UHId4qHmEuEBFBkJJaii8U6HBbZJvYYsbOreMP dUaMOBTswCCU2qOnc/zmTRHriz3WMpVc5PEQ==
Received: from mail2.augustcellars.com (192.168.1.201) by mail4.augustcellars.com (192.168.1.153) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Mon, 6 Nov 2017 07:20:21 -0800
Received: from Hebrews (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1263.5; Mon, 6 Nov 2017 07:20:17 -0800
From: Jim Schaad <ietf@augustcellars.com>
To: consultancy@vanderstok.org
CC: 'Christian Amsüss' <c.amsuess@energyharvesting.at>, draft-ietf-core-resource-directory@ietf.org, 'core' <core@ietf.org>
References: <01e301d352a7$fa605670$ef210350$@augustcellars.com> <20171102092710.ofnzgqtrgkagd2c5@hephaistos.amsuess.com> <02d101d35457$cae687f0$60b397d0$@augustcellars.com> <f427f7a9aa686f63f6d6fc0ecf00782d@xs4all.nl>
In-Reply-To: <f427f7a9aa686f63f6d6fc0ecf00782d@xs4all.nl>
Date: Mon, 06 Nov 2017 07:21:15 -0800
Message-ID: <00f701d35712$e5087180$af195480$@augustcellars.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQI2wro6bo3A21QBybHZKsa9hXq9QAHVHnO5ASW6iesCqhoLDaITeB5w
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/HKps8856AamzeMTM7TT8qiBr78Y>
Subject: Re: [core] Questions/Review on draft-ietf-core-resource-directory-12
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.22
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, 06 Nov 2017 15:21:32 -0000

Peter,

In the current design it is easy for the RD to understand the remoteness of
an included endpoint, it would have a full URL to a different RD rather than
having a partial URL which resolves against the current RD.

That said, I am not in favor of the idea because of the searching problems.
I would rather just have a specialized synchronization API in a different
document.  (Which might be as easy as - I will publish any updates to the
following list of people.)

Jim


> -----Original Message-----
> From: peter van der Stok [mailto:stokcons@xs4all.nl]
> Sent: Monday, November 6, 2017 12:41 AM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: 'Christian Amsüss' <c.amsuess@energyharvesting.at>; draft-ietf-core-
> resource-directory@ietf.org; 'core' <core@ietf.org>
> Subject: Re: [core] Questions/Review on
draft-ietf-core-resource-directory-12
> 
> Hi Jim and Christian,
> 
> The discussion on a set of RDs is rather worrying to me.
> I do understand the remark by Jim that the end-points composing a group
could
> be stored on different RDs than the RD handling the group registration.
> The RD is not aware of the remoteness of the eps and the client has to
handle
> the distribution.
> It is not different from registering anchors to different hosts.
> 
> However, envisaging a set of RDs implies many protocols to keep entries
> synchronized and handle communication errors.
> I hope I misunderstood the intention of Christian.
> 
> Greetings,
> 
> Peter
> 
> >> On Tue, Oct 31, 2017 at 05:25:50PM -0700, Jim Schaad wrote:
> >> > 1.  When creating a group registration, can the link to an endpoint
> >> > be on a different resource directory?  This second RD could be
> >> > either on a different machine or on the same machine (i.e. coap vs
> >> > coaps).  If the answer is no, then do we need to think about some
> >> > type of relation attribute in the case that multiple are listed
somewhere?
> >>
> >> I like to think so (having a more distributed model in mind), but we
> > haven't
> >> discussed it yet.
> >>
> >> As for the specification, I think we should say that the CTs
> >> operating on
> > the tool
> >> working on the group "SHOULD refer to the endpoint registrations
> >> either as
> > a
> >> path-absolute relative reference (if it obtained the reference from
> >> the
> > Location
> >> option when it conducted the registration itself), or use the
> >> reference as serialized when it obtained the location from an
> >> endpoint lookup from the same RD origin".
> >>
> >> This leaves the door open for federating RDs (where some endpoint
> >> registrations are located at another RD host, but still available for
> > lookup at the
> >> closest host), but discourages blind mixing of registration entities
> >> from unrelated RDs.
> >>
> >> (Discussion about this can go continue on-list, but for tracking
> >> purposes
> > it's
> >> tracked at [85] too).
> >
> > I really like the idea of being able to have entries in a group be on
> > a different server, right up to the point where I start trying to
> > implement the search algorithm that you have specified.  At that point
> > my code is suddenly making lots of potential queries to the other RD
> > in order to find out if some parent/child is going to have the
> > attribute that I am looking for.
> >