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

Thomas.Graf@swisscom.com Fri, 20 December 2024 10:04 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 40283C19ECBE; Fri, 20 Dec 2024 02:04:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.979
X-Spam-Level:
X-Spam-Status: No, score=-3.979 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_MED=-2.3, 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_DBL_BLOCKED_OPENDNS=0.001, URIBL_GREY=0.424, 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 m8TeVSm-CDoZ; Fri, 20 Dec 2024 02:04:08 -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 735CBC169407; Fri, 20 Dec 2024 02:03:58 -0800 (PST)
Received: by mail.swisscom.com; Fri, 20 Dec 2024 11:03:56 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swisscom.com; s=iscm; t=1734689036; bh=BOHL2zMGAokFPMYRC6i7jDIhhR5ibHEZLPMXEVQj3g4=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=jEA+OBis8qridPDu7VtSXsTRZrsJXLInKMA4M8eD4DqOhjcDSvdQooadCix4auxik NeGZm0H9R0II3SN+NtmtoajK3n4JzhbIjDDjyOGdykeGE9JOSI7A9bWDoN7ir20hPl d7FQEeeOQKSNRqKBI5M4xVAwzt3MGx/h7Oap+VEHGkDJa3amnyk7eMj4pfkOeHTFVr WVKkszemgPzLNg/QycD5gG1CHp4EJo1n6eYHCUILgrOGGWA9YDuLJwBJ+aOkpzSsbS 5WcVynsCmcWogcO+C9JX++LKIhPe+uBXIFAW/+RtQ5KVLnMLPCh/VFGQpv73mCh2cj NA+JYkCss0dyA==
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_1489697_1406947008.1734689035832"
X-Mailer: Totemo_TrustMail_(Notification)
From: Thomas.Graf@swisscom.com
To: kent@watsen.net
Thread-Topic: [netconf] New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
Thread-Index: AQHbIJVMH9o9Zk/HFUecxriP8qlFQ7KK6gFggFgqbQCAAQRIgIAAfryAgAE7VfCACEVMAIABJDDQ
Date: Fri, 20 Dec 2024 10:03:53 +0000
Message-ID: <e20ad9f5e6c94c03abe2d23aee7ff19b@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> <fc2551fb04934e79b56009a33b770a4a@swisscom.com> <01000193dfccb260-269d6697-a33a-4792-aae9-047f0d5cb25e-000000@email.amazonses.com>
In-Reply-To: <01000193dfccb260-269d6697-a33a-4792-aae9-047f0d5cb25e-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=c3d7a9c2-f8ad-4ccb-b7ab-3aa48236c840;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-20T09:08:20Z;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: 45TWGQ7AJAP6GBTHNEKFOEPW7QMEBGOQ
X-Message-ID-Hash: 45TWGQ7AJAP6GBTHNEKFOEPW7QMEBGOQ
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: maqiufang1=40huawei.com@dmarc.ietf.org, 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/7tqFOjLnaKNKT2BHwFHco2gwbCY>
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 confirming.

The mandatory encoding question has been raised at the IETF 107, https://mailarchive.ietf.org/arch/msg/netconf/5cb91SD7wfrgdei4wBailQSG6xQ/, https://www.surveymonkey.com/r/68W3DX3. The choices did not include CBOR. The working group decided to let market decide in contrary to https://datatracker.ietf.org/doc/html/rfc8639#section-7 which lead to https://www.rfc-editor.org/errata/eid6211.

