Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

Ladislav Lhotka <lhotka@nic.cz> Fri, 23 November 2018 09:22 UTC

Return-Path: <lhotka@nic.cz>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 893FE130DFA for <netmod@ietfa.amsl.com>; Fri, 23 Nov 2018 01:22:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 lYQWJ6GoVcUr for <netmod@ietfa.amsl.com>; Fri, 23 Nov 2018 01:22:24 -0800 (PST)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 5B951130E30 for <netmod@ietf.org>; Fri, 23 Nov 2018 01:22:17 -0800 (PST)
Received: by trail.lhotka.name (Postfix, from userid 109) id 93CA9182113E; Fri, 23 Nov 2018 10:29:38 +0100 (CET)
Received: from localhost (unknown [195.113.220.121]) by trail.lhotka.name (Postfix) with ESMTPSA id 419921820056; Fri, 23 Nov 2018 10:29:35 +0100 (CET)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Martin Bjorklund <mbj@tail-f.com>
Cc: netmod@ietf.org
In-Reply-To: <20181122163046.bkzck2bmbrf3fzm7@anna.jacobs.jacobs-university.de>
References: <87wop5kzgb.fsf@nic.cz> <20181122.143948.1543843065251732639.mbj@tail-f.com> <CABCOCHS18StYKGC4f7cPWFraKNHRsC9cWfrmfZ0j773awdicvQ@mail.gmail.com> <20181122.150027.823800945772964674.mbj@tail-f.com> <20181122163046.bkzck2bmbrf3fzm7@anna.jacobs.jacobs-university.de>
Mail-Followup-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Martin Bjorklund <mbj@tail-f.com>, netmod@ietf.org
Date: Fri, 23 Nov 2018 10:22:11 +0100
Message-ID: <87tvk85et8.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Xoh6V1pOyO-X1V7cgN-MF9V4rfg>
Subject: Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Nov 2018 09:22:28 -0000

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> writes:

> On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote:
>> Andy Bierman <andy@yumaworks.com> wrote:
>> > 
>> > 9.9 <https://tools.ietf.org/html/rfc7950#section-9.9>.  The leafref
>> > Built-In Type
>> > 
>> >    The leafref built-in type is restricted to the value space of some
>> >    leaf or leaf-list node in the schema tree and optionally further
>> >    restricted by corresponding instance nodes in the data tree.  The
>> >    "path" substatement (Section 9.9.2
>> > <https://tools.ietf.org/html/rfc7950#section-9.9.2>) is used to
>> > identify the referred
>> >    leaf or leaf-list node in the schema tree.  The value space of the
>> >    referring node is the value space of the referred node.
>> 
>> Yes, it should be "data tree" in both occurrences.
>
> Time for an errata?

Here is the old discussion thread:

https://www.ietf.org/mail-archive/web/netmod/current/msg15979.html

Everything relevant had been extensively discussed in it, and I am
sceptical that we can come up with anything significantly better - it
will only be more (or different) hand-waving. The problem is inherent in
the leafref design introduced in YANG 1.1. It won't go away no matter
how much we paper over it.

Lada

>
> /js
>
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67