[netconf] Re: draft-ietf-netconf-https-notif-cbor-00: Update and request for further review and clarification
Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 03 July 2026 19:49 UTC
Return-Path: <mjethanandani@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 BB24010E04D8F for <netconf@mail2.ietf.org>; Fri, 3 Jul 2026 12:49:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783108179; bh=ecAs8EsZmqFolP7R/SDsA+530nFhW/wWs1NHspv7bBk=; h=From:Subject:Date:In-Reply-To:Cc:To:References; b=fRb2ftolANcbIN+ZH9ppBHNjRDtbwGkajXFzsEpf3S3SniBMN4jCJTCrd67UgDAzz gxXfzihN6ytdqR7DX73KmobJNWmMeoCwj8bTCRWNuANp1nP9IxhoXud/165L2/3RFa cbLmu9LysjcwU9Gln86XOdzcisNTCARvEjDYT08M=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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_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 PKuEaWflJz92 for <netconf@mail2.ietf.org>; Fri, 3 Jul 2026 12:49:38 -0700 (PDT)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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 8BCE310E04AD8 for <netconf@ietf.org>; Fri, 3 Jul 2026 12:47:13 -0700 (PDT)
Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-2caed617615so4832295ad.3 for <netconf@ietf.org>; Fri, 03 Jul 2026 12:47:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783108033; x=1783712833; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=vmDgQxwq051QWyHUHmDCUabiTCfQqoJ8irnlQga/+uE=; b=HcbI1vvwPmOkjGL6Z3/gpdGtsyzV7IUaT6CtYWnRyo68OdmZhlfrd2GJu4ZLybo2GS +MChhVmsILqOJm0G/a7zOanD7ZTq//mqZO+IGI6WspQF0VSNdFNJAmSucHEhjelhBCEx Oo1ttqKiyFxM8NJyjtubkM53WPrwEUToSbaLHPFVFf+4pHpblr2tJAiYaX4rO8nAAtyQ PAqn32aTU83mwr0FyMsHjR2dMYYy8c+F3UpTukOXp3QWh+n8+j50N143kadH+NzwYvxf IpBMDKwYuVjFdGjHNrss+Cf5Ahtc4AO4gwEQVIQ/DKaqFlSG77EglKp+U6T344y+vpHm k0Kg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783108033; x=1783712833; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vmDgQxwq051QWyHUHmDCUabiTCfQqoJ8irnlQga/+uE=; b=f79aqBZDCer6BSYpKgVzEgz89m50TFC4y3UZt+Qt/iSgt3O6dltQnYE/M8/c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336-2cbb9f04e46mr5222865ad.44.1783108032148; Fri, 03 Jul 2026 12:47:12 -0700 (PDT)
Received: from smtpclient.apple ([2601:646:898a:9810:addd:8c35:986e:9872]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-13b3c876ea9sm20656791c88.13.2026.07.03.12.47.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Jul 2026 12:47:11 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <1563485D-2F28-47E5-969C-73323E6973EA@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_E29976B5-B671-4D30-B04A-A70CFACF5E85"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
Date: Fri, 03 Jul 2026 12:47:10 -0700
In-Reply-To: <2C03ADCC-1104-45FA-B994-6C1E78D4F46F@gmail.com>
To: Meher Rushi <meherrushi2@gmail.com>
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>
X-Mailer: Apple Mail (2.3864.600.51.1.1)
Message-ID-Hash: BUXFXAOCS3ISGQDCBCMPYTQ5H6Z6ERNI
X-Message-ID-Hash: BUXFXAOCS3ISGQDCBCMPYTQ5H6Z6ERNI
X-MailFrom: mjethanandani@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: "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/NREnFI6JaHUoW-4i9zwvxd1TEtY>
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 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. > > https://github.com/netconf-wg/https-notif/pull/56 > Add support for yang-data+xml and yang-data+json by mjethanandani · Pull Request #56 · netconf-wg/https-notif > github.com > > 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 >>>>>> <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
- [netconf] draft-ietf-netconf-https-notif-cbor-00:… Meher Rushi
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Alex Huang Feng
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Kent Watsen
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Alex Huang Feng
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Kent Watsen
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Mahesh Jethanandani
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Alex Huang Feng
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Mahesh Jethanandani
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Meher Rushi
- [netconf] Re: draft-ietf-netconf-https-notif-cbor… Siddharth Bhat