Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Ladislav Lhotka
Martin Bjorklund writes: > Ladislav Lhotka wrote: >> On Mon, 2017-12-04 at 18:22 +0100, Juergen Schoenwaelder wrote: >> > On Mon, Dec 04, 2017 at 06:05:58PM +0100, Ladislav Lhotka wrote: >> > > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: >> > > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Ladislav Lhotka
On Tue, 2017-12-05 at 15:38 +0100, Martin Bjorklund wrote: > Balazs Lengyel wrote: > > On 2017-12-05 11:04, Robert Wilton wrote: > > > > > > > > > > > > I see your point now. > > The server has to evaluate the when-stmts in operational. > > > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Robert Wilton
On 05/12/2017 14:38, Martin Bjorklund wrote: Balazs Lengyel wrote: On 2017-12-05 11:04, Robert Wilton wrote: I see your point now. The server has to evaluate the when-stmts in operational. I think that this is probably down to

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Martin Bjorklund
Balazs Lengyel wrote: > On 2017-12-05 11:04, Robert Wilton wrote: > > > > > > I see your point now. > The server has to evaluate the when-stmts in operational. > > I think that this is probably down to implementation, but I don't > think

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Balazs Lengyel
On 2017-12-05 11:04, Robert Wilton wrote: I see your point now. The server has to evaluate the when-stmts in operational.

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Ladislav Lhotka
On Tue, 2017-12-05 at 11:25 +0100, Juergen Schoenwaelder wrote: > On Tue, Dec 05, 2017 at 10:03:07AM +0100, Ladislav Lhotka wrote: > > On Mon, 2017-12-04 at 21:00 +0100, Juergen Schoenwaelder wrote: > > > On Mon, Dec 04, 2017 at 07:09:51PM +0100, Ladislav Lhotka wrote: > > > > > > > > Well,

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Juergen Schoenwaelder
On Tue, Dec 05, 2017 at 10:03:07AM +0100, Ladislav Lhotka wrote: > On Mon, 2017-12-04 at 21:00 +0100, Juergen Schoenwaelder wrote: > > On Mon, Dec 04, 2017 at 07:09:51PM +0100, Ladislav Lhotka wrote: > > > > > > Well, according to draft-ietf-netmod-revised-datastores-07: > > > > > >o

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Robert Wilton
On 04/12/2017 17:47, Andy Bierman wrote: On Mon, Dec 4, 2017 at 9:05 AM, Ladislav Lhotka > wrote: On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > Ladislav Lhotka > wrote: > > Hi, > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Ladislav Lhotka
On Mon, 2017-12-04 at 17:29 +, Robert Wilton wrote: > Hi Lada, > > > On 04/12/2017 17:05, Ladislav Lhotka wrote: > > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > > > Ladislav Lhotka wrote: > > > > Hi, > > > > > > > > if we have > > > > > > > > augment

Re: [netmod] evaluation of "when" under NMDA

2017-12-05 Thread Ladislav Lhotka
On Mon, 2017-12-04 at 21:00 +0100, Juergen Schoenwaelder wrote: > On Mon, Dec 04, 2017 at 07:09:51PM +0100, Ladislav Lhotka wrote: > > > > Well, according to draft-ietf-netmod-revised-datastores-07: > > > >o datastore schema: The combined set of schema nodes for all modules > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Alex Campbell
day, 5 December 2017 7:09 a.m. To: Juergen Schoenwaelder Cc: NETMOD WG Subject: Re: [netmod] evaluation of "when" under NMDA On Mon, 2017-12-04 at 18:22 +0100, Juergen Schoenwaelder wrote: > On Mon, Dec 04, 2017 at 06:05:58PM +0100, Ladislav Lhotka wrote: > > On Mon, 2017-12-04 at 17

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Martin Bjorklund
Ladislav Lhotka wrote: > On Mon, 2017-12-04 at 18:22 +0100, Juergen Schoenwaelder wrote: > > On Mon, Dec 04, 2017 at 06:05:58PM +0100, Ladislav Lhotka wrote: > > > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > > > > Ladislav Lhotka wrote: > > > > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Juergen Schoenwaelder
On Mon, Dec 04, 2017 at 07:09:51PM +0100, Ladislav Lhotka wrote: > > Well, according to draft-ietf-netmod-revised-datastores-07: > >o datastore schema: The combined set of schema nodes for all modules > supported by a particular datastore, taking into consideration any >

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Ladislav Lhotka
On Mon, 2017-12-04 at 09:36 -0800, Andy Bierman wrote: > > > On Mon, Dec 4, 2017 at 9:22 AM, Juergen Schoenwaelder university.de> wrote: > > On Mon, Dec 04, 2017 at 06:05:58PM +0100, Ladislav Lhotka wrote: > > > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Ladislav Lhotka
On Mon, 2017-12-04 at 18:22 +0100, Juergen Schoenwaelder wrote: > On Mon, Dec 04, 2017 at 06:05:58PM +0100, Ladislav Lhotka wrote: > > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > > > Ladislav Lhotka wrote: > > > > Hi, > > > > > > > > if we have > > > > > > > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Andy Bierman
On Mon, Dec 4, 2017 at 9:05 AM, Ladislav Lhotka wrote: > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: > > > Hi, > > > > > > if we have > > > > > > augment "/target/node" { > > > when "..."; > > > ... > > > } > > > > > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Andy Bierman
On Mon, Dec 4, 2017 at 9:22 AM, Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > On Mon, Dec 04, 2017 at 06:05:58PM +0100, Ladislav Lhotka wrote: > > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > > > Ladislav Lhotka wrote: > > > > Hi, > > > > >

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Robert Wilton
Hi Lada, On 04/12/2017 17:05, Ladislav Lhotka wrote: On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: Ladislav Lhotka wrote: Hi, if we have augment "/target/node" { when "..."; ... } is the "when" expression supposed to be evaluated separately in each

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Juergen Schoenwaelder
On Mon, Dec 04, 2017 at 06:05:58PM +0100, Ladislav Lhotka wrote: > On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: > > > Hi, > > > > > > if we have > > > > > > augment "/target/node" { > > > when "..."; > > > ... > > > } > > > > > > is

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Ladislav Lhotka
On Mon, 2017-12-04 at 17:34 +0100, Martin Bjorklund wrote: > Ladislav Lhotka wrote: > > Hi, > > > > if we have > > > > augment "/target/node" { > > when "..."; > > ... > > } > > > > is the "when" expression supposed to be evaluated separately in each > > datastore, > > and

Re: [netmod] evaluation of "when" under NMDA

2017-12-04 Thread Martin Bjorklund
Ladislav Lhotka wrote: > Hi, > > if we have > > augment "/target/node" { > when "..."; > ... > } > > is the "when" expression supposed to be evaluated separately in each > datastore, > and the augment applied only in those datastores where the result is true? Yes. > RFC

[netmod] evaluation of "when" under NMDA

2017-12-04 Thread Ladislav Lhotka
Hi, if we have augment "/target/node" { when "..."; ... } is the "when" expression supposed to be evaluated separately in each datastore, and the augment applied only in those datastores where the result is true? RFC 7950 says in sec. 7.21.5 that the context node for XPath evaluation is