Martin Bjorklund wrote:
> Hi,
>
> "Sterne, Jason (Nokia - CA/Ottawa)" wrote:
> > Hi all,
> >
> > If we have a YANG model with a leaf:
> >
> > MODEL VERSION 1:
> > container my-model {
> > leaf a { type string; }
> > }
> >
> > And then later we produce another version of the model where
On Mon, Nov 19, 2018 at 12:32 PM Sterne, Jason (Nokia - CA/Ottawa) <
jason.ste...@nokia.com> wrote:
> Hi all,
>
>
>
> If we have a YANG model with a leaf:
>
>
>
> MODEL VERSION 1:
>
> container my-model {
>
> leaf a { type string; }
>
> }
>
>
>
> And then later we produce another version of
Thanks. I forgot that the choice is in the *schema* path (was thinking about
the instance data path which doesn't include the choice or case statements).
> -Original Message-
> From: Martin Bjorklund
> Sent: Monday, November 19, 2018 3:46 PM
> To: Sterne, Jason (Nokia - CA/Ottawa)
>
Hi,
"Sterne, Jason (Nokia - CA/Ottawa)" wrote:
> Hi all,
>
> If we have a YANG model with a leaf:
>
> MODEL VERSION 1:
> container my-model {
> leaf a { type string; }
> }
>
> And then later we produce another version of the model where that leaf
> is placed into a choice construct:
>
>
Hi all,
If we have a YANG model with a leaf:
MODEL VERSION 1:
container my-model {
leaf a { type string; }
}
And then later we produce another version of the model where that leaf is
placed into a choice construct:
MODEL VERSION 2:
container my-model {
choice some-choice {