[netconf] Re: yang-library-augmentedby: Mix of deprecated/current in leaf-list

Leonardo.Rodoni@swisscom.com Tue, 02 June 2026 08:56 UTC

Return-Path: <Leonardo.Rodoni@swisscom.com>
X-Original-To: netconf@mail2.ietf.org
Delivered-To: netconf@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id C57D7F91F0D3; Tue, 2 Jun 2026 01:56:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1780390578; bh=x07JS/EyfBGvafd1ESKF3GUyk4CfNVwExjrdyJdBLx4=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=EXFGrlm51sOFtxhdkvDwM6SgpQ2+ue0UPaLi+HlSl83ZkZ5At0Njx8gTJb05mDT3f E8wED8xbdXWhVAgcPvWGgRX6yaAICkgMMfycknKPrzDBWk2swnuqrHystLbhBD4tsE OwSN6AHfTXyJ7P22aq1Wf00djAu9NKE42opZzWWE=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.396
X-Spam-Level:
X-Spam-Status: No, score=-4.396 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_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=swisscom.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 ZIqnKwPZLPOj; Tue, 2 Jun 2026 01:56:17 -0700 (PDT)
Received: from mail.swisscom.com (mailout120.swisscom.com [138.188.166.120]) (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 39DE9F91F0BA; Tue, 2 Jun 2026 01:56:16 -0700 (PDT)
Received: by mail.swisscom.com; Tue, 2 Jun 2026 10:56:09 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swisscom.com; s=iscm; t=1780390569; bh=x07JS/EyfBGvafd1ESKF3GUyk4CfNVwExjrdyJdBLx4=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=h7cvQfhsCIv60t01cG31OfxzdbXrW7wzHFGKaYvzWEZmatpWpi27lgAbZi3WID6b4 EXf/HD3SFgEQpUONbajeqKCYaeYmdu7YOUMFeNE4PacCK8b1T0nVv0lkhGcOUn/K+d vXCT0cwaIKp31Lw9XVCDBSFVss8g6Amm5izyLsuPTfTfmSbbBAEGh7xmqrDVtN0lGj 4vudDt2AQe4gYrU9haLco6NQTLz7r3FdZmIxlpa4zARSigp1sMooFYdJpMTRfxknwL yo2zDQMawTNlmhBFwPqwLot9yNugGqu4MaK7ExqH2jJ7JhOQvBPjBLYKTmTTuCcRRU +0yDRokGOlz9A==
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FG56rW9FS3i2ySlwHtnvEU2yvffcYcXCw8bQWeQsvUYIe40slB0EtPP8b5eWy4y64Qn8aRkj6/euKIpr0uZZaTgFCt2dxI8b661JcxKHU/9wPgh8mD6XD937u37qbHCTtdmFCqSdSheTc3oi2pk1G7tXtYk53HstonZdggt6aYmcB086dmCVMZPZ/ZOaQBDuIB4J+b61Kt5ALfAlnnUqjpQuQsSf/iOspBSkvPtKOKGhGDb1wP4y+CxifIswn0Of3Y8QNYukjBuWgH/gz8oxYz+A8KDIACe1dWC/7LgWVNi0k0jC6P0T1pbK4U/vTgPxo89wKAtK+icLzBBGnrUNXA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=x07JS/EyfBGvafd1ESKF3GUyk4CfNVwExjrdyJdBLx4=; b=mJOvDMJ/Xi1eT9nI/U4RODeBRc/NN4Km/h4Weyzk6/I8Y9MOEZbzDzKZzTVBCOglMGV7lcRBt7hNJkPduy3pMHHbbWLHSBjJFQM7rvtDDdIaFN/GjYKTTbpTE25HgPfVPjMpjQyc6xM/N4tOi/9pMX4RBh6E+jDS+y35bMN9FCShCSae08nYi0ejDMRSQnP670JBSSh79CKmzv9gwrKN1ff8+1Qb5HmAm6+LIbyKfOj2ZxC+06/PWxsW6xtKLZXy1dvcHhtxSI+DllpihXg6DrxbD5aNjSsFA1w7mtJbUtD8A6X3uf2Vilpjz9KeWpzp0vYezQ5moMWY4wphRlNAhA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=swisscom.com; dmarc=pass action=none header.from=swisscom.com; dkim=pass header.d=swisscom.com; arc=none
From: Leonardo.Rodoni@swisscom.com
To: andy@yumaworks.com, per.ietf@ionio.se
Thread-Topic: [netconf] Re: yang-library-augmentedby: Mix of deprecated/current in leaf-list
Thread-Index: AQHc49m1N65tHLsWhUSe9JOGil/WpLYPQnmAgAl37CCAD/Qo8oABcNQAgADw53A=
Date: Tue, 02 Jun 2026 08:56:03 +0000
Message-ID: <ZR1PPFB31722602DAEE330E04E73D2F08D296122@ZR1PPFB31722602.CHEP278.PROD.OUTLOOK.COM>
References: <CACvbXWEiQdPr4fEOi4dbkU-jxNiXrJ+SURob-BAh0dO4fx2oPQ@mail.gmail.com> <F5842E72-9E34-454E-BA1F-E90A14EF7CB0@gmail.com> <CABCOCHQUDLVOxuLNDCYEG74Uc9tKSOWM5ysYr7gyhP7A7gvkQw@mail.gmail.com> <ZR1P278MB1170CAF8B0AA186B0A606836890E2@ZR1P278MB1170.CHEP278.PROD.OUTLOOK.COM> <CABCOCHRkbgqL0eBUdaeUkQMEErqG3ocO7kffta8ot6zyOHz4nw@mail.gmail.com> <ZR1P278MB1170EFA94659857CB1B5FF13890F2@ZR1P278MB1170.CHEP278.PROD.OUTLOOK.COM> <CACvbXWF6qT3SGRJmH-mRm0jTmPJp-9o4oLZCpBgKk-NQx304JA@mail.gmail.com> <CABCOCHRyQCLVX1o8fGvczj6YzFj++S_LgEt-uHpR+AmWwsa8NA@mail.gmail.com>
In-Reply-To: <CABCOCHRyQCLVX1o8fGvczj6YzFj++S_LgEt-uHpR+AmWwsa8NA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=86fdbaf1-835d-4de8-830d-5b8a7b719929;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2026-06-02T08:44:15Z;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1;MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Tag=10, 3, 0, 1;
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=swisscom.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: ZR1PPFB31722602:EE_|ZRH2PFF81A788E5:EE_
x-ms-office365-filtering-correlation-id: 5f3484fe-f0a0-4d51-e98e-08dec084c6c8
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|366016|376014|4022899009|1800799024|13003099007|8096899003|22082099003|18002099003|38070700021|3023799007|11063799006|6133799003|4143699003|56012099006;
x-microsoft-antispam-message-info: 1AJgVBF6j27IHiY2pAjGMkiwhb3K0Nzu50KvaZ+pbjj/i40edr32HRaUULI8yVnQbnAmP5MMdE6gxDFAf3aO49RCcnvQ8Yx2PufO5y77EFgvLfPaaEMd/WK1RO6VEyjdu3fh/1ToxIo4aNVynJ0JmoB90PVdvHaeGdjHOy6yW/Cjpj+i6omJX/hUnMWVlJsQX1rym6AnunwGERReXLU/7CgvXj+op3aM2xXp6qrfQK5kpf/uUBb+fkYIZya5gQIPYDrcOktqt/p5d6w1j5NcKXgfcH7IhVTKdtmszVV5HYcUGfIGEVGnBnsXSS668ynxga0oTpJQmJbn7+ei3cStygeMndzCVFJchRhtTNPySQvIop1SIh7KbqBmaPR6zQJYJBF0EvyvectIPR6EMDchF+36UxL28stiMvdL0WYH0xnjNhAdyNOqi+93VIBTkF7JZqxnuueOVjbSfWy8rzQZslr+11y6Q57l8L2DrUGBDpw66A0wnNo2eqmD1ziwF+IqL9VCMUGY0volDdY1/kEp9pxZeuKvq7XPWx9LAQByMSZ5gCkJR4w1TYDmbwHJSry1FUMuqq6NRo54gAGpN70YiaKncNRcVsRtbKX/gEaD+llujVGYqbfd3sioD/JamPVwtJdCBqBCAEaRAciKhyD8+yrS3TQ2dvoE+n8fJoBGD0wQLT9c3tyCrcg6nCtvXXIV7wd6MfCMBtcoMtHkwmbDK7Mp86ELfFitJ+KI7FsfEfu85deDsudpRCXLqO8v3OmQ
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:ZR1PPFB31722602.CHEP278.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(4022899009)(1800799024)(13003099007)(8096899003)(22082099003)(18002099003)(38070700021)(3023799007)(11063799006)(6133799003)(4143699003)(56012099006);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: IoSbi6E9AdGtNJ35dXdsbuBEUb0xTy3sobwN+huRwHxo44tfPwIEeBDF0ajLPg1YrtRYcLSle0Whs/3FjMTnvQf5laAZQupzu5T8/BHj1MqNRvUpI1wGjaGMJZLsglyqKERkmx4Gw59KnwY2tBrHdBTpHqt4xQ0UYA0AafFUkeNtTzFDRZTEXL8eHKDXZNGIo86ZEKYo4JV6A5B+ZjtGUb1F5S4POgHkxl4RNkR7Bziw7oSJu3U1BjTcR+U51uUCOEdOvjwGz+5rlr7Pd0ZFyMsgklJ2jJy7VW4+V2Fw9LXucSv+MdM3Gsx2cLnvWxboc7wx1X3droUwpUwNcY0UPiK3scDXRIUx1M8GlRk4ST68x9c2qoZr9BXXZ9FjzskanmOjRNZQGKpQvxSyRqJxega7auixKZdxU32RRnLqFLSMgkp7HZn1xtAfm+WNUrHvZaPSPtyVN7fgHvi/6Chim5IbyWg8fkp8Fp334iYQZ/0MMC8DK8ksHRRe0vzvUsBB4duW7TUAzaikeANQ1Wj/Ot2PavygnWnyDtEJBel7cAfn9rSXvDK1wKRsxm2dbb2y490AHEaN3gRazs54+kV3Efw5uDPEq+2dBEjDhVAAAUGazxFzL3JdwTp6pkwSgX6yZ+TCUDrfX0MEdOmwWlkvP5kV68MCz62wF40ZCXMg3kby8/gqWBHycNs/CxYpBYxURUjdBIsqyf7HTFbIXQ1gwXCNewkBhhhURtsOqr6HRf1aVUvvZPUvQqC00t0H+/jGQO/mhSoYyfDipArLhKo5WyVPH1475pQIPQFI5gw+zHAlOp55zqHGcXqfzytHwh5rsNk+DpUqTBg22g9PlkT+bjTVqOHjZu7Nr3iSUYnWEZ+oMYsRcZGnLpkm0Ywdy43iPohx4UUAY5m+Obk3owte/Qawh/q4OeTFIY2e7g+bq45sKTC98jmJu2DPAOvlbm3nOkv35RCPq+eqDusg3awO+VJM0dIITmd9qVTWfSImcZvQXNpPjdKB6oNBuEE7XdY9J8V4R56Xm25S3innLSkuXAr8FCf16l17i6R6v/hp+ZLX5Q0f2AdePdkslo2nWxBhVGcLbm8+/9KbR+d3KyiQq52CbNTF1dvLGx6Jrz/LBZ9IeSM4f3Ufkzrvcg2Zr5M+VD+/NyVm5RAfqJQcwjgLHQpBnQTYNUyVvh3HvQYRkWSuAJN6I4XpXQLIbgrJCE2IKO1zzVODmtzJENz4FCPhUKNOX5nkqlxLq93K3BYQjN829KH7KeH+qy12IrUZZK8xhgVj8dq2cZuo0NIx2LMK46O5apI24633Jjqyvk1ldiAWXJl5u0XsdKYU3s8Tg9p+bm1keql9g4PxYAHLIUEmXq4PkTsVSPqap6CLINLX8kxoQPcZM+H4Gc2DOnqPIPp3akbDR+grvtI9blSmKBf0TyCh2BI3U5OPJc60TpMiAD7/adnK8vTr5wzlDLXOSxQRpXym1yqNdXN8NOeLtS0Xdxp0FSJrbQfioY/a08WgNJaPYBtEJF8keCt5+acNa1pEuSLgk+QcRL0+7twsWdfL2ctjsUsvs8t+dkEU/EnCZXfmr6VMRTEDgxoD26GQKIjrfuRLMup1Sf4boRCMl/hBWljkUP+vkPINI+PyNQsT6Rs/fGKrIis76N0JEAW6KZqVXjTFAarHqm86PhHJN2DAMu9alPm2NZBCBV5lREQNUHlNq/t+fm1Xp7VrFUUHVSjdra5BdsKOzvo+9rht5G+mpHhrHv8DsOGhqLF23MXgGrc=
Content-Type: multipart/alternative; boundary="_000_ZR1PPFB31722602DAEE330E04E73D2F08D296122ZR1PPFB31722602_"
MIME-Version: 1.0
X-Exchange-RoutingPolicyChecked: PTkJEc/P++zbi2J6jK0M7+GcVdK7e7VAG1hSCmZuWIEnHzOkrH3/1FizcTtm3nqlJO32QjRtPq0q1NCt/asC0yGEpkxHWRKcI8c12/Ry4EbTSCPH4fCVgYmy7q9Ng4KJHzFcLobRFuwnUuXl1eDs5ZgvZyjOTqlbJGKG9TPN7BFKIVFF6ATcMPWNN58LHNKO9Br4u7i0LVmKEAqbGKHd4m0WXplDAppoc9iqMImPlGEotvNsmRdGh/iT+y3yInB+Fw38n0unnfKF7R5zJZz9pEI/cG7Y4Knjo3WLAJxF+fsrZQaueHRRpSMqWvuSSKE9rpk9BczFvnKD3BIPz8d+eg==
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: ZR1PPFB31722602.CHEP278.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 5f3484fe-f0a0-4d51-e98e-08dec084c6c8
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2026 08:56:03.5815 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 364e5b87-c1c7-420d-9bee-c35d19b557a1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: aVLh+gbp/B0IZfyNFk8e4jTusY1cO9GL4+iSfIaDO4jOsct9xj0H8hZVpYy1FsYKQAhIIuRg/xki++vfm/20OMzL0APWoLjI06D28uVZ4Ks=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZRH2PFF81A788E5
X-OriginatorOrg: swisscom.com
X-CFilter-Loop: Reflected
Message-ID-Hash: YKV2MAQEJEENT2IYXM3RZXSJCTGBKAER
X-Message-ID-Hash: YKV2MAQEJEENT2IYXM3RZXSJCTGBKAER
X-MailFrom: Leonardo.Rodoni@swisscom.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netconf.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Thomas.Graf@swisscom.com, netconf@ietf.org, draft-ietf-netconf-yang-library-augmentedby@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [netconf] Re: yang-library-augmentedby: Mix of deprecated/current in leaf-list
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Oy3-XZ4hR_tMdOd1S84kiV2QAks>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Owner: <mailto:netconf-owner@ietf.org>
List-Post: <mailto:netconf@ietf.org>
List-Subscribe: <mailto:netconf-join@ietf.org>
List-Unsubscribe: <mailto:netconf-leave@ietf.org>

Dear WG,

I also tend to like more the approach of removing the modules-state augment, both for incentivizing use of yang-library as well as to avoid requiring yang-push data collectors to implement two separate data model paths in the parsers.

Cheers,
Leonardo

From: Andy Bierman <andy@yumaworks.com>
Sent: Monday, 1 June 2026 20:22
To: Per Andersson <per.ietf@ionio.se>
Cc: Graf Thomas, SCS-INI-NET-VNC-E2E <Thomas.Graf@swisscom.com>; netconf@ietf.org; draft-ietf-netconf-yang-library-augmentedby@ietf.org
Subject: [netconf] Re: yang-library-augmentedby: Mix of deprecated/current in leaf-list

Be aware: This is an external email.



On Sun, May 31, 2026 at 1:21 PM Per Andersson <per.ietf@ionio.se<mailto:per.ietf@ionio.se>> wrote:
On Fri, May 22, 2026 at 7:33 AM <Thomas.Graf@swisscom.com<mailto:Thomas.Graf@swisscom.com>> wrote:
>
> Dear Andy,
>
>
>
> Thanks.
>
>
>
> AB> The new /yang-library subtree is to support NMDA, which is rarely used.
>
>
>
> To which implementation are you refering to?
>
>
>
> 5 years ago I would have agreed with you. I am aware that the following network operating systems have updated their implementations a while ago:
>
>
>
> Cisco IOS XR, XE and NX-OS
>
> Juniper JunOS
>
> Nokia SR-OS
>
> Huawei VRP (OLT, IP and SDWAN)
>
> Nokia SR-OS
>
> Arista EOS
>
>
>
> Since usually network operating systems have a lifecycle of 1-3 years, having network operating systems which still doesn't support RFC 8525 are rare in Swisscom's network and if there are, they are already planned to be upgraded.
>
>
>
> I have seen network operating system implementations where the development time to upgrade from YANG Library RFC 7895 to 8525 took literally just a few days. I am aware of 4 network operating system implementations of draft-ietf-netconf-yang-library-augmentedby. All of them chose to augment yang-library on RFC 8525 based implementations.
>
>
>
> On the YANG library side which the OSS systems are using. We did a comprehensive feature comparison between libyang, yangtools and yangkit. From what we observed there is that today, only libyang out of the 3 has YANG library support. In yangkit the YANG library support is under development where in yangtools we are considering code contribution. RFC 7895 is no longer considered there. From my personal experience, I am also aware that ncclient and NSO is using RFC 8525 NMDA yang-library.

Cisco NSO and ConfD, and Ductus DMAP supports both RFC 8525 and
RFC 7895 yang-library. It seems like sysrepo supports both as well while
clixon only mandates RFC 8525.

When I was still at Cisco NSO treated an older fleet and maturity
grade in deployments as first class citizens. Deployment and
adoption takes time, as you know.

It seems that it isn't so easy to draw any conclusions on contemporary
support or deployments for RFC 7895.

I am glad to learn that many toolchains support RFC 8525.
The issue is not 7985 vs 8525 but rather /modules-state vs /yang-library,
since RFC 8525 contains both subtrees.


I propose YANG module just changed to what I suggested.
It is a quick and effortless change and seems to be the path
of least resistance.



I believe the original request to support /modules-state was from me.
Now it is not so clear this is needed or a good idea.

Since this new augment may not be known to the client,
it is better to leave /modules-state stable, and only introduce this
issue to the /yang-library subtree.

Both these subtrees can be large, so it is good to encourage vendors to use
the /yang-library subtree, so /modules-state can eventually be removed from the server.


--
Per


Andy



>
>
> Best wishes
>
> Thomas
>
>
>
> From: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>>
> Sent: Thursday, May 21, 2026 6:43 PM
> To: Graf Thomas, SCS-INI-NET-VNC-E2E <Thomas.Graf@swisscom.com<mailto:Thomas.Graf@swisscom.com>>
> Cc: mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>; netconf@ietf.org<mailto:netconf@ietf.org>; draft-ietf-netconf-yang-library-augmentedby@ietf.org<mailto:draft-ietf-netconf-yang-library-augmentedby@ietf.org>
> Subject: Re: [netconf] Re: yang-library-augmentedby: Mix of deprecated/current in leaf-list
>
>
>
> Be aware: This is an external email.
>
>
>
>
>
>
>
> On Thu, May 21, 2026 at 8:21 AM <Thomas.Graf@swisscom.com<mailto:Thomas.Graf@swisscom.com>> wrote:
>
> Dear Andy,
>
>
>
> Reading https://datatracker.ietf.org/doc/html/rfc7950#section-7.21.2
>
>
>
>    o  "deprecated" indicates an obsolete definition, but it permits
>
>       new/continued implementation in order to foster interoperability
>
>       with older/existing implementations.
>
>
>
>    If a definition is "current", it MUST NOT reference a "deprecated" or
>
>    "obsolete" definition within the same module.
>
>
>
> I believe that what RFC 7950 meant to say it that when something is deprecated, it should not be extended anymore because it is deprecated.
>
>
>
> Even though we can trick the compiler with a leaf-list, I don't thing we are acting in the spirit of RFC 7950 and RFC 8525 authors.
>
>
>
> Therefore I believe the best option is to remove
>
>
>
>   augment "/yanglib:modules-state/yanglib:module" {
>
>     status deprecated;
>
>     description
>
>       "Adds Augmented-by leaf-list to the list of modules of a module set";
>
>     uses augmented-by;
>
>   }
>
>
>
> from ietf-yang-library-augmentedby. As an implementor who implements ietf-yang-library-augmentedby, I believe it is a no brainer to upgrade ietf-yang-library to RFC 8525 if it is not already done so. RFC 8525 has been published 7 years ago.
>
>
>
>
>
>
>
> I don't care if the /modules-state augments is removed.
>
>
>
> The new /yang-library subtree is to support NMDA, which is rarely used.
>
> The added complexity for the client is non-trivial.
>
> A non-NMDA server has no reason to update to RFC 8525.
>
>
>
> Best wishes
>
> Thomas
>
>
>
>
>
> Andy
>
>
>
>
>
> From: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>>
> Sent: Friday, May 15, 2026 6:09 PM
> To: Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>
> Cc: NETCONF WG <netconf@ietf.org<mailto:netconf@ietf.org>>; draft-ietf-netconf-yang-library-augmentedby@ietf.org<mailto:draft-ietf-netconf-yang-library-augmentedby@ietf.org>
> Subject: [netconf] Re: yang-library-augmentedby: Mix of deprecated/current in leaf-list
>
>
>
> Be aware: This is an external email.
>
>
>
>
>
>
>
> On Thu, May 14, 2026 at 12:41 PM Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>> wrote:
>
> Hi WG,
>
>
>
> The document is currently in the RFC Editor queue and we need to decide fairly quickly what to do with this “errata”.
>
>
>
> The suggestion from Per is small and doable with where the document is, if the WG agrees that the change is needed.
>
>
>
>
>
> The change looks OK.
>
> It is unfortunate that the status-stmt has so many issues.
>
>
>
> This does violate a MUST NOT rule, so it should be fixed.
>
> However, the accepted meaning of 'deprecated' is that the schema node is implemented, but
>
> it may be removed in a future module revision.   The rule about 'current' MUST NOT reference 'deprecated'
>
> is therefore ignored.  Since 'obsolete' means the node is not implemented, any reference to 'obsolete' will cause an error.
>
>
>
> Thanks.
>
>
>
> Andy
>
>
>
>
>
>
>
> On May 13, 2026, at 8:13 AM, Per Andersson <per.ietf@ionio.se<mailto:per.ietf@ionio.se>> wrote:
>
>
>
> Hi,
>
> The ietf-yang-library-augmentedby.yang has the following
> construct:
>
>  grouping augmented-by {
>    leaf-list augmented-by {
>      type leafref {
>        path "../../yanglib:module/yanglib:name";
>      }
>  }
>
>  augment "/yanglib:modules-state/yanglib:module" {
>    status deprecated;
>    uses augmented-by;
>  }
>
> Trying to compile this module yields a warning because:
>
> * the "module" container is deprecated,
> * the "augmented-by" leaf-list is implicitly current
> * the leafref "yanglib:name" is deprecated
>
> This is not allowed per RFC 7950 Section 7.21.2:
>
>   If a definition is "current",  it MUST NOT reference a
>   "deprecated" or "obsolete" definition within the same
>   module.
>
> The issue is that the status statement is not inherited,
> see yang-next issue #27 [0].
>
>
> I think we should create YANG modules that follow the
> specifications.
>
> Suggest that the grouping is rolled out in the module,
> and stated explicitly in both augments:
>
>  augment "/yanglib:yang-library/yanglib:module-set/yanglib:module" {
>    leaf-list augmented-by {
>      type leafref {
>        path "../../yanglib:module/yanglib:name";
>      }
>  }
>
>  augment "/yanglib:modules-state/yanglib:module" {
>    status deprecated;
>    leaf-list augmented-by {
>      status deprecated;
>      type leafref {
>        path "../../yanglib:module/yanglib:name";
>      }
>  }
>
> Not as elegant as the module is defined now, but at least
> the compiler doesn't complain and we follow YANG.
>
>
> [0] https://github.com/netmod-wg/yang-next/issues/27
>
>
> --
> Per
>
>
>
>
> Mahesh Jethanandani
>
> mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> netconf mailing list -- netconf@ietf.org<mailto:netconf@ietf.org>
> To unsubscribe send an email to netconf-leave@ietf.org<mailto:netconf-leave@ietf.org>
>
> _______________________________________________
> netconf mailing list -- netconf@ietf.org<mailto:netconf@ietf.org>
> To unsubscribe send an email to netconf-leave@ietf.org<mailto:netconf-leave@ietf.org>