Re: [core] Comments on draft-ietf-core-yang-cbor-00

Carsten Bormann <cabo@tzi.org> Wed, 25 May 2016 08:25 UTC

Return-Path: <cabo@tzi.org>
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 E91DD12D137 for <core@ietfa.amsl.com>; Wed, 25 May 2016 01:25:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham 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 2Xp1BHeNpk8K for <core@ietfa.amsl.com>; Wed, 25 May 2016 01:25:46 -0700 (PDT)
Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:c:538::194]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69D9D12D12C for <core@ietf.org>; Wed, 25 May 2016 01:25:46 -0700 (PDT)
Received: from mfilter36-d.gandi.net (mfilter36-d.gandi.net [217.70.178.167]) by relay2-d.mail.gandi.net (Postfix) with ESMTP id C7DC1C5B93; Wed, 25 May 2016 10:25:44 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mfilter36-d.gandi.net
Received: from relay2-d.mail.gandi.net ([IPv6:::ffff:217.70.183.194]) by mfilter36-d.gandi.net (mfilter36-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id XHo2ch6qZh1M; Wed, 25 May 2016 10:25:41 +0200 (CEST)
X-Originating-IP: 93.199.242.26
Received: from nar-3.local (p5DC7F21A.dip0.t-ipconnect.de [93.199.242.26]) (Authenticated sender: cabo@cabo.im) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 61FA7C5A90; Wed, 25 May 2016 10:25:40 +0200 (CEST)
Message-ID: <57456182.80809@tzi.org>
Date: Wed, 25 May 2016 10:25:38 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@nic.cz>
References: <CABCOCHRRACvVXx2S_hZm2TxbvP48aO4Q4REkh0LFjmHkMkZ1Vg@mail.gmail.com> <m2y473svm0.fsf@nic.cz> <57401CC2.2040002@tzi.org> <20160521112857.GA4437@elstar.local> <m2zirh81d8.fsf@birdie.labs.nic.cz> <20160524123613.GB9897@elstar.local> <AF6317CD-C9A7-4D7A-A80C-B2DBE0A210A9@nic.cz> <20160524142924.GB10130@elstar.local> <C6C84E10-70FB-4C47-8272-8018F99C2D0E@nic.cz> <etPan.5744797a.3c93c048.169de@tzi.org> <E6D17E60-935D-4580-8593-86CFF08F4D91@nic.cz>
In-Reply-To: <E6D17E60-935D-4580-8593-86CFF08F4D91@nic.cz>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/9jVeFgyeP954gAhPO0APTEYoHkY>
Cc: Core <core@ietf.org>
Subject: Re: [core] Comments on draft-ietf-core-yang-cbor-00
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: Wed, 25 May 2016 08:25:48 -0000

Ladislav Lhotka wrote:
> Alternatively, the annotation could specify the member type by name, e.g.

That's great (and we could use SIDs to reduce the bulk) if the type has
a name.  Many of the examples I cited yesterday define the enumerations
in place in the union, without giving them a name.  Apart from
goedelizing these (which *could* be done by the SID process as well),
I'm out of ideas.

Grüße, Carsten