[netconf] Re: New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
Thomas.Graf@swisscom.com Sat, 14 December 2024 09:51 UTC
Return-Path: <Thomas.Graf@swisscom.com>
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 12236C14F704; Sat, 14 Dec 2024 01:51:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=swisscom.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 ueQskKpQ6oJu; Sat, 14 Dec 2024 01:51:52 -0800 (PST)
Received: from mail.swisscom.com (mailout110.swisscom.com [138.188.166.110]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67498C14F6FF; Sat, 14 Dec 2024 01:51:50 -0800 (PST)
Received: by mail.swisscom.com; Sat, 14 Dec 2024 10:51:48 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swisscom.com; s=iscm; t=1734169909; bh=w/aExvVACenktcjyDIsBsga0+OSaxGSOTJYzk7vUYDU=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=M6XiLTpbTwLfjHvFD4Emh+bUTjBW8hBw5HzEDdIrlFg1fYfLsSsS3PkUigAkP/ZLc ZCQE90XWNS+Kl3mq9GtGTJveiFNbYyD0M9DJ3EfNxxHPu1i0zAXvP08mKBaY6Ugu8C rdzgtMh+KfMGz8Ft2a0BbO0Kbjr94412lH2HGXOthndOCdGBS2/moOR4uXNPBWwN/1 S6U0eDSq7cUO5ulchsqmM9WWmTtWME2rMOhiomt32ave8XcAdmscsFwkzARzF18H1Z 6YS+iqm+p6wx8J/2bjAuyiOXUueMwyj0eDBpcx4avNHVpJm1nXtEc912tKOM9AkpZp JAwB6o0ryAiSg==
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_1209182_1180102340.1734169908346"
X-Mailer: Totemo_TrustMail_(Notification)
From: Thomas.Graf@swisscom.com
To: kent@watsen.net, maqiufang1=40huawei.com@dmarc.ietf.org
Thread-Topic: [netconf] New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
Thread-Index: AQHbIJVMH9o9Zk/HFUecxriP8qlFQ7KK6gFggFgqbQCAAQRIgIAAfryAgAE7VfA=
Date: Sat, 14 Dec 2024 09:51:45 +0000
Message-ID: <fc2551fb04934e79b56009a33b770a4a@swisscom.com>
References: <172917034955.1401018.6866481846942967268@dt-datatracker-78dc5ccf94-w8wgc> <6af696264f06484e8ae82f4ea394acb8@swisscom.com> <01000193bbb548e5-9619d8ee-92a5-4d65-8b8e-07219797b8f5-000000@email.amazonses.com> <9967d4393be241a68bd757770b36ec62@huawei.com> <01000193c0a97670-129c6dbd-bbd9-43ef-b22f-80190a36bf87-000000@email.amazonses.com>
In-Reply-To: <01000193c0a97670-129c6dbd-bbd9-43ef-b22f-80190a36bf87-000000@email.amazonses.com>
Accept-Language: en-US, de-CH
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=47a5e579-f36f-4859-99f3-9f828bd9309a;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2024-12-14T09:24:27Z;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1;
x-originating-ip: [138.188.161.184]
X-CFilter-Loop: Reflected
X-Trustmail: processed
Message-ID-Hash: EL2I3RPFL6RJAH262UW4A2J23NAVXIFO
X-Message-ID-Hash: EL2I3RPFL6RJAH262UW4A2J23NAVXIFO
X-MailFrom: Thomas.Graf@swisscom.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netconf.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: netconf@ietf.org, draft-netana-netconf-yp-transport-capabilities.authors@ietf.org, nmop@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [netconf] Re: New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/0q-JXvGvJcJ7gHER8rzMffuOc9g>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Owner: <mailto:netconf-owner@ietf.org>
List-Post: <mailto:netconf@ietf.org>
List-Subscribe: <mailto:netconf-join@ietf.org>
List-Unsubscribe: <mailto:netconf-leave@ietf.org>
Dear Kent, Qiufang, NETCONF working group I summarize to ensure that I understood the conversation correctly. Kent as an individual requests that RFC 8639 based transport protocols require a default encoding to fulfill https://datatracker.ietf.org/doc/html/rfc8639#section-7 requirements. Therefore draft-netana-netconf-yp-transport-capabilities doesn't address his concerns. Correct? I try to give context, please correct me if I miss or misinterpret anything. RFC 8639 states that a default encoding is needed. https://datatracker.ietf.org/doc/html/rfc8639#section-7 A specification for a transport MUST identify any encodings that are supported. If a configured subscription's transport allows different encodings, the specification MUST identify the default encoding. In the transport example this is not exampled https://datatracker.ietf.org/doc/html/rfc8639#appendix-A Kent as netconf chair raised on 2020-06-22 the point of adding the point of discoverability in the errata https://www.rfc-editor.org/errata/eid6211 https://mailarchive.ietf.org/arch/msg/netconf/KADgtx1UZBJPtr-AITD1Pgn50J0/ based on https://mailarchive.ietf.org/arch/msg/netconf/XBpoFqtRynfc0zaRggMEiEMBW2M/ proposing A specification for a transport MUST identify any encodings that are supported. If a configured subscription's transport allows different encodings, the specification MUST identify the default encoding, or provide a mechanism whereby supported encodings can be discovered. Errata 6211 has status "Held for Document Update" which means it shall be considered a future update of the document. Thanks Rob for the pointer to https://www.rfc-editor.org/errata-definitions/. https://datatracker.ietf.org/doc/html/draft-netana-netconf-yp-transport-capabilities is addressing this point based on RFC 9196 defined work. To my knowledge, the reason why "or provide a mechanism whereby supported encodings can be discovered" wasn't added in RFC 8639 was because draft-ietf-netconf-notification-capabilities (RFC 9196) was still in netconf working group adopted state. That implies that transport protocols implemented for RFC 8639 require default encoding. That applies to https-notif (https://datatracker.ietf.org/doc/html/draft-ietf-netconf-https-notif-15#section-6.2) and udp-notif (https://datatracker.ietf.org/doc/html/draft-ietf-netconf-udp-notif#section-7.1) Both have identities which do not default to an encoding. However, we have from https://mailarchive.ietf.org/arch/msg/netconf/XBpoFqtRynfc0zaRggMEiEMBW2M/ the netconf working group the decision As reported before, 70% picked "Let the market decide”, with the remaining 30% all picking "Publisher MUST implement JSON encoding”. We arrive here now at a catch-22 (https://en.wikipedia.org/wiki/Catch-22_(logic)) Before going into proposals, lets stop for a moment and see wherever we are all on the same page. Thanks. Best wishes Thomas From: Kent Watsen <kent@watsen.net> Sent: Friday, December 13, 2024 4:36 PM To: maqiufang (A) <maqiufang1=40huawei.com@dmarc.ietf.org> Cc: netconf@ietf.org; draft-netana-netconf-yp-transport-capabilities.authors@ietf.org Subject: Re: [netconf] New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt Be aware: This is an external email. Hi Qiufang, You are right that the -00 was published eight weeks ago, but it replaces draft-tao-netconf-data-export-capabilities-07 which was actually discussed years ago. I see that in the Datatracker history, but it doesn’t change my comments, so much as raise questions regarding the reviews that occurred before. I appreciate you point it out that it is the use of “server” and “client” that caused some confusion, maybe we should use “publisher” and “receiver” instead. It would be helpful to use the terms published in RFC 8639. But the transport-capabilities module augments the notification-capabilities module in RFC 9196 and is used to discover the capabilities for the publisher. You have a point, but as has been said about other drafts recently, having many documents is difficult to reason about, and thus it is recommended to make each document as clear as possible on its own. For example, before a configured subscription is installed, the subscriber needs to understand which transport protocols are supported by the publisher, as well as the available encodings for each transport protocol. First, please note the word “subscriber” is confusing (to me) in the context of *configured* subscriptions (for dynamic subscriptions, the term “subscriber” is clear). I think that, for configured subscriptions, it may be clearer to write “the NC/RC client configuring a subscription”. Regarding your two points: 1) For which transport protocols are supported by the publisher, isn’t this given from the server/publisher *implementing* a YANG module (e.g., https-notif or udp-notif)? 2) For which encodings are supported by the publisher for each transport protocol, isn’t this given by the server/publisher advertising support for the features (e.g., RFC 8639 defines the "encode-json” and “encode-xml” features)? Oops, the 8639-features cannot indicate encodings per transport (e.g., the publisher may support only XML for https-notif, and only JSON for udp-notif). What this indicates the me is that we’ve found yet another case where the RFC 8639 design is broken. Yes, I understand the capability discovery in the https-notif focuses another case where encoding is unspecified in the subscription. But if both the receiver and publisher supports multiple encodings, I wonder how would the publisher select one from many? The publisher likely has an ordered list of encoding preferences, and it picks the first match also supported by the receiver. Finally it may still be unclear which encoding format will be used. I agree that it is easier if the encoding leaf could be defined as mandatory true, but I also understand sometimes a subscriber may just want to use a default one if there it is for a specific transport. Congruent with intent-based automation, I agree that it is desirable for the (NC/RC) client to not have to care, leaving it to the system to determine, and so having the encoding leaf be "mandatory false” is goodness. That said, it is a questionable benefit and, if udp-notif is unable to support an inline receiver-discovery mechanism, then it might be better to have “mandatory true", rather than the udp-notif draft having to pick a default (and mandatory to implement) encoding. One thing that would help would be if the “encoding” leaf were a leafref to transport-specific supported-encoding in the “yp-transport-capabilities” data tree. I continue to think that we should consider an rfc8639-bis that obsoletes RFC 8639. Rob’s “YANG Push Lite” seems promising. I will leave this to the authors of udp-notif, but my comments as a contributor is that, I think a lighter-weight way is to add some statements in the udp-notif draft that the receiver needs to understand that a publisher will select an encoding format itself when the “encoding” leaf is not configured; and if that default one is unwanted, it should configure the leaf with preferred encoding explicitly. That said, I realize that transport-capabilities module fails to identify a default encoding for a transport. I am wondering whether this should to be added in the next update. Yes, the easiest fix, from a specification perspective, is for the udp-notif draft to pick a default (and mandatory to implement) encoding. It’s just encoding capabilities for discovery, the final configuration of the encoding leaf must not go beyond the publisher’s capabilities to ensure a successful subscription. Okay, finally I get it! Sorry for being so slow understanding this draft’s purpose. I think the reasons why are because: 1. I thought this draft addressed the concern I raised at IETF 120. 2. the email Alex sent <https://mailarchive.ietf.org/arch/msg/netconf/hSzXM6TJkk3TAAnMKl7ZSKyIBSk/> on October 17 further led me to believe my 120-comment was being addressed. 3. there was no on-list discussion between IETF 120 and IETF 121. 4. the IETF 121 presentation didn’t directly address my 120-concern, leaving me to still think that it did. 5. the draft was/is unclear with its use of terms and lack of clarifying statements. PS: for those wondering, my 120-concern is still not addressed. Kent / contributor
- [netconf] FW: New Version Notification for draft-… Thomas.Graf
- [netconf] Re: New Version Notification for draft-… Kent Watsen
- [netconf] Re: New Version Notification for draft-… maqiufang (A)
- [netconf] Re: New Version Notification for draft-… Kent Watsen
- [netconf] Re: New Version Notification for draft-… Thomas.Graf
- [netconf] Re: New Version Notification for draft-… Kent Watsen
- [netconf] Re: New Version Notification for draft-… Thomas.Graf
- [netconf] Re: [NMOP] New Version Notification for… Kent Watsen
- [netconf] Re: [NMOP] New Version Notification for… Kent Watsen
- [netconf] Re: [NMOP] New Version Notification for… Andy Bierman
- [netconf] Re: [NMOP] New Version Notification for… Kent Watsen
- [netconf] Re: [NMOP] New Version Notification for… Andy Bierman