Re: [netmod] Draft agenda for IETF118 NETMOD session posted

2023-11-02 Thread Lou Berger

FYI a new version of the agenda has been posted.

Presenters please provide slides by Sunday Nov 5.

Authors of WG drafts - if you are not presenting at 118, please send 
status updates to the list ASAP.


Thank you,

Lou

On 10/24/2023 3:08 PM, Jason Sterne (Nokia) wrote:

Hello NETMOD WG,



The draft agenda for the NETMOD IETF118 session has been posted -- please see:

https://datatracker.ietf.org/meeting/118/materials/agenda-118-netmod



Please let us know if you see any needed corrections or missed requests.



A large focus of the meeting will be on discussing the YANG Versioning work


___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod


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

2023-11-02 Thread Rob Wilton (rwilton)
Specifically regarding MUST statements on state date, RFC 8342 section 5.3, 
also has this statement (which effectively aligns to Jürgen's last paragraph):

SHOULD conform to any constraints specified in the data
   model, but given the principal aim of returning "in use" values, it
   is possible that constraints MAY be violated under some circumstances
   (e.g., an abnormal value is "in use", the structure of a list is
   being modified, or remnant configuration (see Section 5.3.1) still
   exists).  Note that deviations SHOULD be used when it is known in
   advance that a device does not fully conform to the 
   schema.

   Only semantic constraints MAY be violated.  These are the YANG
   "when", "must", "mandatory", "unique", "min-elements", and
   "max-elements" statements; and the uniqueness of key values.
 
   Syntactic constraints MUST 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.

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 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 by processing RPCs, which
 would carry the ? If the answer is 'none',
then why define an  for state data?

My take has always been that operational state data should report as
much as possible the true state of the device - even if the current
state violates certain constraints. The entity to check constraints
would be a managing system, not the managed system. That said, the
wording in section 7.5.4.1 indicates that the designers had servers
processing RPCs in mind.

/js

On Tue, Oct 31, 2023 at 10:40:15AM +, mohamed.boucad...@orange.com wrote:
> 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 
> https://mailarchive.ietf.org/arch/msg/yang-doctors/gWnXnyNHPVv_nZB1PQjThAwP1JY/,
>  but without any follow-up.
> 
> rfc7950#section-8.1 includes a provision for the use of "must" for state 
> data, but silent about the use of error-message. Some guidance for authors 
> may be useful here.
> 
> The following options are being considered:
> 
> (1) Remove both must and error-message for config false data nodes
> (2) Remove error-message but keep the must
> (3) keep both
> 
> I think that (3) is OK as this is a formal way to detect anomalies in state 
> data, but I'm open to hear what the WG thinks.
> 
> Opinions whether we need to include a mention about this in 
> draft-ietf-netmod-rfc8407bis are welcome.
> 
> Thank you.
> 
> Cheers,
> Med
> 
> 
> Ce message et ses pieces jointes peuvent contenir des informations 
> confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu 
> ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
> electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou 
> falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged 
> information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete 
> this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been 
> modified, changed or falsified.
> Thank you.

> ___
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


-- 
Jürgen Schönwälder  Constructor University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103 

___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod
___
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod