[netconf] Re: New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
Kent Watsen <kent@watsen.net> Fri, 13 December 2024 15:35 UTC
Return-Path: <01000193c0a97670-129c6dbd-bbd9-43ef-b22f-80190a36bf87-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 E5051C16940E; Fri, 13 Dec 2024 07:35:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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=unavailable 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 4FWqESeY2z4F; Fri, 13 Dec 2024 07:35:53 -0800 (PST)
Received: from a48-95.smtp-out.amazonses.com (a48-95.smtp-out.amazonses.com [54.240.48.95]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C7586C14F714; Fri, 13 Dec 2024 07:35:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1734104151; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=qcnMctTyhYjbJc3mZBnLl6pj9ampAvXX+wUduf6kqqE=; b=CmYnDUIbZBpkRE0z8rfuonahD9KdC6X0dhKdMFr6wWWhfc1IM0soFmXpqVK202ns PyaXKkV7qzUZ9/V3vGorgrlYn3y4cOnij5mNocIF12P7qenZeV0M+ps6o3pv5WppGZj 39c0k0vHJR/R4s1nGu/c8apJvwrUKLHEXft4rKlk=
From: Kent Watsen <kent@watsen.net>
Message-ID: <01000193c0a97670-129c6dbd-bbd9-43ef-b22f-80190a36bf87-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_502BF736-1DC0-4EDF-B408-CA2EA9D29EBD"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
Date: Fri, 13 Dec 2024 15:35:51 +0000
In-Reply-To: <9967d4393be241a68bd757770b36ec62@huawei.com>
To: "maqiufang (A)" <maqiufang1=40huawei.com@dmarc.ietf.org>
References: <172917034955.1401018.6866481846942967268@dt-datatracker-78dc5ccf94-w8wgc> <6af696264f06484e8ae82f4ea394acb8@swisscom.com> <01000193bbb548e5-9619d8ee-92a5-4d65-8b8e-07219797b8f5-000000@email.amazonses.com> <9967d4393be241a68bd757770b36ec62@huawei.com>
X-Mailer: Apple Mail (2.3774.400.31)
Feedback-ID: ::1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.12.13-54.240.48.95
Message-ID-Hash: 7Q7BL26QZIOUG3E5MGLN7MSZTPQD766K
X-Message-ID-Hash: 7Q7BL26QZIOUG3E5MGLN7MSZTPQD766K
X-MailFrom: 01000193c0a97670-129c6dbd-bbd9-43ef-b22f-80190a36bf87-000000@amazonses.watsen.net
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" <netconf@ietf.org>, "draft-netana-netconf-yp-transport-capabilities.authors@ietf.org" <draft-netana-netconf-yp-transport-capabilities.authors@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/f1msqxNal3v0b4FwHBnpq79clGM>
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>
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: I thought this draft addressed the concern I raised at IETF 120. 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. there was no on-list discussion between IETF 120 and IETF 121. the IETF 121 presentation didn’t directly address my 120-concern, leaving me to still think that it did. 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