Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-24 Thread Italo Busi
> -Original Message- > From: mohamed.boucad...@orange.com > > Sent: giovedì 16 novembre 2023 10:33 > To: Kent Watsen ; Jason Sterne (Nokia) > ; Jürgen Schönwälder > ; netmod@ietf.org; Rob Wilton > (rwilton) > Subject: Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-16 Thread mohamed . boucadair
> Objet : Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error- > message for "config false" > > I think an important piece is missing here is, namely _who_ is doing > the validation and who is in charge of keeping things valid. For > config data, the server has the ta

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-16 Thread Jürgen Schönwälder
lot of > > "must" statements in state models. We could consider discouraging > > them? (but we need to continue *allowing* them). > > >> > > >> Jason > > >> > > >>> -Original Message- > > >>> From: netmod On

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-16 Thread mohamed . boucadair
n) > > Objet : Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error- > message for "config false" > > My confusion, sorry, I was thinking "mandatory". > > Must statements on opstate are useful, but less important. > > Kent > > > &

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-07 Thread Kent Watsen
t; need to continue *allowing* them). >> >> Jason >> >>> -Original Message- >>> From: netmod On Behalf Of Rob Wilton >>> (rwilton) >>> Sent: Thursday, November 2, 2023 5:17 AM >>> To: Jürgen Schönwälder ; >>> mohamed.

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-06 Thread Jason Sterne (Nokia)
...@orange.com; netmod@ietf.org > Subject: Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message > for "config false" > > > CAUTION: This is an external email. Please be very careful when clicking > links or opening attachments. See the URL nok.it/ext for addit

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-06 Thread Kent Watsen
UST NOT be violated, including hierarchical >> organization, identifiers, and type-based constraints. If a node in >>does not meet the syntactic constraints, then it >> MUST NOT be returned, and some other mechanism should be used to >> flag >> the error. >> >

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-06 Thread Jason Sterne (Nokia)
etmod On Behalf Of Rob Wilton > (rwilton) > Sent: Thursday, November 2, 2023 5:17 AM > To: Jürgen Schönwälder ; > mohamed.boucad...@orange.com > Cc: netmod@ietf.org > Subject: Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message > for "config false" > >

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-02 Thread Rob Wilton (rwilton)
or. Regards, Rob -Original Message- From: netmod On Behalf Of Jürgen Schönwälder Sent: Wednesday, November 1, 2023 7:46 AM To: mohamed.boucad...@orange.com Cc: netmod@ietf.org Subject: Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false" Here is what RFC

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-01 Thread Jürgen Schönwälder
Here is what RFC 7950 says: 7.5.4.1. The "error-message" Statement The "error-message" statement, which is optional, takes a string as an argument. If the constraint evaluates to "false", the string is passed as in the in NETCONF. Since state data is not (directly) modified

Re: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-11-01 Thread Qin Wu
-boun...@ietf.org] 代表 mohamed.boucad...@orange.com 发送时间: 2023年10月31日 18:40 收件人: netmod@ietf.org 主题: [netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false" Hi all, In the context of https://datatracker.ietf.org/doc/draft-ietf-pce-pcep-yang/, Dhruv has received i

[netmod] draft-ietf-netmod-rfc8407bis: must + error-message for "config false"

2023-10-31 Thread mohamed . boucadair
Hi all, In the context of https://datatracker.ietf.org/doc/draft-ietf-pce-pcep-yang/, Dhruv has received in the past a comment about the use of "must + error-message" for "config false" data nodes. He reported that comment at