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

Kent Watsen <kent+ietf@watsen.net> Thu, 23 January 2025 20:48 UTC

Return-Path: <0100019494ec650b-037db71e-ceeb-40d6-9f89-b338821df6df-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 5CF24C169407; Thu, 23 Jan 2025 12:48:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 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_H4=0.001, RCVD_IN_MSPIKE_WL=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 EcELOhjlTfTp; Thu, 23 Jan 2025 12:48:29 -0800 (PST)
Received: from a48-90.smtp-out.amazonses.com (a48-90.smtp-out.amazonses.com [54.240.48.90]) (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 0E1AFC1519A0; Thu, 23 Jan 2025 12:48:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1737665308; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=hnM4daI0sSfPvS5wxuFSNbuzlR/D4RtRt4QcuOpZHzg=; b=WQ6lBBSA0Oy0ydvkMMY/+QkDmuz1Ws/vDSqngJk86y/DCzYiUPOPDKmfJmXPKCEQ nFUBq4x72gSjrgcZWBQh8q73yur8fNbZoBpcOMP+y+K6h8inAKuZf5Cq12pq0UyH5L2 h+we2L+8FZ3c8OF35NbOsA90qbjV9zrF5wzmdxiE=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <0100019494ec650b-037db71e-ceeb-40d6-9f89-b338821df6df-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_7248631B-09DC-48F8-8D19-5670A07B66CF"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\))
Date: Thu, 23 Jan 2025 20:48:27 +0000
In-Reply-To: <BB86B0B9-EC74-40BD-8FDF-3179242964EF@watsen.net>
To: Thomas.Graf@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> <e20ad9f5e6c94c03abe2d23aee7ff19b@swisscom.com> <BB86B0B9-EC74-40BD-8FDF-3179242964EF@watsen.net>
X-Mailer: Apple Mail (2.3774.400.31)
Feedback-ID: ::1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2025.01.23-54.240.48.90
Message-ID-Hash: 3N4KASPYF263NGMETKMKQ5KCGCKFKRLR
X-Message-ID-Hash: 3N4KASPYF263NGMETKMKQ5KCGCKFKRLR
X-MailFrom: 0100019494ec650b-037db71e-ceeb-40d6-9f89-b338821df6df-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: "maqiufang (A)" <maqiufang1=40huawei.com@dmarc.ietf.org>, "netconf@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: [NMOP] 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/4ZoDkf6p29vOad3cb1tivkFneXQ>
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>

IMO, 8639 is DotW (dead in the water).  Let it go.  It doesn’t matter because no one it using it.

So either #3 or #4.

K.


> On Jan 23, 2025, at 3:25 PM, Kent Watsen <kent@watsen.net> wrote:
> 
> Hi Thomas,
> 
> This is a conflicted matter.
> 
> I go with #4, because I don’t believe there are any existing deployments
> 
> K.
> 
> 
> Kent // as chair
> 
>> On Dec 20, 2024, at 5:03 AM, Thomas.Graf@swisscom.com wrote:
>> 
>> 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 tohttps://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:
>>  
>> 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.
>> 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.
>> 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.
>> 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 <mailto:kent@watsen.net>>
>> Sent: Thursday, December 19, 2024 5:43 PM
>> To: Graf Thomas, INI-NET-VNC-HCS <Thomas.Graf@swisscom.com <mailto:Thomas.Graf@swisscom.com>>
>> Cc: maqiufang (A) <maqiufang1=40huawei.com@dmarc.ietf.org <mailto:maqiufang1=40huawei.com@dmarc.ietf.org>>; 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>; nmop@ietf.org <mailto: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
>>  
>>  
>> -- 
>> Nmop mailing list -- nmop@ietf.org <mailto:nmop@ietf.org>
>> To unsubscribe send an email to nmop-leave@ietf.org <mailto:nmop-leave@ietf.org>