Re: [netconf] Adoption call for notif-yang-04
Kent Watsen <kent+ietf@watsen.net> Mon, 22 April 2024 19:39 UTC
Return-Path: <0100018f07521d0a-17e021b3-295a-4c50-8316-58632d7a7107-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 6A16BC19ECBB for <netconf@ietfa.amsl.com>; Mon, 22 Apr 2024 12:39:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.893
X-Spam-Level:
X-Spam-Status: No, score=-1.893 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 d-rjDI4p0F2U for <netconf@ietfa.amsl.com>; Mon, 22 Apr 2024 12:39:34 -0700 (PDT)
Received: from a48-90.smtp-out.amazonses.com (a48-90.smtp-out.amazonses.com [54.240.48.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AF89C151097 for <netconf@ietf.org>; Mon, 22 Apr 2024 12:39:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1713814773; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=bvavGnPYNPCr52guj2MUWNROt7gAvoNF/xSMhze9HZY=; b=YrE2kw4ARRtEe5+mE5SExtJPOc2YPwvMh08XS0XoaXe2G673Qz7W0evob4Y4j8m1 JhvupTaF6Eg9Tm2qNQfe4QAy3zNDBZ+LBJGb0UOyfzrdWBsu8A18T3vimmk2D9/MIMX +6Y5nLzAnUs/Sv3NGs1mT3pvqgE2Jpa5r2RwZNYY=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100018f07521d0a-17e021b3-295a-4c50-8316-58632d7a7107-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A680A9D3-6024-4282-85AB-1A1BD7C6B91C"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
Date: Mon, 22 Apr 2024 19:39:33 +0000
In-Reply-To: <CABCOCHT4Yy8gUKxmR9__ZcAEULiK8g-S7-B6EaLO8s0nk0FjTg@mail.gmail.com>
Cc: "netconf@ietf.org" <netconf@ietf.org>
To: Andy Bierman <andy@yumaworks.com>
References: <0100018eb57a21d8-26b38f41-a625-4d44-9248-09b349fd4212-000000@email.amazonses.com> <DU2PR02MB10160110D4C72D682BA884802880E2@DU2PR02MB10160.eurprd02.prod.outlook.com> <CABCOCHT4Yy8gUKxmR9__ZcAEULiK8g-S7-B6EaLO8s0nk0FjTg@mail.gmail.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.90
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/W5xKzs22lhadSeR143V0RSBucQ0>
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 19:39:38 -0000
Hi Andy, > I think the WG needs to agree on the requirements and a plan to go from RFC 5277 notification element to the example in the kafka draft. > https://www.ietf.org/archive/id/draft-netana-nmop-yang-kafka-integration-01.html#push_change_update_notif_example_json_fig Fair point, but I think that there is only one requirement: - to define YANG enabling the validation of RFC 5277 notifications. Did you have more in mind? BTW, I almost wonder why this isn’t an rfc5277-bis. > IMO this design is wrong. > The extra data (if any) should be added to the push-update, not to the notification message header. What’s wrong? The “notif-yang” draft only defines the “eventTime” leaf, which matches RFC 5277. This scope seems right to me... > The example does not conform to the "NotificationType" XSD type in RFC 5277. > > <!-- <Notification> operation --> > <xs:complexType name="NotificationContentType"/> > > <xs:element name="notificationContent" > type="NotificationContentType" abstract="true"/> > > <xs:complexType name="NotificationType"> > <xs:sequence> > <xs:element name="eventTime" type="xs:dateTime"> > <xs:annotation> > <xs:documentation> > The time the event was generated by the event source. > </xs:documentation> > </xs:annotation> > </xs:element> > <xs:element ref="notificationContent"/> > </xs:sequence> > </xs:complexType> > > <xs:element name="notification" type="NotificationType"/> Do you mean the *examples* in Appendix A? What’s wrong? Are you expecting an element called “event”? I think that the “event” element used in RFC 5277 was just an example... Or do you this draft to provide XSD for the ncEvent:notificationContent substitution group? > I am concerned that 'augment-structure' will be used to create lots of different notification variants. The string “augment-structure” doesn’t appear in this draft. Maybe you meant https://datatracker.ietf.org/doc/html/draft-tgraf-netconf-yang-push-observation-time-00? I’m concerned about the "augment-structure” too, but for a different reason. My reason is that, if I understand the proposal correctly, everywhere there is a “notification” in a YANG module, there would also have to be an “augment-structure”, which sounds just horrible. To be clear, my idea of "YANG enabling the validation of RFC 5277 notifications” may entail some coding to stitch together something that a validator can use. Having a fully-defined sx:structure seems unrealistic. > Every vendor could make up their own protocol messages this way. > > 1) How does each protocol using the structure-based notification message define, advertise, negotiate > the actual message template used? > > 2) How does each protocol make sure that a client must opt-in somehow for the new format, > otherwise the strict RFC 5277 format is used? These are good questions. Can the authors reply? > Andy Kent
- [netconf] Adoption call for notif-yang-04 Kent Watsen
- [netconf] FW: Adoption call for notif-yang-04 Thomas.Graf
- Re: [netconf] Adoption call for notif-yang-04 Andy Bierman
- Re: [netconf] Adoption call for notif-yang-04 Jean Quilbeuf
- Re: [netconf] Adoption call for notif-yang-04 Nils.Warnke
- Re: [netconf] Adoption call for notif-yang-04 Zhuoyao Lin
- Re: [netconf] Adoption call for notif-yang-04 Vincenzo Riccobene
- Re: [netconf] Adoption call for notif-yang-04 Voyer, Daniel
- Re: [netconf] Adoption call for notif-yang-04 Giuseppe Fioccola
- Re: [netconf] Adoption call for notif-yang-04 Jan Lindblad (jlindbla)
- Re: [netconf] Adoption call for notif-yang-04 Camilo Cardona
- Re: [netconf] Adoption call for notif-yang-04 Qin Wu
- Re: [netconf] Adoption call for notif-yang-04 Leonardo.Rodoni
- Re: [netconf] Adoption call for notif-yang-04 maqiufang (A)
- Re: [netconf] Adoption call for notif-yang-04 Paolo Lucente
- Re: [netconf] Adoption call for notif-yang-04 IGNACIO DOMINGUEZ MARTINEZ-CASANUEVA
- Re: [netconf] Adoption call for notif-yang-04 mohamed.boucadair
- Re: [netconf] Adoption call for notif-yang-04 Andy Bierman
- Re: [netconf] Adoption call for notif-yang-04 mohamed.boucadair
- Re: [netconf] Adoption call for notif-yang-04 Kent Watsen
- Re: [netconf] Adoption call for notif-yang-04 Andy Bierman
- Re: [netconf] Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Rob Wilton (rwilton)
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- Re: [netconf] Adoption call for notif-yang-04 Per Andersson
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Rob Wilton (rwilton)
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Rob Wilton (rwilton)
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Alex Huang Feng