[yang-doctors] Fwd: Benoit Claise's Block on charter-ietf-cbor-00-04: (with BLOCK and COMMENT)

Benoit Claise <bclaise@cisco.com> Mon, 19 December 2016 12:55 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2DBC51299FD for <yang-doctors@ietfa.amsl.com>; Mon, 19 Dec 2016 04:55:14 -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 mKcaRwcMo75I for <yang-doctors@ietfa.amsl.com>; Mon, 19 Dec 2016 04:55:12 -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 A5E081299FA for <yang-doctors@ietf.org>; Mon, 19 Dec 2016 04:55:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14150; q=dns/txt; s=iport; t=1482152111; x=1483361711; h=subject:references:to:cc:from:message-id:date: mime-version:in-reply-to; bh=6o3hKQfL3oxVRYSMgr8Ik0ZUTYEBELgo0/mO/Q4ztAs=; b=AOdEE3PpOErhlsCPgDryrV3ztnB8hQS5ZoXNa7uBr6xtNDFCnzILc7ig GhifdA58/2ywbSiUYy0NTqI6rtC9YY6MKdDN7v7hO4r5f6kir5f7HVO5J QfSsYaNZsx6a4TlOEmJpWpVg21kxEpFWzz3ur8x2x2rUq6iN+ZeheC3Hb E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D+AAA92FdY/xbLJq1dGQEBAQEBAQEBAQEBBwEBAQEBgzcBAQEBAXmBBo1Pc5Vlj2mDFoIPggoshXYCgjcUAQIBAQEBAQEBYiiEaAECBBIRSA4QCRMDAQIrAgJNAggGDQYCAQEeiEkOijGPVQGNdoIoL4pcAQEBAQEBAQEBAQEBAQEBAQEBAQEBHYY2gX2CXIQSEQEsEIJkgl0FiGKSDoZSimKBdIUDgyeGL4o0g2WEDx83Yx8VDoYCPTSGLoIuAQEB
X-IronPort-AV: E=Sophos;i="5.33,373,1477958400"; d="scan'208,217";a="648006082"
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; 19 Dec 2016 12:54:59 +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 uBJCsxe0011166; Mon, 19 Dec 2016 12:54:59 GMT
References: <148215173321.19483.4829837986369811135.idtracker@ietfa.amsl.com>
To: YANG Doctors <yang-doctors@ietf.org>
From: Benoit Claise <bclaise@cisco.com>
X-Forwarded-Message-Id: <148215173321.19483.4829837986369811135.idtracker@ietfa.amsl.com>
Message-ID: <0c8b0b32-8f99-eaf9-4d88-69e0a2dc90bc@cisco.com>
Date: Mon, 19 Dec 2016 13:54:59 +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: <148215173321.19483.4829837986369811135.idtracker@ietfa.amsl.com>
Content-Type: multipart/alternative; boundary="------------25BFB134363B01641609594D"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/XzrmnEEm7TvRe2grlpY6UB1tn90>
Subject: [yang-doctors] Fwd: Benoit Claise's Block on charter-ietf-cbor-00-04: (with BLOCK and COMMENT)
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Dec 2016 12:55:14 -0000

YANG experts,

I would like to understand your from if I missed anything, if I've been 
smoking too much, or if you support this statement.

Regards, B.


-------- Forwarded Message --------
Subject: 	Benoit Claise's Block on charter-ietf-cbor-00-04: (with BLOCK 
and COMMENT)
Date: 	Mon, 19 Dec 2016 04:48:53 -0800
From: 	Benoit Claise <bclaise@cisco.com>
To: 	The IESG <iesg@ietf.org>
CC: 	cbor@ietf.org, cbor-chairs@ietf.org



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

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.

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?
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?


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

OLD:

Concise Binary Object Representation (CBOR, RFC 7049) extends the
JavaScript Object Notation (JSON, RFC 7159) data model to include binary
data
and an extensibility model

NEW:
Concise Binary Object Representation (CBOR, RFC 7049) extends the
JavaScript Object Notation (JSON, RFC 7159) data interchange format to
include binary data
and an extensibility model

Note:
- In OPS, we make a clear distinction between the (YANG) data model, and
the encoding (XML, JSON, etc.)
- RFC 7159 mentions "data interchange format" in his abstract
- I see in RFC 7049:
    The format defined here follows some specific design goals that are
    not well met by current formats.  The underlying data model is an
    extended version of the JSON data model [RFC4627].
This is a mistake. Great we will have a new charter to accomplish this
work

- And don't forget the milestones.

Regards, Benoit


.