Re: [netmod] Proposal to enhance the YANG tree output

"t.petch" <ietfc@btconnect.com> Fri, 15 September 2017 16:58 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 1029A132FA7 for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 09:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.91
X-Spam-Level:
X-Spam-Status: No, score=-2.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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 bflD7N_Y_hvs for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 09:58:12 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0103.outbound.protection.outlook.com [104.47.2.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5848B132D89 for <netmod@ietf.org>; Fri, 15 Sep 2017 09:58:12 -0700 (PDT)
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=dVlFk7zBwqb78P+vjt7+pZzA8ax7+AifW9lf8E8nPXI=; b=K9P/GOd4Rd7UNMt6kpajDhgMd24exVYBi874WlwxM7kuHdO/15uXUr10tJGEZfiGJ/mdaGk91eUJQyJpCmoy3kGJNoUwsB3AXJJeqlngZWw2elM61Ghddb0I7fD++0c2yniofSfz05e/xum4o788ik/ikKBEY2l2dRmDdYXyIec=
Received: from pc6 (86.185.245.5) by VI1PR0701MB3007.eurprd07.prod.outlook.com (2603:10a6:800:87::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.4; Fri, 15 Sep 2017 16:58:09 +0000
Message-ID: <018a01d32e43$982f4e80$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: "Benoit Claise" <bclaise@cisco.com>, "Martin Bjorklund" <mbj@tail-f.com>, <andy@yumaworks.com>, <netmod@ietf.org>, "Joe Clarke" <jclarke@cisco.com>
References: <9d84d068-29ba-8e89-394f-b7f6a5272adc@cisco.com> <CABCOCHQZ4zJ3p_4oB1Pu=1H60btzrccqTx7rUtsRsF0reXgrYw@mail.gmail.com> <20170914.195037.593298963545596882.mbj@tail-f.com> <5721c564-48e9-299e-5ada-b272b00716cf@cisco.com> <748ca881-2180-3096-750d-44d28aa1b7ce@cisco.com> <20170915132128.diib4wxp2vg6yqi4@elstar.local> <694e1d93-5cf8-2aca-a1a8-8df0e1d0aa15@cisco.com>
Date: Fri, 15 Sep 2017 17:51:09 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
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.185.245.5]
X-ClientProxiedBy: DB6P190CA0004.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:2f::17) To VI1PR0701MB3007.eurprd07.prod.outlook.com (2603:10a6:800:87::21)
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 37a6c253-0d56-4b0d-3456-08d4fc5af1fb
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:VI1PR0701MB3007;
X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB3007; 3:etGhe9tQSKbQdSevesWYJoSti1bDigdKiQZE0wqOHcvphmslercTg+6+rhRFcqf2VsUkGTmmUh17v+Yxb9Iqa2U1i5W5tt0rwJGOcLzG1uaqeY7k57iCZIDII9dPH50qCg4xPw5qVeF8rPBc+ijVTEyKqmAX7yBYG6DgYVcBzu2hpz+CgDsmhNaYMYlZHkWCpeLlbK5O3+nZ4oxpkdZyWEgrVr/DmNVgMdtSpAcrDcBuri1i/8nyNt/+9yR/VXII; 25:BOJFhAzhK0YcLBlqsddRze69lIN49ROrHZ8TOQjFO58BrCzG8gBFt8pxNBO+EWT8mgI9dqRZdN98Vw8xKTssW9pFYF47frmxm1qND+6kEQFHpKGtunP2dBpxzCM51EciXi6KcE97SV/h+Louq2qYum0CZPikyauZuz8eWz73jnEwRtwMgrREfMgvEAMQwlwnTZ9MEsFyNBZrwGgzafy+A73l+WECzxt+AG4pjcilABdzXF6L//HNBfZFlOfZcULT0ZzYDyhOiMBuesvbMA+/A4XMzi4drpKJMIV7TzMlvzIC0R2y3nJY3qNFrzeM69AGDHEvxnWg4rpRAXTWr4GH8g==; 31:0vJYf8jlhbIhX5ixvCoFk+2kOUetIw1VIS+VWTX/KUsuHv8EYfsrO4llISKp1yIEAvppmVMYcURAnmFVBit6auqEFW2ASX26kpaGJHsdmOTBYpJw9YDYZ/KT0j8yRBmKyIypRDli6UmYzMjH240tScK+rBx1k7oyeM2kTILa2qGiBNKU3I99f7Dw6deoReoFWp9Zs7pNpQaJNd8KIXtJx2YYiH8crZg5FovlRfErDtg=
X-MS-TrafficTypeDiagnostic: VI1PR0701MB3007:
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB3007; 20:dsKN5LZoZWk5KfcXAY3xBpLbXzAAzihAGV0Xd0qQxaLLI+q0XC/EawhhBm/jj8Rf4weJDQE1Fpb7FTSkzh0nVAaAhPRJqsiRwXUqsaXTsImvRNu8yZQkinm2UQT6E6p97OkZ0mYB/9nBZ6OqqOSjYESfFQ1pzIRJLwzIyYfBIWmf7eZSusjO7PG3H0f4mkw73iFhN0LpWwRLxxIAhNPtq0u4/p9SBH8tShIP6rg1hbVBx5AQYlKooHpWge2/BOlN; 4:KK8FRy9Ds+4/2Bf76A7QuNtC11a5tr9JzBe+7vbR5pVIbqoPXC7RpPYz+ktvzgqCTbxV4PLfBGQimI0H2p3OonijQ5e+HqiC5teE4/KWH/g4wRzBNHdGtIQrj4PyrW6/tMILi4lWgus/krSEbxqgNUTfbeIYDxJdXr5qsBycuQjaLdAWW8gBwslZSxvrbvgriJilvY/2kRSBC7MuiL4gN6e3Txo1eRXKnsHPf0VM303rS+gUzA6djlNwv+gSnPPizkj3W4Kg6XuTdfgRu+q55e/XYoX5S4RNhh9zCRfABV8=
X-Exchange-Antispam-Report-Test: UriScan:(95692535739014);
X-Microsoft-Antispam-PRVS: <VI1PR0701MB30071C7BA4D6693F22CCEFBFA06C0@VI1PR0701MB3007.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6041248)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR0701MB3007; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR0701MB3007;
X-Forefront-PRVS: 0431F981D8
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6009001)(39860400002)(346002)(376002)(13464003)(199003)(24454002)(377454003)(189002)(50466002)(4720700003)(62236002)(44716002)(76176999)(50986999)(106356001)(81686999)(81816999)(105586002)(23756003)(68736007)(66066001)(9686003)(229853002)(478600001)(53936002)(61296003)(101416001)(47776003)(6306002)(3846002)(6116002)(6496005)(6246003)(230700001)(44736005)(6486002)(93886005)(7736002)(5660300001)(1456003)(50226002)(33646002)(1556002)(8676002)(81166006)(305945005)(116806002)(189998001)(81156014)(316002)(97736004)(86362001)(53546010)(2906002)(84392002)(966005)(25786009)(2201001)(7350300001)(14496001)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB3007; H:pc6; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?iso-8859-1?Q?1; VI1PR0701MB3007; 23:Ird7cKUSQnu5IyQ2BCOANxkOAz19jeQ2qKdgd?= =?iso-8859-1?Q?fyIchWWiOxFUD8MapiGQ0zZF3cm17j6OYHdnkdfBdmVqJlQBu3EbIl5M4I?= =?iso-8859-1?Q?x8TriWFSrQBwyeSLdcny0wqWQDJpo8N2vGfWyhuXjSUOxfGxVI8y90Vy4I?= =?iso-8859-1?Q?7PPB3Dy7+Eba3uAl53rOEkJI70cKPwDI0meaKBUlZSgPhc8umzPx4UK/rd?= =?iso-8859-1?Q?3F17p1hIh1BO6TscBqsYPQkL9wmXYmX3SclnP5nZoI3E8AEBMHIpKEsbiv?= =?iso-8859-1?Q?f5T3Nbrlk3+dYLjs1KmKiSaZUepwttMvb3meG4CQsIuDCWSXZ3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hQYiJdmPYkgcyv8z4IyjAQoAo58MesXq/7yt0NI7Mzp0w/8=; 7:qBg2CnRQQdb5M0xlllpZAgKU7O6V23mKs63qiIxZTC2zqNLSX65pkTrqgW5FMif6vCJBtmVO7sTEO8PtysbZqzVygP2i+W8T8CW9l67wIIcRYanYeKsTOtB3XtaRM1BQDQLVge/SxyZeLoqOc75/l1XeNzzrdu08Xy37MpBWcf1C2MRtPR5CcgexS5mpcsohFDXuJJTahZctWswTQvD5hpfswgkgniS7Ss99MoLUbf4=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2017 16:58:09.7016 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB3007
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/vke8S7oud6UgSKkWbLmVIsEh0xA>
Subject: Re: [netmod] Proposal to enhance the YANG tree output
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: Fri, 15 Sep 2017 16:58:14 -0000

----- Original Message -----
From: "Joe Clarke" <jclarke@cisco.com>
Sent: Friday, September 15, 2017 2:50 PM

> On 9/15/17 09:21, Juergen Schoenwaelder wrote:
> > On Fri, Sep 15, 2017 at 02:54:31PM +0200, Benoit Claise wrote:
> >
> >> Now, if you are already a YANG expert, I guess you don't use the
> >> tree output much.
> >
> > I think this has nothing to do with YANG experience. The intention
of
> > the tree format was to provide a concise overview of the structure
of
> > the schema tree. If we start to include type specifics that can get
> > very detailed, the diagrams loose their value.
>
> I agree that clutter is bad.  I had the same reservation, but I am
also
> working with models and sharing information with people where a tree
> that has a _bit_ more information would be useful.
>
> I agree that showing this by default will be messy in some cases.  And
> maybe this has moved to a question more for you, Martin, in pyang's
> GitHub channel.  But if this output were put behind an option, would
you
> entertain a PR?

Joe

Less is more.

I agree with Andy, Martin and Lada that it has got too cluttered.

And as for line length, I cannot recall when last I read an I-D that did
not break the rules for RFC.

Tom Petch





>
> Joe
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod