[Dropping netconf from the reply]

Hi Phil,

On 18/01/2017 21:26, Phil Shafer wrote:
Robert Wilton writes:
The server is buggy if it is sending data that violates YANG constraints.
If any of these statements need to be different for config and oper
then the old style YANG has to be used instead.
You just have a separate state leaf.  These are still allowed in a
combined tree.
We're trying to avoid a "separate state leaf" solution.  That's imho
the motivation for this whole exercise.
Yes, I agree that we are trying to avoid separate state leaves where possible. But there are some cases where the value space for the operational value may differ from the value space that may be configured.

For these point cases, adding an additional config false leaf should be fine. E.g. section 6.4 of draft-nmdsdt-netmod-revised-datastores-00 states:

   o  There may be some differences in the value set of some nodes that
      are used for both configuration and state.  At this point of time,
      these are considered to be rare cases that can be dealt with using
      different nodes for the configured and state values.


Rob


Thanks,
  Phil
.


_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to