Re: [netmod] yang-instance-file include-defaults leaf

2021-08-23 Thread Andy Bierman
On Mon, Aug 23, 2021 at 5:17 AM Balázs Lengyel wrote: > Hello Rob, > > I think this won’t fly. > > In sections 1.2 and 2 we state: > > *“**Instance data files MAY contain partial data sets.”* > > Which is important for many use-cases. This means you cannot say that a > default value will or mus

Re: [netmod] yang-instance-file include-defaults leaf

2021-08-23 Thread Balázs Lengyel
Hello Rob, I think this won’t fly. In sections 1.2 and 2 we state: “Instance data files MAY contain partial data sets.” Which is important for many use-cases. This means you cannot say that a default value will or must be included, as they might be omitted because they are not part of the pa

Re: [netmod] system configuration sync mechanism

2021-08-23 Thread Jan Lindblad (jlindbla)
Hi, Sorry for getting late into this already unwieldy thread. Similar discussions have been flaring up regularly for as long as this work group has existed, and we have never been able to put it to final rest. At the heart of the issue is the age old division between "unpredictable" and "lazy"

Re: [netmod] yang-instance-file include-defaults leaf

2021-08-23 Thread Rob Wilton (rwilton)
Hi Balazs, Andy, Netmod, Sorry for the delayed response. I would still like to strength the description of the defaults. E.g., RFC 6243 uses MUSTs rather than SHOULDs. Hence, I have generated some proposed alternative descriptions, that are somewhat stricter, but also more generically focusse