[yang-tooling] Re: SID file issues / .sid file differences in pyang and core-wg/pyang
Carsten Bormann <cabo@tzi.org> Thu, 05 February 2026 11:20 UTC
Return-Path: <cabo@tzi.org>
X-Original-To: yang-tooling@mail2.ietf.org
Delivered-To: yang-tooling@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 12D4BB237853 for <yang-tooling@mail2.ietf.org>; Thu, 5 Feb 2026 03:20:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.398
X-Spam-Level:
X-Spam-Status: No, score=-4.398 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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=tzi.org
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 m99OK3uBtJzD for <yang-tooling@mail2.ietf.org>; Thu, 5 Feb 2026 03:20:16 -0800 (PST)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [134.102.50.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id BDA8CB237847 for <yang-tooling@ietf.org>; Thu, 5 Feb 2026 03:20:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tzi.org; s=2019; t=1770290415; bh=z7Bh2Vp3/gAR+rXHvTFOlpJ+HbrG03hpSvy4MEutvBU=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=FMLEvTjWaheTIVrud77l14CvE8fWMaaCV22uuC1NESmGRpi5hnNy3G8Ur6xHziS89 XvhyrNQG7RpZ6ziPZGXQp1D4pc09GkuJG4CDZgnLUE4h3TAiFe/RtGKzwwYhDUIXx7 ioPjOMNibQxZfdMTyutT7G2QFxs5EvKFC8l0zJk6tAUHSBLan1Bqr1OHOfyzGSELLC yeJRXiq61h6WLj6e9PC/nsP/KpTTt7JhL3qYm9qjPnMbqEd07owo+ehjL8CLIlk25E zI7K1TriqpXW9V8/z+v/h3X93eR6gjPA781Of/eAmPoUSY0038p2FjE1gM2MSYT9nj cAv+wtWsPqybg==
Received: from smtpclient.apple (clients-pool2-0400.vpn.uni-bremen.de [134.102.213.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4f6FBR47JWzDCbd; Thu, 5 Feb 2026 12:20:15 +0100 (CET)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.4\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <b1256b3f-794b-40e8-a7e8-d1395fa7aa0d@iotconsultancy.nl>
Date: Thu, 05 Feb 2026 12:20:04 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <EE144B22-21ED-46E8-8963-3D5639F377E9@tzi.org>
References: <CABCOCHTP52cfDVeguY3iYbzJqmCfg-z5cMeFz-y_3vNw250TEg@mail.gmail.com> <1263365.1770129015@dyas> <CABCOCHRHAEkiAJu=TtaZDERG9eiq_Ay9txRt10DEOgPYu3eprA@mail.gmail.com> <6c4f3e7e-ffa3-404b-83b3-9533f4046212@iotconsultancy.nl> <CABCOCHTWV2amW1wdHPQyd5jeaAVeie1S2xFfFf2ZgZQ6EbCKqg@mail.gmail.com> <4c11110f-fe64-414f-ad78-0183c61851b8@iotconsultancy.nl> <DDC68541-9A77-4AFD-BF36-DF6A75CF888B@tzi.org> <ce89bf21-8806-4590-9f37-a1eefa44b979@iotconsultancy.nl> <408BA8A1-AD8E-4CED-9991-B4632577986E@tzi.org> <7aca3e8e-ac46-4bb5-8b16-f75b51490b55@iotconsultancy.nl> <56406098-2B8F-402B-BE6A-AE9FEA9D7217@tzi.org> <CABCOCHQR30cSFqoFiYrj-PhX42r9o8zkSz9idVSOZYOyLD4A4A@mail.gmail.com> <ee28c8c1-fe81-4f9f-ba36-b60c74b5d156@iotconsultancy.nl> <CABCOCHR-oo5xK2bbagDUtK=1Mi5dBLjNT8r=4Y4QSJoFs0SgRA@mail.gmail.com> <b1256b3f-794b-40e8-a7e8-d1395fa7aa0d@iotconsultancy.nl>
To: Esko Dijk <esko.dijk=40iotconsultancy.nl@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3826.700.81.1.4)
X-FromAuthMilter: ok
Message-ID-Hash: VYX26X74CMMFHSNNK4CQD7PVWEP7R776
X-Message-ID-Hash: VYX26X74CMMFHSNNK4CQD7PVWEP7R776
X-MailFrom: cabo@tzi.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Andy Bierman <andy@yumaworks.com>, yang-tooling@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [yang-tooling] Re: SID file issues / .sid file differences in pyang and core-wg/pyang
List-Id: "Contributing to and tracking the progress of YANG tooling, as it concerns IETF work that uses YANG." <yang-tooling.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-tooling/UmszaPfPLcuuN44MgnV-aCvNEp0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-tooling>
List-Help: <mailto:yang-tooling-request@ietf.org?subject=help>
List-Owner: <mailto:yang-tooling-owner@ietf.org>
List-Post: <mailto:yang-tooling@ietf.org>
List-Subscribe: <mailto:yang-tooling-join@ietf.org>
List-Unsubscribe: <mailto:yang-tooling-leave@ietf.org>
On Feb 5, 2026, at 11:03, Esko Dijk <esko.dijk=40iotconsultancy.nl@dmarc.ietf.org> wrote:
>
> I was trying to confirm that this is correct and that the sender can arbitrarily select which names to substitute, e.g. a subset.
Section 7 of RFC 9254 defines three content types (parameterized media types):
* application/yang-data+cbor; id=sid -- for use by applications that
need to be frugal with encoding space and text string processing
(e.g., applications running on constrained nodes [RFC7228] or
applications with particular performance requirements);
* application/yang-data+cbor; id=name -- for use by applications
that do not want to engage in SID management and that have ample
resources to manage text-string-based item identifiers (e.g.,
applications that directly want to substitute application/
yang.data+json with a more efficient representation without any
other changes); and
* application/yang-data+cbor -- for use by more complex applications
that can benefit from the increased efficiency of SID identifiers
but also need to integrate databases of YANG modules before SID
mappings are defined for them.
All three content-types are based on the same representation
mechanisms, parts of which are simply not used in the first and
second cases.
I think your arbitrary selection fits with the third case (note that the text behind the dashes are use cases and not the defining characteristics of these content types).
Grüße, Carsten
- [yang-tooling] SID file issues Andy Bierman
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues Michael Richardson
- [yang-tooling] Re: SID file issues Andy Bierman
- [yang-tooling] Re: SID file issues Rob Wilton (rwilton)
- [yang-tooling] Re: SID file issues Carsten Bormann
- [yang-tooling] Re: SID file issues Michael Richardson
- [yang-tooling] Re: SID file issues Carsten Bormann
- [yang-tooling] Re: SID file issues Andy Bierman
- [yang-tooling] Re: SID file issues / what namespa… Esko Dijk
- [yang-tooling] Re: SID file issues / what namespa… Andy Bierman
- [yang-tooling] Re: SID file issues / what namespa… Esko Dijk
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues Rob Wilton (rwilton)
- [yang-tooling] Re: SID file issues Andy Bierman
- [yang-tooling] Re: SID file issues Rob Wilton (rwilton)
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues Michael Richardson
- [yang-tooling] Re: SID file issues Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Laurent Toutain
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Laurent Toutain
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Vojtech Vilimek
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Vojtech Vilimek
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Vojtech Vilimek
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Carsten Bormann
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues / .sid file di… Michael Richardson
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues / .sid file di… Esko Dijk
- [yang-tooling] Re: SID file issues / .sid file di… Andy Bierman
- [yang-tooling] Re: SID file issues Laurent Toutain
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues Carsten Bormann
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues Andy Bierman
- [yang-tooling] Re: SID file issues Laurent Toutain
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues Vojtech Vilimek
- [yang-tooling] Re: SID file issues Andy Bierman