Re: [Cbor] Benoit Claise's Block on charter-ietf-cbor-00-04: (with BLOCK and COMMENT)
Alexey Melnikov <aamelnikov@fastmail.fm> Mon, 19 December 2016 15:18 UTC
Return-Path: <aamelnikov@fastmail.fm>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B0B1129B53; Mon, 19 Dec 2016 07:18:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fastmail.fm header.b=Nb7zTJX1; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=ukL9Wnlx
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 svBMXmKYPBoj; Mon, 19 Dec 2016 07:18:52 -0800 (PST)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4D254129B54; Mon, 19 Dec 2016 07:18:52 -0800 (PST)
Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id BBA2C207BF; Mon, 19 Dec 2016 10:18:51 -0500 (EST)
Received: from web5 ([10.202.2.215]) by compute7.internal (MEProxy); Mon, 19 Dec 2016 10:18:51 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=3MvEAr8tLpYcJvK/xxldVTR2Lr A=; b=Nb7zTJX1zF9+pzLwbFLVSQ7JgDcF8eaWZa8TPADCWcpP4gTRMkPb/xTdAz 3pVFlF4PooAI6w27CC2cGUU0OwbkJiOCk73CSCtRDZrT+6RRUtUms/oLJAuSKLBh 3sgAVxANjoEm0Kz4Af4/6mJRo61q2/vLApWVtIzVg4DiLaiKk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=3M vEAr8tLpYcJvK/xxldVTR2LrA=; b=ukL9Wnlxv+gmRknpOLiXHp+fziZYQGi5CY airCdKpY9R8zghtRhjs8OXfmFfdtUPa4m99DibGlapDgLym3R5HVW3u/FlfbB0hY 7VntN6V7IHBY+/qYMIySVmqn8LLLC8kr+VxqaZJRVPeTKNyIgGqm1/XH5JtBWs7C whi+e0GPk=
X-ME-Sender: <xms:W_pXWKTHO6W1KcU7kHj-H-xxA8eaBZ81xVF2jm69M_qdeEbObqyH-Q>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id 95E856ABEC; Mon, 19 Dec 2016 10:18:51 -0500 (EST)
Message-Id: <1482160731.2337839.823677849.3D7AA932@webmail.messagingengine.com>
From: Alexey Melnikov <aamelnikov@fastmail.fm>
To: Benoit Claise <bclaise@cisco.com>, The IESG <iesg@ietf.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-85983a1c
Date: Mon, 19 Dec 2016 15:18:51 +0000
In-Reply-To: <148215173321.19483.4829837986369811135.idtracker@ietfa.amsl.com>
References: <148215173321.19483.4829837986369811135.idtracker@ietfa.amsl.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/dEP9-qV-roH36S9Se4OSH2SSQzI>
Cc: cbor@ietf.org, cbor-chairs@ietf.org
Subject: Re: [Cbor] Benoit Claise's Block on charter-ietf-cbor-00-04: (with BLOCK and COMMENT)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Dec 2016 15:18:54 -0000
Hi Benoit, On Mon, Dec 19, 2016, at 12:48 PM, Benoit Claise wrote: > Benoit Claise has entered the following ballot position for > charter-ietf-cbor-00-04: Block > > 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.) > > > > The document, along with other ballot positions, can be found here: > https://datatracker.ietf.org/doc/charter-ietf-cbor/ > > > > ---------------------------------------------------------------------- > BLOCK: > ---------------------------------------------------------------------- > > Sorry for this late BLOCK. > I had a very quick call with Alexey before the last IESG telechat: I want > to understand if I missed anything. > I filed a quick "NO RECORD" COMMENT. > Then, we discussed some more during the telechat itself. > And now, I finally had the time to think some more about this. > > My BLOCK is about this charter paragraph: > > Similar to the way ABNF (RFC 5234/7405) can be used to describe the > set of valid messages in a text representation, it would be useful if > protocol specifications could use a description format for the data in > CBOR-encoded messages. The CBOR data definition language (CDDL, based on > draft-greevenbosch-appsawg-cbor-cddl) is a proposal for such a > description technique that has already been used in CORE, ANIMA, CDNI, > and efforts outside the IETF. The CBOR WG will complete the development > of this specification by creating an Informational or Standards Track > RFC. > > > In OPS, we need automation. And automation will come from data models as, > from data models, we're able to generate APIs. > In the world of data modeling-driven management, we have: > YANG as a data modeling language, with ABNF specifications > YANG data modules, written with the YANG data modeling language > different encodings, such as XML, JSON, or CBOR > (draft-ietf-core-yang-cbor-03) > protocols such as NETCONF or RESTCONF for > configuration/monitoring/capabilities discovery > note: working on pub/sub protocol (aka telemetry) for events > > See the first picture at > http://www.claise.be/2016/12/yang-opensource-tools-for-data-modeling-driven-management/ > Btw, I should add cbor. > > Now, in this proposed WG, you want to define a new data modeling > language, "The CBOR data definition language" > When I ask the question: So the structure of what could be accessed on a > managed device?, you answer: > > No. While CDDL could be used to describe the structure of data at > rest (a data store), that is not the objective. CDDL is used to define > the structure of data in flight, e.g. a protocol message going from a > node to a different node. (Using a term popular in semantic > interoperability work in the health care domain, CDDL is about > "structural interoperability” — it can tell you that there is supposed to > be a data item “cheese-firmness” in the message and out of what set of > values it needs to come, but it cannot tell you what the specific values > mean in the real world or what cheese firmness is in the first place on a > semantic level.) > > > But what about the semantic definition (which is in YANG modules) of this > information? This is key for management. > I guess that the next item you'll want after this milestone is exactly > data models and semantic, right? > > There are many schemas for IoT and I'm not trying to impose YANG in the > IoT world but I want to understand why we need duplication. > Note that there was an IAB-organized workshop on IoT data modeling in the > past (https://www.iab.org/activities/workshops/iotsi/) > However, it seems to me that your effort is exactly the reverse of data > modeling driven management? You have an encoding, and then you want a new > schema language Yes, the same way there are several schema languages for XML (for example). > Next, you'll need a mechanism to discover what is available on the > managed devices, a mechanism to know the device capabilities, a mechanism > for pub/sub, ... > And you will redo the full OPS stack, for IoT (hence duplication). And, > obviously, in the end, we will need a mapping between the two data > modeling languages: YANG and CDDL. I am not convinced that the mapping would be needed in all cases. See below. > What is specific here? I wanted to write: what's specific to IoT here, > but I don't even see IoT in the charter. There is just a kind of IoT > reference in RFC7049 abstract. > Why do we need this duplication within the IETF? I don't think saying that CBOR is only for IoT is helpful. There is some talk about using it for PKIX-like things. I can also see it being used directly in protocols. There is no YANG there, because there are no devices to manage, just a data structure. I don't think YANG is going to be helpful there. I am Ok with having some text in CDDL saying that if you want to do modeling-driven device management, CDDL is not the right tool. But as I said above I see other uses for CBOR/CDDL, which should be allowed. > Why don't draft-ietf-core-yang-cbor and draft-vanderstok-core-comi work? > Those are completely inline with data modeling-driven management and this > charter seems to contradict this effort? > What do I miss?
- [Cbor] Benoit Claise's Block on charter-ietf-cbor… Benoit Claise
- Re: [Cbor] Benoit Claise's Block on charter-ietf-… Alexey Melnikov
- Re: [Cbor] Benoit Claise's Block on charter-ietf-… Brian E Carpenter
- Re: [Cbor] Benoit Claise's Block on charter-ietf-… Joe Hildebrand
- Re: [Cbor] Benoit Claise's Block on charter-ietf-… Benoit Claise
- Re: [Cbor] Benoit Claise's Block on charter-ietf-… Benoit Claise