From there, to my knowledge, the NETCONF working group has now 4 possibilities:


  1.  To mandate default encoding for all YANG-Push transport protocols (https-notif and udp-notif) until a new document (possibly draft-wilton-netconf-yp-observability) updates RFC 8639 with errata eid6211 which gives the implementor the choice of implementing any discovery mechanism or a default encoding.
  2.  To mandate default encoding for all YANG-Push transport protocols (https-notif and udp-notif) until a new document (possibly draft-wilton-netconf-yp-observability) updates RFC 8639 with a requirement of draft-netana-netconf-yp-transport-capabilities based on RFC 9196.
  3.  To ignore default encoding requirements for all YANG-Push transport protocols (https-notif and udp-notif) until a new document (possibly draft-wilton-netconf-yp-observability) updates RFC 8639 with errata eid6211 which gives the implementor the choice of implementing any discovery mechanism or a default encoding.
  4.  To ignore default encoding requirements for all YANG-Push transport protocols (https-notif and udp-notif) until a new document (possibly draft-wilton-netconf-yp-observability) updates RFC 8639 with a requirement of draft-netana-netconf-yp-transport-capabilities based on RFC 9196.


Regarding

> That draft is related, but neither defines a default encoding nor provides a mechanism for the publisher to discover the collector’s capabilities.

https://datatracker.ietf.org/doc/html/rfc9196

The module "ietf-system-capabilities" provides a placeholder structure that can be used to discover YANG-related system capabilities for servers.

Correct. RFC 9196 covers the publisher and not the collectors capabilities. I remind NETCONF working group had already a lengthy thread https://mailarchive.ietf.org/arch/msg/netconf/ozmoIPImyiZ2k5V4I-LfwUaliFE/ in 2021 on this discussion. That lead to the working group consensus of covering the publisher in RFC 9196. RFC 8639 and RFC 8641 don't mandate that transport capabilities are discoverable. See above.

I hope this summary helps to understand the current state. Please comment/correct and lets avoid being caught in a time loop, https://en.wikipedia.org/wiki/Groundhog_Day_(film).

From a network operator and YANG-Push receiver, Network Telemetry (RFC 9232) data collection, perspective here my comments/suggestions:

Follow the NETCONF working group consensus of deciding the market which encodings (JSON, XML, CBOR named identifiers, CBOR SID) should be implemented. With MVP 1 and 2 (slide 12 https://datatracker.ietf.org/meeting/121/materials/slides-121-nmop-ietf-yang-push-implementations-and-next-steps-01.pdf) we have an alignment from multiple implementors and operators to start with JSON in MVP 1 and CBOR named identifiers in MVP 2. That is to me a sensible approach.

Define one single mechanism of discovering the YANG-Push publisher capabilities as defined in RFC 9196. Covering transport protocol/encoding/security (draft-netana-netconf-yp-transport-capabilities), notification header type and extension (https://datatracker.ietf.org/doc/html/draft-netana-netconf-notif-envelope-01#section-3.2) and subscription capabilities (on-change, periodical, interval, https://datatracker.ietf.org/doc/html/rfc9196#section-3) Multiple mechanisms leads to overhead in implementations and therefore in a slow down of adoption of the solution. Therefore it should be avoided.

When defining a mechanism for data collection capabilities, it should be Network Telemetry protocol agnostic and covering transport, notification, subscription, transformation and aggregation capabilities (NEW-OPS-REQ-REUSABILITY).

Best wishes
Thomas

From: Kent Watsen <kent@watsen.net>
Sent: Thursday, December 19, 2024 5:43 PM
To: Graf Thomas, INI-NET-VNC-HCS <Thomas.Graf@swisscom.com>
Cc: maqiufang (A) <maqiufang1=40huawei.com@dmarc.ietf.org>; netconf@ietf.org; draft-netana-netconf-yp-transport-capabilities.authors@ietf.org; nmop@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 Thomas,



On Dec 14, 2024, at 4:51 AM, Thomas.Graf@swisscom.com<mailto:Thomas.Graf@swisscom.com> wrote:

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?

The last sentence is 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.

That draft is related, but neither defines a default encoding nor provides a mechanism for the publisher to discover the collector’s capabilities.



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.

Likely more related to no one implementing RFC 8639 before it was published.



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.

I suppose, to the letter, yes.  IDK why Rob selected "Held for Document Update”.



However, we have fromhttps://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.


Sounds right to me.  Thanks for finding all the references.

Kent