Martin Bjorklund <[email protected]> writes: > Balazs Lengyel <[email protected]> wrote: >> Hello Lada, >> The issue is what is "too much protocol details" ? >> I agree that there are many things that are not part of the YANG >> language/metamodel itself. On the other hand if a simple create leaf >> operation on different interfaces can result in different datastores >> and different operation of the network node, then IMHO the different >> interfaces use different models, NOT the same. >> >> I consider autodelete a basic property of the YANG model. A mechanism >> that results in deleting data nodes should work (or not) the same way >> on all interfaces. > > I agree. This is what makes "when" different than "must".
Right, that's why I tend to avoid "when", except in augments. > auto-deletion in choice/when should be described as a property of the > data model for the datastore. Parts of the text from Section 8.2.2 > should be made more generic and moved, probably to a new section > 8.1.1. I will have a look at this. I think that defining a general datastore API as a part of YANG spec is not useful. Protocols that potentially might use YANG (gRPC, Cap'n Proto) won't be changed, so should we tell them not to use YANG? IMO YANG spec should tell what's valid and what isn't, and stop there. Lada > > > /martin -- Ladislav Lhotka, CZ.NIC Labs PGP Key ID: E74E8C0C _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
