Re: [netmod] Lines too long in YANG tree diagrams

2023-07-05 Thread Carsten Bormann
On 6. Jul 2023, at 00:43, Scott Mansfield wrote: > > I could editorialize about how in 2023 we are still hindered by a limit > imposed by a VT100 from 1978, but I have said enough. The VT100 had 80 columns (132 with an option). We are talking about ASR33 teletypes here, with 72 columns. One

Re: [netmod] Lines too long in YANG tree diagrams

2023-07-05 Thread Kent Watsen
> But what I do for readability and to avoid lint issues is use rfcfold on > trees or examples that have long lines. For the examples that are xml or > json based, the consumer of the RFC needs to reverse the fold so that the > example works in yanglint or other tools. It would be ideal for

Re: [netmod] Lines too long in YANG tree diagrams

2023-07-05 Thread Scott Mansfield
My reading is that it is recommended. Not required. But what I do for readability and to avoid lint issues is use rfcfold on trees or examples that have long lines. For the examples that are xml or json based, the consumer of the RFC needs to reverse the fold so that the example works in

Re: [netmod] Lines too long in YANG tree diagrams

2023-07-05 Thread Jürgen Schönwälder
Tree diagrams are a means to explain the structure of a module. It is often useful to larger diagrams into small pieces and then the line length problem resolves itself. See also Section 3.3 of RFC 8340. /js On Wed, Jul 05, 2023 at 09:58:46PM +, Italo Busi wrote: > RFC8340 suggests to use

Re: [netmod] Lines too long in YANG tree diagrams

2023-07-05 Thread Kent Watsen
Hi Italo, > On Jul 5, 2023, at 5:58 PM, Italo Busi > wrote: > > RFC8340 suggests to use the "--tree-line-length 69" option to produce YANG > tree diagrams to be included into an Internet-Draft or RFC. > > Although this option works well in many cases, there are few cases where > pyang

[netmod] Lines too long in YANG tree diagrams

2023-07-05 Thread Italo Busi
RFC8340 suggests to use the "--tree-line-length 69" option to produce YANG tree diagrams to be included into an Internet-Draft or RFC. Although this option works well in many cases, there are few cases where pyang produces YANG tree diagram with lines too long even with the "--tree-line-length

Re: [netmod] WGLC on node-tags-09

2023-07-05 Thread Qin Wu
-- Apart from being able to deduce it from Section 4.3, it is not absolutely clear from Section 4 that the colon has special meaning. That is that all prefixes now and in the future are delimited by the colon. (This is important because, absent a colon, there is no way to distinguish an

Re: [netmod] WGLC on node-tags-09

2023-07-05 Thread Adrian Farrel
Briefly in line with [AF2] Tl;dr All is good. Adrian -Original Message- From: Qin Wu Sent: 05 July 2023 05:14 To: adr...@olddog.co.uk; 'Kent Watsen' ; netmod@ietf.org Subject: RE: [netmod] WGLC on node-tags-09 Hi, Adrian: -邮件原件- 发件人: Adrian Farrel [mailto:adr...@olddog.co.uk]