[netconf] Re: draft-ietf-netconf-https-notif-cbor-00: Update and request for further review and clarification
Meher Rushi <meherrushi2@gmail.com> Fri, 03 July 2026 21:38 UTC
Return-Path: <meherrushi2@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 B01B510E1E696 for <netconf@mail2.ietf.org>; Fri, 3 Jul 2026 14:38:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783114734; bh=jkeds4Rwle0JQL5JQZ1yW+mU4Kx6lS2ZvXyIWToWnCU=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=QYpPVdVXDLBeyODt0za1cgNhbyBPfdCtl1LU/4M2vVoHkwsYvIoR7cRWOAeAGPgAz DtGBV6AfnaFLRMZm/ChTBwU/cGOLVsAp8yidzDdofu86yHAI5NRXVxxAnvXU2A8sPL wH3ciT7sFs/afGGXDE709n7HFd045x8DZwUCyBZM=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -0.847
X-Spam-Level:
X-Spam-Status: No, score=-0.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no 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 r0YhSeq-Qgje for <netconf@mail2.ietf.org>; Fri, 3 Jul 2026 14:38:53 -0700 (PDT)
Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) (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 90D8F10E1E676 for <netconf@ietf.org>; Fri, 3 Jul 2026 14:38:53 -0700 (PDT)
Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-698b6c87884so1642981a12.2 for <netconf@ietf.org>; Fri, 03 Jul 2026 14:38:53 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1783114732; cv=none; d=google.com; s=arc-20260327; b=lJvYkhs6+OFedGg2iEdJ4ml5u7fcaEFjAl2G0SogFypqY699CwyDKwRKR+qAfeobPP Ja9IdSFgjWD1Yzyg29LF+c339gBs5K4SOyeoi84tKF/ne731GxdIZ7ZZOhKm05n15Bn7 zqU/ojtm0OjSXt29gWM5IsZJGL2bnC8imNz2ifJ+0/ngwUShJZOmANMJpEkmL7yC/Tcw /znlQMyj67Yl8H4HnXHljclCer4kiNz6f6SuQXHGyj3CsKFLXSa+JrzXFuI//vym9NXW YUrFBH5YCzCGsZu68AnkhDwxXGMLuntBL1WGqsOvJIRHisCDsc+9/kc5mFy+nidKLteU FGFg==
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=A2QcYIxumcsqYPef7RI1FemZFh0z5M9QT9kjHfdk/u4=; fh=w15zaBufDC2U+uivX/U1NEPU3eL7WTKxAd9nDf7iSLo=; b=PO96GH6xeTSS/6YlRcwOziw2/q2bM9INYO4eg6R4YphTD1bLAVqBmTuNm3rX02TkrU T2XF1nzNGBG/rrnhZtz2fNNqR7JtYImcZ9tsmbtFY8BMiDkjRgytsnDZY4c/CwrymUtf GW3NE9qUXgVUAz7J5+/CdGRVLy0MeGSVwM0FfFvdhqp5ODzQXFfaHMlhsW66W7hpOqHx 31nS+X3fYa8EUr4PeNz79jUOZaJqLZ2Zq6sc2UFcRXvs/HcqhjZ3m+oWvjNV6EJ0DUZV 1JKUl9L27aF0MvMrsjpbbHu/AHq5EIfNCHXQLVuInEhIVqvxpnzQeATWSsyLa/08tR4e y6Tg==; 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=1783114732; x=1783719532; 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=A2QcYIxumcsqYPef7RI1FemZFh0z5M9QT9kjHfdk/u4=; b=lWOEOorsVa8OR168VyVW+7OoiesLGHXFdh+DqwnSv00bkOBamYCFNcwzIrDKYlHfLO mzFzqiDVj4tly9bHgO623nvTgLzvxGLGAXkJl1o4BRdcS/vA4qkONmhmYcyo5/TbmLTz q2WWF7pf/mZx82oA/FaGDgpoKRkuL2HCvzsckeiETK6MfF/klpvMWwPGoJumlBGOZpwp xZIoXD+eg+MXEUG/hwPwACF8a16fdcIu1cZqXMdWZYrzPRHwtyFf8OP40RdRoBGgQ4mh nkKQf67dBncuF+pbLY8Dquw6fNVCdFtjxsDry/72vrexKWLYaycInqHf9d2vqIuUhSPK wjhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783114732; x=1783719532; 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=A2QcYIxumcsqYPef7RI1FemZFh0z5M9QT9kjHfdk/u4=; b=RQ9LZHbD1ocYpdllgQn4buX1d/fVD1zQNfYmorWkskcly9UFeH8Ej9pp2e+Ya+mTFr 6bgGqRJGCFuabf798k8yiZAZsBpzR5Hb/4OxhYwbkcnai3DYbG5hKvsMe03ZvRvPQhGz KUbEG7mcov9OL7relIJV65av2rGd0Tf1zWc83WT0JKaqy+Z43EVt6insNAxnudUKL0PT 0JmdVPzZzqQisGkxghkuZk5WB0G8F6ASBGshjtew7VhY9UAQB8TAvhmqRc1W8ja+86TO 1VVSF4b0gHvESNbT2JMjxG8Qxvjb4rwXbO7mj8jXQWVnNMipw3btHMQjHvh089pQYEwt L8Zg==
X-Forwarded-Encrypted: i=1; AHgh+RralsqShGEn4YD9TCZipwt6qpDF0OG4IxamawuRJHuLfW+j2ls7TZRxjfrzzESgpZc1Q+b9+Ckx@ietf.org
X-Gm-Message-State: AOJu0YxnBt83ixYWJ2+jPoRNbS62Jn6gMszjyqCehGHZ3JuMrYHQrbUm Kb6+lvsHZ+v3vQMC/31Sp+m3q32vZSSFAFgVT1ITrw1JkoWTnQNQYQfk8tlhdF4qsOvIUxR0iGN acdvz6t6UilxCOVXpXhsgDCeOZj1HwPs=
X-Gm-Gg: AfdE7clohoNeATMaSQJNVrQaeM66vxF7wH+j/jtDLPd71+KaKOkDGpifQVlEnvc5USz VFxWc8KdW/eXJGpFtOsMHQYhF02rQC+2pMbOuVgf4hquEd1ydflPTZ8CjmrDl+L4IdXyASsnwSe V/FFxf5QObPPUAawLUT6N02L1X2fRKtoWErnG0sp384k2VgdYHvT642IYTTO0pUFj/jML7gAP8E xHqrp5qb0Q+SAF2xwk+Z9Ho3i4Pp/JIFr9OqUm6zjW/B8wHaKUZhko78BhV3G+UfTdgfOmQF25h aytT+1YZ6SoT
X-Received: by 2002:a05:6402:529a:b0:699:6415:751b with SMTP id 4fb4d7f45d1cf-69a1a3a970cmr319756a12.24.1783114731997; Fri, 03 Jul 2026 14:38:51 -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: Meher Rushi <meherrushi2@gmail.com>
Date: Fri, 03 Jul 2026 22:38:36 +0100
X-Gm-Features: AVVi8CdtQ47BJVn0paaBrVLmwHJMFNBJ7k7QhQf8ayYCfmq4oO1qh23xz_Qm3lk
Message-ID: <CAN_7zTnf1WQ6TVHsH0LTy2krEBzstCDFhiNXNURiQLXoo3Z7bA@mail.gmail.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: multipart/related; boundary="0000000000003221b70655bbc03c"
Message-ID-Hash: 3TL7JVPF3IWDGYZTDD47BF42MFXUBBWX
X-Message-ID-Hash: 3TL7JVPF3IWDGYZTDD47BF42MFXUBBWX
X-MailFrom: meherrushi2@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/zxlUs9vizd9dwAQqWMaksRjYdl0>
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 Mahesh, Thanks a lot for the update to the draft-ietf-netconf-https-notif. Yes, we plan to update the draft-ietf-netconf-https-notif-cbor and present it in 126. Prof. Mohit has requested for a slot on behalf of us. We shall update the draft and send the presentation in soon. Regards, Meher and Team On Fri, Jul 3, 2026 at 8:47 PM 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 > > > > > > >
- [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