[netmod] sids not allocated for sx_structure/RFC8791.

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 24 November 2022 01:02 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6F5EC14F74F; Wed, 23 Nov 2022 17:02:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ULXW1zupQ-Q; Wed, 23 Nov 2022 17:02:21 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1DEAC14CEE0; Wed, 23 Nov 2022 17:02:20 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id A91E418010; Wed, 23 Nov 2022 20:27:59 -0500 (EST)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1Br1Y2k8gzxH; Wed, 23 Nov 2022 20:27:59 -0500 (EST)
Received: from sandelman.ca (unknown [IPv6:2607:f0b0:f:2:56b2:3ff:fe0b:d84]) by tuna.sandelman.ca (Postfix) with ESMTP id EEB5C1800C; Wed, 23 Nov 2022 20:27:58 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1669253278; bh=VqNueQhlpLWx6k5F1ASZLU+ikspwhSBkdQ6Vrf6zv5A=; h=From:to:CC:Subject:In-Reply-To:References:Date:From; b=T6sWkk2cNLLN6GHv6vEVwtDWP+8RbXmc88R2Wd6hVUUAn2E05big0jIyB10FvPfL2 Psl2GFLBnjhEw+5XmamDRV4rDX5Jqu7bq/b294KTsZH/NFqTDUWDJRrEM3u+6i10OS S3DWVY8bRNMlWLj0g4Q9+N80iaNxboKEEWFfOYVn9ADl+OP/nL6Q6wK9zzzZZDQ4ru efIeEc3HVu28QaYfWxe5EiHp8TOOXqr4u7kzH8d2SK8dkR0bN9t70E+vJeUjvzWs+3 0Yn1L+By9MTueU5CN312sd3XXGIdNVFSU9F2mTf2T14sJ7AopKpvA0HtWA3Uwa8e7n OTc5EnHqAobVw==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 6E89B3C3; Wed, 23 Nov 2022 20:02:17 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
to: core@ietf.org
CC: "Anima@ietf.org" <anima@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
In-Reply-To: <15063.1669250099@localhost>
References: <DU0PR10MB5196F26C92DD2F266A4FAC28F3949@DU0PR10MB5196.EURPRD10.PROD.OUTLOOK.COM> <365823.1658933390@dooku> <DU0PR10MB5196ADB3702B7417B0589555F3979@DU0PR10MB5196.EURPRD10.PROD.OUTLOOK.COM> <446675.1659033968@dooku> <DU0PR10MB51966008D0EA49AC6FCD3FB9F3999@DU0PR10MB5196.EURPRD10.PROD.OUTLOOK.COM> <539974.1659103385@dooku> <YuhrI/iINFJxPOC7@faui48e.informatik.uni-erlangen.de> <32336.1659550668@localhost> <58217DD1-D5C2-4C99-BDF9-5BA5B252AE56@tail-f.com> <809554.1668382696@dyas> <15063.1669250099@localhost>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 23 Nov 2022 20:02:17 -0500
Message-ID: <21963.1669251737@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/7XhxL0nOB0k4XNiOJjC2OtKg1Cg>
Subject: [netmod] sids not allocated for sx_structure/RFC8791.
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Nov 2022 01:02:25 -0000

Hi, if you haven't seen my thread on how ANIMA can do extensions for YANG
modules, then please go read:
  https://mailarchive.ietf.org/arch/msg/netmod/1z7qo_6kZ0aTZmXeU4ELuwt-Rxo/

Maybe I've found a solution at the YANG level, but at the SID level, it's
worse.
a) No SID values get allocated to any leaves.
b) A module SID value for B,C,D are created, and the old ones removed, which
is wrong.
c) New SID files are being created, despite having specified the --sid-update-file.

This is probably not a bug in the ietf-core-sid specification, or in the
RFC9254 that we published, but in the PYANG tool.

However: https://github.com/mbj4668/pyang/issues/716 there was some
confusion, but it seems that SIDs were generated for groupings.
I don't know if I need to re-introduce deeper groupings, I don't think so.

I have opened:
https://github.com/mbj4668/pyang/issues/835








--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide