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

Carsten Bormann <cabo@tzi.org> Tue, 24 May 2016 15:55 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 4CB4612B02A for <core@ietfa.amsl.com>; Tue, 24 May 2016 08:55:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3] 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 lTf2X07rAhzK for <core@ietfa.amsl.com>; Tue, 24 May 2016 08:55:43 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2965612D0DB for <core@ietf.org>; Tue, 24 May 2016 08:55:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id u4OFtddm016892; Tue, 24 May 2016 17:55:39 +0200 (CEST)
Received: from nar-3.local.mail (p5DC7F21A.dip0.t-ipconnect.de [93.199.242.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3rDg3v4s3GzDN4n; Tue, 24 May 2016 17:55:39 +0200 (CEST)
Date: Tue, 24 May 2016 17:55:33 +0200
From: Carsten Bormann <cabo@tzi.org>
To: Ladislav Lhotka <lhotka@nic.cz>, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
Message-ID: <etPan.5744797a.3c93c048.169de@tzi.org>
In-Reply-To: <C6C84E10-70FB-4C47-8272-8018F99C2D0E@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>
X-Mailer: Airmail (367)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5744797a_2553deeb_169de"
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/SosqPBkk2zhlkAKRRLbix8MbkXU>
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: Tue, 24 May 2016 15:55:45 -0000

On 24 May 2016 at 17:09:01, Ladislav Lhotka (lhotka@nic.cz) wrote:
<foo member-type="2">42</foo> 
That brings up a question:

Are there any rules about the evolution of unions?

Can a YANG implementation rely on the relative position of union members staying the same over the evolution of modules?

Can a YANG implementation rely on a specific position in a union for what used to be the only permissible type in a previous version of a module?

Grüße, Carsten