Re: [netmod] [Editorial Errata Reported] RFC7317 (4795)

2016-09-13 Thread Megan Ferguson
All, Regarding the oddity in the body of the notification message from the RFC Errata System (sent 2016-09-05), i.e., the replacement of "$0" with "RFCORIGINAL_TEXT", we will fix this error in the mail generation system. As far as the erratum itself, we note that it is accurately displayed (and

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Andy Bierman
Hi, I am not in favor of changing when-stmt so it works like must-stmt. I prefer it work as designed. It is like choice-stmt, where a new case will cause objects from the previously selected case to be automatically deleted. There is no text in RFC 7950 that actually says an error is returned if

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Vladimir Vassilev
On 09/13/2016 01:26 PM, Juergen Schoenwaelder wrote: On Tue, Sep 13, 2016 at 01:19:02PM +0200, Vladimir Vassilev wrote: I am wondering in which cases this is useful. Consider a candidate datastore - why would a 'when' expression have to true after each edit? Why do we force clients to send edits

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Juergen Schoenwaelder
On Tue, Sep 13, 2016 at 01:19:02PM +0200, Vladimir Vassilev wrote: > > > I am wondering in which cases this is useful. Consider a candidate > > datastore - why would a 'when' expression have to true after each > > edit? Why do we force clients to send edits in such a way that 'when' > > expression

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Vladimir Vassilev
On 09/13/2016 12:57 PM, Juergen Schoenwaelder wrote: On Tue, Sep 13, 2016 at 12:42:07PM +0200, Vladimir Vassilev wrote: On 09/13/2016 10:25 AM, Juergen Schoenwaelder wrote: On Tue, Sep 13, 2016 at 09:34:33AM +0200, Ladislav Lhotka wrote: On 13 Sep 2016, at 09:01, Yves Beauville wrote: Both

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Juergen Schoenwaelder
On Tue, Sep 13, 2016 at 12:42:07PM +0200, Vladimir Vassilev wrote: > On 09/13/2016 10:25 AM, Juergen Schoenwaelder wrote: > > On Tue, Sep 13, 2016 at 09:34:33AM +0200, Ladislav Lhotka wrote: > > > > On 13 Sep 2016, at 09:01, Yves Beauville > > > > wrote: > > > > > > > > Both RFC 6020 and RFC 795

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Vladimir Vassilev
On 09/13/2016 10:25 AM, Juergen Schoenwaelder wrote: On Tue, Sep 13, 2016 at 09:34:33AM +0200, Ladislav Lhotka wrote: On 13 Sep 2016, at 09:01, Yves Beauville wrote: Both RFC 6020 and RFC 7950 are providing the same requirement in section 'Payload Parsing': o If data for a node tagged wit

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Martin Bjorklund
Juergen Schoenwaelder wrote: > On Tue, Sep 13, 2016 at 09:34:33AM +0200, Ladislav Lhotka wrote: > > > > > On 13 Sep 2016, at 09:01, Yves Beauville wrote: > > > > > > Both RFC 6020 and RFC 7950 are providing the same requirement in section > > > 'Payload Parsing': > > > o If data for a node

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Andy Bierman
On Tue, Sep 13, 2016 at 1:25 AM, Juergen Schoenwaelder < j.schoenwael...@jacobs-university.de> wrote: > On Tue, Sep 13, 2016 at 09:34:33AM +0200, Ladislav Lhotka wrote: > > > > > On 13 Sep 2016, at 09:01, Yves Beauville > wrote: > > > > > > Both RFC 6020 and RFC 7950 are providing the same requir

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Juergen Schoenwaelder
On Tue, Sep 13, 2016 at 09:34:33AM +0200, Ladislav Lhotka wrote: > > > On 13 Sep 2016, at 09:01, Yves Beauville wrote: > > > > Both RFC 6020 and RFC 7950 are providing the same requirement in section > > 'Payload Parsing': > > o If data for a node tagged with "when" is present, and the "when

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Yves Beauville
Thank you Lada. It makes perfect sense now. Yves On 9/13/2016 9:34 AM, Ladislav Lhotka wrote: On 13 Sep 2016, at 09:01, Yves Beauville wrote: Hi Andi, Xiang, Juergen and Lada, Thank you all for clarifying. The scope of my original question was the context for evaluating a 'when' expression

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Ladislav Lhotka
> On 13 Sep 2016, at 09:01, Yves Beauville wrote: > > Hi Andi, Xiang, Juergen and Lada, > > Thank you all for clarifying. > > The scope of my original question was the context for evaluating a 'when' > expression during 'payload parsing' of an RPC. > > Both RFC 6020 and RFC 7950 are providi

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Ladislav Lhotka
> On 12 Sep 2016, at 18:33, Andy Bierman wrote: > > > > On Mon, Sep 12, 2016 at 8:35 AM, Ladislav Lhotka wrote: > > > On 12 Sep 2016, at 15:33, Juergen Schoenwaelder > > wrote: > > > > Hi, > > > > I think Section 8.3.3. provides an answer: > > > > When datastore processing is complete, t

Re: [netmod] 'when' statement in edit-config payload parsing

2016-09-13 Thread Yves Beauville
Hi Andi, Xiang, Juergen and Lada, Thank you all for clarifying. The scope of my original question was the context for evaluating a 'when' expression during 'payload parsing' of an RPC. Both RFC 6020 and RFC 7950 are providing the same requirement in section 'Payload Parsing': o If data f