Re: [netmod] xpaths and Wrapping Long Lines - draft-ietf-netmod-yang-tree-diagrams-03

Ian Farrer <ianfarrer@gmx.com> Thu, 21 December 2017 11:15 UTC

Return-Path: <ianfarrer@gmx.com>
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 C7DDE1200C1; Thu, 21 Dec 2017 03:15:17 -0800 (PST)
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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 6tjgD5k1naEt; Thu, 21 Dec 2017 03:15:15 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CAB7312D833; Thu, 21 Dec 2017 03:15:12 -0800 (PST)
Received: from [192.168.1.201] ([80.159.240.8]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0M3S2C-1fIhvR1o8G-00r0WN; Thu, 21 Dec 2017 12:15:01 +0100
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Ian Farrer <ianfarrer@gmx.com>
In-Reply-To: <20171221104328.ssex3bvj5zuxsjeo@elstar.local>
Date: Thu, 21 Dec 2017 12:15:00 +0100
Cc: Martin Bjorklund <mbj@tail-f.com>, netmod@ietf.org, draft-ietf-netmod-yang-tree-diagrams@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <ED2AE08B-251D-4697-8E4E-2E8F3C6B5828@gmx.com>
References: <45E0BE8A-DA0B-459E-9757-C9817912E473@gmx.com> <1513852135.9539.15.camel@nic.cz> <20171221.113947.2011578475461538770.mbj@tail-f.com> <20171221104328.ssex3bvj5zuxsjeo@elstar.local>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3273)
X-Provags-ID: V03:K0:lynX3VMmOIPakdYVRKUlcj1vV+aod+xMw01AMvC1PsEzKHr28KR s39HF5iLKXN5Dnwx63FyVj/Rs+jLFFLBkBBhJuosaG97bv+vWWLKpHfNikkCNSKnDj92FRh euPdBBwqVNXMzdQpuaEfdaYtq/YX6Tsr1zXOehkm9F5jJVaeSQ6G2pcBXXIbp6wGinmL4d5 KjNfFC4sKKrDDgE86faXw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:V+xRDhCAvJE=:nPzjvM+jTzj4oqqYAUw5Hq Gb+A5NS/F+5aQhvr/7jbowChPinq60gQ3/Xi5sLyqMtda52liks/PVY+Vy53Huf9Gy5cEJeQc bKyEWqbs2BQQIwoME1BKRUQjhHHLKhEzPRHKvxi+epTWw6QbZVuAL/1VTGBKfpO6WqEa33hdv LLf6rWvc9JQvtEwP8YIze+4q0VcYryEj7NJQD45ejJ5w2fm3NcmRpa0Z8a/LOWqryvKIlSODe iaj7ILZVLF7e2WDxzcyWeWUjZI9fW4k0Lswq/bUHtYxA/Bn93dMknO5bTo40kVzmGpkypyyvB 56m8QT1H6pHn2/vzCx4bKO7xCFZLHEBIvLZlIt1nHdo3dEMYPumctroEcact19eEGrEhdM80H MfUvoZ6Okg1rZg4DxfU2dz5C3BytsQp1tkG+njQvkLB0zh/Y3duw8YruhL6S2HmX5sYGbxzuE ZAelzsFO949FdQHoGqlfCp8HLrBOkf4tG16LGOtAMUgzLe7uBlYlRyUom33AsKlyzCDeCp7T7 stkMXeixlbwlWbwT8y2a4iMt1q0UxsWvmEyFARH2HpGaCkjMoAXcYlAY/tApqApN1wa0HN6tK no4uF1lpvar2gyr9wr6bPSbYdMIM7rKB9zA0ibSr/FX4NUf1PXYSN6qpNoVyhTpCoQxpVI4O+ mHEJ5PthBTu8csQV09CtIxlSLYrbV324ImtbSWgR4PZsIobHBt0Qrr1gPo1KtEkenl9nGWfFw uqEO6Ut9kt1F7c812FvkWHJxKFIHb0UQjmeF4UYfwuAZpNj8vsk38ihIoobN4yhO0UjS4Fsbe yymVnVBHZi31ckjnU9B5XebV6FC1kQ3CUK6UUEgsPGBwcNZZ4E=
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/GqR5POB6bvfvcgzOk6dNowI60D8>
Subject: Re: [netmod] xpaths and Wrapping Long Lines - draft-ietf-netmod-yang-tree-diagrams-03
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 21 Dec 2017 11:15:18 -0000

Thanks. This suggestion seems cleanest. Can the tree diagrams draft be updated to describe this?

BR,
Ian


> On 21. Dec 2017, at 11:43, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> On Thu, Dec 21, 2017 at 11:39:47AM +0100, Martin Bjorklund wrote:
> 
>> But this is in the YANG source; I think Ian asked about the tree
>> diagram syntax.  Maybe the corresponding syntax in the tree diagram
>> could be simply:
>> 
>> augment /nat:nat/nat:instances/nat:instance
>>        /nat:mapping-table/nat:mapping-entry:
> 
> Works for me.
> 
>> Or even simpler, maybe we can say that any string in the tree diagram
>> syntax can follow the YANG string rules.
> 
> The YANG string rules are for machines to get the parsing right. Since
> the tree diagrams are for humans, the less noise the better.
> 
> /js
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod