Re: [core] YANG to CBOR mapping version 1

peter van der Stok <stokcons@xs4all.nl> Tue, 12 July 2016 16:13 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 8870B12D08E for <core@ietfa.amsl.com>; Tue, 12 Jul 2016 09:13:43 -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 13o2H5zKdiWq for <core@ietfa.amsl.com>; Tue, 12 Jul 2016 09:13:42 -0700 (PDT)
Received: from lb2-smtp-cloud2.xs4all.net (lb2-smtp-cloud2.xs4all.net [194.109.24.25]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E1FB12D1BD for <core@ietf.org>; Tue, 12 Jul 2016 09:13:40 -0700 (PDT)
Received: from webmail.xs4all.nl ([194.109.20.216]) by smtp-cloud2.xs4all.net with ESMTP id HsDd1t00C4fjQrE01sDd4L; Tue, 12 Jul 2016 18:13:37 +0200
Received: from 2001:983:a264:1:3cd6:f15d:4351:471 by webmail.xs4all.nl with HTTP (HTTP/1.1 POST); Tue, 12 Jul 2016 18:13:37 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Content-Transfer-Encoding: 7bit
Date: Tue, 12 Jul 2016 18:13:37 +0200
From: peter van der Stok <stokcons@xs4all.nl>
To: Michel Veillette <Michel.Veillette@trilliantinc.com>
Organization: vanderstok consultancy
Mail-Reply-To: consultancy@vanderstok.org
In-Reply-To: <BLUPR06MB1763EA02D11DBD2CC500B02FFE300@BLUPR06MB1763.namprd06.prod.outlook.com>
References: <1ed9a5d16aca7d13412259e94afc1aa2@xs4all.nl> <BLUPR06MB17639739570760661AEC32C3FE3C0@BLUPR06MB1763.namprd06.prod.outlook.com> <6ce5c06ff1c64d834ce1ccdda7b61ea4@xs4all.nl> <BLUPR06MB1763EA02D11DBD2CC500B02FFE300@BLUPR06MB1763.namprd06.prod.outlook.com>
Message-ID: <3d2abcfb8802e1b64b6e15c3be719d17@xs4all.nl>
X-Sender: stokcons@xs4all.nl (lmFclmnfZjZ9s9i6GrmYPZFGhGXhSz2w)
User-Agent: XS4ALL Webmail
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/xJZanPUDnpq10Uqujyug1PmPQdE>
Cc: draft-ietf-core-yang-cbor@ietf.org, Core <core@ietf.org>
Subject: Re: [core] YANG to CBOR mapping version 1
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: Tue, 12 Jul 2016 16:13:43 -0000

Hi Michel,

the proposal is to keep one larger JSON examples, accompanied by its 
CBOR conversion, and all other larger examples to the appendix.
The one liners are perfect as they are.
It is only a minor suggestion to improve the reading.

Peter

Michel Veillette schreef op 2016-07-12 18:07:
> Hi Peter
> 
> Are you proposing to move all examples in an appendix or just the 
> larger ones.
> Most examples are single liners.
> 
> Should I move only the following ones:
> https://tools.ietf.org/html/draft-ietf-core-yang-cbor-02#section-4.2.1
> https://tools.ietf.org/html/draft-ietf-core-yang-cbor-02#section-4.2.2
> https://tools.ietf.org/html/draft-ietf-core-yang-cbor-02#section-4.4.1
> https://tools.ietf.org/html/draft-ietf-core-yang-cbor-02#section-4.4.2
> 
> Regards,
> Michel
> 
> -----Original Message-----
> From: peter van der Stok [mailto:stokcons@xs4all.nl]
> Sent: Tuesday, July 12, 2016 6:23 AM
> To: Michel Veillette <Michel.Veillette@trilliantinc.com>;
> draft-ietf-core-yang-cbor@ietf.org
> Cc: consultancy@vanderstok.org; Core <core@ietf.org>
> Subject: RE: [core] YANG to CBOR mapping version 1
> 
> I forgot to add the following in an earlier e_mail, Bit stupid to
> annoy all wg members with this trivial remark
> 
>> 
>> I think that a large number of the CBOR encoding examples in section
>> 4.2 can be left out.
>> They can be generated any time by an interested implementer; and now
>> confuse the issues.
>> 
>> [MV] I received many questions about the final encoding and the number
>> of bytes required.
>> [MV] If I remove these examples, I'm concern that I will receive even
>> more of these questions.
>> [MV] I agree that these examples are useless for peoples with a good
>> knowledge of CBOR [MV] but seem very welcome from newcomers.
>> 
> 
> What about putting them in an appendix?
> 
> Peter