Re: [Cbor] Benoit Claise's Block on charter-ietf-cbor-00-04: (with BLOCK and COMMENT)
Benoit Claise <bclaise@cisco.com> Fri, 23 December 2016 15:01 UTC
Return-Path: <bclaise@cisco.com>
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 8455C1293E9; Fri, 23 Dec 2016 07:01:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.621
X-Spam-Level:
X-Spam-Status: No, score=-17.621 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.1, 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 GT24gsxPEYMr; Fri, 23 Dec 2016 07:01:14 -0800 (PST)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A3521200A0; Fri, 23 Dec 2016 07:01:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13887; q=dns/txt; s=iport; t=1482505273; x=1483714873; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to; bh=6s7BJypazI3zGJMsqSWgMcc89BSRZEim8wD28d0EE9g=; b=YQ/k5CHjaFziY5cniMjYiBbFnV5L1t9x01H6PraJzWwsyk9mTDS2YQOy /ukIQuG8NlSUtcVMOygic1rx3/c+p+0m7/gZbkh5/cHb989KUGR/O/bmJ KogqlxXMIP9iry5j7Pnswa1LdlX6se50E4+BPyHnGimh8uWNkJev9f+l1 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AZCgCeOl1Y/xbLJq1eGQEBAQEBAQEBAQEBBwEBAQEBgzcBAQEBAXwvIDuNUnKVX49xgxeCD4IJLIV2AoI0FAECAQEBAQEBAWIohGgBAQEDASNWBQsJAg4KKgICVwYBDAgBAYhjCA6OOJ1Mgicuik8BAQEBAQEBAQEBAQEBAQEBAQEBAQEdhkiCAoJghBwRAYMggl0FiGaSFIZTimmBdYUJgyeGL4pGg2aEEB83AWgfFg2EFhyBXj2HDoIuAQEB
X-IronPort-AV: E=Sophos;i="5.33,393,1477958400"; d="scan'208,217";a="648154805"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Dec 2016 15:01:10 +0000
Received: from [10.60.67.91] (ams-bclaise-89110.cisco.com [10.60.67.91]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id uBNF1AnZ025245; Fri, 23 Dec 2016 15:01:10 GMT
To: Alexey Melnikov <aamelnikov@fastmail.fm>, The IESG <iesg@ietf.org>
References: <148215173321.19483.4829837986369811135.idtracker@ietfa.amsl.com> <1482160731.2337839.823677849.3D7AA932@webmail.messagingengine.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <bd921d3c-b24d-fac4-8d55-9c88038a211c@cisco.com>
Date: Fri, 23 Dec 2016 16:01:10 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <1482160731.2337839.823677849.3D7AA932@webmail.messagingengine.com>
Content-Type: multipart/alternative; boundary="------------99DB7832D628234B083620E9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/n3KQOSjf32LeqGSx7f7ZY1v-JK8>
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: Fri, 23 Dec 2016 15:01:15 -0000
Thanks to all who educated me, in the different email threads. Moving back to a COMMENT at this point in time. As Alexey mentioned, some more wording about this in the charter would help (if nobody else, at least me): 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. In the end, I missed the key message that CDDL is more helpful for horizontal protocol to support device-to-device communication, as opposed to a management protocol. I've been probably too biased by my OPS background :-) Regards, Benoit > 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