Return-Path: <mcr+ietf@sandelman.ca>
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 A4835B6DD65C
	for <yang-tooling@mail2.ietf.org>; Fri, 13 Feb 2026 02:56:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
	tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
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 DTm35sA2npLb for <yang-tooling@mail2.ietf.org>;
	Fri, 13 Feb 2026 02:56:47 -0800 (PST)
Received: from relay.sandelman.ca (relay.cooperix.net
 [IPv6:2a01:7e00:e000:2bb::1])
	(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 00C3DB6DD654
	for <yang-tooling@ietf.org>; Fri, 13 Feb 2026 02:56:46 -0800 (PST)
Received: from dyas.sandelman.ca (unknown [149.232.183.1])
	by relay.sandelman.ca (Postfix) with ESMTPS id 431071F469;
	Fri, 13 Feb 2026 10:56:40 +0000 (UTC)
Received: from dyas (localhost [127.0.0.1])
	by dyas.sandelman.ca (Postfix) with ESMTP id 223C7AC31C;
	Fri, 13 Feb 2026 05:56:24 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Vojtech Vilimek <vojtech.vilimek@nic.cz>, yang-tooling@ietf.org
In-Reply-To: <936f5ef6-3830-405b-9c71-3539e1fb69f5@nic.cz>
References: 
 <CABCOCHTP52cfDVeguY3iYbzJqmCfg-z5cMeFz-y_3vNw250TEg@mail.gmail.com>
 <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>
 <EE144B22-21ED-46E8-8963-3D5639F377E9@tzi.org>
 <CABCOCHSzgtHZ3YpEwCrCtXBTFjusidzP3aCDbeJySM36toFoeA@mail.gmail.com>
 <81BE63E4-AB15-4 298-8A63-94726BD7F024@tzi.org>
 <CABCOCHTC-VTk5gBY7O95Au8eUF84pgVA2q4z7d8kY8N4hsFVtw@mail.gmail.com>
 <6E107270-5943-4615-A221-24FC6A66D914@tzi.org>
 <CABCOCHR32FgW_y54KTomJcD+kaFn_yqupr1-zCJJyHsPEoxX5g@mail.gmail.com>
 <CABONVQZTqmiGPW3WdEABPeLCwiJXoXxnWZqEo2zVVt0wLto-6g@mail.gmail.com>
 <CABCOCHR2ObrvyBW2B+vEQYWyo74XJz0S4SgLhPDDFnDvxSB--w@mail.gmail.com>
 <1519353.1770459201@dyas> < 0ce1cdae-219c-40ec-bffc-1da6c1c0cd6a@nic.cz>
 <2318293.1770897407@dyas> <936f5ef6-3830-405b-9c71-3539e1f
 b69f5@nic.cz>
X-Mailer: MH-E 8.6+git; nmh 1.8+dev; Emacs 29.3
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Fri, 13 Feb 2026 11:56:23 +0100
Message-ID: <2376313.1770980183@dyas>
Message-ID-Hash: TSRC3FP2SG6FQGYXXJAU7YJKO5IS5HIX
X-Message-ID-Hash: TSRC3FP2SG6FQGYXXJAU7YJKO5IS5HIX
X-MailFrom: mcr+ietf@sandelman.ca
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
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5Byang-tooling=5D_Re=3A_SID_file_issues_/_=2Esid_file_differences?=
	=?utf-8?q?_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/59Uao-cBk-zeB32_TkTIzqC3j3Y>
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>

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Vojtech Vilimek <vojtech.vilimek@nic.cz> wrote:
    mcr> beginning of the range could go to the end.  I suggest (you) write=
 an
    mcr> I-D updating RFC9595 to suggest this BCP.  I don't propose we publ=
ish
    mcr> it, but rather keep it around for RFC9595bis and/or RFC9254bis, wh=
ich
    mcr> I think we might decide we ought to do in a year or so.

    > I understood the consensus from the interim to be _NO_ SIDs for
    > choice/case at all, as they never occur in instance data anyway.

Yes, but if someone wants NIDs, then we might want to assign them from the
end of the range.  And you pointed out that we assign a bunch of SIDs
from the beginning of the range for a few book-keeping purposes.
For instance:
      {
        "namespace": "module",
        "identifier": "ietf-voucher",
        "sid": "2450"
      },
      {
        "namespace": "data",
        "identifier": "/ietf-voucher:voucher",
        "sid": "2451"
      },

(from rfc8366bis, ietf-voucher)

The first one is the module entry point.  It needs to be the first item as =
it
gets the range value, and subsequent entries delta against it.
The second one... I'm not even quite sure what it is.  It's for the grouping
maybe?   It could go at the end of the range.

Carsten and Andy point out that the allocation rules would ideally be
deterministic, so that one might not need the .sid file.  I understand
why one retrieves YANG modules and SID files from the target device, because
an orchestrator/*CONF manager doesn't know which version of the model the
device is using.  I feel like it ought to just be a semver number, and the
rest should come from the manufacturer, but that won't work ... at least no=
t yet.

    > The
    > old behavior of the PYANG is considered wrong and needs to be rewritt=
en
    > together with the new erratum/draft-rfc9595bis.

=2D-
]               Never tell me the odds!                 | ipv6 mesh network=
s [
]   Michael Richardson, Sandelman Software Works        | network architect=
  [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails  =
  [


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -=3D IPv6 IoT consulting =3D-                      *I*LIKE*TRAINS*




--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEERK+9HEcJHTJ9UqTMlUzhVv38QpAFAmmPA1cACgkQlUzhVv38
QpDqKgf+I889CwPcrnxdObeF9onKTXsVxX+MuI+5zMpDHB00asdW63OXiV40lzus
q0/JJp6X/eKyjc9vi2nBZvQfZtKcaB+YZcUt7Nbszvm1rsDrlh+ploTPD5g0emnA
8PUWqRjEen8wBb3Ky+RpUQEA47oHBg8wrGiPSTvEB4ZmCa8ECOaaY2VnAKsAUROJ
V/Gd13As+n4eIcU+MJqZY9PgQYzCHPUUgBgjf7hoL0dxUchfJPWeUzWeWGuzlHzs
z67MRsvnIF5/OS340svD/qXfZcujI6MYXp63IwYHUAehQLzHHVq6ltzGX0w30tlG
xvWXPChSwCbnwMZgUjTI2tHuiAypzA==
=hD84
-----END PGP SIGNATURE-----
--=-=-=--

