Hi Martin,

It looks like it needs a further tweak to also wrap augments. I just tried (with the latest master off github) and hasn't wrapped the augment line.

E.g.

module: ietf-if-l3-vlan
augment /if:interfaces/if:interface/if-cmn:encapsulation/if-cmn:encaps-type:
    +--:(vlan)
       +--rw vlan
          +--rw tag* [index]
             +--rw index        uint8
             +--rw dot1q-tag
                +--rw tag-type    dot1q-tag-type
                +--rw vlan-id     ieee:vlanid

Thanks,
Rob


On 11/03/2017 21:49, Martin Bjorklund wrote:
"Acee Lindem (acee)" <[email protected]> wrote:
Hi Juergen,

On 3/8/17, 2:34 PM, "netmod on behalf of Juergen Schoenwaelder"
<[email protected] on behalf of
[email protected]> 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

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod
.


_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to