Re: [netmod] leafref value space and constraint

2016-06-09 Thread Ladislav Lhotka
> On 08 Jun 2016, at 17:22, Dale R. Worley wrote: > > Martin Bjorklund writes: >> The text for "path" already says: >> >> It takes as an argument a >> string that MUST refer to a leaf or leaf-list node. > > Given what the text must mean, that's

Re: [netmod] leafref value space and constraint

2016-06-08 Thread Dale R. Worley
Martin Bjorklund writes: > The text for "path" already says: > > It takes as an argument a > string that MUST refer to a leaf or leaf-list node. Given what the text must mean, that's sufficient for me. Ladislav Lhotka writes: > Which of the two "foo" leaf

Re: [netmod] leafref value space and constraint

2016-06-08 Thread Ladislav Lhotka
OK, let's bite the bullet: OLD The "path" statement, which is a substatement to the "type" statement, MUST be present if the type is "leafref". It takes as an argument a string that MUST refer to a leaf or leaf-list node. The syntax for a path argument is a subset of the XPath

Re: [netmod] leafref value space and constraint

2016-06-08 Thread Ladislav Lhotka
> On 07 Jun 2016, at 18:45, Andy Bierman wrote: > > > > On Tue, Jun 7, 2016 at 9:38 AM, Juergen Schoenwaelder > wrote: > On Tue, Jun 07, 2016 at 09:08:56AM -0700, Andy Bierman wrote: > > On Tue, Jun 7, 2016 at 8:52 AM, Juergen

Re: [netmod] leafref value space and constraint

2016-06-08 Thread Per Hedeland
On 2016-06-08 09:48, Martin Bjorklund wrote: > Andy Bierman wrote: >> On Tue, Jun 7, 2016 at 9:38 AM, Juergen Schoenwaelder < >> j.schoenwael...@jacobs-university.de> wrote: >> >>> On Tue, Jun 07, 2016 at 09:08:56AM -0700, Andy Bierman wrote: On Tue, Jun 7, 2016 at 8:52

Re: [netmod] leafref value space and constraint

2016-06-08 Thread Ladislav Lhotka
> On 08 Jun 2016, at 09:51, Martin Bjorklund wrote: > > Juergen Schoenwaelder wrote: >> On Tue, Jun 07, 2016 at 11:26:03AM -0400, Dale R. Worley wrote: >>> Ladislav Lhotka writes: "Dale R. Worley"

Re: [netmod] leafref value space and constraint

2016-06-08 Thread Martin Bjorklund
Andy Bierman wrote: > On Tue, Jun 7, 2016 at 9:38 AM, Juergen Schoenwaelder < > j.schoenwael...@jacobs-university.de> wrote: > > > On Tue, Jun 07, 2016 at 09:08:56AM -0700, Andy Bierman wrote: > > > On Tue, Jun 7, 2016 at 8:52 AM, Juergen Schoenwaelder < > > >

Re: [netmod] leafref value space and constraint

2016-06-07 Thread Andy Bierman
On Tue, Jun 7, 2016 at 9:38 AM, Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > On Tue, Jun 07, 2016 at 09:08:56AM -0700, Andy Bierman wrote: > > On Tue, Jun 7, 2016 at 8:52 AM, Juergen Schoenwaelder < > > j.schoenwael...@jacobs-university.de> wrote: > > > > > On Tue, Jun

Re: [netmod] leafref value space and constraint

2016-06-07 Thread Juergen Schoenwaelder
On Tue, Jun 07, 2016 at 09:08:56AM -0700, Andy Bierman wrote: > On Tue, Jun 7, 2016 at 8:52 AM, Juergen Schoenwaelder < > j.schoenwael...@jacobs-university.de> wrote: > > > On Tue, Jun 07, 2016 at 11:26:03AM -0400, Dale R. Worley wrote: > > > Ladislav Lhotka writes: > > > > "Dale

Re: [netmod] leafref value space and constraint

