Re: [yang-doctors] Style question from individuals working on IEEE YANG

Martin Bjorklund <mbj@tail-f.com> Wed, 15 January 2020 13:17 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A98A5120233 for <yang-doctors@ietfa.amsl.com>; Wed, 15 Jan 2020 05:17:59 -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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] 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 okGvL9Esdcu4 for <yang-doctors@ietfa.amsl.com>; Wed, 15 Jan 2020 05:17:55 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 3849A12022C for <yang-doctors@ietf.org>; Wed, 15 Jan 2020 05:17:55 -0800 (PST)
Received: from localhost (unknown [173.38.220.41]) by mail.tail-f.com (Postfix) with ESMTPSA id 661371AE0351; Wed, 15 Jan 2020 14:17:54 +0100 (CET)
Date: Wed, 15 Jan 2020 14:17:17 +0100
Message-Id: <20200115.141717.510034087830637825.mbj@tail-f.com>
To: J.Schoenwaelder@jacobs-university.de
Cc: scott.mansfield=40ericsson.com@dmarc.ietf.org, yang-doctors@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20200115131243.7nsinkijn3svgmqs@anna.jacobs.jacobs-university.de>
References: <SN6PR15MB23827FBAD5C61D8868ECECEE8B370@SN6PR15MB2382.namprd15.prod.outlook.com> <20200115.135907.604098548525922549.mbj@tail-f.com> <20200115131243.7nsinkijn3svgmqs@anna.jacobs.jacobs-university.de>
X-Mailer: Mew version 6.8 on Emacs 25.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/Gs0wkyhZ3cK2ZS54gtmkYZRgxr0>
Subject: Re: [yang-doctors] Style question from individuals working on IEEE YANG
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Jan 2020 13:18:00 -0000

Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de> wrote:
> On Wed, Jan 15, 2020 at 01:59:07PM +0100, Martin Bjorklund wrote:
>  
> > [In your example it might be obvious, especially if you also take the
> > leaf's name into account:
> > 
> >      must '. = count(../my-list)';
> > ]
> >
> 
> This must expression may work for applied config but what about adding
> an entry to my-list in <running> or <candidate>?

Right; as you noted, it works for the list in <operational> in an NMDA
server.

It will never count the entries in <candidate>.



/martin