mbj4668 / pyang

An extensible YANG validator and converter in python
ISC License
535 stars 344 forks source link

Output of --tree-print-groupings: should there be a colon after grouping name? #797

Closed ajeanmahoney closed 2 years ago

ajeanmahoney commented 2 years ago

According to Section 2 of RFC 8340, there should be a colon after a grouping name. However, the output of pyang does not place colons after grouping names when generating a tree. This issue was noticed during AUTH48 for draft-ietf-opsawg-vpn-common. The authors generated the first four figures in the draft with "pyang -f tree --tree-print-groupings". Should pyang add a colon to a grouping name?

mbj4668 commented 2 years ago

Yes it should. Thanks for the report!