Re: [yang-doctors] [IANA #1289473] Revision statements in IANA-maintained YANG modules
Martin Björklund <mbj+ietf@4668.se> Thu, 29 February 2024 14:31 UTC
Return-Path: <mbj+ietf@4668.se>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C60E0C14F616 for <yang-doctors@ietfa.amsl.com>; Thu, 29 Feb 2024 06:31:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=4668.se header.b="25/YeiwB"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="bqoD9xV7"
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 Dbq0_Kg3jBtt for <yang-doctors@ietfa.amsl.com>; Thu, 29 Feb 2024 06:31:29 -0800 (PST)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 DD6B2C14E513 for <yang-doctors@ietf.org>; Thu, 29 Feb 2024 06:31:29 -0800 (PST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6BF5532009FD; Thu, 29 Feb 2024 09:31:28 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 29 Feb 2024 09:31:28 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1709217087; x=1709303487; bh=vqb05pmeGiM4Q6cBfRoMswLoZxPn1C+jEPl67TfZbR0=; b= 25/YeiwBg5D1Wt5/JIThSqy2DO3jkCKhRIzqZVnr7YeCD/j1UBLR2c/S4kyfYG0v ITwmkkG1Zw3CJnw62x8dXVK0fn9cj1HqdmhEbkFfTMewoHpWtApk7Rn4PnBVIGpD MV3qdrzWTRpkBuWUmoFh2pvF9eTyCg5BLjMbAqYp0TJhd30RFoYlEugJWIv6QZnZ bVTQyBFVlSTVX4HzJ++gl+eyQBv7piL1KtoBtx/c7Zh6UJ84PafA8/SKbFgOxmYK j9+Lb7faesoQcQYMyc+if7G0iCtKL1gqGxHG7wKz9ZFYHWbapcV1bq8Z42lXKkWD 5ljgkW/HdjmtdF/t+2nMtw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1709217087; x= 1709303487; bh=vqb05pmeGiM4Q6cBfRoMswLoZxPn1C+jEPl67TfZbR0=; b=b qoD9xV7bJMb4irKnMeyMtx9TXa9qZ0/V94/yi4ZDeOiLl2DpDgKT+s2i/hDGbiye ft1EZVZqJ24Dao2gmfL2+dPaFRgwCGg2HseIE3mIHSGOKRRd3sYmc14I/bousb5/ XCNgVRoMo+7aLVT26tDuVphYuFhB2dYDJnvyGKmhthZWeXqDoLt3QRf//8JoX5QU DNS904Z8Tzmtd3vBX9NeW6zkFqBNxCsq45iI2dD+u2HcfyIrQ7W2Cg+DfY/pX7x+ /UBo4v1URA+VbTmRhxGOj2OrK/yXhmbOZMhAWUWMUMxblWATZEAzpX9nQLY9FWnn M9eCvO7YrdavEOPNQhTlQ==
X-ME-Sender: <xms:P5XgZYsmTa4dFWx6gzcyfk6foxEYpd2ri26X92PhpwawuhoJu-5pFw> <xme:P5XgZVdnlOEMYs0wLxtb1g0MPH7oSBvkUObjsMdfN3UjRrPY87cT0KhywVlQuo86U hsP7rSyx-zE_1belEo>
X-ME-Received: <xmr:P5XgZTyCnA5nQOPSIGftt3hpYUm7NNgBYJnx_2OZIPaNIp2xzklvzPlejeg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrgeelgdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffkvfevuffhjghfofggtgfgsehtsg ertdertdejnecuhfhrohhmpeforghrthhinhcuuehjnphrkhhluhhnugcuoehmsghjodhi vghtfhesgeeiieekrdhsvgeqnecuggftrfgrthhtvghrnhepfffhffelgeeggeduveevfe ffheejuedvueduvdejvdeffeevfeektedulefgffdtnecuffhomhgrihhnpehirghnrgdr ohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmsghjodhivghtfhesgeeiieekrdhsvg
X-ME-Proxy: <xmx:P5XgZbPH2DHjw4udhcU-mvE1Ad5j7HnoFKtBcFOqgi-r4FvsfORXLg> <xmx:P5XgZY-d_4sIDMjpuzP5owRI25-7YjM36cMQAh_8Vee_5NdDnuh5BA> <xmx:P5XgZTUsHwa1bkEMip02dzMAcO9fA374TyuM_oILdUihC5qrH_eJ-w> <xmx:P5XgZdEqCVaRAXdhqufS8OtL8QnJajVW7GLl4uQdX0yTTaU9tP6rVQ>
Feedback-ID: icc614784:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Feb 2024 09:31:26 -0500 (EST)
Date: Thu, 29 Feb 2024 15:31:06 +0100
Message-Id: <20240229.153106.364054816418317886.id@4668.se>
To: iana-issues@iana.org
Cc: yang-doctors@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <rt-5.0.3-1596180-1709161534-1267.1289473-37-0@icann.org>
References: <RT-Ticket-1289473@icann.org> <rt-5.0.3-1442929-1700610506-1513.1289473-37-0@icann.org> <rt-5.0.3-1596180-1709161534-1267.1289473-37-0@icann.org>
X-Mailer: Mew version 6.8 on Emacs 27.1
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/k8F9d9Y7xSQGnMn2CWihpAiQI2w>
Subject: Re: [yang-doctors] [IANA #1289473] Revision statements in IANA-maintained YANG modules
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Feb 2024 14:31:34 -0000
Hi, "Amanda Baber via RT" <iana-issues@iana.org> wrote: > Hi, > > I'm writing to ask whether IANA's approach to references in revision > statements in IANA-maintained modules should be reconsidered. > > I was talking to Kent Watsen about > draft-ietf-netconf-ssh-client-server-38, which asks IANA to refer to > RFCs in revision statements for IANA-maintained modules. (See the > third-to-last paragraph of Section 6.3 for an example.) > > We understood that because some registrations (for example, those > coming from First Come First Served or Expert Review registries) > aren't associated with an RFC, the YANG doctors prefer that we instead > point to the location of the module (e.g., > "https://www.iana.org/assignments/yang-parameters/iana-tunnel-type@2021-04-23.yang") > in the revision statement. This is reflected in 8407bis: > > When the "iana-foo" YANG module is updated, a new "revision" > statement with a unique revision date must be added in front of the > existing revision statements. The "revision" statement must have a > "reference" substatement that points specifically to the published > module (i.e., IANA_FOO_URL_With_REV). > > After talking to Kent, I'm wondering whether we should instead point > to the RFC by default, and point to the module when there is no RFC to > point to. This sounds like a good idea! > I'm forwarding Kent's suggestion (and copying him on this email): > > === > > Though I see that Lada/Acee/Mahesh did not “object”, I don’t like the > advice of just pointing to the URL of the YANG module, nor do I agree > with Martin’s statement: > > "The motivation behind the rule is to make it easy for readers > of a module to find the original source of the module." > > Perhaps I misunderstand what Martin means by “rule”, but will say that > the common sense understanding is that the purpose of the revision > statement is to explain *why* the module is being updated, and not so > much *where* it can be downloaded. The "description" in the "revision" statement should explain the *why*, and the "reference" (in this case) the *where*. (I suggested the url in order to have a simple instruction that always works. The new proposal is better.) Currently there are no instructions for IANA to fill in the "description" statement, AFAIK. > Furthermore, regarding where the module can be downloaded, it seems > that it is something that should be in the top-level “description” > statement and, in fact, could apply to *all* YANG modules published by > the IETF (not just those that are IANA-maintained). > > To be constructive, let me give a concrete example of what I think > would be super. Assume there is an IANA-maintained module called > “iana-foo-bar” that was initially created by RFC XXXX and subsequently > updated (by IANA) due to the underlying “Foo Bar” registry being > updated due to RFC YYYY. Here’s what I’d like to see as a > module-reader: > > module iana-foo-bar { > <snip/> > > description > "This module defines enumerations for foo bars > defined in the ‘Foo Bar' registry maintained by IANA > at https://www.iana.org/assignments/foo-bar-parameters. > > <snip/> > > All versions of this module are published by IANA at > https://www.iana.org/assignments/yang-parameters.”; > > revision 2024-02-02 { > description > “This update reflect the update made to the underlying > Foo Bar registry per RFC YYYY.”; > reference > "RFC YYYY: Extend the Foo Bars Registry to Support Something > Important"; > } > > revision 2024-01-01 { > description > “This initial version of the module was created using > the mechanism defined in RFC XXXX to reflect the > contents of the underlying ‘Foo Bar’ registry maintained > by IANA.”; > reference > "RFC XXXX: YANG Data Model for Foo Bars"; > } > > <snip/> > } > > === > > IANA, I should add, has no preference between always pointing to the > module URL and only pointing to the module URL in the absence of a > reference to an RFC (which is technically a possibility where SSH > Expert Review registrations are concerned). > > thanks, > Amanda If we agree that this is the way it should work, it should be reflected in 8407bis. /martin
- [yang-doctors] [IANA #1289473] Revision statement… Amanda Baber via RT
- Re: [yang-doctors] [IANA #1289473] Revision state… Martin Björklund
- [yang-doctors] [IANA #1289473] Revision statement… Amanda Baber via RT
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- [yang-doctors] [IANA #1289473] Revision statement… Amanda Baber via RT
- Re: [yang-doctors] [IANA #1289473] Revision state… Mahesh Jethanandani
- [yang-doctors] [IANA #1289473] Revision statement… Amanda Baber via RT
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- [yang-doctors] [IANA #1289473] Revision statement… Amanda Baber via RT
- Re: [yang-doctors] [IANA #1289473] Revision state… Mahesh Jethanandani
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- Re: [yang-doctors] [IANA #1289473] Revision state… Mahesh Jethanandani
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- Re: [yang-doctors] [IANA #1289473] Revision state… Mahesh Jethanandani
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- Re: [yang-doctors] [IANA #1289473] Revision state… mohamed.boucadair
- Re: [yang-doctors] [IANA #1289473] Revision state… mohamed.boucadair
- Re: [yang-doctors] [IANA #1289473] Revision state… Mahesh Jethanandani
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- Re: [yang-doctors] [IANA #1289473] Revision state… mohamed.boucadair
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen
- Re: [yang-doctors] [IANA #1289473] Revision state… mohamed.boucadair
- Re: [yang-doctors] [IANA #1289473] Revision state… Kent Watsen