[netconf] Re: New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt

Kent Watsen <kent@watsen.net> Thu, 12 December 2024 16:30 UTC

Return-Path: <01000193bbb548e5-9619d8ee-92a5-4d65-8b8e-07219797b8f5-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 EEB40C14F5E8; Thu, 12 Dec 2024 08:30:48 -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=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 vHksIyhvEds1; Thu, 12 Dec 2024 08:30:45 -0800 (PST)
Received: from a8-31.smtp-out.amazonses.com (a8-31.smtp-out.amazonses.com [54.240.8.31]) (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 8F8A0C14F5E9; Thu, 12 Dec 2024 08:30:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1734021040; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=EEVCb7/VKXf+/TGUq4cWkFEAWB+dmduCx9Ft3MS6mFM=; b=qZ8a8SVx7ssr8EjhY8JbwtgosXyO5OI9F24wRKQPdfuarVKmqI4CCKDH1/BCERbe WPIQKOvptLKfhv0pUWu4UuSmhG2UjKvrIgpJythG9jxESpbSRwgCK62rtjFoSm9Phex Vyc9MvmL5Kat8mRpckQtxW2gxzPORERt1+976mL8=
From: Kent Watsen <kent@watsen.net>
Message-ID: <01000193bbb548e5-9619d8ee-92a5-4d65-8b8e-07219797b8f5-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_94C081E7-9F60-4568-8FF9-CC0C4AF6E673"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
Date: Thu, 12 Dec 2024 16:30:40 +0000
In-Reply-To: <6af696264f06484e8ae82f4ea394acb8@swisscom.com>
To: Thomas.Graf@swisscom.com
References: <172917034955.1401018.6866481846942967268@dt-datatracker-78dc5ccf94-w8wgc> <6af696264f06484e8ae82f4ea394acb8@swisscom.com>
X-Mailer: Apple Mail (2.3774.400.31)
Feedback-ID: ::1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2024.12.12-54.240.8.31
Message-ID-Hash: KV2GLDEUZ4ZLCAA5E5E3PW5774NJVGB5
X-Message-ID-Hash: KV2GLDEUZ4ZLCAA5E5E3PW5774NJVGB5
X-MailFrom: 01000193bbb548e5-9619d8ee-92a5-4d65-8b8e-07219797b8f5-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
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/Bfigb_u-C5C0fDgrlzCB9WKSK_s>
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>

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.

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.

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.

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?).

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? 

Kent / contributor



> On Oct 17, 2024, at 9:15 AM, 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