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

Martin Bjorklund <mbj@tail-f.com> Fri, 15 September 2017 13:54 UTC

Return-Path: <mbj@tail-f.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 A2B561332CE for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 06:54:50 -0700 (PDT)
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_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 PGmcdlhyjXCh for <netmod@ietfa.amsl.com>; Fri, 15 Sep 2017 06:54:49 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 3C52D12421A for <netmod@ietf.org>; Fri, 15 Sep 2017 06:54:49 -0700 (PDT)
Received: from localhost (h-40-225.A165.priv.bahnhof.se [94.254.40.225]) by mail.tail-f.com (Postfix) with ESMTPSA id D75371AE00A0; Fri, 15 Sep 2017 15:54:47 +0200 (CEST)
Date: Fri, 15 Sep 2017 15:55:34 +0200
Message-Id: <20170915.155534.171587236450641060.mbj@tail-f.com>
To: jclarke@cisco.com
Cc: bclaise@cisco.com, andy@yumaworks.com, netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <694e1d93-5cf8-2aca-a1a8-8df0e1d0aa15@cisco.com>
References: <748ca881-2180-3096-750d-44d28aa1b7ce@cisco.com> <20170915132128.diib4wxp2vg6yqi4@elstar.local> <694e1d93-5cf8-2aca-a1a8-8df0e1d0aa15@cisco.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0eN5DpxmZb6FPqhORdQywOFeOo0>
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 13:54:50 -0000

Joe Clarke <jclarke@cisco.com> wrote:
> 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?

Right, there are two issues here, what do we specify in the draft and
what extensions will tools do.  It seems we agree that we shouldn't
put this into the specification.

(as for pyang, I'll send you a private email)


/martin