Re: [netconf] Adoption call for notif-yang-04

Kent Watsen <kent+ietf@watsen.net> Mon, 22 April 2024 17:59 UTC

Return-Path: <0100018f06f6dd43-4f1e99fc-2479-497c-862e-f41674426131-000000@amazonses.watsen.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0203DC17C8A5 for <netconf@ietfa.amsl.com>; Mon, 22 Apr 2024 10:59:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tANrAmWQ9v8x for <netconf@ietfa.amsl.com>; Mon, 22 Apr 2024 10:59:54 -0700 (PDT)
Received: from a48-110.smtp-out.amazonses.com (a48-110.smtp-out.amazonses.com [54.240.48.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EED68C16943A for <netconf@ietf.org>; Mon, 22 Apr 2024 10:59:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1713808793; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:Feedback-ID; bh=x+o2F2AdHzFbPieTGz4WK/dI9wZfrPqj5+d74g/ioZo=; b=jM5CERUS4Lr3tcJxQL8ZFaBt8sIm62mI4AuQkAwopvpIyuhcEbs6Ls9D/Svllk/l gvX/E+HqqCSoCY99f/BR2+pZe0HeWt78lciwzPTruq2TQMot2U7RplrYOqz87dZHQ2I nMIybVOiklnc8ipKAZneMcIqxOdvt3XeE8OWTvbQ=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
From: Kent Watsen <kent+ietf@watsen.net>
In-Reply-To: <DU2PR02MB10160110D4C72D682BA884802880E2@DU2PR02MB10160.eurprd02.prod.outlook.com>
Date: Mon, 22 Apr 2024 17:59:52 +0000
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-ID: <0100018f06f6dd43-4f1e99fc-2479-497c-862e-f41674426131-000000@email.amazonses.com>
References: <0100018eb57a21d8-26b38f41-a625-4d44-9248-09b349fd4212-000000@email.amazonses.com> <DU2PR02MB10160110D4C72D682BA884802880E2@DU2PR02MB10160.eurprd02.prod.outlook.com>
To: BOUCADAIR Mohamed IMT/OLN <mohamed.boucadair@orange.com>
X-Mailer: Apple Mail (2.3774.400.31)
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.04.22-54.240.48.110
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/n6DLZMddIbsNpsNf1LcUJ7xfMDE>
Subject: Re: [netconf] Adoption call for notif-yang-04
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Apr 2024 17:59:55 -0000

Hi Med,

> On Apr 18, 2024, at 9:45 AM, mohamed.boucadair@orange.com wrote:
> 
> Hi all,
> 
> I see the potential behind this spec to fill a gap (refer to draft-netana-nmop-yang-kafka-integration). However, as currently written, there is a disconnect between what is claimed in the abstract, the "simple" sx module, and the xml/json/cbor mappings in the appendix.

Hoping to understand this…

>   module: ietf-notification
> 
>     structure notification:
>       +-- eventTime    yang:date-and-time
> 
> It is true that there is no YANG module in RFC5277, but only an XML encoding.

RFC 5277 defines an XSD, which was in-fashion at the time, but outdated now…


> I would expect the authors to start from there and define a YANG module that echoes that XML structure + then enrich it with missing pieces (like eventTime) so that usual mapping specs naturally apply.

Consistent with RFC 5277, this draft defines only “eventTime”, only using YANG instead of XSD.


> I may be missing something, but some reasoning about the practicalities to produce data nodes and gluing it with other pieces is 5277 is needed.
> 
> For these reasons, I'm afraid that this version is not ready for adoption.

No comment on the above.


Circling back to my "Hoping to understand this…” comment, I don’t understand the purpose of the examples in the appendix.  As it seems that "how to encode" notifications in XML/JSON is well-understood, with the only missing piece being "how to validate” them, which is what this document enables, and so I was expecting to see an example illustrating that (to Andy’s point in another message, this draft should show the “augment-structure” syntax in use).  Also, why does this draft focus on CBOR/SIDs?


> Cheers,
> Med

K.


> 
>> -----Message d'origine-----
>> De : netconf <netconf-bounces@ietf.org> De la part de Kent Watsen
>> Envoyé : dimanche 7 avril 2024 00:14
>> À : netconf@ietf.org
>> Objet : [netconf] Adoption call for notif-yang-04
>> 
>> 
>> NETCONF WG,
>> 
>> This message starts a two week poll on adopting the following
>> document:
>> 
>> 	YANG model for NETCONF Event Notifications
>> 	https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2
>> Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ahuang-netconf-notif-yang-
>> 04&data=05%7C02%7Cmohamed.boucadair%40orange.com%7C211b4259f7534b07115
>> 208dc5686f24f%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C63848038486
>> 1736143%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC
>> JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=dA8lFN7pH3tdAS7lRJph7D
>> iQ5wV98Ee1sKGIBgcFeKA%3D&reserved=0
>> 
>> The poll ends April 20.
>> 
>> Please send email to the list indicating "yes/support" or "no/do not
>> support".  If indicating no, please state your reservations with the
>> document.  If yes, please also feel free to provide comments you'd
>> like to see addressed once the document is a WG document.
>> 
>> No IPR is known for this document:
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail
>> archive.ietf.org%2Farch%2Fmsg%2Fnetconf%2FoQVZ6Pf_novNfMB4RsnDxQibHpM%
>> 2F&data=05%7C02%7Cmohamed.boucadair%40orange.com%7C211b4259f7534b07115
>> 208dc5686f24f%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C63848038486
>> 1744910%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC
>> JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=spWoSRnrRPQ0lHPnD%2FTl
>> tr4wwzU7zn%2F1qxy5LBH1ujw%3D&reserved=0
>> 
>> PS: this document received strong support before, being very focused,
>> providing just a module enabling validation of YANG "notification"
>> messages.
>> 
>> Kent and Per (as co-chairs)
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> netconf mailing list
>> netconf@ietf.org
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
>> ietf.org%2Fmailman%2Flistinfo%2Fnetconf&data=05%7C02%7Cmohamed.boucada
>> ir%40orange.com%7C211b4259f7534b07115208dc5686f24f%7C90c7a20af34b40bfb
>> c48b9253b6f5d20%7C0%7C0%7C638480384861751307%7CUnknown%7CTWFpbGZsb3d8e
>> yJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%
>> 7C%7C%7C&sdata=BKneFQbHB2s9rbSVFulEULoxnperrKIwme1oCEvGW6Q%3D&reserved
>> =0
> ____________________________________________________________________________________________________________
> 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.
>