Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-27 Thread Ladislav Lhotka
Martin Bjorklund writes: > Ladislav Lhotka wrote: >> On Fri, 2018-11-23 at 13:39 +0100, Juergen Schoenwaelder wrote: >> > On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: >> > > > Here is an attempt to rewrite things in a way according to how I >> > > > understand things works. I

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Andy Bierman
On Fri, Nov 23, 2018 at 1:00 PM Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > On Fri, Nov 23, 2018 at 09:23:01AM -0800, Andy Bierman wrote: > > > > IMO the RFC has a lot of room for improvement in this area: > > > > - the term "data node" is never defined but used 47 time

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Juergen Schoenwaelder
On Fri, Nov 23, 2018 at 09:23:01AM -0800, Andy Bierman wrote: > > IMO the RFC has a lot of room for improvement in this area: > > - the term "data node" is never defined but used 47 times > - the term "data node identifier" is not defined or used > - the term "schema node identifier" is define

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Andy Bierman
On Fri, Nov 23, 2018 at 5:37 AM Robert Wilton wrote: > > On 23/11/2018 13:29, Ladislav Lhotka wrote: > > On Fri, 2018-11-23 at 13:39 +0100, Juergen Schoenwaelder wrote: > >> On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: > Here is an attempt to rewrite things in a way accor

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Juergen Schoenwaelder
On Fri, Nov 23, 2018 at 02:29:18PM +0100, Ladislav Lhotka wrote: > On Fri, 2018-11-23 at 13:39 +0100, Juergen Schoenwaelder wrote: > > On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: > > > > Here is an attempt to rewrite things in a way according to how I > > > > understand things

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Ladislav Lhotka
On Fri, 2018-11-23 at 15:09 +0100, Martin Bjorklund wrote: > Ladislav Lhotka wrote: > > On Fri, 2018-11-23 at 13:39 +0100, Juergen Schoenwaelder wrote: > > > On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: > > > > > Here is an attempt to rewrite things in a way according to how I

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Martin Bjorklund
Ladislav Lhotka wrote: > On Fri, 2018-11-23 at 13:39 +0100, Juergen Schoenwaelder wrote: > > On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: > > > > Here is an attempt to rewrite things in a way according to how I > > > > understand things works. It should be possible to describe

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Robert Wilton
On 23/11/2018 13:29, Ladislav Lhotka wrote: On Fri, 2018-11-23 at 13:39 +0100, Juergen Schoenwaelder wrote: On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: Here is an attempt to rewrite things in a way according to how I understand things works. It should be possible to descr

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Ladislav Lhotka
On Fri, 2018-11-23 at 13:39 +0100, Juergen Schoenwaelder wrote: > On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: > > > Here is an attempt to rewrite things in a way according to how I > > > understand things works. It should be possible to describe what we > > > mean. If we can't

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Juergen Schoenwaelder
On Fri, Nov 23, 2018 at 01:02:03PM +0100, Ladislav Lhotka wrote: > > > > Here is an attempt to rewrite things in a way according to how I > > understand things works. It should be possible to describe what we > > mean. If we can't do that, we have a bigger problem. (I have changed > > only the las

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Ladislav Lhotka
On Fri, 2018-11-23 at 12:33 +0100, Juergen Schoenwaelder wrote: > On Fri, Nov 23, 2018 at 11:05:48AM +0100, Martin Bjorklund wrote: > > Juergen Schoenwaelder wrote: > > > On Fri, Nov 23, 2018 at 10:22:11AM +0100, Ladislav Lhotka wrote: > > > > Juergen Schoenwaelder writes: > > > > > > > > > On T

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Juergen Schoenwaelder
On Fri, Nov 23, 2018 at 11:05:48AM +0100, Martin Bjorklund wrote: > Juergen Schoenwaelder wrote: > > On Fri, Nov 23, 2018 at 10:22:11AM +0100, Ladislav Lhotka wrote: > > > Juergen Schoenwaelder writes: > > > > > > > On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote: > > > >> Andy

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Ladislav Lhotka
On Fri, 2018-11-23 at 11:05 +0100, Martin Bjorklund wrote: > Juergen Schoenwaelder wrote: > > On Fri, Nov 23, 2018 at 10:22:11AM +0100, Ladislav Lhotka wrote: > > > Juergen Schoenwaelder writes: > > > > > > > On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote: > > > > > Andy Bierma

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Martin Bjorklund
Juergen Schoenwaelder wrote: > On Fri, Nov 23, 2018 at 10:22:11AM +0100, Ladislav Lhotka wrote: > > Juergen Schoenwaelder writes: > > > > > On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote: > > >> Andy Bierman wrote: > > >> > > > >> > 9.9

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Ladislav Lhotka
On Fri, 2018-11-23 at 10:38 +0100, Juergen Schoenwaelder wrote: > On Fri, Nov 23, 2018 at 10:22:11AM +0100, Ladislav Lhotka wrote: > > Juergen Schoenwaelder writes: > > > > > On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote: > > > > Andy Bierman wrote: > > > > > 9.9

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Juergen Schoenwaelder
On Fri, Nov 23, 2018 at 10:22:11AM +0100, Ladislav Lhotka wrote: > Juergen Schoenwaelder writes: > > > On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote: > >> Andy Bierman wrote: > >> > > >> > 9.9 . The leafref > >> > Built-In Typ

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-23 Thread Ladislav Lhotka
Juergen Schoenwaelder writes: > On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote: >> Andy Bierman wrote: >> > >> > 9.9 . The leafref >> > Built-In Type >> > >> >The leafref built-in type is restricted to the value space of s

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Juergen Schoenwaelder
On Thu, Nov 22, 2018 at 03:00:27PM +0100, Martin Bjorklund wrote: > Andy Bierman wrote: > > > > 9.9 . The leafref > > Built-In Type > > > >The leafref built-in type is restricted to the value space of some > >leaf or leaf-list node in the

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Andy Bierman
On Thu, Nov 22, 2018 at 7:28 AM Ladislav Lhotka wrote: > On Thu, 2018-11-22 at 16:14 +0100, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: > > > On Thu, 2018-11-22 at 15:00 +0100, Martin Bjorklund wrote: > > > > Andy Bierman wrote: > > > > > On Thu, Nov 22, 2018 at 5:39 AM Martin Bjorklund

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Per Hedeland
y, November 22, 2018 10:28 AM >>> To: Martin Bjorklund >>> Cc: a...@yumaworks.com; Sterne, Jason (Nokia - CA/Ottawa) >>> ; netmod@ietf.org >>> Subject: Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC >>> change? >>> >

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Ladislav Lhotka
nd > > Cc: a...@yumaworks.com; Sterne, Jason (Nokia - CA/Ottawa) > > ; netmod@ietf.org > > Subject: Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC > > change? > > > > On Thu, 2018-11-22 at 16:14 +0100, Martin Bjorklund wrote: > >

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Sterne, Jason (Nokia - CA/Ottawa)
ma) Jason > -Original Message- > From: Ladislav Lhotka > Sent: Thursday, November 22, 2018 10:28 AM > To: Martin Bjorklund > Cc: a...@yumaworks.com; Sterne, Jason (Nokia - CA/Ottawa) > ; netmod@ietf.org > Subject: Re: [netmod] Adding a pre-existing leaf into a new 'choic

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Ladislav Lhotka
On Thu, 2018-11-22 at 16:14 +0100, Martin Bjorklund wrote: > Ladislav Lhotka wrote: > > On Thu, 2018-11-22 at 15:00 +0100, Martin Bjorklund wrote: > > > Andy Bierman wrote: > > > > On Thu, Nov 22, 2018 at 5:39 AM Martin Bjorklund > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > Ladisla

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Martin Bjorklund
Ladislav Lhotka wrote: > On Thu, 2018-11-22 at 15:00 +0100, Martin Bjorklund wrote: > > Andy Bierman wrote: > > > On Thu, Nov 22, 2018 at 5:39 AM Martin Bjorklund wrote: > > > > > > > Hi, > > > > > > > > Ladislav Lhotka wrote: > > > > > Andy Bierman writes: > > > > > > > > > > > On Mon, Nov 1

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Ladislav Lhotka
On Thu, 2018-11-22 at 15:00 +0100, Martin Bjorklund wrote: > Andy Bierman wrote: > > On Thu, Nov 22, 2018 at 5:39 AM Martin Bjorklund wrote: > > > > > Hi, > > > > > > Ladislav Lhotka wrote: > > > > Andy Bierman writes: > > > > > > > > > On Mon, Nov 19, 2018 at 12:32 PM Sterne, Jason (Nokia - C

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Ladislav Lhotka
On Thu, 2018-11-22 at 15:01 +0100, Martin Bjorklund wrote: > Ladislav Lhotka wrote: > > On Thu, 2018-11-22 at 14:39 +0100, Martin Bjorklund wrote: > > > Hi, > > > > > > Ladislav Lhotka wrote: > > > > Andy Bierman writes: > > > > > > > > > On Mon, Nov 19, 2018 at 12:32 PM Sterne, Jason (Nokia -

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Martin Bjorklund
Andy Bierman wrote: > On Thu, Nov 22, 2018 at 5:39 AM Martin Bjorklund wrote: > > > Hi, > > > > Ladislav Lhotka wrote: > > > Andy Bierman writes: > > > > > > > On Mon, Nov 19, 2018 at 12:32 PM Sterne, Jason (Nokia - CA/Ottawa) < > > > > jason.ste...@nokia.com> wrote: > > > > > > > >> Hi all, >

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Ladislav Lhotka
On Thu, 2018-11-22 at 14:39 +0100, Martin Bjorklund wrote: > Hi, > > Ladislav Lhotka wrote: > > Andy Bierman writes: > > > > > On Mon, Nov 19, 2018 at 12:32 PM Sterne, Jason (Nokia - CA/Ottawa) < > > > jason.ste...@nokia.com> wrote: > > > > > > > Hi all, > > > > > > > > > > > > > > > > If w

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Andy Bierman
On Thu, Nov 22, 2018 at 5:39 AM Martin Bjorklund wrote: > Hi, > > Ladislav Lhotka wrote: > > Andy Bierman writes: > > > > > 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 YAN

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Martin Bjorklund
Hi, Ladislav Lhotka wrote: > Andy Bierman writes: > > > 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-m

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Martin Bjorklund
there. /martin > I'm > sure it is in there somewhere but I couldn't quite figure that out > from looking around 7950. > > Jason > > From: Andy Bierman > Sent: Monday, November 19, 2018 3:54 PM > To: Sterne, Jason (Nokia - CA/Ottawa) > Cc: NetMod WG > S

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Ladislav Lhotka
Andy Bierman writes: > 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; } >> >> } >> >> >> >>

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-22 Thread Sterne, Jason (Nokia - CA/Ottawa)
there somewhere but I couldn't quite figure that out from looking around 7950. Jason From: Andy Bierman Sent: Monday, November 19, 2018 3:54 PM To: Sterne, Jason (Nokia - CA/Ottawa) Cc: NetMod WG Subject: Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-19 Thread Martin Bjorklund
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 th

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-19 Thread Andy Bierman
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 th

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-19 Thread Sterne, Jason (Nokia - CA/Ottawa)
CA/Ottawa) > Cc: netmod@ietf.org > Subject: Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC > change? > > Hi, > > "Sterne, Jason (Nokia - CA/Ottawa)" wrote: > > Hi all, > > > > If we have a YANG model with a leaf: &g

Re: [netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-19 Thread Martin Bjorklund
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: > > M

[netmod] Adding a pre-existing leaf into a new 'choice' - NBC change?

2018-11-19 Thread Sterne, Jason (Nokia - CA/Ottawa)
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 { case