Re: [netconf] YANG encoding in CBOR
Carsten Bormann <cabo@tzi.org> Mon, 25 March 2019 08:12 UTC
Return-Path: <cabo@tzi.org>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C5EF120379; Mon, 25 Mar 2019 01:12:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 Fg4uzpY_qQOm; Mon, 25 Mar 2019 01:12:56 -0700 (PDT)
Received: from smtp.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8BFB912039D; Mon, 25 Mar 2019 01:12:56 -0700 (PDT)
Received: from dhcp-8804.meeting.ietf.org (dhcp-8804.meeting.ietf.org [31.133.136.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id 44SRpG2JvHzybw; Mon, 25 Mar 2019 09:12:54 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <871s2vqsxi.fsf@nic.cz>
Date: Mon, 25 Mar 2019 09:12:53 +0100
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Michel Veillette <Michel.Veillette@trilliant.com>, "netconf@ietf.org" <netconf@ietf.org>, "core@ietf.org" <core@ietf.org>
X-Mao-Original-Outgoing-Id: 575194371.287631-8b6bceeb2497f787752a48fea9763ca6
Content-Transfer-Encoding: quoted-printable
Message-Id: <F099B29B-163F-460A-8B68-3DA266ECBA9E@tzi.org>
References: <6235c6683ff14848a661f8b8cec94280@XCH-RCD-007.cisco.com> <BL0PR06MB5042823429DB7CDA0F33408B9A430@BL0PR06MB5042.namprd06.prod.outlook.com> <588401AB-483E-40F5-95BB-20A066E56DAC@tzi.org> <15fbaf84b20343a1b83f40b571149a14@XCH-RCD-007.cisco.com> <1ADF8201-ABB4-44FD-A515-F3F8E0DBF5FC@tzi.org> <20190323101003.gp3zvsvqqwc26jip@anna.jacobs.jacobs-university.de> <871s2vqsxi.fsf@nic.cz>
To: Ladislav Lhotka <lhotka@nic.cz>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/3EmFJ4pLGbgUAEcjBVhq5v2CAIU>
Subject: Re: [netconf] YANG encoding in CBOR
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Mar 2019 08:13:04 -0000
On Mar 25, 2019, at 09:06, Ladislav Lhotka <lhotka@nic.cz> wrote: > > Perhaps the easiest way would be to use (optional) annotation that > specifies, using an ordinal number, which of the member types is used > for the particular instance. But since there can be unions inside > unions, a list of numbers would be needed in general. Is the sequential number of the alternative supposed to be “stable”? (I.e., would there be confusion if an alternative is inserted in the middle? Which you may want to do while we still do “first match wins”.) If yes, a list of those numbers may indeed be sufficient to always stay with values for CBOR. Grüße, Carsten
- Re: [netconf] YANG encoding in CBOR Ladislav Lhotka
- Re: [netconf] [core] YANG encoding in CBOR Ladislav Lhotka
- Re: [netconf] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] [core] YANG encoding in CBOR Andy Bierman
- [netconf] YANG encoding in CBOR Rob Wilton (rwilton)
- Re: [netconf] YANG encoding in CBOR Michel Veillette
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] [core] YANG encoding in CBOR Andy Bierman
- Re: [netconf] [core] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] YANG encoding in CBOR Rob Wilton (rwilton)
- Re: [netconf] YANG encoding in CBOR Rob Wilton (rwilton)
- Re: [netconf] YANG encoding in CBOR Michel Veillette
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] [core] YANG encoding in CBOR Andy Bierman
- Re: [netconf] [core] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] [core] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] [core] YANG encoding in CBOR Andy Bierman
- Re: [netconf] [core] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] [core] YANG encoding in CBOR ivaylo petrov
- Re: [netconf] [core] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] [core] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] YANG encoding in CBOR Ladislav Lhotka
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] YANG encoding in CBOR Ladislav Lhotka
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] YANG encoding in CBOR Ladislav Lhotka
- Re: [netconf] YANG encoding in CBOR Michel Veillette
- Re: [netconf] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] YANG encoding in CBOR Ladislav Lhotka
- Re: [netconf] YANG encoding in CBOR Michel Veillette
- Re: [netconf] YANG encoding in CBOR Michel Veillette
- Re: [netconf] [core] YANG encoding in CBOR Andy Bierman
- Re: [netconf] [core] YANG encoding in CBOR Ladislav Lhotka
- Re: [netconf] [core] YANG encoding in CBOR Andy Bierman
- Re: [netconf] YANG encoding in CBOR Carsten Bormann
- Re: [netconf] YANG encoding in CBOR Michel Veillette
- Re: [netconf] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] [core] YANG encoding in CBOR ivaylo petrov
- Re: [netconf] YANG encoding in CBOR Andy Bierman
- Re: [netconf] YANG encoding in CBOR Juergen Schoenwaelder
- Re: [netconf] YANG encoding in CBOR Andy Bierman
- Re: [netconf] YANG encoding in CBOR Michel Veillette