[netmod] Re: draft-ietf-iana-yang-guidance-01

Qin Wu <bill.wu@huawei.com> Thu, 23 July 2026 07:40 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: netmod@mail2.ietf.org
Delivered-To: netmod@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id D9BC811D0BD10; Thu, 23 Jul 2026 00:40:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784792444; bh=hMy+e6Hby5v0sJAmAVeG2T7zadTXNXEiX/vbnZQclNs=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=dXzJDRdpQspN9IR9isZbDCMgYbBvXshDZ50DKQjG3W1FBOLwfuxGcX4QqLMk5acds mr6c29H2rB7CdIq+h+g2YPRl64s3tiiPmmWYioY1PtcDgY6VlMBm3j9T8kBSBHxNTz pVkblqQNeDOvLw3jvRoeALOpEycP8+ddFcw1lk+w=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -3.826
X-Spam-Level:
X-Spam-Status: No, score=-3.826 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, INVALID_MSGID=0.568, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=huawei.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 BRR-WxkBLAvO; Thu, 23 Jul 2026 00:40:42 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 730ED11D0BC66; Thu, 23 Jul 2026 00:40:31 -0700 (PDT)
dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=FpjBKIPkaTYUrKM3gNgKc77GUpw6bWvS6Zdo0jstby0=; b=gSR7pokfy5NeRAJnrq5cauz30eE4DFU+9bU9hv6XW77EBZ71Dyqv9eLEqGdosATa1+JAaIoTY 6+CCk2pQ+W8paieE0Sfwi5T+tEFAFMOtLRgw9JjjtbvSUC+vcnNZUimzi3pKEhEn7GKwrLIqfdM XfFyu7esJGyEYzqZDZXn5s8=
Received: from mail.maildlp.com (unknown [172.18.224.107]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4h5NLp1CNFzHnH3M; Thu, 23 Jul 2026 15:40:02 +0800 (CST)
Received: from kwepemh500011.china.huawei.com (unknown [7.202.181.142]) by mail.maildlp.com (Postfix) with ESMTPS id BD3654058B; Thu, 23 Jul 2026 15:40:29 +0800 (CST)
Received: from kwepemf200004.china.huawei.com (7.202.181.230) by kwepemh500011.china.huawei.com (7.202.181.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 23 Jul 2026 15:40:27 +0800
Received: from kwepemf200004.china.huawei.com (7.202.181.230) by kwepemf200004.china.huawei.com (7.202.181.230) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 23 Jul 2026 15:40:27 +0800
Received: from kwepemf200004.china.huawei.com ([7.202.181.230]) by kwepemf200004.china.huawei.com ([7.202.181.230]) with mapi id 15.02.1544.011; Thu, 23 Jul 2026 15:40:27 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Joe Clarke (jclarke)" <jclarke@cisco.com>, "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, Sandy Ginoza <sginoza@staff.rfc-editor.org>, "amanda.baber@iana.org" <amanda.baber@iana.org>, "sabrina.tanamal@iana.org" <sabrina.tanamal@iana.org>, Mahesh Jethanandani <mjethanandani@gmail.com>, Mohamed Boucadair <mohamed.boucadair@orange.com>, NETMOD Working Group <netmod-chairs@ietf.org>
Thread-Topic: draft-ietf-iana-yang-guidance-01
Thread-Index: Ad0aXNsto/lVh+UwTfajEJsxVumD4QAFAJMlAAFqb2M=
Date: Thu, 23 Jul 2026 07:40:26 +0000
Message-ID: 8ED7B558-61FC-42D8-BDBC-AC6F64C8550D
References: <c5c5d56489bb4ef78d16a93424a859b6@huawei.com>,<CH2PR11MB886756FD5512C5E0A8578054B8C02@CH2PR11MB8867.namprd11.prod.outlook.com>
In-Reply-To: <CH2PR11MB886756FD5512C5E0A8578054B8C02@CH2PR11MB8867.namprd11.prod.outlook.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_8ED7B55861FC42D8BDBCAC6F64C8550D_"
MIME-Version: 1.0
Message-ID-Hash: 33ZHKDJ3KAHWJXIYWGF426UMVCQTA4ZO
X-Message-ID-Hash: 33ZHKDJ3KAHWJXIYWGF426UMVCQTA4ZO
X-MailFrom: bill.wu@huawei.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: NETMOD WG <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [netmod] Re: draft-ietf-iana-yang-guidance-01
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/cBqx_oEBd-SimrOYPedr4WCQQ-4>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>

Joe:
thanks for reminding me who will be audience for this work, i originally thought yang data model authors are also readers, your clarification makes  sense to me, thanks.

发件人:Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>>
收件人:Qin Wu <bill.wu@huawei.com<mailto:bill.wu@huawei.com>>;Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org<mailto:rwilton=40cisco.com@dmarc.ietf.org>>;Sandy Ginoza <sginoza@staff.rfc-editor.org<mailto:sginoza@staff.rfc-editor.org>>;amanda.baber@iana.org <amanda.baber@iana.org<mailto:amanda.baber@iana.org>>;sabrina.tanamal@iana.org <sabrina.tanamal@iana.org<mailto:sabrina.tanamal@iana.org>>;Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>;Mohamed Boucadair <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>;NETMOD Working Group <netmod-chairs@ietf.org<mailto:netmod-chairs@ietf.org>>
抄 送:NETMOD WG <netmod@ietf.org<mailto:netmod@ietf.org>>
时 间:2026-07-23 09:04:28
主 题:Re: draft-ietf-iana-yang-guidance-01

In this case, I think we want to be very prescriptive as to what IANA is to do as YANG is not their full-time job.  If tooling does change, then I think we would want to do a bis to update that process and again be prescriptive with what exact steps IANA is to perform.

Joe

From: Qin Wu <bill.wu@huawei.com>
Date: Thursday, July 23, 2026 at 00:42
To: Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org>; Sandy Ginoza <sginoza@staff.rfc-editor.org>; amanda.baber@iana.org <amanda.baber@iana.org>; sabrina.tanamal@iana.org <sabrina.tanamal@iana.org>; Mahesh Jethanandani <mjethanandani@gmail.com>; Mohamed Boucadair <mohamed.boucadair@orange.com>; Joe Clarke (jclarke) <jclarke@cisco.com>; NETMOD Working Group <netmod-chairs@ietf.org>
Cc: NETMOD WG <netmod@ietf.org>
Subject: RE: draft-ietf-iana-yang-guidance-01

Hi, Rob:
Thanks for taking care of my comments, I believe some of clarification text is needed. Regarding pyang tooling, I know it has already been used widely, however how do we when pyang has been evolved or replace by other byang, cyang tools, my only suggestion is to make “6.4.4. <https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-yang-guidance-02#section-6.4.4> Step 4: Use Pyang Tooling to Check/Recommend Next Version<https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-yang-guidance-02#name-step-4-use-pyang-tooling-to>” generic, e.g., Use YANG Validation tooling to check/Recommended Next Version. It is not necessary to make bisdocument for such minor change, I think VELOCE might face similar issue, I don’t know what are best way to address this.
Thanks!

-Qin
发件人: Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org>
发送时间: 2026年7月22日 13:19
收件人: Qin Wu <bill.wu@huawei.com>; Sandy Ginoza <sginoza@staff.rfc-editor.org>; amanda.baber@iana.org; sabrina.tanamal@iana.org; Mahesh Jethanandani <mjethanandani@gmail.com>; Mohamed Boucadair <mohamed.boucadair@orange.com>; Joe Clarke (jclarke) <jclarke@cisco.com>; NETMOD Working Group <netmod-chairs@ietf.org>
抄送: NETMOD WG <netmod@ietf.org>
主题: Re: draft-ietf-iana-yang-guidance-01

Hi Qin,

Thank you for this review.  I fear that I have missed addressing your comments in the -03 version, but I will check them and apply them to the next version before we go for WG LC.

Please see inline [RW] ...

From: Qin Wu <bill.wu=40huawei.com@dmarc.ietf.org<mailto:bill.wu=40huawei.com@dmarc.ietf.org>>
Date: Wednesday, 15 April 2026 at 06:26
To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>; Sandy Ginoza <sginoza@staff.rfc-editor.org<mailto:sginoza@staff.rfc-editor.org>>; amanda.baber@iana.org<mailto:amanda.baber@iana.org> <amanda.baber@iana.org<mailto:amanda.baber@iana.org>>; sabrina.tanamal@iana.org<mailto:sabrina.tanamal@iana.org> <sabrina.tanamal@iana.org<mailto:sabrina.tanamal@iana.org>>; Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>; Mohamed Boucadair <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>; Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>>; NETMOD Working Group <netmod-chairs@ietf.org<mailto:netmod-chairs@ietf.org>>
Cc: NETMOD WG <netmod@ietf.org<mailto:netmod@ietf.org>>
Subject: RE: draft-ietf-iana-yang-guidance-01
Hi, Rob:
Thanks for the update to draft-ietf-iana-yang-guidance, I take some time to review the latest version and have the following comments and input, hope it helps:

1.       Section 2 said:
“This document provides informational guidance to both the RFC Editor and IANA for managing YANG modules in two distinct scenarios:”
[QW]: This document provide guidance for both RFC Editor and IANA?
I am wondering whether YANG module authors need to pay attention to this informational guidance?

[RW] This guidance is only aimed at the RFC Editor and IANA.  I think that we have existing YANG Author guidelines and the versioning docs that apply to authors.

Or the principle is
If YANG module author don’t follow this guidance or don’t need to worry about this guidance before IESG review, RFC Editor and IANA has right to block publication of this documents after IESG review until Module version gets corrected?

[RW] YANG Module authors in the IETF would be expected to get this right (with help from the YANG Doctor's reviews).  Some of the recommendations in this document are to help ensure that the version rules/formatting have been applied correctly at RFC publication time.

Section 4.1 said:
“_COMPAT is used for branched development trees and is not applicable to normative modules published by the IETF or IANA-maintained modules.
”
[QW]:Look at the definition of _COMPACT:
”
_COMPAT is used for branched development trees and is not applicable to normative modules published by the IETF or IANA-maintained modules.
”
It is not clear to me how to understand normative module? Do we emphasize _COMPACT is optional parameter instead of mandatory parameter?
Or Is _COMPAT designed for pre-release version?

[RW] By normative, I think that we mean non-example YANG modules, but I think suggestion may have come in from Med.  I'll see if I can clarify that slightly.  The _COMPAT is mostly expected to be used for vendor publishing their own YANG modules rather than those produced by an SDO.

Section 4.1 also said:
“
….
e.g., as per the second example below.

”
[QW]:Where the second example below is documented? In which section?
Section 4.1 said:
“
Pre-release versions (versions with MAJOR = 0, e.g., "0.2.0", or with a pre-release suffix, e.g., "1.3.0-04")

”
[QW]: I understand -04 is internet-draft-number and is used to compatible with semver and can be seen as version  label, however such pre-release suffix used in many place not consistent, e.g., Section 5.2,1 said:
“any normative YANG modules it contains typically have pre-release version numbers (e.g., 0.4.0, 1.1.0-03, or 2.0.0-07)”
Section 4.4 said:
“
Modules in Internet-Drafts MUST use pre-release versions (e.g., 0.1.0 or 2.0.0-draft-name) to indicate that the content may still change.

”
Here draft-name is referred to full draft name or draft number, I think such inconsistency needs to be addressed.

[RW] I agree and I will check (against the Semver draft) and ensure that this is consistent with that draft and internally consistent in this draft.

Section 5.2.2 said:
“
consult with the authors to determine the correct version number and whether the rev:non-backwards-compatible extension is required.

”
[QW]: Who should be consulted to determine the correct version number and whether the rev:non-backwards-compatible extension is required.
Section 5.2.2 said at the RFC Editor Processing stage, the draft authors should be consulted.
Section 7 said, YANG Doctor should be consulted
At the RFC Editor Processing stage combine together with other circumstances such as:
1.      Classification Uncertainty
2.      Tool Disagreement
3.      Description Changes
4.      Unusual Situations
5.      Registry Restructuring

[RW] I will check the text.  My expectation is that the RFC Editor should be able to check (using tooling).  If it is unusual then they should check with the authors.  The YANG Doctors (via the YANG Doctor Secretaries) are available to help give guidance if a more complicated situation arises.

Section 6.4.4 said:
“
6.4.4. <https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-yang-guidance-02#section-6.4.4> Step 4: Use Pyang Tooling to Check/Recommend Next Version<https://datatracker.ietf.org/doc/html/draft-ietf-netmod-iana-yang-guidance-02#name-step-4-use-pyang-tooling-to>
”
[QW]: Do we need to separate guidance from specific tooling recommendation? Usually YANG Guidance doesn’t tie closely with specific YANG tools.
I search pyang, it has occurred for 27 times.

[RW] The idea here is that the documentation ties closely to the tools that are actually being used, because that gives the most useful concrete guidance.  If the use of that tooling changes over time, or different tooling is introduced then a bis version of this document could be generated.  I don't see any need for a separate draft on tooling unless IANA or the RFC Editor believes that is needed.

-Qin

[RW] Thanks again for the review and sorry for not replying sooner.

Kind regards,
Rob


发件人: Rob Wilton (rwilton) [mailto:rwilton=40cisco.com@dmarc.ietf.org]
发送时间: 2026年4月14日 23:06
收件人: Sandy Ginoza <sginoza@staff.rfc-editor.org<mailto:sginoza@staff.rfc-editor.org>>; amanda.baber@iana.org<mailto:amanda.baber@iana.org>; sabrina.tanamal@iana.org<mailto:sabrina.tanamal@iana.org>; Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>; Mohamed Boucadair <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>; Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>>; NETMOD Working Group <netmod-chairs@ietf.org<mailto:netmod-chairs@ietf.org>>
抄送: NETMOD WG <netmod@ietf.org<mailto:netmod@ietf.org>>
主题: [netmod] Re: draft-ietf-iana-yang-guidance-01

Hi Amanda, Sabrina, Sandy, OPS ADs, NETMOD WG chairs, & Joe,

I've now just published draft-ietf-iana-yang-guidance-02, https://www.ietf.org/archive/id/draft-ietf-netmod-iana-yang-guidance-02.html

This incorporates the changes from the NETMOD discussion at IETF 125, and merges in review comments from Reshad, Joe, & Med.  Thanks Med!

There are no open issues against this document, and as such I am thinking about whether we should try and take this to WG LC already to flush out any further reviews!  Ideally, it would be nice if this draft could catch up with the other three post WG LC YANG versioning drafts (some of which will have an informative reference to this document) and hence get published at the same time - but we don't want to rush it if it is not complete/ready.

Note, there is still an open discussion point in https://datatracker.ietf.org/doc/draft-ietf-netmod-yang-module-filename/, that could change which character is used to identify a YANG file using a YANG Semver, which would require this doc to be updated with a small editorial change.

Hence, in our meeting today, we would like to request that IANA and the RFC Editor both review the document for readability/guidance and also check the workflow steps proposed in this document and workable and make sense.  Perhaps going through a sample workflow of trying a few imaginary registry changes and checking if you hit any issues with the workflow or need further clarification.

When using pyang to do the version comparison, then you will currently need to use the version in Joe's GitHub repository here (on the master branch): https://github.com/xorrkaz/pyang

Joe (or I, or one of the tools team) can probably help you get this setup if you need guidance.  But the basic steps are to pull a local copy of this github repository and then run "env.sh" from within the directory that git/GitHub copies the repository into.  Then your pyang invocations would pick up the new checks.

Alternatively, we could arrange a call and give a demo of how the tool would work if you think that would be helpful.  Please let me know if you would like me to try and set this up.

Finally, Mahesh, Med, is there anything that needs done from your side?  E.g., do you need to check with the IESG at all on what is proposed here, or can I assume that is either all in-hand, or will be dealt with during AD review or IESG review?

Kind regards,
Rob



From: Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org<mailto:rwilton=40cisco.com@dmarc.ietf.org>>
Date: Tuesday, 17 March 2026 at 21:26
To: Sandy Ginoza <sginoza@staff.rfc-editor.org<mailto:sginoza@staff.rfc-editor.org>>, amanda.baber@iana.org<mailto:amanda.baber@iana.org> <amanda.baber@iana.org<mailto:amanda.baber@iana.org>>, sabrina.tanamal@iana.org<mailto:sabrina.tanamal@iana.org> <sabrina.tanamal@iana.org<mailto:sabrina.tanamal@iana.org>>, Mahesh Jethanandani <mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>>, NETMOD WG <netmod@ietf.org<mailto:netmod@ietf.org>>, NETMOD Working Group <netmod-chairs@ietf.org<mailto:netmod-chairs@ietf.org>>
Subject: [netmod] draft-ietf-iana-yang-guidance-01
Hi all,

I've just published the -01 version of this draft that has quite a lot of updates and fixes and should hopefully incorporate the comments that I have received.   There is already a later version on GitHub (https://github.com/rgwilton/iana-yang-guidance?tab=readme-ov-file) that contains a couple more tweaks from Reshad and some spelling corrections.

As a reminder this is an informational draft, for which the abstract is:


This document provides guidance to the RFC Editor and IANA on managing YANG modules in RFCs and IANA registries, ensuring consistent application of YANG Semantic Versioning rules.


I'll be presenting this draft in the NETMOD session on Wednesday morning.

I think that there are 4 open issues that need to be addressed:

1.      Do we need guidance to IANA in this document to list modules both by revision date and version? I.e., following the filename convention.

2.      This document is informational, is it appropriate to use RFC 2119 language?

3.      For the RFC Editor and ADs, do we want to allow the RFC Editor to apply errata to IETF YANG modules?

4.      For Section 5<https://rgwilton.github.io/iana-yang-guidance/draft-ietf-netmod-iana-yang-guidance.html#sec-background>, should we give examples of the rules, or just reference the module versioning draft [Reshad]?

Depending on the feedback received it may be that we can get these addressed quickly, and then I'm wondering whether we will want [another] round of reviews, of whether it would make sense to go directly to WG LC?  On the one hand this document hasn't had that much in the way of reviews (it is quite new), but on the other hand it is only informational guidance and we are wanting to move it through the process quickly.

Kind regards,
Rob