Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: [802.3_YANG] Maximum line length of YANG modules

Hi Marek,

I'm not sure. Without the formatting I think that they are hard to read and review.


On 14/12/2016 12:21, Marek Hajduczenia wrote:

We *could* break them down to the proper limit when they are actually published as RFC and not bother with formatting so early on. Would that make more sense?


-----Original Message-----
From: Robert Wilton [mailto:rwilton@xxxxxxxxx]
Sent: Wednesday, December 14, 2016 6:44 AM
To: STDS-802-3-YANG@xxxxxxxxxxxxxxxxx
Subject: [802.3_YANG] Maximum line length of YANG modules


IETF YANG modules lines are restricted to 69 characters. This is because
they are embedded into RFCS (max 72 characters/line), and the module
ends up being indented by 3 spaces in the RFC.

For my updates to the 802.3 Ethernet YANG modules, I am also currently
formatting the maximum line length to 69 characters, but I don't know if
IEEE uses a higher limit for MIBs/YANG modules. If I should be using a
different, higher limit, then please can you let me know, and I'll
reformat the descriptions accordingly.