We’ve had some discussions as to whether YANG models should put constraints or use choices for ‘config false’ data nodes. For example, if you have a two mutually exclusive containers, should the YANG model reflect this for ‘config false’ data? Or, if you have a leaf that would only make sense to return if the value of a preceding leaf has a certain value, should the ‘when’ clause be included in modeling?
My thought was that it was better to reflect this in the model even for ‘config false’ data. Thanks, Acee _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
