Re: [netmod] New guidelines for IANA in draft-ietf-netmod-rfc8407bis

Martin Björklund <mbj+ietf@4668.se> Fri, 08 December 2023 08:07 UTC

Return-Path: <mbj+ietf@4668.se>
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 CEEEAC013FF7 for <netmod@ietfa.amsl.com>; Fri, 8 Dec 2023 00:07:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.805
X-Spam-Level:
X-Spam-Status: No, score=-2.805 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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="g/oJPZJW"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="J8KFE+AF"
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 IXiFD9UcoXsm for <netmod@ietfa.amsl.com>; Fri, 8 Dec 2023 00:06:58 -0800 (PST)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 547EEC14F61B for <netmod@ietf.org>; Fri, 8 Dec 2023 00:06:57 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 2EEE43200A72; Fri, 8 Dec 2023 03:06:55 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 08 Dec 2023 03:06:55 -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:sender:subject:subject:to:to; s=fm3; t= 1702022814; x=1702109214; bh=V0hoecZ65Xxu7kdd5O55Bc8+LKSlM/ZAqIs rMrerfQ8=; b=g/oJPZJW/hODymk0DkMzl1HOGxvc2jcRLMIzMHOBeAKwSVbFJuH zsGrNBsHWdfpnWaNxyEsCeIuZGVME38C3uibs3bf3CBd7ylSjftDOT3hVmCfvdOG WAdeSpMFcNj3dtTz8arNJU1/M0QVN1qpou0kL9E1cBZXuwVgA5RwVLukSp0Z/8Ja yDF2nxVNISSDEapYu+MtEGtcNxh3bLa1ydkwDg9y8SBhjTjoFak0kkftkjrDl+fX mEyaQJ2QRq3Rdsv4DF5Ypa53Ic9RZl+0Wis76r4czuMMcQEd/qnO921AKvN+dAVt JsYrLMReK6bdP3BPww/gwSON4gPii7qACFA==
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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1702022814; x=1702109214; bh=V0hoecZ65Xxu7kdd5O55Bc8+LKSlM/ZAqIs rMrerfQ8=; b=J8KFE+AFKnY2ufS8Gdio5z/UFHz/YivUY+/HDnxBemKY0gbgaFR 54lMN/BVeZ8XWPVsoa6ELVTOgkPAC+BYu82tF7e0B+Bbk7Xg0TM8IL0KIajYYxOs k+k1wOYDRC6mPUh00gyHq2NTXrXgA87Jeqngm+fVWQQ5Nll4KdSd3UDwWm+V5ujo Pu4B+ZBY/38VZR9idFNL8yvYqIfwMKOcHNLUhxezFoNfBuWPiYkZaCzOiIYmnnpX UuKnSSComXCZQe7cOONamK9rcrr2lJLhe8f6pUa/J2/vDjv9tr2r2wsRs4775ndr mseyHr4Eww+ZCU4LnIR7KqpJ5RenVXb5lVw==
X-ME-Sender: <xms:ns5yZQayI32xUUr3RNQ7WpKItMOz0YJ2hwmrsFWwvdORPZQopUIaRA> <xme:ns5yZbZMovNzoIGwXbuG8_4UyZLOrr8t1yYWsrLrgIf6aQzhpZxCUlIE1Fnjz8ri9 _bOr03Mbf6psV3b-D4>
X-ME-Received: <xmr:ns5yZa-FLhDI_01sR2ZZeulNSKu2uaTc4WVzGW7vqGj0BzJpr4di63d7Jx7wKdjvOSzgwx-sSae1OtTmbn_BNOuL-zZffeFX3g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekhedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffkffvvefuhfgjfhfogggtgfesth hqredtredtudenucfhrhhomhepofgrrhhtihhnuceujhpnrhhklhhunhguuceomhgsjhdo ihgvthhfseegieeikedrshgvqeenucggtffrrghtthgvrhhnpefhvdetueeghefhgedtte dujedthedtveeuheekgefhtdegteegkeefiedvteevudenucffohhmrghinhepohhuthhl ohhokhdrtghomhdpihgrnhgrrdhorhhgpdhgihhthhhusgdrtghomhenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsghjodhivghtfhesgeei ieekrdhsvg
X-ME-Proxy: <xmx:ns5yZaqRIfQ9ThnQvhlGarebH8jb21nGvq2_G1dxi9bR_rnNEm9c1Q> <xmx:ns5yZbqFJQz6pRtTlTtOlvMjJAjidvzgX8-QzqwsrkGgSFKympPJjA> <xmx:ns5yZYSoffaEmEzu4Lzfye9b4pVPLKu8z8ZdOPB59SuKmzWihURmkg> <xmx:ns5yZaQJnyYa9hIWK5bbk9AJkyXvcmY-vpJ8jxEog3ULphyRzEOH6A>
Feedback-ID: icc614784:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Dec 2023 03:06:53 -0500 (EST)
Date: Fri, 08 Dec 2023 09:06:51 +0100
Message-Id: <20231208.090651.308419557662921356.id@4668.se>
To: mohamed.boucadair@orange.com
Cc: netmod@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <DU2PR02MB10160B8417CEAA59CBD0071AC888BA@DU2PR02MB10160.eurprd02.prod.outlook.com>
References: <20231207.170451.2186357392151798883.id@4668.se> <DU2PR02MB10160B8417CEAA59CBD0071AC888BA@DU2PR02MB10160.eurprd02.prod.outlook.com>
X-Mailer: Mew version 6.8 on Emacs 27.1
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/iGowY8C2yscVLBvIvE2iZEc2RnY>
Subject: Re: [netmod] New guidelines for IANA in draft-ietf-netmod-rfc8407bis
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: Fri, 08 Dec 2023 08:07:04 -0000

