openconfig / goyang

YANG parser and compiler to produce Go language objects
Apache License 2.0
220 stars 84 forks source link

when to use yang deviation (not-supported) and in which scenario status (obsolete) should be used? #263

Closed rosy8 closed 9 months ago

wenovus commented 9 months ago

I'd say RFC7950 provides a fairly good description of the distinction: https://datatracker.ietf.org/doc/html/rfc7950#section-7.20.3 https://datatracker.ietf.org/doc/html/rfc7950#section-7.21.2

This question is better suited to be asked at https://github.com/openconfig/public/issues, feel free to ask any follow-up questions there.