2016-06-07 Thread Andy Bierman
On Tue, Jun 7, 2016 at 8:52 AM, Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > On Tue, Jun 07, 2016 at 11:26:03AM -0400, Dale R. Worley wrote: > > Ladislav Lhotka writes: > > > "Dale R. Worley" writes: > > >> A difficulty I have with

Re: [netmod] leafref value space and constraint

2016-06-07 Thread Ladislav Lhotka
> On 07 Jun 2016, at 17:26, Dale R. Worley wrote: > > Ladislav Lhotka writes: >> "Dale R. Worley" writes: >>> A difficulty I have with the current wording is that it doesn't point >>> out the crucial fact about leafref that the XPath

Re: [netmod] leafref value space and constraint

2016-06-07 Thread Dale R. Worley
Ladislav Lhotka writes: > "Dale R. Worley" writes: >> A difficulty I have with the current wording is that it doesn't point >> out the crucial fact about leafref that the XPath expression can only >> select elements that are instantiations of one particular

Re: [netmod] leafref value space and constraint

2016-06-07 Thread Martin Bjorklund
Juergen Schoenwaelder wrote: > Martin, how close are we to have a final version addressing all the > review comments we received during the journey through the IESG? We're shrinking the list of open issues with every iteration of emails. I will go through

Re: [netmod] leafref value space and constraint

2016-06-07 Thread Ladislav Lhotka
"Dale R. Worley" writes: > A difficulty I have with the current wording is that it doesn't point > out the crucial fact about leafref that the XPath expression can only > select elements that are instantiations of one particular data node. I > don't know XPath, but it seems

Re: [netmod] leafref value space and constraint

2016-06-06 Thread Juergen Schoenwaelder
On Mon, Jun 06, 2016 at 02:06:57PM -0400, Dale R. Worley wrote: > A difficulty I have with the current wording is that it doesn't point > out the crucial fact about leafref that the XPath expression can only > select elements that are instantiations of one particular data node. I > don't know

Re: [netmod] leafref value space and constraint

2016-06-06 Thread Dale R. Worley
A difficulty I have with the current wording is that it doesn't point out the crucial fact about leafref that the XPath expression can only select elements that are instantiations of one particular data node. I don't know XPath, but it seems that that is not a general property of XPath

Re: [netmod] leafref value space and constraint

2016-06-06 Thread Juergen Schoenwaelder
On Thu, Jun 02, 2016 at 04:14:56PM -0400, Dale R. Worley wrote: > Martin Bjorklund wrote: > > Also, the text needs to mention leaf-lists. This gives: > > > > The leafref type is restricted to the value space of some leaf or > > leaf-list node in the schema tree and optionally further

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Martin Bjorklund
Ladislav Lhotka wrote: > > > On 30 May 2016, at 10:58, Ladislav Lhotka wrote: > > > >> > >> On 30 May 2016, at 10:49, Martin Bjorklund wrote: > >> > >> Ladislav Lhotka wrote: > >>> Martin Bjorklund writes: >

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Ladislav Lhotka
> On 30 May 2016, at 10:58, Ladislav Lhotka wrote: > >> >> On 30 May 2016, at 10:49, Martin Bjorklund wrote: >> >> Ladislav Lhotka wrote: >>> Martin Bjorklund writes: >>> Juergen Schoenwaelder

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Ladislav Lhotka
> On 30 May 2016, at 10:49, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: >> Martin Bjorklund writes: >> >>> Juergen Schoenwaelder wrote: On Tue, May 24, 2016 at 10:33:29AM +0200, Martin

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Martin Bjorklund
Ladislav Lhotka wrote: > Martin Bjorklund writes: > > > Juergen Schoenwaelder wrote: > >> On Tue, May 24, 2016 at 10:33:29AM +0200, Martin Bjorklund wrote: > >> > Juergen Schoenwaelder

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Ladislav Lhotka
Martin Bjorklund writes: > Juergen Schoenwaelder wrote: >> On Tue, May 24, 2016 at 10:33:29AM +0200, Martin Bjorklund wrote: >> > Juergen Schoenwaelder wrote: >> > > On Mon, May 23, 2016 at 05:29:42PM

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Martin Bjorklund
Ladislav Lhotka wrote: > > > On 30 May 2016, at 09:43, Martin Bjorklund wrote: > > > > Ladislav Lhotka wrote: > >> > >>> On 27 May 2016, at 19:30, t.petch wrote: > >>> > >>> > >>> - Original Message - > >>> From:

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Ladislav Lhotka
> On 30 May 2016, at 09:43, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: >> >>> On 27 May 2016, at 19:30, t.petch wrote: >>> >>> >>> - Original Message - >>> From: "Martin Bjorklund" >>> To:

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Martin Bjorklund
Ladislav Lhotka wrote: > > > On 27 May 2016, at 19:30, t.petch wrote: > > > > > > - Original Message - > > From: "Martin Bjorklund" > > To: > > Sent: Monday, May 23, 2016 3:10 PM > >> > >> This comment from the

