Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-diagrams

"t.petch" <ietfc@btconnect.com> Wed, 17 January 2018 17:43 UTC

Return-Path: <ietfc@btconnect.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 AEF2B1314C2 for <netmod@ietfa.amsl.com>; Wed, 17 Jan 2018 09:43:09 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.com
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 7xH-FvOurVRG for <netmod@ietfa.amsl.com>; Wed, 17 Jan 2018 09:43:07 -0800 (PST)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0720.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::720]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5AD212E867 for <netmod@ietf.org>; Wed, 17 Jan 2018 09:43:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=exlbfAewNjR2bbpvG/Wsj/bD0HAX5rpPa1nAKmth7uY=; b=JXqGi1IB0u6P5EfDFBJd0/MTPbm9dE+T56yeKIoBT9mH8GnDNOyyi7KokUeLaotjcx7i1n8MpzacumZpynIG3fb+Qe2pNm+DpIDfQAna4gc1eYh/7oS0TXNVEg27wIsHrjymtXrltwJBCB2V3CKcWQgfaqcau2qAYe3S/xrOEH0=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
Received: from pc6 (86.169.153.236) by DB6PR0701MB3000.eurprd07.prod.outlook.com (2603:10a6:4:73::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.9; Wed, 17 Jan 2018 17:42:59 +0000
Message-ID: <024201d38fba$766b2a20$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: Alexander Clemm <alexander.clemm@huawei.com>, Martin Bjorklund <mbj@tail-f.com>, Robert Wilton <rwilton@cisco.com>
Cc: netmod@ietf.org
References: <aa7a1449-fd6e-e4c6-7568-41061c09d9f2@transpacket.com> <20180116.115606.561861432247288407.mbj@tail-f.com> <e94d1ed3-e859-3167-501f-ce23e77804df@transpacket.com> <20180116.164053.2123534827829006518.mbj@tail-f.com> <e63efa9f-3114-d59d-e1d8-e62602a830c5@cisco.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0EADB145@sjceml521-mbx.china.huawei.com> <021e01d38f7d$03e80e60$4001a8c0@gateway.2wire.net> <40145d13-a6aa-feb5-bfb2-b87b236e7700@cisco.com>
Date: Wed, 17 Jan 2018 17:29:52 -0000
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [86.169.153.236]
X-ClientProxiedBy: LNXP265CA0008.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::20) To DB6PR0701MB3000.eurprd07.prod.outlook.com (2603:10a6:4:73::10)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f3527430-c955-4165-fa04-08d55dd1c032
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989060)(5600026)(4604075)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603307)(7193020); SRVR:DB6PR0701MB3000;
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB3000; 3:PRPPKHAawu4nBXdiocBK8cvian9oUlzPltWzELemL6fE+Mt/BXeZxlQxrNH4j7JVsZjdsqObSwvXE66QN/o5rmFF8W/+//r1Mm6c2LB9qMGdxXRBvrQrg7MAqKKeBtjT/U02zDYdAwiylY/yYqN46QdBprSzK1mNGwojH5rE/cluAxLGtLHtc66M/3Ly79MIablmD6+cL2TIrPTUa25HG4aDryHgQZjwEOScYPY48vtLNEeqshRMRxYnXAgZlhDV; 25:7yi3AaKeCUXgIhjgbPsavvM+Tnmtxr76SkGXsrdPCl99zvEeZqoxigGJdLgQnqoN8ZHPDn4WMEW+YrHOi3ZSKJUYdXLth0x+E94ZQN7DTHCU+/ECyr5W9+c9hdFjwirMoqmipmt/AWnkPJdbjwpXPC69s94SHNkLVP2HvKXNcohjYqoWoKTfI+z8ngukr3JXZCYwxnQfcwEpRWEGnAzNYs/dQN9W38wV0/siny1YOoqUKPW8vkqlgSp+fFsmCjAywl+T3ag9dGcrXHNSO1Tga2oKiERgYlNohpjryqxLVoU/iF5mhrB7BTWQAFCRDlGVZslpJwWQD7Jwec3Hw8Eb+A==; 31:fG4FB3Ta84G+RwMGRxZ8xJpTxBSCSPs3FHClNGdvKAxloNycay+K0CsJiKGi/ONENviwqNe9zdn+2PlJ5N1wU7JjyDh1ucTbBgAkQGFUPgOyRR1/7dhjXTfV1yFYj65GGcPkwsxrNVmVdJ8N7L1fY3MF8Yw1GYoaFtNxrsYf0PIgm48/+SGj6tuajPQYJ5i4MQTJVSRtKW5Tir9QHZm7y3mCxsnCi+eZ14Xb/29GTHU=
X-MS-TrafficTypeDiagnostic: DB6PR0701MB3000:
X-Microsoft-Antispam-PRVS: <DB6PR0701MB300063DB75F5B21BE0D19A1EA0E90@DB6PR0701MB3000.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(50582790962513)(95692535739014);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(61425038)(6040470)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231023)(944501161)(6055026)(61426038)(61427038)(6041268)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DB6PR0701MB3000; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:DB6PR0701MB3000;
X-Microsoft-Exchange-Diagnostics: 1; DB6PR0701MB3000; 4:3wJKL3q/iGlpXwo+V99zTxKTZEzIRI863kjGnA14y8cUbhHveUpaTZ69J0vQKiqML2DYr+lY4O1bezEZ13kcVUzHs7lDmjpciIKu7Wjtz7s9KMJTIsclZ2929cf4CjpkLUf9O8WyFSAy7MYyAifE3zFPmKYXy1LIzZl5U9wGZUFiIjPmn5sJHtoCosNYM3rZKdhaabvWUtpNQ6P1FAx0kJ2HYKs7S0pZiy94mwgxdXpeMenZ5LMF7DMaJ4OOAWbaKYIInoiFEZ1UMYamuHiN6Zk/0n8QmlQW62fEepd/RMbGagjOjI5G+pMRvDHtCc1MvJk3IaccqupE5WLyii9sjfOANtEZklIIY1/vkfMA4Rw=
X-Forefront-PRVS: 0555EC8317
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(346002)(39860400002)(396003)(366004)(376002)(39380400002)(24454002)(51444003)(189003)(199004)(13464003)(26005)(6246003)(316002)(81816011)(97736004)(966005)(8936002)(81156014)(50226002)(16526018)(81166006)(478600001)(93886005)(4720700003)(6666003)(386003)(23676004)(1456003)(1556002)(66066001)(52116002)(44716002)(6496006)(8676002)(33896004)(81686011)(68736007)(86362001)(47776003)(53546011)(5660300001)(230783001)(76176011)(16799955002)(2486003)(61296003)(53936002)(84392002)(50466002)(62236002)(229853002)(345774005)(4326008)(230700001)(6116002)(6486002)(3846002)(14496001)(305945005)(44736005)(9686003)(110136005)(25786009)(106356001)(6306002)(105586002)(7736002)(2906002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB3000; H:pc6; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1;DB6PR0701MB3000;23:cr5UXq8YYwuQtxL2oiq5+YbnFqdCWnjEMyRrXzafdY7dDDzDbLJ1k1+V65xP/MH5wnm3+22qMap3vr9hFYYZpiEvAPP6ZpdXPA7ejI1FKtH78C96p+UZud6GuGm3QJyLhvI5tmjLjb8LDdvR9v+vbQkSPxgbazXyifHbJJO9qB0xcISGRpmdA5S95aPm1pADyc8WV3NuLQw9xyEnphe+hmKlJBLDmmiiUmi2rEiCTfoFcxmkOdpCfS38ccmKVyt13eC9dpgy1X7q/BVidEL3CYpGycpP3aK9ZShvN0xJ0hupMn1Yu1GIn6ftlqSEn+hLJpK4o9acxyHELtlUH6Vfnn7nSiUA0Vvl2ntCZLgoRsLwn6PJjAk2HKuQ3dDdkoYk+Iri/dh62RrrGMbZL+4YMhmoPUFbgHczIydi66M6BebJpeWyXfJgM+VRPqAcZq95kgAg9I2R8myIPb4qa5yW4Q0F6jcOo6+CgXp6ejYTVgZAJF7Hr2werEid67rPhZFZZxAfhm67S3VEEzPYCwn2XZAdU9dHVhPTAEsrhPYmk/UpzhpogfrbwrQsxyTWQzhGX13wBbaecLGvfD0kt0RRY5HXzGPDt7LixoFck9fK5s2hJtXOk0FHiVZOm806MCpHqvR4NzdVbDcudXaIYrVrElTGB5G35R06B4nB+hg5BCraXNbflv+q2y6p5qMka+hx/LmnSAJDuDgupbAfyiKPdI+oxoX/or6EfkHt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OLtvgWRTqkpXtPw1l1bpnjXiocUpXV10eXHU/7J6SILnEMmNAiq+Q05agZHUg+gVxlLboY3/V/0NDQwsd7F3Z8A6W1gpo0Fn2KtE1MIjJdH2glutD2O+84Zk6LN9FOVdo7xVMPIOMokzr9UKN5QrBxC/7jVYTf2XYl6j3C7UdlaqiEY+SQKlO9Dq8mFU=; 5:RRbCV7wMfK9oyJBe+251Zd1dd1QTR/HKTbZThJOIKlKwHQlWzdUUcBaUPkiJVSomMydFaaaFjvd4fgcJukhAd+CzX4BTcZRjRlaSoQ1sja9ovTvjKgWm7ysTwQGxFpDq2hDXS/hWq/2Iypa1nJND2hYp1/JjhMPVMLBVjFL27nY=; 24:ruzuNYFt8V2gYBkPK7SzXVkuycSisL/oDyYFVq1yjDe/SgELc+2zb8QSrsJr1+jx/CiivsjJoaOZ6qkCW4Vs0oEvTLuhi/8Z8oPrYifuyks=; 7:5wgrKg0cxwFErfWgCgQJ5PtGkWqy80LROHTp7RTanf7HzJr26+ARXCjpnoju1UFiNvIxM+rjPne8jlIPyzUnnPvVE1tsIGgA/pojWKAZxq2ukrW+Xbi+srIbW8VWVlVBFG17tyhmI9xyV3mU+5Ui9kKj9mGBlTGIPInjZr4JrQe6xIWfcOtYFBaO76om9c9wzz3yDnh6CLOW/YQGcZaiK23AMpN7oDpvwht8r49fgKbXDCHq/7ddTCzwqd5ko/qr
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2018 17:42:59.3313 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: f3527430-c955-4165-fa04-08d55dd1c032
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0701MB3000
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/eCpQjoBEmtgu-jWvGLiHs_wblDo>
Subject: Re: [netmod] WGLC - draft-ietf-netmod-yang-tree-diagrams
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: Wed, 17 Jan 2018 17:43:10 -0000

----- Original Message -----
From: "Robert Wilton" <rwilton@cisco.com>
Sent: Wednesday, January 17, 2018 10:44 AM

> Hi Tom,
>
>
> On 17/01/2018 09:52, t.petch wrote:
> > ----- Original Message -----
> > From: "Alexander Clemm" <alexander.clemm@huawei.com>
> > Sent: Wednesday, January 17, 2018 2:20 AM
> >
> >> +1 to (2) as preference, followed by (1).  I don't think (3) is
needed
> > here.  The purpose is to make this human-readable and provide
readers a
> > good sense of the overall structure.
> >
> > <tp>
> >
> > That's what I thought until Benoit said, and Robert agreed, that
> >
> > 'In the end, the tree view should be browsed with tooling.'
> The text based YANG tree diagram (i.e. covered by this draft) doesn't
> need to be browsable by tooling. The purpose of these diagrams should
> be to go in text documents to help explain and illustrate (to human
> readers) the structure of a YANG model.
>
> By "In the end, the tree view should be browsed with tooling.", what I
> mean is that I think that tools like YANG catalog will be the long
term
> way of interacting with and browsing YANG modules. For example, the
> link below for the RIP module.
>
> https://www.yangcatalog.org/yang-search/yang_tree.php?module=ietf-rip
>
> This provides an interactive GUI "tree view" of a YANG model, which
> should be structurally equivalent as the text tree diagram, but
> otherwise the information may be represented in a more visual way.
This
> will become even more powerful when all of the standard YANG modules
are
> available together in a single browsable tree.
>
> Hopefully, that clarifies my previous comment.

Yes, thank you for the clarification,

Tom Petch





>
> Thanks,
> Rob
>
> >
> > i.e. the tree view should be machine readable after which something
is
> > produced for human consumption; not a view I share.
> >
> > Tom Petch
> >
> >
> >     The authoritative specification is still the .yang itself.
Providing
> > some guidance for how to represent the tree is good but let's not
> > over-engineer this; I believe retaining some flexibility is good.
> >> --- Alex
> >>
> >>> -----Original Message-----
> >> ...
> >>>> Does anyone else have an opinion on this?  I can see three
> >>>> alternatives:
> >>>>
> >>>>     1) allow any number of addtional spaces
> >>>>     2) allow any number of addtional spaces + define a suggested
> >>>>        alignment algorithm
> >>>>     3) mandate the alignment algorithm
> >>> Definition of symbols should be precise/consistent, so that
readers
> > can
> >>> consistently interpret tree diagrams.
> >>>
> >>> I think that flexibility in layout should be OK, but the draft
> > should provide
> >>> guideline to ensure the output is readable, and likely to be
broadly
> > consistent
> >>> (since consistency aids readability).
> >>>
> >>> If the IETF data modeling group is trying to specify text output
> > precisely
> >>> enough that it can be screen scraped then we may want to consider
> > whether
> >>> we are focusing on the right solution ;-)
> >>>
> >>> In summary, (2) is my preference, followed by (1), followed by
(3).
> >>>
> >>> Thanks,
> >>> Rob
> >>>
> >>>>
> >>>> /martin
> > .
> >
>