[netconf] Re: draft-ietf-netconf-https-notif-cbor-00: Update and request for further review and clarification

Siddharth Bhat <siddharth.bhat10@gmail.com> Mon, 06 July 2026 23:24 UTC

Return-Path: <siddharth.bhat10@gmail.com>
X-Original-To: netconf@mail2.ietf.org
Delivered-To: netconf@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id AF76C1115AD22 for <netconf@mail2.ietf.org>; Mon, 6 Jul 2026 16:24:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783380265; bh=9Afh/Zdw1veCmh3FI/2OyVp60oN2TGOSsxNkvUT/VKM=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=o/GkzcHkk06DNz8Pf5j6qxF9zeNBiHQMYV4ZBhHkeXOUXVqzBXWjxC8MquBTBJf8A vpyXxsxYI7x/3YUuGzV5w9mMalCmYfVC4c17bh4Wsp4bEIueZnRfZhI3N1lGtdOPJM WeKE+pPInlpSu/FVlWQba9vHnljpb9X33pc9oMLA=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level:
X-Spam-Status: No, score=-1.847 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DC_PNG_UNO_LARGO=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q3T5yDnvqdjM for <netconf@mail2.ietf.org>; Mon, 6 Jul 2026 16:24:23 -0700 (PDT)
Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) (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 mail2.ietf.org (Postfix) with ESMTPS id 25AC711158B35 for <netconf@ietf.org>; Mon, 6 Jul 2026 16:17:43 -0700 (PDT)
Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-43cce34c881so2447592fac.2 for <netconf@ietf.org>; Mon, 06 Jul 2026 16:17:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1783379862; cv=none; d=google.com; s=arc-20260327; b=i6An7iGmyoTwj2XKzgA897xq4aI221brIvHtJlaZuR0XMRvrwd6+Fr0DQVXNGMSahG CZhwZXPcnVUBjCYNLoq29a6AOPpw1eksbXEFU6GWVY4gzGB4DI8dzFwI2JWYGizcVVxM 6oUkT813587KA0CZ/MNvIPESuT7xo+R5Jokcpi4L8TY5uxf9Jon6vqpdXu7/T/pFbyYA prj8COAGlm77AenE0Jmmi+TGdnpXYY+o1xszYuXx6enW8oztcxusNtGGPDhxhDRLN4OQ cl34Lyo/V7BtLH2tmIuY5awUhRHIG1jG4rIbCOP+kyJNy0VSMmJqyQQX/VXag+C5sK5D Kgtw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=XazFVmxOHcmVj4qRef6pLbJrdRVoHlUErBcwH6Feuyk=; fh=cBtqzzD4sHOLX47Mv34HDMCum18XrYfkFbH9rdV3bd4=; b=iYdrBnkVQ7OX6571W7Uo80iJ1kG2P4+X0s8wX9brY1AVKXC6H52D1KGeqdnX/y6NnE ObMwjuoxiN2hvcGAJix0qby1ccN4yVsd5/0XJoqtDZ5VQFiuyKas9I9kmPhukdbNMBkz dNOfvovodbxBYEvzuUNLQv/BYzgLDhjkgk26kCKAmToHOw1MysIA0W2/q5YS6IzUygYq w4TMSK0ey7AAx2bc8FCgLV1/e70elYZbOfFfd5hLBbmCkikyCKmuPyS+npoYpkqC6zNL fNaqg24r9zxgifFm7KIJbetexUbB7M9rdO7i6dfeSczWiOcpUSLSKor+nhUoClELy+RK yNVA==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783379862; x=1783984662; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=XazFVmxOHcmVj4qRef6pLbJrdRVoHlUErBcwH6Feuyk=; b=YhmNCc/qyAhNj4xSXU26M+MuGu7Dr1FJivBG0T+aNPXKt5dFd8GPchQuQSCO1hG4tX MWftYxLLvdeq/u+IPmc5ipYV271R8lXPBjjcBeHZaIOZRUGLlwvzLDaWBTVIjgYn+/sj rLVllNh8O2vhfAYBHB8BxLH1Xi257xdR+Bhs7oKFtkOxBlkKdwhN2uWU0p0fyqQiDTDq RAu8fnsFE+Dyl8w1kWHvIee/+SCBoC3M1kep2O0b4gfgW+VmVln/k9xvlKKpbEqN3ahy rVc1z32gwyibwmXswXNFVVICGLE3seN/PZZVNE6TeSqrcGSdN1FeeT+wEQdur64xO1RK du3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783379862; x=1783984662; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=XazFVmxOHcmVj4qRef6pLbJrdRVoHlUErBcwH6Feuyk=; b=LDSyh84B0PZ7oqWrhSsTnyfCwa51Y6FdQ3uE9pS9gnNJZxTDS+JG7HUOiz1zqRFYLa jQG1SgKtv1E1TdHUu4EzLvZk/5txQuIRieGOE7TqACAEjn6/Bt/UXDuFlj23uA0YXfCs lspZ9Dur3OFuvR12YfL9cWdNB0mHoysOc/ybma05QCvbjtM6Hc89fx3JB7hy/5jrK2er BnRlO2ZvZvFid/MOocTsnTuZIqUYJR1cM8cUkmwVI+V2SD0CJQTcYHFDvwGBLehJ5owx 2nF/9a3u3yVb2dQoPWVPAZ1A75Z9V4OZxYRG9IhlQA1e8elkr9nuyOHy9jTI+NpUH8mj TBQg==
X-Forwarded-Encrypted: i=1; AFNElJ/xg4nBOMRCKhWvsVYX2WBGPgkmhQfGXNf4SJ8KtmPyDlXuGyWeqY4O5Y5nc/fBFwrfk3jBEc2L@ietf.org
X-Gm-Message-State: AOJu0YziNDacHzAwrOEFFzYiHtRmfEZaMF/iH/qnzRXY1EaLCVR7Wvq/ GLbz6D1TDrLzMofD9Jo/5qAjFXZcaecNmIgRfDt91aIMKgC/mFYL9DRS2c3+yulECvvH8mZtqEs jC34rC2fbP3/t4LZIQK+e/KXYgjMzbw==
X-Gm-Gg: AfdE7cm9fCwYBSy3FJjYNIKwjs3wYWwzXVKHYecAqnxvaDMXLn2FIouBx0DKiK7mqJJ 3IiGAaG+gEmaPNY1Hr6o9em45Qnqg0hnslUJsOO01ZlxdjdgUvVvkthaRm6CsiIPjWV4eX1KEz0 WTSlSpL0qGdn1FTpyckjd1r+MwNACugw76ObIFRqarHnsGYHhS/I2k5+VClz3BVeXsiRverprEJ qbb5IB8PHcgEwnyft6tnSNlDNQmf5woYTWkAVYyq5sZFBaOMG0h4opXeK66bzstWX5LVRQ=
X-Received: by 2002:a05:6808:c40d:b0:49a:72a:4e5e with SMTP id 5614622812f47-49fdea0d47emr2042162b6e.33.1783379858575; Mon, 06 Jul 2026 16:17:38 -0700 (PDT)
MIME-Version: 1.0
References: <CAN_7zTm3rwDTx=sVmHM5zNYf+054O62P3qD-ewPrFPuVgu8qgQ@mail.gmail.com> <2A40360D-C622-41F8-A18F-A776AE96C643@insa-lyon.fr> <0100019e17549fb3-9497e54f-2b59-4a62-9d62-bfe1bd0a826e-000000@email.amazonses.com> <7DB1E76D-66E3-4620-8624-A509178E7842@insa-lyon.fr> <0100019e27f696e6-ad6ed5ee-16e0-44ff-b333-24bcc82b5790-000000@email.amazonses.com> <2C03ADCC-1104-45FA-B994-6C1E78D4F46F@gmail.com> <1563485D-2F28-47E5-969C-73323E6973EA@gmail.com>
In-Reply-To: <1563485D-2F28-47E5-969C-73323E6973EA@gmail.com>
From: Siddharth Bhat <siddharth.bhat10@gmail.com>
Date: Tue, 07 Jul 2026 04:47:26 +0530
X-Gm-Features: AVVi8Ce9YoIm2bUtr-opFy3JM5CLKk2flMRCH5pueKXSE8BUE1dk96gdOoKGfv4
Message-ID: <CAGf1fOnaZB76EPL8q-4a4YuzcMPd5ng4pV-WehNyuRkMvpcOSw@mail.gmail.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: multipart/related; boundary="000000000000f985480655f97a4e"
Message-ID-Hash: VYZQIHU3CHSAEOAPWUL5QCFFJYLXFP24
X-Message-ID-Hash: VYZQIHU3CHSAEOAPWUL5QCFFJYLXFP24
X-MailFrom: siddharth.bhat10@gmail.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: Meher Rushi <meherrushi2@gmail.com>, "netconf@ietf.org" <netconf@ietf.org>, draft-ietf-netconf-https-notif.shepherd@ietf.org, draft-ietf-netconf-https-notif.ad@ietf.org, draft-ietf-netconf-https-notif.authors@ietf.org, Kent Watsen <kent+ietf@watsen.net>, draft-ietf-netconf-https-notif-cbor@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [netconf] Re: draft-ietf-netconf-https-notif-cbor-00: Update and request for further review and clarification
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/fURx3jw3VkwIRw_Vw_yMz4Bmryc>
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 all,

Apologies for the delayed reply!

Thanks for the discussion and for updating draft-ietf-netconf-https-notif
to -16. We agree with the sentiment that ietf-netconf-https-notif is
explicitly meant for YANG notifications, and that legacy RFC 5277
notifications can be handled separately when advertised as a capability.

We have updated draft-ietf-netconf-https-notif-cbor(
https://datatracker.ietf.org/doc/draft-ietf-netconf-https-notif-cbor/01/ )
accordingly:
1. Adopted Option 1: application/cbor is replaced with
application/yang-data+cbor throughout, with id=name or id=sid used to
indicate name-based vs SID-based encoding.
2. Capability URNs in all examples have been updated to the new format
(urn:ietf:params:yang-notif:https-capability:encoding:cbor)
3. Added some additional details and clarifications into the draft, and
made some editorial changes.

We plan to present the updated draft at IETF 126.

Thanks,
Meher, Siddharth, Vartika, Hayyan

On Sat, Jul 4, 2026 at 1:19 AM Mahesh Jethanandani <mjethanandani@gmail.com>
wrote:

> Hi Mehir,
>
> draft-ietf-netconf-https-notif has now been updated to support
> application/yang-data+[xml|json]. You should be able to add support for
> application/yang-data+cbor.
>
> Do you have a plan to update your draft and present it in 126?
>
> Cheers.
>
> On May 14, 2026, at 4:12 PM, Mahesh Jethanandani <mjethanandani@gmail.com>
> wrote:
>
> Hi Alex/Meher,
>
> I had started to put together some of the changes requested by the Meher
> and authors of the CBOR draft. These were done before Alex sent his email
> and the response from Kent. So the changes do not reflect that discussion.
> With that in mind, here is the PR to review and confirm if these changes
> would satisfy the initial ask (for new notifications). If support for
> legacy notifications is needed, the draft will need to bring back some of
> the changes, but that is hopefully not big.
>
> [image: 56.png]
>
> Add support for yang-data+xml and yang-data+json by mjethanandani · Pull
> Request #56 · netconf-wg/https-notif
> <https://github.com/netconf-wg/https-notif/pull/56>
> github.com <https://github.com/netconf-wg/https-notif/pull/56>
> <https://github.com/netconf-wg/https-notif/pull/56>
>
> Thanks.
>
> On May 14, 2026, at 12:28 PM, Kent Watsen <kent+ietf@watsen.net> wrote:
>
> Thanks for the confirmation, Alex.
>
> Would the issue resolve if the https-notif draft supports both as follows?
>     - use application/xml for legacy notifications
>     - use application/yang-data+xml for new notifications
>
> Kent
>
>
> On May 14, 2026, at 10:30 AM, Alex Huang Feng <
> alex.huang-feng@insa-lyon.fr> wrote:
>
> Dear Kent, authors, all,
>
> For legacy notifications [RFC5277], the modelling uses xml rather than
> YANG, so I am also unsure if yang-data+xml is totally correct in this case.
> However, I agree with you and would still suggest to use
> application/yang-data+xml.
> The https-notif specification uses the keyword "yang" a bit of everywhere.
> The IANA registry is "YANG Notifications” and “yang-notif", rather than
> just “Notifications”. So for consistency, application/yang-data+xml makes
> more sense.
>
> A sentence in Section 1.1 (Applicability Statement) can definitely help.
> However, note that while this section states that this spec can be used
> outside RFC8639, it suggests to remain within a YANG environment (creating
> a new YANG module based on I-D.ietf-netconf-http-client-server).
> So, I’ll let the authors decide whether this sentence is necessary.
>
> Regards,
> Alex
>
> On 11 May 2026, at 15:58, Kent Watsen <kent+ietf@watsen.net> wrote:
>
> Alex, Meher, all,
>
> The https-notif authors are in the process of making this change, but
> please help me confirm that the new media-type is accurate for legacy
> notifications, which are technically not modeled by YANG.  I think that
> calling it "yang-data" anyways makes sense, for all of the benefits
> mentioned.  Perhaps the "https-notif" draft needs to explicitly mention it?
>
> Kent // https-notif contributor
>
>
>
> On May 10, 2026, at 6:45 AM, Alex Huang Feng <alex.huang-feng@insa-lyon.fr>
> wrote:
>
> Dear Meher,
>
> [Adding HTTPS-Notif authors, AD and shepherd as the https-notif document
> is currently at the IESG]
>
> I already went to the mic in IETF 125 (
> https://datatracker.ietf.org/doc/minutes-125-netconf-202603160100/) to
> comment this, but forgot to send my mail to the ML.
>
> I strongly suggest going option 1.
> Any data that is YANG-modelled needs to use
> application/yang-data+[xml/json/cbor] rather than the generic
> application/[xml/json/cbor].
> The reason is because they follow different specifications. CBOR follows
> RFC8948 and YANG-CBOR follows RFC9254. Thus, I would strongly suggest the
> community to keep consistency here.
>
> Additionally, as Meher noted below, if we use application/yang-data-cbor,
> identifying name-encoded messages and SID-encoded messages becomes
> automatic (by using the id parameter).
>
> As per the approach to solve this I would let the chairs and WG decide.
> I know https-notif draft is currently at the IESG, but Kent suggested at
> IETF125 to bring https-notif back to the WG to quickly change the two
> encodings:
> - application/xml —> application/yang-data+xml [RFC8040]
> - application/json —> application/yang-data-json [RFC8040]
>
> I would prefer this option, so that we can keep the documents consistent.
> If the document cannot be brought back to the WG, the second option would
> be to use draft-ietf-netconf-https-notif-cbor to ‘update'
> draft-ietf-netconf-https-notif.
>
> Regarding the capabilities exchange using YANG, it may be worth to have a
> look at
> https://datatracker.ietf.org/doc/draft-ietf-netconf-yp-transport-capabilities/
> This YANG module uses the encodings from subscribed-notifications, so any
> identify coming from “sn:encoding” can be exchanged between the server and
> the client.
>
> Regards,
> Alex
>
> On 10 Mar 2026, at 07:18, Meher Rushi <meherrushi2@gmail.com> wrote:
>
> Hi all,
>
> Thank you to everyone who participated in the adoption call and IPR poll.
> Our document is now available as a WG item:
>
>   draft-ietf-netconf-https-notif-cbor-00
>   https://datatracker.ietf.org/doc/draft-ietf-netconf-https-notif-cbor/
>
> As a brief reminder, this document extends draft-ietf-netconf-https-notif
> by adding CBOR encoding support for YANG notifications over HTTPS
> transport, complementing the existing JSON and XML encodings.
>
> Based on the previous discussions and comments, we would like to bring the
> following question to the list to decide on the appropriate modification to
> make to the draft.
>
> As we continued working through the implementation, we realized we need to
> explicitly signal whether a CBOR payload uses name-based or SID-based
> encoding. Without this, a receiver has no reliable way to distinguish the
> two from inspection alone, and misidentification causes decoding failures.
>
> The media type application/yang-data+cbor (RFC 9254) is designed for
> exactly this: it supports an optional "id" parameter (id=name or id=sid)
> for unambiguous signaling. However, RFC 9254 also specifies that this media
> type is intended only for YANG-modeled data, which introduces a constraint
> described below.
>
> This leads to two candidate approaches:
>
> Option 1 — Use application/yang-data+cbor with the id parameter
>   Provides standardized, unambiguous signaling aligned with RFC 9254.
>   The constraint is that applying it to the capability exchange requires
>   a corresponding YANG module — which the current https-notif draft does
>   not define. However, draft-ietf-netconf-notif-envelope
>   (https://datatracker.ietf.org/doc/draft-ietf-netconf-notif-envelope/)
>   is already introducing an extensible YANG model for notification
>   envelopes in this space, which suggests that defining a YANG module
>   for the capability exchange may be a natural and reasonable step.
>   If taken, it may also be worth updating the parent https-notif draft
>   to use application/yang-data+json and application/yang-data+xml for
>   consistency, though that would be a separate and non-trivial change.
>
> Option 2 — Keep application/cbor; signal encoding via capability URIs
>   Retain application/cbor for both capability exchange and notifications.
>   Signal the SID vs. name distinction through dedicated capability URIs
>   in the capability exchange response, e.g.:
>     urn:ietf:capability:https-notif-receiver:encoding:cbor:sid
>     urn:ietf:capability:https-notif-receiver:encoding:cbor:named_identifier
>   The draft already permits custom capability URIs, and publishers are
>   required to ignore unrecognised ones, so this requires no structural
>   changes to either draft. The tradeoff is relying on URI convention
>   rather than the standardized media-type mechanism — though it fully
>   resolves the ambiguity. Given that the capability exchange is a
>   one-time event per session, the performance difference between the
>   two options is negligible.
>
> We would appreciate WG input on both options, particularly from those
> familiar with SIDs and CBOR. We welcome further review and feedback from
> the WG. If you have comments, please send them to this list or open an
> issue on our GitHub tracker:
> https://github.com/MeherRushi/draft-ietf-netconf-https-notif-cbor
>
> Best regards,
> Bharadwaja Meherrushi Chittapragada, Siddharth Bhat, Vartika T Rao,
> Hayyan Arshad, Mohit P. Tahiliani
> (Authors, draft-ietf-netconf-https-notif-cbor)
> _______________________________________________
> netconf mailing list -- netconf@ietf.org
> To unsubscribe send an email to netconf-leave@ietf.org
>
>
>
>
> _______________________________________________
> netconf mailing list -- netconf@ietf.org
> To unsubscribe send an email to netconf-leave@ietf.org
>
>
>
>
> Mahesh Jethanandani
> mjethanandani@gmail.com
>
>
>
>
>
>
>
>
> Mahesh Jethanandani
> mjethanandani@gmail.com
>
>
>
>
>
>
>

-- 
Siddharth Bhat
Siddharth.bhat10@gmail.com