Re: [core] YANG to CBOR mapping version 1

Paul Duffy <paduffy@cisco.com> Tue, 12 July 2016 15:15 UTC

Return-Path: <paduffy@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 3BA5612DA01; Tue, 12 Jul 2016 08:15:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.808
X-Spam-Level:
X-Spam-Status: No, score=-15.808 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=-1.287, 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 0fL2vWD9BbaZ; Tue, 12 Jul 2016 08:15:28 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A5D2812DCD6; Tue, 12 Jul 2016 07:47:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1046; q=dns/txt; s=iport; t=1468334821; x=1469544421; h=reply-to:subject:references:to:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=UqpkMgkeVmPl8kdwHl0mvHtjm4KXaM7dPKGkmp1ygSg=; b=exyyPDpOm9yxdoXDXtjwFtJc9KAAIxQ557ovdYeRmPD3eT+AuVvbRkeL 7V5N0Emka+j4hZqg8rJ/UCdL+a8tMNr8gfUOoIqiDDfTv/rj3/ajfK8Q9 cMD7Twnb9UsaQsOFXmdrT+s3PsLo7y3YTq0GDDPeiAXHT2jPHndvo7wRG o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CRCQBMAoVX/4ENJK1cgz5WKlK5CYF5IoV2AoE0OBQBAQEBAQEBZSeEXQEFAQE2NgsQCxguJzAGAQwGAgEBiCwOtxKINgEBAQEBAQEBAQEBAQEBAQEBAQEBGAWGKoF4glWKHAEEk12FPo5UiU6FYJAUHjaCBh+BaCAyiSUBAQE
X-IronPort-AV: E=Sophos;i="5.28,352,1464652800"; d="scan'208";a="122937931"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Jul 2016 14:47:00 +0000
Received: from [10.86.253.127] ([10.86.253.127]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id u6CEl0t7027025; Tue, 12 Jul 2016 14:47:00 GMT
References: <1ed9a5d16aca7d13412259e94afc1aa2@xs4all.nl> <BLUPR06MB17639739570760661AEC32C3FE3C0@BLUPR06MB1763.namprd06.prod.outlook.com> <6ce5c06ff1c64d834ce1ccdda7b61ea4@xs4all.nl>
To: consultancy@vanderstok.org, Michel Veillette <Michel.Veillette@trilliantinc.com>, draft-ietf-core-yang-cbor@ietf.org
From: Paul Duffy <paduffy@cisco.com>
Organization: Cisco Systems
Message-ID: <b07c45ad-57f3-7d48-c4f2-27e1a5e1cef9@cisco.com>
Date: Tue, 12 Jul 2016 10:46:59 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <6ce5c06ff1c64d834ce1ccdda7b61ea4@xs4all.nl>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/SZUZXc6Jr3d4l7LEaudy8_KuMvg>
Cc: 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: paduffy@cisco.com
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 15:15:30 -0000

IMO the examples are useful.

Move them to an appendix if you must, but I would leave them in the draft.

Cheers


On 7/12/2016 6:23 AM, peter van der Stok wrote:
> 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
>
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
> .
>