[netmod] Operational State usage of YANG choices and constraints

2023-12-22 Thread Acee Lindem
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

Re: [netmod] Operational State usage of YANG choices and constraints

2023-12-22 Thread Kent Watsen
With limited experience wrt the impact on servers, as a client, it’s always best for the opstate data to be modeled as accurately as possible, for better processing and user experience. K. > On Dec 22, 2023, at 1:37 PM, Acee Lindem wrote: > > We’ve had some discussions as to whether YANG mod

Re: [netmod] [yang-doctors] Operational State usage of YANG choices and constraints

2023-12-22 Thread Jürgen Schönwälder
On Fri, Dec 22, 2023 at 07:22:55PM +, Kent Watsen wrote: > With limited experience wrt the impact on servers, as a client, it’s always > best for the opstate data to be modeled as accurately as possible, for better > processing and user experience. > What is accurate? I think the answer is