[yang-tooling] Management of SID files
Andy Bierman <andy@yumaworks.com> Fri, 23 January 2026 16:34 UTC
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 6095FAC0F137 for <yang-tooling@mail2.ietf.org>; Fri, 23 Jan 2026 08:34:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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_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 IYIZFSHHZLPa for <yang-tooling@mail2.ietf.org>; Fri, 23 Jan 2026 08:34:35 -0800 (PST)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (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 B93D8AC0F130 for <yang-tooling@ietf.org>; Fri, 23 Jan 2026 08:34:35 -0800 (PST)
Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-385c732c2b2so1433341fa.0 for <yang-tooling@ietf.org>; Fri, 23 Jan 2026 08:34:35 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1769186068; cv=none; d=google.com; s=arc-20240605; b=g5qGStH7abmVw+7kZOYXIWMs6u+RBDZ2Y1EKbkRHhR5cW2BdvkSJif3C4JDrZ1lFaV PEECYMjqQMhkGx+sycqS0TIQssVwYlifDzQ9DzUuW4UQBh7uKSIogX4Efy314FK4zuIH MLU+8t0mZZEThtCEKHnNnrd05W2/jiGwtaQ6SxiTUfODxdi/ewm6aDM+Q9zWyTL0DRFD kGk2fJ9zPNcQICi1mKjQ9ysmAxJNu8Xreac4UbcEJETf6sugC6Ygpjj8lVpAVAkB5DUr CTPOJHdrFhowhVTERuB2GbFeqAhvwf6E+IfXBvPtLgNdnj5UJkvDl9NFccuvMEbsWD9K RJ1g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=oJd0P/dwRgDR5OhyvkdWdDbwqyFHYEFk4WnkYm1fB/M=; fh=zokJOAetaNnphKvKDDAH+Xl3p+ICGykoTdRqF26VAzY=; b=UmPXhRXWFCzwDEduU39OIawwLTxISr+Fq+fHxXsYexfYyrtvJZXgtZ80V78d8fEpv+ L0RbToegDiYhirn/9ak1KUKusavX77ZytxfJ0VrnZdoA6M36+yX/4LnQnqktLCtQiMf2 NpCsCVrS9wuSz4Sb3sP2RbA52uPmBS6Qrj0smhjUEUE9DMo05DRgEPo2cdFxHMrg5elW hTeqiZ//d2hzAvL0PmBGu6MvmWUmPKl/h0mVaXTqoBiW6dEtIgnM5/2W7l8OHX+/5hJL RUG9ExBTZNJ/hIjCYZYb4DbYTOQiFdLujUC3XIGCkj+FyGVJKMIum81+MX4AWpAB0nYT WpPg==; 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=1769186068; x=1769790868; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oJd0P/dwRgDR5OhyvkdWdDbwqyFHYEFk4WnkYm1fB/M=; b=Q9wgjLTloZFr+F4o3ZXToKkr+rJE3iIuBlYJPSu16HDgepCMaIXfQJM8+pHQtw+ImJ m4Puh4jYh+3RPUDqsxOC5Xs7iUMKCUrMl7y6uA66RfwHj8Lyvk9DuL69s7NQ1DQ6BTLO NRNt6Si998BZhpOIIR9m+iGsU0OKOZgTeA3Nh6z0VNO/ChjR45PMk5fBvY3XN4YHyIpr brCnL26tUrw64j6Mn3c2mefXT3IuqdAffsQ+2nTxdZ1ssMYlcaZA4BoQhQ4KonmD4Brw bWhXbbWlt7wTW5tQFYI9b7Db/ezV+v1V0VItiumEA6OvstZJ9yy6IMlywm6U2bgDtLdQ tIpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769186068; x=1769790868; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oJd0P/dwRgDR5OhyvkdWdDbwqyFHYEFk4WnkYm1fB/M=; b=L5zsIlksqHN6C3DPLqKv5BionsD5Gf93wSgzUq1UUnha5NNARg0cb84GnpT2qJaonX OL1f3Bka7hxXJDRT+4pTNqiyWfx8b0xOVtF45sxfSLWBrLcbsvUh5L/3nDr18AOhi5W1 sOlnJwg92ry9u2x+gUSXOxBLTagkr/5OMf0K/a5frOU857h5dtZn+4C2WHawqLBb4I23 vz5bPZUSFlAq5y6Kpkk0BqQaAyPHQTtpVGTZgPCrpdu6iXupML08WGjdSduRdnHbUuTF CHmNypLn9NyPw+QMet+ZcuwmcsWUCkuahk0gXTq+OELjZRLCMeO5XSZYKmGXZvb70pzd 4BBw==
X-Gm-Message-State: AOJu0YxHuKXn/4sUJVgmLsErsQwTbk5wU4/1HbUPA+/7DDDoyumXX6xr K4U0FMHOvjlZYYj3Ex9k/gCYupBlkQc8tLRE5ns2BN5DaSYrdPw+emrUue0HqhhBzU6wfRB3uN0 p50e7ALzxITiEy/2W1O6zEw4dAhZ50i61T8wKEvQhDMxR8d1E82Ne679rDw==
X-Gm-Gg: AZuq6aKMCA7kSFnBb58aJIvIsw+Q0FQvOFBc75QIDIb0r4Z706ghTlcpSIvaP86BGas 6Rau+xTjE4nMerJQCEExeXfNX3JCcQd1Y5DJUbnI038Lq3gfSnqFPny4tJ3WRsNgBLifmERQvwy K/QHkSCSScaE2XMVmh7OkPpret9gxGNH/1+W3P9t03FY4BB60xDMRV5cvzbwSTwQF34246Q4Dmh nnWe/Xrm5G9dpMfydYfdsPAavYHdjkvFhrkvcEZT8JBZ/c0EFKtNgKhmcaFae6nYIPXu8cJryn5 5lP10euEeEtp4OG2X0cyG9Jqtw6YUg==
X-Received: by 2002:a2e:be8a:0:b0:385:c21f:37ef with SMTP id 38308e7fff4ca-385da0039e5mr6842851fa.4.1769186067663; Fri, 23 Jan 2026 08:34:27 -0800 (PST)
MIME-Version: 1.0
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 23 Jan 2026 08:34:15 -0800
X-Gm-Features: AZwV_QjtEeqlNskyPFybBBT7BhiZrFUpNSjPpzRFeNzF0VkPyDts1aJn3tX5QOg
Message-ID: <CABCOCHR33n=WOHekRUYhV+AwyBe-X0mNoh-KPFVwX=GgAgYttQ@mail.gmail.com>
To: yang-tooling@ietf.org
Content-Type: text/plain; charset="UTF-8"
Message-ID-Hash: Y7LVTMWHHZV3RF4EY5VF5SFLUFYHZCKH
X-Message-ID-Hash: Y7LVTMWHHZV3RF4EY5VF5SFLUFYHZCKH
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
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [yang-tooling] Management of SID files
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/vKbtMrnr6x4UGp4Y8977IFUKG3o>
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>
Hi,
I think SID file management is a tooling problem, because it would be
unwise to attempt such an endeavour without automation, or at least
new procedures.
Some questions to consider:
A) How do authors publish (unstable) Internet-Draft SID files?
B) How do users 'extract' SID files for use in local tooling?
C) How do WGs make (stable) RFC SID files "IANA-ready"?
D) How does IANA publish (stable) RFC SID files?
E) How does IANA (or any megarange owner) manage and allocate Assignment Ranges?
F) How do users manage and update YANG and SID files together?
Start with (A)
IMO, including SID files in I-Ds does not scale well.
It may be OK for some constrained modules with small SID files,
but not for large modules that may be used in YANG Push.
E.g ietf-te@2024-02-02:
- SIDs: 1704
- lines: 10266
- bytes: 453091
It seems clear to me that the SID files need to be hosted on github instead of
published in I-Ds or RFCs. The YANG modules could have a simple
YANG extension to link the SID file:
yangtool:sid-file-source "... stable URL for the SID file ...";
The IANA section gets lost when the YANG module is extracted, so
a new extension is needed to help solve (B) and (F).
I have been working on problem (E) a bit, but that is not in scope yet.
Andy
- [yang-tooling] Management of SID files Andy Bierman
- [yang-tooling] Re: Management of SID files Michael Richardson
- [yang-tooling] Re: Management of SID files Andy Bierman
- [yang-tooling] Re: Management of SID files Michael Richardson
- [yang-tooling] Re: Management of SID files Andy Bierman
- [yang-tooling] Re: Management of SID files Laurent Toutain
- [yang-tooling] Re: Management of SID files Andy Bierman