Re: [core] Benoit Claise's No Objection on draft-ietf-core-etch-03: (with COMMENT)
Benoit Claise <bclaise@cisco.com> Tue, 18 October 2016 10:08 UTC
Return-Path: <bclaise@cisco.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 814381299F6; Tue, 18 Oct 2016 03:08:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.953
X-Spam-Level:
X-Spam-Status: No, score=-14.953 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 OZhZkeR6KDMf; Tue, 18 Oct 2016 03:08:31 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 39DA61299F3; Tue, 18 Oct 2016 03:08:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6289; q=dns/txt; s=iport; t=1476785310; x=1477994910; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=uyphlYOw1hw+Z4fT61u6Jrcb+LXOn6E8W+JfwGT0q0I=; b=kCcwcdws5wRN9gAA+3woRhOtW7eGeUnoFFGoib0C48DKZjHhAcFefRid vAxUbJZp6YafqZ6BLy1SaD+jXfPEtRdOZhHlXPNS5z/iysarLLWxuyC0u uQFqW0JZPrYae8hSkhL+cJaVw+jZVU0o+eTro1E1Ig72GzlfWKSA4iaIx 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B/AQD78wVY/xbLJq1bGQEBAQEBAQEBAQEBBwEBAQEBgzwBAQEBAXQqUo00lwWUOIIIHQuFegKCLxQBAgEBAQEBAQFeJ4RiAQEDAQEBASAPAQU2CxALGgImAgInMBMGAgEBF4gvCA61TYxrAQEBAQEBAQMBAQEBAQEdBYEHhTaBfQiCUIQZEQEGgxqCWwWINAiGA4E8iguGKIlcgW6EZ4MUhgyHEIIZg1KEAB42RAYIgzOBPDw0AYY1giABAQE
X-IronPort-AV: E=Sophos;i="5.31,361,1473120000"; d="scan'208";a="649311220"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2016 10:08:25 +0000
Received: from [10.60.67.85] (ams-bclaise-8914.cisco.com [10.60.67.85]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id u9IA8OYP030608; Tue, 18 Oct 2016 10:08:24 GMT
To: consultancy@vanderstok.org
References: <147636111873.2840.15922934637733990470.idtracker@ietfa.amsl.com> <22c969b1603799a0cfd6bb73217c719c@xs4all.nl>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <8f649333-8592-5643-f084-13e402036762@cisco.com>
Date: Tue, 18 Oct 2016 12:08:24 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <22c969b1603799a0cfd6bb73217c719c@xs4all.nl>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/bFASc2lwJIdph0b9LDd3E-LOUL4>
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
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: Tue, 18 Oct 2016 10:08:34 -0000
Hi Peter, Please continue to educate me. What I make out of this is that without CoMI or CoOL, the solution for management over COAP is incomplete: draft-ietf-core-etch is a building block. So I understand Alissa's DISCUSS. When you wrote "CoMI will be the basis that uses FETCH, PATCH, iPATCH; CoOL will expand on that", I'm confused. I thought CoMI and CoOL were competing solutions, and that one would be selected. Regards, Benoit > 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