Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Andy Bierman
On Thu, Sep 26, 2019 at 3:32 AM Rob Wilton (rwilton) wrote: > > > > -Original Message- > > From: netmod On Behalf Of Martin Bjorklund > > Sent: 26 September 2019 08:45 > > To: lho...@nic.cz > > Cc: yang...@huawei.com; netmod@ietf.org > > Su

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Ladislav Lhotka
Martin Bjorklund writes: > Ladislav Lhotka wrote: >> On Thu, 2019-09-26 at 11:04 +, Schönwälder, Jürgen wrote: >> > On Thu, Sep 26, 2019 at 12:27:17PM +0200, Ladislav Lhotka wrote: >> > > > Sure, one can discuss whether this feature is useful or harmful >> > > > but the only way to

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Martin Bjorklund
Ladislav Lhotka wrote: > On Thu, 2019-09-26 at 11:04 +, Schönwälder, Jürgen wrote: > > On Thu, Sep 26, 2019 at 12:27:17PM +0200, Ladislav Lhotka wrote: > > > > Sure, one can discuss whether this feature is useful or harmful > > > > but the only way to officially remove this is to create a new

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Ladislav Lhotka
On Thu, 2019-09-26 at 11:04 +, Schönwälder, Jürgen wrote: > On Thu, Sep 26, 2019 at 12:27:17PM +0200, Ladislav Lhotka wrote: > > > Sure, one can discuss whether this feature is useful or harmful > > > but the only way to officially remove this is to create a new > > > specification and to run

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Schönwälder , Jürgen
On Thu, Sep 26, 2019 at 12:27:17PM +0200, Ladislav Lhotka wrote: > > > > Sure, one can discuss whether this feature is useful or harmful > > but the only way to officially remove this is to create a new > > specification and to run it through the IETF process. > > I do insist that the wording in

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Rob Wilton (rwilton)
> -Original Message- > From: netmod On Behalf Of Martin Bjorklund > Sent: 26 September 2019 08:45 > To: lho...@nic.cz > Cc: yang...@huawei.com; netmod@ietf.org > Subject: Re: [netmod] 答复: 答复: Please clarify implementation about > ‘when’ > > &g

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Ladislav Lhotka
On Thu, 2019-09-26 at 09:39 +, Schönwälder, Jürgen wrote: > On Thu, Sep 26, 2019 at 09:45:26AM +0200, Martin Bjorklund wrote: > > > > >o There MUST be no nodes tagged with "when" present if the "when" > > > > > condition evaluates to "false" in the data tree. > > > > > > > > It

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Schönwälder , Jürgen
On Thu, Sep 26, 2019 at 09:45:26AM +0200, Martin Bjorklund wrote: > > > > > > >o There MUST be no nodes tagged with "when" present if the "when" > > > > > > > condition evaluates to "false" in the data tree. > > > > > > > > > It also says in 8.2: > > > > > >o If a request

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Martin Bjorklund
Ladislav Lhotka wrote: > On Thu, 2019-09-26 at 08:56 +0200, Martin Bjorklund wrote: > > Ladislav Lhotka wrote: > > > Andy Bierman writes: > > > > > > > > > > > On Wed, Sep 25, 2019 at 8:44 AM Sterne, Jason (Nokia - CA/Ottawa) < > > > > > > jason.ste...@nokia.com> wrote: > > > > > > > > >

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Ladislav Lhotka
e data > tree with the "when" expression is deleted by the server. Right. But the request won't modify a configuration data node because it is rejected. So the premise of the above implication doesn't hold, and the conclusion doesn't apply. Lada > &g

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Martin Bjorklund
ed by the server. /martin > > This can also be prevented if the server rejects an edit operation > that would create such a situation. > > Lada > > > > > > > >> Jason > >> > > > > Andy > > > > > >> > >&

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-26 Thread Ladislav Lhotka
nt if the "when" condition evaluates to "false" in the data tree. This can also be prevented if the server rejects an edit operation that would create such a situation. Lada > > >> Jason >> > > Andy > > >> >> >> *From:* net

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-25 Thread Andy Bierman
statement in > the below example model? > > I thought validation error will still be received when the config change > is reject in “scene 2”. > sorry for the confusion. it was right the first time. when-stmt has auto-delete. must-stmt has error instead of auto-delete. Andy Jason

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-25 Thread Andy Bierman
t; and "when" with different behavior. > A server that does not implement the auto-delete aspects of when-stmt is > not compliant to the RFC. > > oops -- s/must-stmt/when-stmt/ > Jason >> > > Andy > > >> >> >> *From:* netmod

Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-25 Thread Andy Bierman
*Qin Wu > *Sent:* Tuesday, September 10, 2019 10:33 PM > *To:* Fengchong (frank) ; Andy Bierman < > a...@yumaworks.com> > *Cc:* netmod@ietf.org; Yangang > *Subject:* [netmod] 答复: 答复: Please clarify implementation about ‘when’ > > > > Why processing order matter? My

[netmod] 答复: 答复: Please clarify implementation about ‘when’

2019-09-10 Thread Qin Wu
Why processing order matter? My interpretation is both leaf node values (i.e.,leaf a, leaf b) should be validated together and commit as a whole, RFC6241 said: “ If the device is unable to commit all of the changes in the candidate configuration datastore, then the running