Re: [core] CBOR Encoding of Data Modeled with YANG

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 08 December 2015 14:02 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 965211B2E47 for <core@ietfa.amsl.com>; Tue, 8 Dec 2015 06:02:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.86
X-Spam-Level:
X-Spam-Status: No, score=-3.86 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 2unJt7wnrBjU for <core@ietfa.amsl.com>; Tue, 8 Dec 2015 06:02:06 -0800 (PST)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC7001B2E44 for <core@ietf.org>; Tue, 8 Dec 2015 06:02:04 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 71BA28FA; Tue, 8 Dec 2015 15:02:03 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id 3apygxjwY96e; Tue, 8 Dec 2015 15:02:02 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Tue, 8 Dec 2015 15:02:02 +0100 (CET)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 1D6852005C; Tue, 8 Dec 2015 15:02:02 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id qGpTmpzORHdZ; Tue, 8 Dec 2015 15:02:01 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 55F1220056; Tue, 8 Dec 2015 15:02:00 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 753A63929690; Tue, 8 Dec 2015 15:01:59 +0100 (CET)
Date: Tue, 08 Dec 2015 15:01:58 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Alexander Pelov <a@ackl.io>
Message-ID: <20151208140158.GA21630@elstar.local>
Mail-Followup-To: Alexander Pelov <a@ackl.io>, core@ietf.org
References: <20151207194229.GA61491@elstar.local> <BLUPR06MB1763B7F9EBF812C06DB04252FE090@BLUPR06MB1763.namprd06.prod.outlook.com> <20151207203826.GA61647@elstar.local> <BLUPR06MB1763E9AB0D1E4A0478D47C05FE090@BLUPR06MB1763.namprd06.prod.outlook.com> <20151208093350.GA62650@elstar.local> <5666AE1A.2040908@ackl.io> <20151208105530.GA62785@elstar.local> <64B950CF-863D-4440-AF7A-F8DF79C80409@telecom-bretagne.eu> <20151208115310.GA62928@elstar.local> <5666D6D4.3090006@ackl.io>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <5666D6D4.3090006@ackl.io>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/GlawRnF0Fy0l5-M0MFbJ0Oqj6tQ>
Cc: core@ietf.org
Subject: Re: [core] CBOR Encoding of Data Modeled with YANG
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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, 08 Dec 2015 14:02:12 -0000

On Tue, Dec 08, 2015 at 02:10:44PM +0100, Alexander Pelov wrote:
> Dear Juergen,
> 
> Thanks for the great remarks! Indeed, we have had lots of lengthy 
> discussions on the way structured data node IDs work, and there are 
> several ways to handle the situations you describe.
> 
> We've reached a consensus to first detail the most demanded and least 
> controversial part - the YANG-CBOR mapping. Having structured data node 
> IDs allows for all existing designs to operate with this.

Who is 'we'?

> I've provided you with the baseline algorithm, which covers one aspect 
> of the data node IDs. Structured data node IDs also allow for private 
> module ID space, and for non-managed modules (e.g. as the example you 
> provide). They also allow for having COMI-style hashes if you need them. 
> The draft which will describe the full operation will come shortly after 
> the YANG-CBOR draft.
> 
> I think that it would be nice if you can contribute, as your remarks can 
> help clear the readability of the document and point on examples that 
> must be provided to cover the full spectrum of YANG use-cases.

OK - I will then sit back and wait. As said earlier, I prefer one way
to do things and I prefer to have one document that provides a
complete and self-contained definition of CBOR encoding of YANG
defined data.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>