Re: [netmod] leafref value space and constraint

2016-05-30 Thread Ladislav Lhotka
> On 27 May 2016, at 19:30, t.petch wrote: > > > - Original Message - > From: "Martin Bjorklund" > To: > Sent: Monday, May 23, 2016 3:10 PM >> >> This comment from the Gen-ART review deserves it's own thread. >> >> gen-art> -

Re: [netmod] leafref value space and constraint

2016-05-27 Thread t . petch
- Original Message - From: "Martin Bjorklund" To: Sent: Monday, May 23, 2016 3:10 PM > > This comment from the Gen-ART review deserves it's own thread. > > gen-art> - section 9.9 > gen-art> > gen-art>The leafref type is used to declare a constraint

Re: [netmod] leafref value space and constraint

2016-05-24 Thread Ladislav Lhotka
> On 24 May 2016, at 12:04, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: >> >>> On 24 May 2016, at 10:33, Martin Bjorklund wrote: >>> >>> Juergen Schoenwaelder wrote: On Mon, May 23, 2016 at

Re: [netmod] leafref value space and constraint

2016-05-24 Thread Juergen Schoenwaelder
On Tue, May 24, 2016 at 10:33:29AM +0200, Martin Bjorklund wrote: > Juergen Schoenwaelder wrote: > > On Mon, May 23, 2016 at 05:29:42PM +0200, Ladislav Lhotka wrote: > > > > [...] > > > > > This mixes up paths in the data tree with those in the schema

Re: [netmod] leafref value space and constraint

2016-05-24 Thread Martin Bjorklund
Juergen Schoenwaelder wrote: > On Mon, May 23, 2016 at 05:29:42PM +0200, Ladislav Lhotka wrote: > > [...] > > > This mixes up paths in the data tree with those in the schema tree. The > > XPath expression in the "path" statement is evaluated in the

Re: [netmod] leafref value space and constraint

2016-05-24 Thread Juergen Schoenwaelder
On Mon, May 23, 2016 at 05:29:42PM +0200, Ladislav Lhotka wrote: [...] > This mixes up paths in the data tree with those in the schema tree. The XPath > expression in the "path" statement is evaluated in the context of a data > tree, but if the result is an empty node set, then "this leaf

Re: [netmod] leafref value space and constraint

2016-05-23 Thread Martin Bjorklund
Ladislav Lhotka wrote: > > > On 23 May 2016, at 16:10, Martin Bjorklund wrote: > > > > Hi, > > > > This comment from the Gen-ART review deserves it's own thread. > > > > gen-art> - section 9.9 > > gen-art> > > gen-art>The leafref type is used to declare a

[netmod] leafref value space and constraint

2016-05-23 Thread Martin Bjorklund
Hi, This comment from the Gen-ART review deserves it's own thread. gen-art> - section 9.9 gen-art> gen-art>The leafref type is used to declare a constraint on the value space gen-art>of a leaf, based on a reference to a set of leaf instances in the gen-art>data tree. The "path"