[netconf] Re: [NMOP] New Version Notification for draft-netana-netconf-yp-transport-capabilities-00.txt
Andy Bierman <andy@yumaworks.com> Thu, 23 January 2025 21:51 UTC
Return-Path: <andy@yumaworks.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 932B1C18DB92 for <netconf@ietfa.amsl.com>; Thu, 23 Jan 2025 13:51:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_NONE=-0.0001, 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 (2048-bit key) header.d=yumaworks.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 jnOMz3tKVA9N for <netconf@ietfa.amsl.com>; Thu, 23 Jan 2025 13:51:07 -0800 (PST)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 B5C29C14F6A5 for <netconf@ietf.org>; Thu, 23 Jan 2025 13:51:06 -0800 (PST)
Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-53e2ed7d951so179738e87.1 for <netconf@ietf.org>; Thu, 23 Jan 2025 13:51:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1737669065; x=1738273865; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+9F2Ah9velPxU9TWdafQvy+Rdu7udym4mtfYKZUkQUs=; b=NFL3wFU7xJze+7AKCuqeKgqiZOsW/CiUz+NIDxwgn9rGaJKfbTcbN9g4cvKWceKpEe PiTU+FNCQ9PnrK4G0p8dToaa74ZsGgZYFoZ0PRvCuu2XfMMffu76JMd937Kwxu7FJR3u idB14AsU39N2BiK5RMTrQaSiVVhDyILWAad+Gy0a/mLZXShCNaeJ2t0S7RuMUkZDeFe6 jeUlKMBQDRX9YhOKzEmEMHqEanQc7aXKU9uSDVpoAXUz+3dYeq11HDQV96uiSqdjmkhd 1zT02pez9Hw3P1v7zNuaoO5ztMKd4nnnSdfPo90vUD1+xvyY1GdEQv5lv0V02r6V8DcZ IqFg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737669065; x=1738273865; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+9F2Ah9velPxU9TWdafQvy+Rdu7udym4mtfYKZUkQUs=; b=QCAmyxm5IcIDLKN5L9Bqi7qnmlOtD5wTPoas4Aly+fBn2fVP8FvlKlG2ViWjL0NOUd d5f80EQlS8Xf4ove0ecbtNaCLebap6MZB9vBN3R/a9UMWGzwwgnaP8DtG4IxBZnunuSa EONoQ9AV4JsaCytmj9u/TcTYnFyYkvCGI6c9KElVUavo3sPgqpZqDm/kmkE8nsrFIbIQ EJi+ed4MtoztNgLuzg+5/9Mw3PGDSJTtZMkwgr5MnMUH1IiICMC+8YfF03CYLb7ExGrA VtPWsLzXsjRlmJi0H4a60OGJZLFpESXbTJqBOM9CdfEQjYJYLL6mBuW0Ku3UnGLwtQjS mf6Q==
X-Forwarded-Encrypted: i=1; AJvYcCUeL1vXzhKHyiAa9948EtI15pzBn/XzEDaRr//Q5n86j1gRfeq+0nogeWkEbhoBwkw2jH7i2vEl@ietf.org
X-Gm-Message-State: AOJu0YwHhHJw+c8adNmNp7VI6acBSfM3UbgD1PaMSJ4F3qQP95HjTV+5 5iLsYS2UxhQP9YWLlOD9AaPSnrntdeSRBnLub+/YGOzkjQgvhemQIeRaajQQF16AqQhIi18j+TF WrrjpOVvtjnZ+98YvBEEao06hEmHAE0xnUi4HXA==
X-Gm-Gg: ASbGncuzJOaEqoaNG6teBnFeOznOsgU8ccglBGNe/xUJJIryvk2SqyjtwND6xHVB3HB qfsPu5d4utDG6mFpOTv62eVL6fdymEXMH4xg6GrFkP9IKhbGTlatm/1RLUazrJgJG0Zmp/2oxGr 3M30/KSk163Bfc73GhJyFYKOUHi2KW4uE=
X-Google-Smtp-Source: AGHT+IF3x4nqrGO2CY2KT6SI5dPjuG/AEgLTHexUzyFQQC0epxd69ezqtGUiS9B3pDV34uXHbRY7m68wGso6+12WTh0=
X-Received: by 2002:a05:651c:221e:b0:300:c10:7c33 with SMTP id 38308e7fff4ca-3072caffef9mr36348701fa.7.1737669064161; Thu, 23 Jan 2025 13:51:04 -0800 (PST)
MIME-Version: 1.0
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> <0100019494ec650b-037db71e-ceeb-40d6-9f89-b338821df6df-000000@email.amazonses.com>
In-Reply-To: <0100019494ec650b-037db71e-ceeb-40d6-9f89-b338821df6df-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 23 Jan 2025 13:50:52 -0800
X-Gm-Features: AWEUYZmRUSYurgKqygc9uSKO7bBqZ23V_-3jIMcW20zO4nMRBP2C3MDCqIiVo3c
Message-ID: <CABCOCHQVPDd0rPgqrTYURLbTfsTEYTQCOvQAyYQhS7=FxK5JLw@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Content-Type: multipart/alternative; boundary="0000000000004e9b97062c669bd6"
Message-ID-Hash: YIG5RGVUHBRYAXYQLTZWHBSQQG3UC7MC
X-Message-ID-Hash: YIG5RGVUHBRYAXYQLTZWHBSQQG3UC7MC
X-MailFrom: andy@yumaworks.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: Thomas.Graf@swisscom.com, "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/xyF6pEkDCdwN4PYGr3m9pml0j0M>
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>
On Thu, Jan 23, 2025 at 12:48 PM Kent Watsen <kent+ietf@watsen.net> wrote: > IMO, 8639 is DotW (dead in the water). Let it go. It doesn’t matter > because no one it using it. > > RFC 8639 is in use by some vendors. YANG Push uses it. UDP-Notif uses it. Even without YANG Push it is a major improvement over RFC 5277 subscriptions. We are close to releasing full XML, JSON, and CBOR support for dynamic subscriptions over NETCONF and configured subscriptions over UDP-Notif. The recent improvements add to the RFC 8639 module instead of replacing it. Why is a mandatory encoding required for UDP-Notif when it is not for RESTCONF? > So either #3 or #4. > > K. > > Andy > > 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 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 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 from > https://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 > To unsubscribe send an email to nmop-leave@ietf.org > > > > _______________________________________________ > netconf mailing list -- netconf@ietf.org > To unsubscribe send an email to netconf-leave@ietf.org >
- [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