ietf-ccamp-wg / ietf-ccamp-layer0-types-ext-RFC9093-bis

CCAMP WG repository for ietf-layer0-types-ext
3 stars 3 forks source link

pyang tree length issue #65

Closed sergiobelotti closed 7 months ago

sergiobelotti commented 1 year ago

Even if it is used option in the creation of tree with limit of the characters to 69, pyang -f tree --tree-line-length=69 , it seems that the result can exceed the 69 characters when it is not possible to identify where to cut the lines. As example | | +--ro max-polarization-dependent-loss-penalty* []

To solve this issue the attribute has been renamed with a shorter name:

| | +--ro max-pol-dependent-loss-penalty* []

However, finding a more generic solution would be preferable especially when the YANG tree is quite deep