[netconf] Re: New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
"maqiufang (A)" <maqiufang1@huawei.com> Fri, 13 December 2024 08:02 UTC
Return-Path: <maqiufang1@huawei.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 B76DFC1516EB; Fri, 13 Dec 2024 00:02:26 -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, 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=ham autolearn_force=no
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 JLLOK_194yEj; Fri, 13 Dec 2024 00:02:22 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2779EC151069; Fri, 13 Dec 2024 00:02:22 -0800 (PST)
Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Y8hYY2svwz6K9L2; Fri, 13 Dec 2024 15:58:57 +0800 (CST)
Received: from lhrpeml500004.china.huawei.com (unknown [7.191.163.9]) by mail.maildlp.com (Postfix) with ESMTPS id A82E4140A46; Fri, 13 Dec 2024 16:02:18 +0800 (CST)
Received: from kwepemk100007.china.huawei.com (7.202.194.55) by lhrpeml500004.china.huawei.com (7.191.163.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 13 Dec 2024 08:02:17 +0000
Received: from kwepemk200009.china.huawei.com (7.202.194.75) by kwepemk100007.china.huawei.com (7.202.194.55) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 13 Dec 2024 16:02:15 +0800
Received: from kwepemk200009.china.huawei.com ([7.202.194.75]) by kwepemk200009.china.huawei.com ([7.202.194.75]) with mapi id 15.02.1544.011; Fri, 13 Dec 2024 16:02:15 +0800
From: "maqiufang (A)" <maqiufang1@huawei.com>
To: Kent Watsen <kent@watsen.net>
Thread-Topic: [netconf] New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
Thread-Index: AQHbIJVUl1HO/KN4/U6/hBvNCR2uurKKZfkAgFg5HQCAASk38A==
Date: Fri, 13 Dec 2024 08:02:15 +0000
Message-ID: <9967d4393be241a68bd757770b36ec62@huawei.com>
References: <172917034955.1401018.6866481846942967268@dt-datatracker-78dc5ccf94-w8wgc> <6af696264f06484e8ae82f4ea394acb8@swisscom.com> <01000193bbb548e5-9619d8ee-92a5-4d65-8b8e-07219797b8f5-000000@email.amazonses.com>
In-Reply-To: <01000193bbb548e5-9619d8ee-92a5-4d65-8b8e-07219797b8f5-000000@email.amazonses.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.136.118.147]
Content-Type: multipart/alternative; boundary="_000_9967d4393be241a68bd757770b36ec62huaweicom_"
MIME-Version: 1.0
Message-ID-Hash: LJ2XGKFTBHLYHKSJAWZRPXTG7KXMGEWQ
X-Message-ID-Hash: LJ2XGKFTBHLYHKSJAWZRPXTG7KXMGEWQ
X-MailFrom: maqiufang1@huawei.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" <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/6grSx_Q-JliG-FWZoSW7a_ZAhgM>
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, Kent, Thanks for bringing this up, I’ve shared some of my thoughts below inline, my co-authors may want to clarify more if they’d like. From: Kent Watsen [mailto:kent@watsen.net] Sent: Friday, December 13, 2024 12:31 AM To: Thomas.Graf@swisscom.com<mailto:Thomas.Graf@swisscom.com> Cc: netconf@ietf.org<mailto:netconf@ietf.org>; draft-netana-netconf-yp-transport-capabilities.authors@ietf.org<mailto:draft-netana-netconf-yp-transport-capabilities.authors@ietf.org> Subject: Re: [netconf] New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt Transport Capabilities authors, It is unfortunate to note that this I-D has had no discussion on list since the -00 was published eight weeks ago. This draft was presented at IETF 121 (minutes<https://datatracker.ietf.org/meeting/121/materials/minutes-121-netconf-202411081300-01>) with a request for more on list discussion. 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. During the 121 presentation, I expressed some confusion around what the draft was trying to achieve. I’ve since read the draft and slides again, and admit that I’m still confused. Much of my confusion is due to use of terms like “client” and “server”, when there are two sets of each. A component diagram and matching sequence diagram would help. A statement somewhere (perhaps in the udp-notif draft) like “the collector does not have to be a ’server’, e.g., a NETCONF server or a RESTCONF server” would help further clarify the document. I recalled I heard your comments at IETF 121 and I was confused by your confusion, but now I see where you came from;-) 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. But the transport-capabilities module augments the notification-capabilities module in RFC 9196 and is used to discover the capabilities for the publisher. 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. To help this discussion some, the https-notif draft’s capabilities mechanism was defined to be used when the “encoding” leaf described in https://www.rfc-editor.org/rfc/rfc8639.html#section-3.3 is not configured, as it is “mandatory false”. As an aside, I think RFC 8639 should’ve made the “encoding” leaf be "mandatory true”, and I wonder if an rfc8639-bis might be easier. There’s the description statement for the “encoding" leaf: The “description” for the “encoding” leaf is: description "The type of encoding for notification messages. For a dynamic subscription, if not included as part of an 'establish-subscription' RPC, the encoding will be populated with the encoding used by that RPC. For a configured subscription, if not explicitly configured, the encoding will be the default encoding for an underlying transport."; The end of the last sentence says "the default encoding for an underlying transport”. But the https-notif draft (as well as the udp-notif draft) doesn’t want to specify a “default encoding”, just like why RESTCONF (RFC 8040) doesn’t specify a default encoding. So the https-hotif draft defined an ability for the publisher to query the collector to obtain a list of media-types (e.g., application/yang-data+json) the collector supports. Then the publisher selects one and starts pushing messages to the server using that encoding. 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? 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. This is the kind of capabilities discovery mechanism I thought was missing in the udp-notif draft. That said, IDK how it would be possible with UDP for the collector to send its list of supported encodings to the publisher (e.g., what port?). 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. Note the following statement in the section 7 of RFC 8639: 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. When reading the transport-capabilities draft, what I see (I think) is an alternate way for the “encoding” leaf to be configured, on the publisher. But, if true, why not just configure the encoding leaf directly? 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. Kent / contributor Best Regards, Qiufang On Oct 17, 2024, at 9:15 AM, Thomas.Graf@swisscom.com<mailto:Thomas.Graf@swisscom.com> wrote: Dear Netconf, We published a new document extending RFC 9196 system capabilities to discover YANG-Push transport, encoding and security related capabilities. Making draft-ietf-netconf-udp-notif and draft-ietf-netconf-https-notif transport discoverable as described in https://datatracker.ietf.org/doc/html/rfc8639#section-7 resp. https://www.rfc-editor.org/errata/eid6211. The document replaces and updates draft-tao-netconf-data-export-capabilities which was previously discussed at netconf. We are looking forward to get comments and feedback. Best wishes Thomas
- [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