William Ivory <[email protected]> wrote: > Hi, > > I'm looking for clarification of the 'when' and 'default' statements > on a leaf. For example, if a leaf has a 'default', can it also have a > 'when' statement that could cause it to disappear if the 'when' > condition evaluates to false?
Yes, and in that case the default doesn't apply. > Section 8.3 or RFC 6020 isn't clear on > how evaluation of constraints should be done here, and neither the > section on the 'when' statement nor the 'default' section have any > cross-references. If the "when" expression evaluates to false, it's like if the whole node doesn't exist. A client can't set it etc. /martin _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