Hi,

mohamed.boucadair@orange.com wrote:
> Hi Martin,
> 
> Thanks for raising these points. 
> 
> Please see inline. 
> 
> Cheers,
> Med
> 
> > -----Message d'origine-----
> > De : netmod <netmod-bounces@ietf.org> De la part de Martin Björklund
> > Envoyé : jeudi 7 décembre 2023 17:05
> > À : netmod@ietf.org
> > Objet : [netmod] New guidelines for IANA in draft-ietf-netmod-
> > rfc8407bis
> > 
> > Hi,
> > 
> > There has been some discussion with IANA on the YANG doctors list
> > regarding this text in section 4.8 in RFC 8407:
> > 
> >    A "revision" statement MUST be present for each published version
> > of
> >    the module.  The "revision" statement MUST have a "reference"
> >    substatement.  It MUST identify the published document that
> > contains
> >    the module.
> > 
> > (the same text is present in rfc8407bis)
> > 
> > It continues with the motivation behind the rule:
> > 
> >    Modules are often extracted from their original
> >    documents, and it is useful for developers and operators to know
> > how
> >    to find the original source document in a consistent manner.
> > 
> > As can be seen in e.g.,
> > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> > iana.org%2Fassignments%2Fyang-parameters%2Fiana-dns-class-rr-
> > type%402023-11-
> > 08.yang&data=05%7C01%7Cmohamed.boucadair%40orange.com%7Ccf5ad65dd26d4a
> > e3a1f508dbf73e4f79%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C638375
> > 619746432780%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM
> > zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=X6s86KFMCkdu03
> > Z6hne6g16fU405pTiLPhv5gZYZV4k%3D&reserved=0,
> > this rule has not been followed.
> > 
> > The discussion ended with the recommendation to IANA to always add a
> > "reference" statement that refers to the published module (e.g.,
> > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
> > iana.org%2Fassignments%2Fyang-parameters%2Fiana-dns-class-rr-
> > type%402023-11-
> > 08.yang&data=05%7C01%7Cmohamed.boucadair%40orange.com%7Ccf5ad65dd26d4a
> > e3a1f508dbf73e4f79%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C638375
> > 619746432780%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM
> > zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=X6s86KFMCkdu03
> > Z6hne6g16fU405pTiLPhv5gZYZV4k%3D&reserved=0).
> > 
> > If people agree that this is the correct solution, I think we should
> > update 8407bis with this.
> > 
> > Specifically, I suggest to change 4.30.3.1 and 4.30.3.2:
> > 
> > OLD:
> > 
> > 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.
> > 
> > NEW:
> > 
> > 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 to the published module (e.g.,
> >  ...)
> > 
> > 
> 
> [Med] Looks reasonable to me. As you can see in the proposed PR (https://github.com/boucadair/rfc8407bis/pull/31/files) I went with a slightly modified wording because we do already have the following to refer to the link to be used:
> 
>    Examples of IANA URLs from where to retrieve the latest version of an
>    IANA-maintained module are: [IANA_BGP-L2_URL], [IANA_PW-Types_URL],
>    and [IANA_BFD_URL].  [IANA_FOO_URL] is used in the following to refer
>    to such URLs.  These URLs are expected to be sufficiently permanent
>    and stable.

I cannot find the reference [IANA_FOO_URL].  If we assume that it is
similar to [IANA_PW-Types_URL], it would be:

   https://www.iana.org/assignments/iana-foo/iana-foo.xhtml

This points to the "meta" page for the module, which has a pointer to
the latest version of the YANG module.

I don't think it makes sense to put this URL in the "reference"
statement in each revision, b/c it would be:

  revision 2023-04-01 {
    reference
      "https://www.iana.org/assignments/iana-foo/iana-foo.xhtml";
  }
  revision 2022-04-01 {
    reference
      "https://www.iana.org/assignments/iana-foo/iana-foo.xhtml";
  }
  revision 2020-04-01 {
    reference
      "https://www.iana.org/assignments/iana-foo/iana-foo.xhtml";
  }

The proposal was to use the url to the module itself:

  revision 2023-04-01 {
    reference
      "https://www.iana.org/assignments/yang-parameters/iana-foo@2023-04-01.yang";
  }
  revision 2022-04-01 {
    reference
      "https://www.iana.org/assignments/yang-parameters/iana-foo@2022-04-01.yang";
  }
  revision 2020-04-01 {
    reference
      "https://www.iana.org/assignments/yang-parameters/iana-foo@2020-04-01.yang";
  }


However, it would be useful to have the "meta" URL somewhere in the
document; in the "description" of the module, or "reference".




> 
> The change is consistent with this part of the bis:
> 
>    If an IANA-maintained module is imported by another module, a
>    normative reference with the IANA URL from where to retrieve the
>    IANA-maintained module SHOULD be included.  Although not encouraged,
>    referencing the RFC that defines the initial version of the IANA
>    module is acceptable in specific cases (e.g., the imported version is
>    specifically the initial version, ...
> 
> > 
> > 
> > Further, some IANA modules use the IETF template for the module's
> > "description", see e.g.,
> > 
> > That module has in its "description":
> > 
> >      This version of this YANG module is part of RFC 8294; see
> >      the RFC itself for full legal notices.";
> > 
> > But that is not correct.  Other module use this instead:
> > 
> >      The initial version of this YANG module is part of RFC 7224;
> >      see the RFC itself for full legal notices.";
> > 
> > I think 8407bis should recommend that IANA-maintained modules use this
> > wording instead.
> > 
> 
> [Med] Good point. Made this change so far: 
> 
> OLD:
>    For both cases, the document that defines an IANA-maintained module
>    MUST include a note indicating that the document is only documenting
>    the initial version of the module and that the authoritative version
>    is to be retrieved from the IANA registry.
> 
> NEW:
>    For both cases, the document that defines an IANA-maintained module
>    MUST include a note indicating that the document is only documenting
>    the initial version of the module and that the authoritative version
>    is to be retrieved from the IANA registry. Also, the IANA-maintained 
>    module MUST include the following note indicating the RFC that 
>    registered the initial version of the IANA- maintained module:
> 
>       The initial version of this YANG module is part of RFC IIII;
>       see the RFC itself for full legal notices.
> 
> The full change can be see here: https://github.com/boucadair/rfc8407bis/pull/32/files

Ok.  Perhaps we should include an explicit template for
IANA-maintained modules in an appendix, just like we do with
IETF-modules in appendix B?


/martin