Return-Path: <andy@yumaworks.com>
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 E9AD4F2BF3A7
	for <yang-tooling@mail2.ietf.org>; Thu, 21 May 2026 12:44:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1779392655; bh=LlSCr/2+QjosNVFBG9xBrBIY/HbwamjwON17U+FcHj0=;
	h=References:In-Reply-To:From:Date:Subject:To:Cc;
	b=nNCWSq7UmkAF0yF8AH3Q5+zYZEkSi0NvNlc+gsy0aJGnfQBCKwr+ynnom9VDFe0jY
	 X6wOJkDW73gJUZsQYUPu1wEDgdTh3dr+hd2/JZ3+AdRsXuHUbBWViBeY0GzcoRCVSY
	 v3bnO4ZXDhMMI9AnN550wCxrM6nO+R9x428Vy0Es=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, HTML_MESSAGE=0.001,
	RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key)
	header.d=yumaworks.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 DPSFdJFFGx3C for <yang-tooling@mail2.ietf.org>;
	Thu, 21 May 2026 12:44:15 -0700 (PDT)
Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com
 [IPv6:2a00:1450:4864:20::234])
	(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 39F03F2BF39D
	for <yang-tooling@ietf.org>; Thu, 21 May 2026 12:44:15 -0700 (PDT)
Received: by mail-lj1-x234.google.com with SMTP id
 38308e7fff4ca-3938b4b7656so6437901fa.1
        for <yang-tooling@ietf.org>; Thu, 21 May 2026 12:44:15 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1779392654; cv=none;
        d=google.com; s=arc-20240605;
        b=IAor1frIUsl6lJbNq6tUQt5RgTwAhzuEXihOLOwqvfHa7Myin1UARTzrSEUuqIdXGn
         qsfHx6ETZa752qPYsXOmJf0Xb9zfvHpcZ+XZNY2aZ/J6VD0BHuCKwa55i1+sldcRes30
         05Wk+cI3CtD7paAhnKPZNjxvpz9rketJFvqZsmbn58znta7VWVzBRVRqGe5JmDcjNYs+
         Ols5M7JdJnMlJL3YBd51F7snrXzJAQ8NVTFttS1A+PkFmAYhaBMbpnCrMn2/U3Her3OR
         ok0KgUTjWKPuE1F6snA6iOVUUyT+6CuzX51phn4YDj2oSeqqAEYwjNitKF8W/TjaBt8R
         VRTQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:dkim-signature;
        bh=SBjOiKJ0B6IMvQGrFt4DqAc2CIB6ZU5RE+sjtyxgUS4=;
        fh=3BSZHje8ZtfaMjMUZXXhiK0djDhD87eB05TXIEZmxuU=;
        b=aA3BgIfJgEvIgRwUtTlU9Ao9rYyIvG2B3fArAf5cGfnKXhK8bfaTiYyQ4ul8WPOGCp
         LCasyoWfgFKscQrPWysXBOJN/Z2bGjJT1AXpxKeccto4F4P0zkABfRkYLKsfhiiAu5mT
         xV5JmOSy3YWBRaGJ7hHRgNK9yosnAXh/FIZlSMJTn9UneXbFvJOtjIy4lKYVQaiSCjX9
         dczUNBHEvd4DfZpwq0pmgrbqcSsbPjZr+aMA3T2wzCIpGSCiz8/lGxo8W4dzTzo3f2eT
         Xl/f/Y/3N3TR5WtXuEodRxYOP8FhvhH8PS69QMjVrYqliWsJH/vfTZm+6TawYaMwAEpn
         6rWQ==;
        darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=yumaworks.com; s=google; t=1779392654; x=1779997454; darn=ietf.org;
        h=cc:to:subject:message-id:date:from:in-reply-to:references
         :mime-version:from:to:cc:subject:date:message-id:reply-to;
        bh=SBjOiKJ0B6IMvQGrFt4DqAc2CIB6ZU5RE+sjtyxgUS4=;
        b=HkgU4+SJPcZ00LmQg3VTRu6OzEzjsIfjBKvLgjSowPARO+0sXS/DZYZdb0ilQjzSai
         +BnvaQMWpUES00ez2zLcmd1Zq2Mi06tHyMsknxvLDgDycrg86EfHUVHSVnVQhzP8dxAN
         syxGnYJYQ3IXXFOjRvCnzK5jk8K9vQT4Lqp+Vc4vKnoK1uuD8sU/1P9Vml4ElProYd5f
         DzAnl+gPWnSeWzdSYBAzATWT8B5x8gCMbCDC8UdrESXcvlN2Ebr03ceJZjLY5rmWpS2k
         /ALf9fdwl3Pxp286JjY58A7HFxfiVNssLXI0GtH/Z6WwkJJoUOQI/VSKQ3Cdwr/SHcKw
         jlLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20251104; t=1779392654; x=1779997454;
        h=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;
        bh=SBjOiKJ0B6IMvQGrFt4DqAc2CIB6ZU5RE+sjtyxgUS4=;
        b=l8yXVLvPfykR/2UYx4cTVmUfYd4lEeNQ36wWh6O9I0EnqUnuhhEgPhrZGIuDAaFfdJ
         iJie9yPVxqy2XAeGWWW+IgHmk55Z0QnSZlM01E2JV2Qprmg556IqL+s5KLa73bkXFN/l
         9lH/ysk17+4agDX2GAM5R2JkIjwOV5d1GOFIw5ybuw22Mx2ydzViNTQdVYvsaQyPkDC1
         qa2sM213G5Lkt2DnrE5gpGhayIbHHjeh6UYFI/2QQDVBBo25h2TF0zfBSB6vDahKg7PT
         TGQuKTU8F3OkiEpxoEj3bi96jQT+i0I5AHBuSGt8QnBOGeGWsRGVG0F5aV9tsOwP91+u
         0BOQ==
X-Forwarded-Encrypted: i=1;
 AFNElJ/DEWncN2vTRxRdr1KlxMWO/zuvRNM0y1kTI5fq/joi69QNriwHYF2TgyBFlq2RjRVjvpSwA7X1bdjr7eA=@ietf.org
X-Gm-Message-State: AOJu0Yx+KTEZysj25+DACiPx3sAV/nlVnSFOAw2U2ZBdDD3YAIv37hlq
	BUkg5P80VfK93FfqUU3p1H6JeLRGDKqidV01lvtJimQrsIBmDsN1vUZCQx6KtsKC4TmQU22x5Jp
	q/E3YZ6jETHKJEVDUVtQPopbXN9xxEwDL6ALFOk3RPw==
X-Gm-Gg: Acq92OE+PxlKia+ScLqcWXOfGaaHG/7nUAx7wT2OFl0DFw8BRPKM/JW6IJRGGOu3I9M
	kK7zIPMBK94s8T3lxqE528SQ5tKc4mEhBV3Phqje5lykwQzqu/kW7wMSC+Ns8MFDX5LVACUuT52
	/LnF2JezVyheaFWBKAgnGKDolLn6ZQyF7K1NqnGZ5/3/WPBqZb4bD4s7KhrlLRZYcTol/T+J6ut
	zIRfqo1QaaJwslbHaLdfCTxRBc5FQIH6T28YnwfUScEk8WVOLgjj5HQ2J+n0+CvTX+97LGMeVww
	FfBwIA==
X-Received: by 2002:a2e:be8f:0:b0:38e:8111:3266 with SMTP id
 38308e7fff4ca-395d8c1b247mr376631fa.1.1779392653810; Thu, 21 May 2026
 12:44:13 -0700 (PDT)
MIME-Version: 1.0
References: 
 <CABCOCHRdLaCVxx+iPitC1TGie8j_pQ3QyRYmi-x+iH4f1_t48Q@mail.gmail.com>
 <103eb52f-982a-40bc-b674-ab3f8c1238e9@nic.cz>
 <CABCOCHTGwQqN7tBJNWBb50k0zsqRSXHgp6_Vye6UmT-_072P=g@mail.gmail.com>
 <7459EBFB-BD49-45D3-9691-F0E820932F01@tzi.org>
 <CABCOCHSyS8pnifXAFXq-Dy_79D=6HBEVhhf02zoym6KMVoWXug@mail.gmail.com>
 <33C5EEFA-7635-4025-B8B3-3F245744C517@tzi.org>
 <bf468e47-7989-4e47-b834-5f8c54d1b424@nic.cz>
 <7F085D26-E0D1-4194-95BA-20806163F79C@tzi.org>
 <63dcdb4a-34fc-4d7e-ad07-36f1d6f6461e@nic.cz>
 <05A4FC5A-EFBD-497A-BAAD-AAC81FF22BB6@tzi.org>
 <CABCOCHRNKMi3du3ZEQ=AroTUhnjGt_qG5OzHX7tD9BFekpuDmg@mail.gmail.com>
 <25D15C4C-3FFB-4BE1-8E33-10A27F18380B@tzi.org>
 <CABCOCHSZr2vhNEG2Euc_w9SOZwuyLOW8Vw=p_-aJu8jRSeHNLg@mail.gmail.com>
 <7BAE5EFE-C80D-4DD1-AC91-2ABB1DD0F15E@tzi.org>
In-Reply-To: <7BAE5EFE-C80D-4DD1-AC91-2ABB1DD0F15E@tzi.org>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 21 May 2026 12:44:02 -0700
X-Gm-Features: AVHnY4Iz-Yz3oVdK0ZLPtscvvjMCnI_NS75rIhR55p0MIqToRq6ZoEKh2AeXA2s
Message-ID: 
 <CABCOCHTLFVoTkcZJvoCfo3pM9nVmWvCDrtmiHAf=-jS9GYRk_A@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary="0000000000000bed960652592302"
Message-ID-Hash: O3U5UZQUN4UMRAU3M6FWJQEECU6SRCJX
X-Message-ID-Hash: O3U5UZQUN4UMRAU3M6FWJQEECU6SRCJX
X-MailFrom: andy@yumaworks.com
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: Vojtech Vilimek <vojtech.vilimek@nic.cz>,
 "yang-tooling@ietf.org" <yang-tooling@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5Byang-tooling=5D_Re=3A_Issues_with_IANA_YANG_SID_registry?=
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/r0E5k_Z2vi6etEha_f_I0pf8_VI>
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>

--0000000000000bed960652592302
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Thu, May 21, 2026 at 11:51=E2=80=AFAM Carsten Bormann <cabo@tzi.org> wro=
te:

> On May 21, 2026, at 20:42, Andy Bierman <andy@yumaworks.com> wrote:
>
> A lot of good input.
>
> One point where constrained and capable implementations might differ:
>
> > I think we are OK if the tools ignore unknown item entries and handle
> NID encoding as well as SID.
>
> I=E2=80=99m not entirely sure what tools this sentence was about.
> I do surely want to be able to run constrained implementations that never
> operate on any name-based addresses.
>
>
It would be rare (and an NBC change) for a standard grouping to remove
nodes,
so missing SIDs should not happen.  Extra SIDs are more likely, and a tool
should not reject the entire SID file if a path node is not found for a
data item entry.



> Note that SID mappings marked as =E2=80=9Cobsolete=E2=80=9D can stay in t=
he SID file, in
> case we hit an older set of dependencies that still needs them.
>
> Oh, and:
>
> > Our client ignores the dependency list in the SID file and goes with
> > whatever the server YANG library is reporting.
>
> I=E2=80=99m not sure that we had a lot of discussion about even listing t=
he
> dependencies in the SID file.
> It seems to me this is useful information for diagnostics.
> I=E2=80=99m less sure whether there is any operational use.
>
>
Maybe warnings should be generated if the dependency list is not the same
as an implemented list.

Consider the task of updating a megarange.

Use the current megarange state (e.g. all existing SID files) plus the
current set of YANG modules.
Generate a new SID file for every module, even if the module did not
change.  If the SID file changed
then a new one has to be generated.  The old dependency list is not checked=
.

This implies build and release procedures for SID files, which are still
quite TBD.

There are other ways the SID file might not match the YANG module revisions
in the server

Mod A augments basemod(v1)
Mod B augments basemod(v2)

The server is only allowed to implement 1 revision of basemod, so 1 of the
SID files
(either Mod A or Mod B) will not match the server implementation.



Gr=C3=BC=C3=9Fe, Carsten
>
>
Andy

--0000000000000bed960652592302
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote g=
mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, May 21,=
 2026 at 11:51=E2=80=AFAM Carsten Bormann &lt;<a href=3D"mailto:cabo@tzi.or=
g">cabo@tzi.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex">On May 21, 2026, at 20:42, Andy Bierman &lt;<a href=3D"mailt=
o:andy@yumaworks.com" target=3D"_blank">andy@yumaworks.com</a>&gt; wrote:<b=
r>
<br>
A lot of good input.<br>
<br>
One point where constrained and capable implementations might differ:<br>
<br>
&gt; I think we are OK if the tools ignore unknown item entries and handle =
NID encoding as well as SID.<br>
<br>
I=E2=80=99m not entirely sure what tools this sentence was about.<br>
I do surely want to be able to run constrained implementations that never o=
perate on any name-based addresses.<br>
<br></blockquote><div><br></div><div>It would be rare (and an NBC change) f=
or a standard grouping to remove nodes,</div><div><span class=3D"Q6ibn ng" =
style=3D"border-style:none;background:none">so</span> missing SIDs should n=
ot happen.=C2=A0 Extra SIDs are more likely, and a tool</div><div><span cla=
ss=3D"Asgive ng" style=3D"border-style:none;background:none">should</span> =
not reject the entire SID file if a path node is not found for a data item =
entry.</div><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex">
Note that SID mappings marked as =E2=80=9Cobsolete=E2=80=9D can stay in the=
 SID file, in case we hit an older set of dependencies that still needs the=
m.<br>
<br>
Oh, and:<br>
<br>
&gt; Our client ignores the dependency list in the SID file and goes with<b=
r>
&gt; whatever the server YANG library is reporting.<br>
<br>
I=E2=80=99m not sure that we had a lot of discussion about even listing the=
 dependencies in the SID file.<br>
It seems to me this is useful information for diagnostics.<br>
I=E2=80=99m less sure whether there is any operational use.<br>
<br></blockquote><div><br></div><div>Maybe warnings should be generated if =
the dependency list is not the same as an implemented list.</div><div><br><=
/div><div>Consider the task of updating a megarange.</div><div><br></div><d=
iv>Use the current megarange state (e.g. all existing SID files) plus the c=
urrent set of YANG modules.</div><div>Generate a new SID file for every mod=
ule, even if the module did not change.=C2=A0 If the SID file <span class=
=3D"Q6ibn ng" style=3D"border-style:none;background:none">changed</span></d=
iv><div><span class=3D"Q6ibn ng" style=3D"border-style:none;background:none=
">then</span> a new one has to be generated.=C2=A0 The old dependency list =
is <span class=3D"Q6ibn ng" style=3D"border-style:none;background:none">not=
</span> checked.</div><div><br></div><div>This implies build and release pr=
ocedures for SID files, which are still quite TBD.</div><div><br></div><div=
>There are other ways the SID file might not match the YANG module revision=
s in the server</div><div><br></div><div>Mod A augments <span class=3D"Asgi=
ve ng" style=3D"border-style:none;background:none">basemod(v1)</span></div>=
<div>Mod B augments <span class=3D"Asgive ng" style=3D"border-style:none;ba=
ckground:none">basemod(v2)</span></div><div><br></div><div>The server is on=
ly allowed to implement 1 revision of basemod, so 1 of the SID files</div><=
div>(either Mod A or Mod B) will not match the server implementation.</div>=
<div><br></div><div><br></div><div><br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204=
);padding-left:1ex">
Gr=C3=BC=C3=9Fe, Carsten<br>
<br></blockquote><div><br></div><div>Andy</div><div>=C2=A0</div></div></div=
>

--0000000000000bed960652592302--

