Re: [core] Fwd: New Version Notification for draft-shelby-core-resource-directory-05.txt
"Kovatsch Matthias" <kovatsch@inf.ethz.ch> Wed, 22 May 2013 13:44 UTC
Return-Path: <kovatsch@inf.ethz.ch>
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 44E0221F85C0 for <core@ietfa.amsl.com>; Wed, 22 May 2013 06:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lvWNvCG80tsR for <core@ietfa.amsl.com>; Wed, 22 May 2013 06:44:26 -0700 (PDT)
Received: from edge20.ethz.ch (edge20.ethz.ch [82.130.99.26]) by ietfa.amsl.com (Postfix) with ESMTP id AE54021F90DF for <core@ietf.org>; Wed, 22 May 2013 06:44:25 -0700 (PDT)
Received: from CAS21.d.ethz.ch (172.31.51.111) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.2.298.4; Wed, 22 May 2013 15:44:09 +0200
Received: from MBX20.d.ethz.ch ([fe80::81a7:b7a5:50c0:df0d]) by CAS21.d.ethz.ch ([fe80::55ba:c4a5:d8a7:ab62%10]) with mapi id 14.02.0298.004; Wed, 22 May 2013 15:44:16 +0200
From: Kovatsch Matthias <kovatsch@inf.ethz.ch>
To: Zach Shelby <zach@sensinode.com>, "core@ietf.org WG" <core@ietf.org>
Thread-Topic: [core] Fwd: New Version Notification for draft-shelby-core-resource-directory-05.txt
Thread-Index: AQHOE6XNkp3KdorFAESwYk0teFZTYZkRoC1A
Date: Wed, 22 May 2013 13:44:15 +0000
Message-ID: <55877B3AFB359744BA0F2140E36F52B514EE7819@MBX20.d.ethz.ch>
References: <20130225221311.17677.1216.idtracker@ietfa.amsl.com> <4E6A77E7-7F78-41B5-BE13-A261D6EA836C@sensinode.com>
In-Reply-To: <4E6A77E7-7F78-41B5-BE13-A261D6EA836C@sensinode.com>
Accept-Language: en-US, de-CH
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [193.10.67.36]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [core] Fwd: New Version Notification for draft-shelby-core-resource-directory-05.txt
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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 2013 13:44:30 -0000
Dear Zach, dear list I was looking at the draft to clean up the experimental implementation included in Californium. Thereby I stumbled over the following things: 4. Simple Directory Discovery: I think it should be clearer that POSTed links do not end up in the RD's /.well-known/core resource as absolute URIs. Giving a Location in the 2.01 Created response should fix that. Some reference to the lifetime of the RD entry and the possibility of periodic validation might be useful here. 5.1. Discovery: The IP part overlaps with "4.1. Finding a Directory Server." Maybe this can be separated into a common section before the simple and function set RD. "discovering the RD using the CoRE Link Format (also see Section 4.1)" is also a bit confusing. I guess this is referring to multicast discovery, so this should be mentioned directly (possibly in this new section mentioned above). 5. Resource Directory Function Set: I was wondering what should happen when someone performs a GET on the EP location, e.g., GET /rd/4521. Can we provide something useful there? Otherwise the document should hint that GET should be disallowed in this context. 7. RD Lookup Function Set: The link </ep> in the responses to the domain lookup feels odd. Or maybe it is artificially pressing the domain list into the Link Format... I would at least expect links to the rd-lookup where the domain information can be used (analogous to a ct attribute where the requester can also pick from a list): </rd-lookup/res>;d="domain1 domain2" Should "d" and the other attributes (ep, gp) be proper link-extensions? I guess we have to, if we want application/link-format to define the RESTful interaction including the filtering with attributes. How does "gp" relate to draft-ietf-core-groupcomm? 9. Security Considerations: A forward reference or the mentioning of access control should already be provided in the function set definitions. These random numbers under /rd/ lured me into thinking of them as access tokens. But they are quite bad for this purpose... General: The sub-resources of rd-lookup defined by a URI Template somehow conflict with my current understanding of REST. (Sorry for bringing up this topic again...) ./res, ./ep, and ./d are never linked from anywhere and cannot be discovered. So it is a classic service coupling. Should we just live with that or can we fix this somehow, e.g., with separate rt attributes and entries in /.well-known/core? Otherwise the RD is quite nicely built around the CoRE Link Format media type. Ciao Matthias > -----Original Message----- > From: core-bounces@ietf.org [mailto:core-bounces@ietf.org] On Behalf Of > Zach Shelby > Sent: Monday, February 25, 2013 23:17 > To: core@ietf.org WG > Subject: [core] Fwd: New Version Notification for draft-shelby-core- > resource-directory-05.txt > > I have posted a new version of the RD draft, now including group support, > alignment with the OMA Lightweight M2M standards work and improved > interfaces. Thanks to Esko and Peter for help with the group support. > > Regards, > Zach > > Begin forwarded message: > > > From: internet-drafts@ietf.org > > Subject: New Version Notification for > > draft-shelby-core-resource-directory-05.txt > > Date: February 25, 2013 11:13:11 PM GMT+01:00 > > To: zach@sensinode.com > > Cc: srdjan.krco@ericsson.com, cabo@tzi.org > > > > > > A new version of I-D, draft-shelby-core-resource-directory-05.txt > > has been successfully submitted by Zach Shelby and posted to the IETF > > repository. > > > > Filename: draft-shelby-core-resource-directory > > Revision: 05 > > Title: CoRE Resource Directory > > Creation date: 2013-02-25 > > Group: Individual Submission > > Number of pages: 27 > > URL: http://www.ietf.org/internet-drafts/draft-shelby-core- > resource-directory-05.txt > > Status: http://datatracker.ietf.org/doc/draft-shelby-core-resource- > directory > > Htmlized: http://tools.ietf.org/html/draft-shelby-core-resource- > directory-05 > > Diff: http://www.ietf.org/rfcdiff?url2=draft-shelby-core-resource- > directory-05 > > > > Abstract: > > In many M2M applications, direct discovery of resources is not > > practical due to sleeping nodes, disperse networks, or networks where > > multicast traffic is inefficient. These problems can be solved by > > employing an entity called a Resource Directory (RD), which hosts > > descriptions of resources held on other servers, allowing lookups to > > be performed for those resources. This document specifies the web > > interfaces that a Resource Directory supports in order for web > > servers to discover the RD and to register, maintain, lookup and > > remove resources descriptions. Furthermore, new link attributes > > useful in conjunction with an RD are defined. > > > > > > > > > > The IETF Secretariat > > > > -- > Zach Shelby, Chief Nerd, Sensinode Ltd. > http://www.sensinode.com @SensinodeIoT > Mobile: +358 40 7796297 > Twitter: @zach_shelby > LinkedIn: http://fi.linkedin.com/in/zachshelby > 6LoWPAN Book: http://6lowpan.net > > > > > _______________________________________________ > core mailing list > core@ietf.org > https://www.ietf.org/mailman/listinfo/core
- [core] Fwd: New Version Notification for draft-sh… Zach Shelby
- Re: [core] Fwd: New Version Notification for draf… Kovatsch Matthias
- Re: [core] New Version Notification for draft-she… Zach Shelby