Re: [netmod] stable reference for tree diagram notation

Martin Bjorklund <mbj@tail-f.com> Sat, 11 March 2017 21:49 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 308BB1295DB for <netmod@ietfa.amsl.com>; Sat, 11 Mar 2017 13:49:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-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 sfW41Rtj8vz5 for <netmod@ietfa.amsl.com>; Sat, 11 Mar 2017 13:49:52 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 15B6212896F for <netmod@ietf.org>; Sat, 11 Mar 2017 13:49:52 -0800 (PST)
Received: from localhost (h-148-188.a165.priv.bahnhof.se [176.10.148.188]) by mail.tail-f.com (Postfix) with ESMTPSA id 1DACC1AE030D; Sat, 11 Mar 2017 22:49:51 +0100 (CET)
Date: Sat, 11 Mar 2017 22:49:51 +0100 (CET)
Message-Id: <20170311.224951.2245774412799352894.mbj@tail-f.com>
To: acee@cisco.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <D4E9D4E5.A12DC%acee@cisco.com>
References: <271CED23-8655-45A8-8E05-3ABD460871BD@juniper.net> <20170308193434.GA10080@elstar.local> <D4E9D4E5.A12DC%acee@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=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0n28xbDr2Jxwg7Ot10GcrEIDqTg>
Cc: netmod@ietf.org
Subject: Re: [netmod] stable reference for tree diagram notation
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 11 Mar 2017 21:49:53 -0000

"Acee Lindem (acee)" <acee@cisco.com> wrote:
> Hi Juergen, 
> 
> On 3/8/17, 2:34 PM, "netmod on behalf of Juergen Schoenwaelder"
> <netmod-bounces@ietf.org on behalf of
> j.schoenwaelder@jacobs-university.de> wrote:
> 
> >On Wed, Mar 08, 2017 at 06:56:20PM +0000, Kent Watsen wrote:
> >> 
> >> This way, reader can focus more quickly on the diffs, but also this
> >> likely mimics what happened in reality (start with `pyang -f tree`
> >> and then manually edit from there).  What do you think?
> >> 
> >
> >Manually edited tree diagrams? I hope not.
> 
> I frequently have to manually edit the pyang-generated trees to get them
> to fit in the xml2rfc output. Is there a work around for this that I don¹t
> know about? 

In the latest pyang, I have added --tree-line-length.  Use:

  pyang -f -tree --tree-line-length 69 ...

to fit RFCs.


/martin