- Original Message -
From: "Phil Shafer"
Sent: Thursday, March 23, 2017 8:24 PM
> William Ivory writes:
> >Yes, I'd noticed that. Does this make the behaviour 'undefined' in
YANG 1.0?
>
> No, this was a clarification. The text in 6020 was reasonably clear:
>
>The
William Ivory writes:
>Yes, I'd noticed that. Does this make the behaviour 'undefined' in YANG 1.0?
No, this was a clarification. The text in 6020 was reasonably clear:
The "when" statement makes its parent data definition statement
conditional. The node defined by the parent data
Martin Bjorklund writes:
> William Ivory wrote:
>> Thanks. Can you point me at the part of RFC 6020 that explicitly
>> states that 'when' wins over 'default'?
>
> Section 7.6.1 of RFC 7950 says:
>
>Note that if the leaf or any of its ancestors has a
iam Ivory <wiv...@brocade.com>
> Cc: netmod@ietf.org; Nick Brown <bro...@brocade.com>
> Subject: Re: [netmod] Interaction of 'when' and 'default' statements
>
> William Ivory <wiv...@brocade.com> wrote:
> > Hi,
> >
> > I'm looking for clarification of the '
Message-
From: netmod [mailto:netmod-boun...@ietf.org] On Behalf Of William Ivory
Sent: 22 March 2017 18:56
To: Martin Bjorklund <m...@tail-f.com>
Cc: Nick Brown <bro...@brocade.com>; netmod@ietf.org
Subject: Re: [netmod] Interaction of 'when' and 'default' statements
Hi Martin,
; Nick Brown <bro...@brocade.com>
Subject: Re: [netmod] Interaction of 'when' and 'default' statements
William Ivory <wiv...@brocade.com> wrote:
> Hi,
>
> I'm looking for clarification of the 'when' and 'default' statements
> on a leaf. For example, if a leaf has a 'default
William Ivory 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,
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?
Section 8.3 or RFC 6020 isn't clear on how evaluation