[yang-tooling] Re: SID file issues / .sid file differences in pyang and core-wg/pyang
Andy Bierman <andy@yumaworks.com> Sat, 07 February 2026 17:05 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 C3CBAB35E819 for <yang-tooling@mail2.ietf.org>; Sat, 7 Feb 2026 09:05:41 -0800 (PST)
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 XZKsElhctkKd for <yang-tooling@mail2.ietf.org>; Sat, 7 Feb 2026 09:05:40 -0800 (PST)
Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) (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 A8F20B35E80C for <yang-tooling@ietf.org>; Sat, 7 Feb 2026 09:05:40 -0800 (PST)
Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-59b6d004bd2so475110e87.2 for <yang-tooling@ietf.org>; Sat, 07 Feb 2026 09:05:40 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1770483939; cv=none; d=google.com; s=arc-20240605; b=atpt5g3hvxvm03p1Tqzu3Zc/IkoHDpvJU4TrIyPHqbUGhYeY/zY6xC6yQYGos6LAec Hp+ZVDwD9x7M3bGoq6jDXnED4H466GSTVwzfhCxL8yiXyZOiZbNlUd4gsERO5Il/eXBF crnz8Fvzxfudq2zswiThpIbw3FJFFyqn9mDdeaqmxrPLNy39msQVNUQsJ2ugzI7LVp3j q48oJoDFYw7Vao1wkpQRu8OcBhHSuCd2cOryaS8f9JliR1pH86/I+di5nwMKVYvROVX4 FiNVvPU4JCTOHGt9mQDBXDPn4rx5lI5/i7nX2ehsaQGpvYuf04DWbqfVxNBA++4wegFq fxMg==
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=Lt7qBMgb7PLw9nokHPPQv5qq7/2gqSHZ8kQSfdKYPBI=; fh=XbnZIKY6zk3uPRVQKyJraJtXl2JdhOEBlfhAP16cJYA=; b=XBPuoJuwmG+KXaI2bf3QAiBW7FdDXUoLjgqO1p256XyBfRRtTc+un2WqJjFRJRxUhP h833zk4kpjZDBO+6irGAQlOpUYlDz0I7T+uFk80VzEqokBE64D0spGn7qE6ahv8YEmzu cABqQN4iAHYaPMGvfKS4fALtwR5JSSPbfcJ+Jq6pdWpGW7LKGA1XGOACF23lxgDwe9zK HHbxa2kS+7QuWn9/LeWD4zOo4Tlp5zIRmvTLHkHhKnJ2nPvLNbwI99DQHCdoK1H81Saz r+Ur50SchADe+X9J/jiUj7vaE8oJAgK61Ny9baGsjfMTPL5+RLnZ0q6De7Dz72CLOrwC TLeg==; 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=1770483939; x=1771088739; 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=Lt7qBMgb7PLw9nokHPPQv5qq7/2gqSHZ8kQSfdKYPBI=; b=DX+CaGmHDDGZL3wO2zv2yXmZofidiv8KgR/0KiKcOEJhKkU5Z12SWP0IMH3xo/jU3V gk1gSI1JHIJlsQh+PEehajZac4uTCSXqwCBu29gTZPoEGbZHAIlw4wSeEHEcxA4WfMOQ E59tUrnGNobYf2rn4IGIYYlbUhkFiWr4PGXgnrLBGcnYGTEGzQ3pW/49XwpDQOhoR9+9 soWTc92RSg59VApieNegqlytcPnVfyjwtMsy8xddRIeeoXMV6QN21C9cmLhX0Yy0QMck FTW156Ow03EwwLSqrHzwhE/H1ahK7OG6AEUCrgAwR8BRrwlQIL8sHOt7FlxZVCl6Cda1 JBHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770483939; x=1771088739; 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=Lt7qBMgb7PLw9nokHPPQv5qq7/2gqSHZ8kQSfdKYPBI=; b=pyT+Cq/HkIJ1/MECI5lGvWiBqvwulYrT6OThiEGi9GeArn/tMHyNUBqb3xWVxsIabD EjNkm+5tbPxDP/pPgVbyWjthvv7TwUHhw33tbEMx3ZUsTi2CdWxmPfWq2l0AXZc02riS 8D7KXxkJULmytgXdUCj+pQl9PUFKYoM55YxTndR2ufmuE965UplpnEos3E3OJ5QvcTCN dvuEalMAjzQfIL1zcKzGP9lqsYQGJLCfgv4CzKI8n434e4xNCBVR74lJcZAXMObkcFKe RcoIv4X4r2I+9O5p5SfO2EztAdxp4fk39HSlt6w+C9ftJM/zNmf3VuOebtm2cq/SzOBt 7IHA==
X-Forwarded-Encrypted: i=1; AJvYcCXJ66i3fgJZ04BQaem0PPtenD/pqUaafH+kSbQLsR0OGB52BFDpCIkkFeQWPGmXxFTr1FcCvcmLngzExRg=@ietf.org
X-Gm-Message-State: AOJu0YwQojqIrMy3+Goij89rzK2fB8sieQKk3t/3P6wi+Pyc5MhFs/9K Uu9+3MQcDZ21cOWZya6SlQ+MQTtrx4i7pMpn31ID1txX3FXJdYXiG0IgO/XT4YVmuBzZQugA2Ac eKT0vZkGD/equcOHV3hgYjhNaXlb4FrKs3IZZj7BeXvp+zLvfPWSA6K0=
X-Gm-Gg: AZuq6aL87HIfPnb3U85yItdBo0c+ZW8/CDu6jDohdaa+ntjpdfwjgdALvqN0Aa3rlRQ URVjNO9FUGhW7abb9tjBP9qtoJD7yPNQh0zZ9hbnMeBN0XQ/RqNdbQKoH2X3MmaUQ3CsJMJtraj 4iXyk68TO5AxUgeYVtK4/MevPX9/FJpfO3ydG9GNr/xgzAZlBTIQKmW6NXWAoNqNUu6QusS7iah qaudu5wMcBNlJST06D0SKctBtuHi99MY8rBoEFpYDSG/8dwf0bm4X9W03X/F7MmFrG38CktzWvZ RZ61iRXn+E8=
X-Received: by 2002:a2e:a54f:0:b0:37f:8b25:a327 with SMTP id 38308e7fff4ca-386b4de7fc6mr12540151fa.0.1770483938424; Sat, 07 Feb 2026 09:05:38 -0800 (PST)
MIME-Version: 1.0
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> <EE144B22-21ED-46E8-8963-3D5639F377E9@tzi.org> <CABCOCHSzgtHZ3YpEwCrCtXBTFjusidzP3aCDbeJySM36toFoeA@mail.gmail.com> <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> <CABCOCHR7NyT3BYqp7AWhKx30dYgLDc9bTPRMCDxYtgWBTw37_A@mail.gmail.com> <CABONVQYyuVaeUYiF2jVQP+WecntE3pdZ=S_9h3D=3OKmOaZYFg@mail.gmail.com> <CABCOCHSohiqD3knXA4BGbBRUz=QYS+JmfZy+KTfu_gwXs1x_ug@mail.gmail.com> <3A8390F8-C788-4174-A7E2-2872694AAD41@tzi.org> <CABCOCHQyU+a0EFK-Bfj2V5OpqaOYAAm4MAAtTyJpmXkgzEDuAQ@mail.gmail.com> <1520919.1770460646@dyas> <7C586095-1A0E-4F99-B7FD-6AB1FD822DB6@tzi.org>
In-Reply-To: <7C586095-1A0E-4F99-B7FD-6AB1FD822DB6@tzi.org>
From: Andy Bierman <andy@yumaworks.com>
Date: Sat, 07 Feb 2026 09:05:27 -0800
X-Gm-Features: AZwV_QhCL2Pcl_7FSzy1feFG8RuiNKEMs_v2wJtJmZmMlxxAmVgIZnzZ0dtl1js
Message-ID: <CABCOCHQR_9aTwy_f5Zn1k-uzMo5TuLiWt++guLY=NyRDe+q0uA@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary="0000000000003b08a0064a3eea07"
Message-ID-Hash: DM5634IUJ5E5WPJMRWV3KEIA7JQO225F
X-Message-ID-Hash: DM5634IUJ5E5WPJMRWV3KEIA7JQO225F
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: Michael Richardson <mcr+ietf@sandelman.ca>, yang-tooling@ietf.org
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/T4CjWQebnwtcFyBElpJyEAVI6Wk>
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 Sat, Feb 7, 2026 at 5:05 AM Carsten Bormann <cabo@tzi.org> wrote: > On 2026-02-07, at 11:37, Michael Richardson <mcr+ietf@sandelman.ca> wrote: > > > >> I don't really call it YANG if something as basic as choice/case is > >> ignored. > > > > I think we can agree that it's an omission that needs fixing. > > That was a deliberate choice, and what needs fixing apparently is mainly > the “description” in the YANG module for .sid Files. > > I agree. Not hard to believe you understood the examples better than the text in RFC 7950. The primary use case is representing instance data. The existing use cases for choice/case identifiers use string names, and they can continue to do so. The SID item can be used at the encode/decode layer to deal with individual nodes. If a 'structure' is used, no extra schema nodes (e.g., rpc) are allowed. They just convert to/from the internal format, so only the nodes expected to be present in the data are specified. The YANG validation can be done by a higher layer (or not at all). (Note that, while we are fixing the .sid File YANG module, that we may > already be extending .sid Files to support SIDs specifically for metadata > names [1], similar to how identities get their own namespace.) > > [1]: > https://mailarchive.ietf.org/arch/msg/core/totiCGYFFkh9mAZqL3otUnn0_iw/ > > We are trying to let a client use XML, JSON, or CBOR for any NETCONF or RESTCONF message. YANG Push does not use metadata, but several RPC operations use it. >> Maybe a new SID file format for constrained devices should be developed > >> if the file does not actually identify schema nodes. A SID file that > >> identified only data nodes might be suitable for 'structure' usage. > > > > I haven't been down the CORECONF path (yet), but I would not include .sid > > files literally... I would process them through some build-time tooling > that > > would generate code for my constrained device. > > (I don’t usually look at “.sid” files before having processed them to CSV > using the sid-csv tool.) > > Grüße, Carsten > Andy > > _______________________________________________ > yang-tooling mailing list -- yang-tooling@ietf.org > To unsubscribe send an email to yang-tooling-leave@ietf.org >
- [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