Re: [core] Benoit Claise's No Objection on draft-ietf-core-etch-03: (with COMMENT)
peter van der Stok <stokcons@xs4all.nl> Thu, 13 October 2016 13:58 UTC
Return-Path: <stokcons@xs4all.nl>
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 3547C1298D1 for <core@ietfa.amsl.com>; Thu, 13 Oct 2016 06:58:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.621
X-Spam-Level:
X-Spam-Status: No, score=-2.621 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=unavailable 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 p_joPld14DAM for <core@ietfa.amsl.com>; Thu, 13 Oct 2016 06:58:07 -0700 (PDT)
Received: from lb3-smtp-cloud2.xs4all.net (lb3-smtp-cloud2.xs4all.net [194.109.24.29]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 973671298CE for <core@ietf.org>; Thu, 13 Oct 2016 06:58:03 -0700 (PDT)
Received: from webmail.xs4all.nl ([194.109.20.212]) by smtp-cloud2.xs4all.net with ESMTP id v1y01t00S4aYjWA011y0l8; Thu, 13 Oct 2016 15:58:01 +0200
Received: from AMontpellier-654-1-168-251.w92-145.abo.wanadoo.fr ([92.145.35.251]) by webmail.xs4all.nl with HTTP (HTTP/1.1 POST); Thu, 13 Oct 2016 15:58:00 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Date: Thu, 13 Oct 2016 15:58:00 +0200
From: peter van der Stok <stokcons@xs4all.nl>
To: Benoit Claise <bclaise@cisco.com>
Organization: vanderstok consultancy
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <147636111873.2840.15922934637733990470.idtracker@ietfa.amsl.com>
References: <147636111873.2840.15922934637733990470.idtracker@ietfa.amsl.com>
Message-ID: <22c969b1603799a0cfd6bb73217c719c@xs4all.nl>
X-Sender: stokcons@xs4all.nl (2HqHKl2iaOy8alcTsNOh3upP5BJ/06wa)
User-Agent: XS4ALL Webmail
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/m0-9soHyAf1cVq2Q9JkOYjYq6lY>
Cc: draft-ietf-core-etch@ietf.org, core-chairs@ietf.org, The IESG <iesg@ietf.org>, core@ietf.org, jiangsheng@huawei.com
Subject: Re: [core] Benoit Claise's No Objection on draft-ietf-core-etch-03: (with COMMENT)
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: consultancy@vanderstok.org
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: Thu, 13 Oct 2016 13:58:09 -0000
Hi Benoit, Thanks for your extensive comment. It contains very valuable feedback. Although you write that your comment exceeds the etch boundaries and refers to CORE as a whole, many of the commented subjects have my name on it. Therefore, I will answer some of your comments and trust that Carsten will expand and complete. See below, please. Benoit Claise schreef op 2016-10-13 14:18: > Benoit Claise has entered the following ballot position for > draft-ietf-core-etch-03: No Objection > > When responding, please keep the subject line intact and reply to all > email addresses included in the To and CC lines. (Feel free to cut this > introductory paragraph, however.) > > > Please refer to > https://www.ietf.org/iesg/statement/discuss-criteria.html > for more information about IESG DISCUSS and COMMENT positions. > > > The document, along with other ballot positions, can be found here: > https://datatracker.ietf.org/doc/draft-ietf-core-etch/ > > > > ---------------------------------------------------------------------- > COMMENT: > ---------------------------------------------------------------------- > > [reflections on core, as opposed to actionable items for the document] > > Coming back to Alissa's DISCUSS and Sheng Jiang's OPS DIR review: > > This Standards Track document defines a new CoAP methods, FETCH, to > perform the equivalent of a GET with a request body; and the twin > methods > PATCH and iPATCH, to modify parts of a CoAP resource. This document is > well written. I don't see any major issues from the operations and > management perspective. It is almost ready to be published. There are > one > of potential major (the word potential means I don’t really sure how > serious it may be) comments from me: > > In section 2.5, it raises an issue that “a FETCH request cannot be > generated from a link alone, but also needs a way to generate the > request > payload.” From the discussion text, I am not sure whether there are > existing way to generate the request payload or not. And I am not sure > whether the FECTCH method needs a standard such way to be able to work > or > not. If the answer for my first question is no, or the question for my > second question is yes. Then we probably have an major issue here. I > wish > my suspecting is wrong. <pvds> The answer is a bit less black and white. A draft is in preparation that describes the payload format for the FETCH request in context of CoMI and CoOL. I expect that more drafts in the future will describe payload formats for FETCH requests. </pvds> > > I would like to make sure I understand (with my OPS background,): > - COAP (RFC7252) is about HTTP GET, POST, PUT, DELETE for constrained > nodes and constrained environments > - draft-ietf-core-etch specification specifies the new CoAP methods, > FETCH, PATCH and iPATCH, which are used to access and update parts of a > resource. > - CBOR (RFC7049) is the binary encoding of JSON for COAP. And for > draft-ietf-core-etch, I guess? <pvds> YES, but not exclusively. </pvds> > - There are two data modeling language in CORE > YANG: draft-ietf-core-yang-cbor-02 provides the mapping for YANG > data > models > encoding: CBOR > SenML: draft-ietf-core-senml-02 provides Media Types for Sensor > Markup Language > encodings: JSON, CBOR, XML, EXI > > Good so far? <pvds> I am sure Carsten can elaborate on those in more detail For my part, you are absolutely correct. </pvds> > > Coming to Alissa's DISCUSS: > > It seems that FETCH is not a useful operation unless the server is > capable of understanding what it is supposed to fetch. So it's not true > that "any" media type can be used, but rather only those media types > for > which a definition exists for what the fetch parameters indicate and > which part of the resource they are intended to delineate. Shouldn't > the > use of FETCH be constrained to such media types? > > So what we're missing for this to work is the equivalent of RESTCONF > for > constrained nodes/networks > - Either "CoAP Management Interface", draft-vanderstok-core-comi-09 > (btw this draft expired...) > - Or Constrained Objects Language, draft-veillette-core-cool-02 > Note: COMI is mentioned in the draft, but not COOL <pvds> CoMI will be the basis that uses FETCH, PATCH, iPATCH; CoOL will expand on that </pvds> > > Is this what is meant behind? <pvds> yes, and other applications beyond </pvds> > > it is > outside the scope of this document how information about admissible > media types is obtained by the client > > > > There is a clear parallel with RESTCONF (REST-like) and the CORE work: > > NETMOD/NETCONF > CORE > Data Modeling Language YANG > YANG or SenML (*) > Data Models YANG Module > YANG Module or SenML (*) > Encoding XML, JSON > CBOR for YANG, JSON/CBOR/XML/EXI for SENML > Protocol HTTP for RESTCONF > COAP > Mgmt Protocol RESTCONF/NETCONF COMI > or > COOL for YANG, for SenML?? (**) > > (*) not sure if SenML is a data modeling language or data models > (**) not sure if a specific mgmt protocol for SenML > > Please let me know. > > Regards, Benoit > > > _______________________________________________ > core mailing list > core@ietf.org > https://www.ietf.org/mailman/listinfo/core
- [core] Benoit Claise's No Objection on draft-ietf… Benoit Claise
- Re: [core] Benoit Claise's No Objection on draft-… peter van der Stok
- Re: [core] Benoit Claise's No Objection on draft-… Benoit Claise
- Re: [core] Benoit Claise's No Objection on draft-… peter van der Stok