Re: [netmod] yang-08: changing a default
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [netmod] yang-08: changing a default
Ladislav Lhotka <lhotka at cesnet.cz> wrote:
> I am just trying to understand what the acceptable (and likely) paths
> are for module evolution, perhaps without the need for giving an exact
> revision number.
>
> The change of a leaf definition from mandatory=true to (mandatory=false
> & new default definition) seems a natural way for establishing a data
> model default based on operational experience, and it shouldn't cause
> any serious interoperability problems.
This is also covered by the proposed update, repeated here again:
- A "default" statement may be added to a leaf that does not have a
default value (either directly or indirectly through its type).
We already have:
- A "mandatory" statement may be removed or changed from "true" to
"false".
/martin
Note: Messages sent to this list are the opinions of the senders and do not imply endorsement by the IETF.