Re: [core] YANG to CBOR mapping version 1

Michel Veillette <Michel.Veillette@trilliantinc.com> Tue, 12 July 2016 16:07 UTC

Return-Path: <Michel.Veillette@trilliantinc.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 F3CEE12D13E; Tue, 12 Jul 2016 09:07:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=trilliant.onmicrosoft.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 2lPX1VOXgGQN; Tue, 12 Jul 2016 09:07:02 -0700 (PDT)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0109.outbound.protection.outlook.com [104.47.40.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4A5E12B014; Tue, 12 Jul 2016 09:07:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Trilliant.onmicrosoft.com; s=selector1-trilliantinc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=9nDKYBXBtdykOAqUDKApTIlvw6SuY29qH+0DG125eeY=; b=bnIYJjhz9aGPkKtuUqfJxdiV1z5PONIbARKgq4+5dj2bm/MRlu15+9Z4Cf8diQASS7XLv3tr4UHL9R7bZcWQsuMU+8CUm+sGfDA2roAp7G7gF4EhNWRtBXedB22ecg5TfQ9646Zo+OFvFKKEpBtt/+hY1LQCEOkivkDAHtcYNVU=
Received: from BLUPR06MB1763.namprd06.prod.outlook.com (10.162.224.149) by BLUPR06MB1764.namprd06.prod.outlook.com (10.162.224.150) with Microsoft SMTP Server (TLS) id 15.1.539.14; Tue, 12 Jul 2016 16:07:00 +0000
Received: from BLUPR06MB1763.namprd06.prod.outlook.com ([10.162.224.149]) by BLUPR06MB1763.namprd06.prod.outlook.com ([10.162.224.149]) with mapi id 15.01.0539.019; Tue, 12 Jul 2016 16:07:00 +0000
From: Michel Veillette <Michel.Veillette@trilliantinc.com>
To: "consultancy@vanderstok.org" <consultancy@vanderstok.org>, "draft-ietf-core-yang-cbor@ietf.org" <draft-ietf-core-yang-cbor@ietf.org>
Thread-Topic: [core] YANG to CBOR mapping version 1
Thread-Index: AQHR1qK2U/a50X7m60OAxt73Sipz+qAOmnXwgAYHI4CAAF1HgA==
Date: Tue, 12 Jul 2016 16:07:00 +0000
Message-ID: <BLUPR06MB1763EA02D11DBD2CC500B02FFE300@BLUPR06MB1763.namprd06.prod.outlook.com>
References: <1ed9a5d16aca7d13412259e94afc1aa2@xs4all.nl> <BLUPR06MB17639739570760661AEC32C3FE3C0@BLUPR06MB1763.namprd06.prod.outlook.com> <6ce5c06ff1c64d834ce1ccdda7b61ea4@xs4all.nl>
In-Reply-To: <6ce5c06ff1c64d834ce1ccdda7b61ea4@xs4all.nl>
Accept-Language: fr-CA, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michel.Veillette@trilliantinc.com;
x-originating-ip: [207.96.192.122]
x-ms-office365-filtering-correlation-id: 82870a71-8e87-4aa4-09c7-08d3aa6e8ec0
x-microsoft-exchange-diagnostics: 1; BLUPR06MB1764; 6:B/NeKalQo1RJ0xbdzoy33nwUnmtwnGNxR+z4gA9s2nVZK0ycgsd6cFkrvVseJLJYvJXIsQMugAV8DoCjqJLwX+T/PAB520zQG1lRXNAww7jfC9VKwzYw5NbJI8SsREobH6+J68B2xR4B0Lg059ckyAXp10YBtTS4q+ucKyH4v+e0KdQWZz4UPWoCq/BRpnvBz9FuNWbf7c1m06PuSAgdAu02Wr/cL06ABIRbiQBu/64SyenLYU4nS/MRXUBs2VomrgaSBe3J/xRadu7Gr9l5UDc0I5sn1CBZ8HHNzdeT6b8=; 5:gp0cKj30Aos14BbuvQcSBImHvpy18D1o+H0R1OuDNqM/YhfTSxbZP6LX34KMVrRznUskU7bkWgL3XpP1cRffTkdrGrS/5Xx6wD12gNmJ4qe3fQ4hG/wyAE9x0ej4ziiy9Yd6+kf1l1cqsQSpTGXF+w==; 24:5/3liZB8t+1XHV3ox0wso2moqMofOD1nn9g8xiKa7CDT1MR+bt3XPJRVtFqUqtLSuIU2QEURbd0w8xvIdL4mH4DnhQgCu/6nbMSiiYuGoCY=; 7:J3MsdCPpioa+X3sR0/4c5uqjas0+dOiqJvdoxbokHKS0YlodhartDweIfvK221TNmD2TPCVVvqcUL8JRmdURb53llGKUg7vVsVM+0Ls5H+Kofc5Y9l605JNVEepOAxBk1ofIMrFoLO/64bl7EQVqG1akHxUBdhjM46y6zj92jS5GEQ3MLrZCMpPuyvr3zHuGxggLUgfyLa5gcys3k4GekRYcanuxydj//3twWziOikbAmRqfd6lh8sdRxyyI2MCn
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR06MB1764;
x-microsoft-antispam-prvs: <BLUPR06MB17641A876CD3400525081F73FE300@BLUPR06MB1764.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BLUPR06MB1764; BCL:0; PCL:0; RULEID:; SRVR:BLUPR06MB1764;
x-forefront-prvs: 0001227049
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(189002)(377454003)(51444003)(13464003)(199003)(33656002)(10400500002)(8676002)(86362001)(8936002)(105586002)(11100500001)(87936001)(66066001)(81156014)(81166006)(189998001)(97736004)(5003600100003)(5001770100001)(7846002)(7736002)(7696003)(50986999)(76176999)(74316002)(68736007)(19580405001)(6116002)(305945005)(76576001)(54356999)(2501003)(99286002)(101416001)(3846002)(9686002)(15975445007)(102836003)(2950100001)(5002640100001)(586003)(2900100001)(19580395003)(77096005)(3660700001)(92566002)(106116001)(106356001)(3280700002)(2906002)(4326007)(122556002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR06MB1764; H:BLUPR06MB1763.namprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: trilliantinc.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: trilliantinc.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2016 16:07:00.3923 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4f6fbd13-0dfb-4150-85c3-d43260c04309
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB1764
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Z9x9pLKB36x7JGcLKBMCE2RmHjw>
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
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:07:04 -0000

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