netmod-wg / yang-next

Feature requests for future versions of YANG
6 stars 0 forks source link

enable specifying augmentation's location amongst siblings #87

Closed kwatsen closed 2 months ago

kwatsen commented 5 years ago

When augmenting a grouping, the augmented nodes are floated to the bottom on the resolved definition. While YANG trees are unordered, it would be nice to be able to control tree-diagram output. Many times items that are augmented in should logically be at the top and co-located with like siblings...

abierman commented 3 months ago

Do not support. Augmented nodes are unordered and it would be a big change to the implementations to enforce some augment order. There is no order for top-level data nodes either. Tree diagram output not important.

janlindblad commented 2 months ago

Agree that we should not introduce order in the language. We could add annotations for or cli flags to pyang -f tree, tho.