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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 08 December 2015 15:14 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 C0E581B2EF7 for <core@ietfa.amsl.com>; Tue, 8 Dec 2015 07:14:10 -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 DYyYdOAkTAQL for <core@ietfa.amsl.com>; Tue, 8 Dec 2015 07:14:09 -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 2D09E1B2EF6 for <core@ietf.org>; Tue, 8 Dec 2015 07:14:09 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id EA244FDA; Tue, 8 Dec 2015 16:14:07 +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 sWcj4dcWfuOR; Tue, 8 Dec 2015 16:14:07 +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 16:14:07 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id DAA7A20056; Tue, 8 Dec 2015 16:14:06 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id HqiDeNGY0tBO; Tue, 8 Dec 2015 16:14:06 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 017DA20058; Tue, 8 Dec 2015 16:14:06 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id EE5B03929D2B; Tue, 8 Dec 2015 16:14:04 +0100 (CET)
Date: Tue, 08 Dec 2015 16:14:04 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Alexander Pelov <a@ackl.io>
Message-ID: <20151208151402.GA21810@elstar.local>
Mail-Followup-To: Alexander Pelov <a@ackl.io>, core@ietf.org
References: <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> <20151208140158.GA21630@elstar.local> <5666EF1F.6090204@ackl.io>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: 8bit
In-Reply-To: <5666EF1F.6090204@ackl.io>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/xmBFS28FnWxs-heuOb8-O-YgeUI>
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 15:14:10 -0000

On Tue, Dec 08, 2015 at 03:54:23PM +0100, Alexander Pelov wrote:
> Le 08/12/2015 15:01, Juergen Schoenwaelder a écrit :
> >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'?
> The WG during the last IETF, and the main contributors to the CoMI and 
> CoOL drafts.

For me, a YANG to CBOR mapping without a definition how names are
represented in CBOR is incomplete, not interoperable, and hence not
a useful result. Hard problems are not solved by pushing them around.

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