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

tom petch <ietfc@btconnect.com> Thu, 21 December 2023 17:13 UTC

Return-Path: <ietfc@btconnect.com>
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 333A2C239601 for <netmod@ietfa.amsl.com>; Thu, 21 Dec 2023 09:13:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (1024-bit key) header.d=btconnect.onmicrosoft.com
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 AcQ9u7QaSVgw for <netmod@ietfa.amsl.com>; Thu, 21 Dec 2023 09:13:29 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2104.outbound.protection.outlook.com [40.107.21.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 63312C14CE40 for <netmod@ietf.org>; Thu, 21 Dec 2023 09:13:29 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P6KCeWEv/S/17pkHMlRVB708iw6BmkGmYunvQSJ2HqsIoypbSJELPxmg/j/1NpI0+JSF3Vw8c78Mzn8yirsaoxPxVCAI+utBDwQDoow8so7It63+GWcESgdNm8pj8WbZiOB/lRBlOniFEtzVzSn0qjuCx2zr9n5i3sZ1cMM0mwqA/tQWt2PYbH2DOi1MDPk+uFSM6TrvkvV+xhD4KgwtzK5sZmnBM2se5qKn+ejDv7EBazCzSVExCxho1xCjdK318x9NcomPuwHkufetjXp8TmAqAL/Hakyj5bU4fceOkOgGalx3tpAEmoMzdHlTYAu3KoSl04196N9yn69rP6cGag==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=NkjnKQUHMObMs5SSIcdZVt6ejduye3khEzAqfpEkBXM=; b=EFEaHkE4XwAliVMZ5gXxtiqS9taI2GLODLd0iY3yHJ1qaswnoIeV4tFvK2Akw85cNDFh/LoiEZ/0pyQqOZCM9TUzG0pvoTKeo3Qm0ZVcgpptHEfwKQsLqYyFeWGDjiSsm3l1KI2To7rOZWnzW60rYFsqLpqohJM+sInTY3dvlBFswghn6SxncgLwjTEgZ8bnMQJQA07SyqwdbP005PzuEX8dIXevqILJafw5oW9jcfGAUIg1jMBT4IvrL+FQ6uK8E1uM6rnewmr9TXvsHJmGXlV22+cx8LWRmKt2fAaNS2NNEql/SmHNVl6c0qbJz9ZCNgmwEjwczporaGHp4oyH6Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NkjnKQUHMObMs5SSIcdZVt6ejduye3khEzAqfpEkBXM=; b=OkMWIHI2o+NTaOh1CHbVdzNsEyKUeOfn47fD38Yqp3TvdVgELARZsB+czrwFMH5fOtv6dJ92aRBn6I5UDidWw1MCElzAHoc4tnxJk7NEL5m3n6kzRGj9TZk31vrVLfscaUthWdxnMAUocBmPOmbEPOLODGjxq/GHml7vrNDR16I=
Received: from VI1PR07MB3181.eurprd07.prod.outlook.com (2603:10a6:802:1c::30) by DB9PR07MB10049.eurprd07.prod.outlook.com (2603:10a6:10:4c7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.40; Thu, 21 Dec 2023 17:13:26 +0000
Received: from VI1PR07MB3181.eurprd07.prod.outlook.com ([fe80::ba93:9e28:1e8f:faa8]) by VI1PR07MB3181.eurprd07.prod.outlook.com ([fe80::ba93:9e28:1e8f:faa8%2]) with mapi id 15.20.7113.016; Thu, 21 Dec 2023 17:13:26 +0000
From: tom petch <ietfc@btconnect.com>
To: Ladislav Lhotka <ladislav.lhotka=40nic.cz@dmarc.ietf.org>, Martin Björklund <mbj+ietf@4668.se>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: reference reference wasRe: [netmod] New guidelines for IANA in draft-ietf-netmod-rfc8407bis
Thread-Index: AQHaKScmwj9u/dHQaki4YEILRVOojrCfV4CAgBS2iV0=
Date: Thu, 21 Dec 2023 17:13:26 +0000
Message-ID: <VI1PR07MB3181885D5A2F8E005F3318E9A095A@VI1PR07MB3181.eurprd07.prod.outlook.com>
References: <20231207.170451.2186357392151798883.id@4668.se> <87jzpox3k8.fsf@nic.cz>
In-Reply-To: <87jzpox3k8.fsf@nic.cz>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: VI1PR07MB3181:EE_|DB9PR07MB10049:EE_
x-ms-office365-filtering-correlation-id: 9e5c41f8-8a2d-4041-e3cf-08dc02482513
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: htdNOfRlP7BlsU988V1mDbWoJI5e1NF1GCXxymSFRCOAO/WKMU3lAedCJMNGGGobwNV449FWKBHmeMqw+ITZAq/cMaCw2HVO+GT4LG/3op1Rgsf2XTciWmKNyqPnWbC32pvOLsOoFNl+Z7LMrFfU2NnpBgD/aZiFyciCgfJqxI/Jw1wx00iPvKS70Hmx1Xj6uwkCjV8OssRAY+VoII9/JZr77qEdCvHMDbyT/1Fx071JFMEf6P/w1vgKvxVvQasL1Qu611xAh13mlEhh7b0jBrOpL4mjKPtVZmrFolGbMwj5CNUvxY/H/ZIXvGm1VoEZSFiQThaaA7id+bhgwrhCUYAHjNG9IXwVF1sKaZo51t+WDtIEqgvQKHNq4QOs1wR0djhBR16PyPZNQTBO6HP5xVlOgJge4bvCQBORH7nWjBGbsOafYFbAjNwyqbLmm5llTn0wpM2QxALpH0W8ftNF/8Yzk1O8u0xEU6tbwyoJ+0NZ8tZx+SlfzNy5Sh/0ps9mrkVZN5ROiaTJSkPyAkSDb1C/dFKH3A1NN7S2q4j3Kz05XNih7e9PTvpOFng0+g3ZJviQiXqqOiOfzKuuFy+lPlnh7vF6pogAEvyI3CeuozC+pJvq+Td+4qm7WpjKGotWBagCbp3l0tk1MGVS7E4eOg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB3181.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(346002)(376002)(396003)(39860400002)(136003)(366004)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(122000001)(6506007)(86362001)(71200400001)(33656002)(7696005)(82960400001)(9686003)(2906002)(966005)(38070700009)(478600001)(41300700001)(5660300002)(38100700002)(66574015)(26005)(83380400001)(52536014)(110136005)(66946007)(66446008)(66476007)(64756008)(55016003)(8676002)(316002)(8936002)(66556008)(91956017)(76116006); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 7YByUfHbrVYmJR4DskYtkr14S1jiV0oCDO4F7tL+tySH1F8x+F+44KBimO89Mn/b6O3w5wJKmVsSfv1YyPrHhENy8E763m1cOn8OhwiouIcH7oN7KDYHDTEJ0xuvicphGx+jZlhee9Dc837Ar1WvjEKVN5tuhcKC41FU1wNQTCTYYJWXgyz84bUT8z3kznuKZD5bHziPxkOP7NlixpKEKmB4qAVa0O241dWcXuRXD/Mvo1ItithcAZVxqX0+6w+edaAy9VUy80co/hMLAGn5EB5wBEEYg7KWBYeYQlQHcwjC/SbI2qanLLX8CzI2kgwr6X5PQ90MVZoSSmmxykjFRB/jJnnvyjqwJOIaKdhoXbz1L2KXvhcsk2IS0VJopcFIzzT4YZPyFmiSz3VHHNLYVXKYfMFKRxwNvozDSvgP37yzp18sQyJKXyW3ApKPvTrP2HXLkLYirjqsHgxkjLqs3QoSvUbl2Cy+VUbuCocunnRB7Klotv6a72FKdYOKJIvJ9IUkBPR7ef1T1scI5TQ/MtbTEKwbJ95XnZF36CJdmp+fV6pXpru0FCCcZ64xSLb6sLpD8g9Qz7IgEe47gI8E53MQ2Q48i9pteBu/2MAPXP4P3ZGdHIMBYDgDbWBCOvV/po4WAG8VHiQuL2273gMl6BkjBnXqYh4UpU1Zv+4MzwtFsOP1wuFG69/Y5HM7nPGQRg7id6I0lj/22JfVp+978JQz1Xjx8pqtv1QZjn+PsYH7qEVFELYGinnYA5DUSPPpOhHNM7oqOxq9wrXvjD5ojCEeRsM3a7nTiWzOXU3v7+9osVMr15dpOONnJJISAkD4+GrXybWbOcy4wDPyp+vlSAnHhghkAlY/itw7MSrO6fm225/+Sk7x//BT3l5SkNlBhP4Hps44i+hQIVp1qrcin6crQdc6h1gyPInYOG//8mwRa/p2Hk0pCA5kkCIs/2bst+O8sZrm9ryygDooy1Y94bp6TmNRfc0qDT5RHm5J981As47AliObeotKQNbDUD+pmQTTfY06aLzZSNvqv/5CvcQP2LPmaFioOB7yIewqDGuEtDTe7/X680HAqqAD6Yua1TLpKZDOaPptmnsvPTWrsArwAlMe/nTAqFeXjL4b5dsmUTtdjFXu5kgVuAbxL8qDKE0eFwelG2uS7QuQJb1olzSkQESJ+nD1Bw+7Tv6Ti+N91Plr/4ZQBkFeu+O7+fwusiE+rPO+5qQGadKCFUQode02Xa1Tpx1cTWW/TFqUMbDzaeRJOkyMxZDnD6WtpNzy3NZnYfxlrGRLh+vAmcZ1DeTKHjHP1B/HO6OmGiPgpl9cgHgg+LcgfYUPDMmBkI5H+tRRIXiTDRWVIhyDPB1IUCyGAi8ygkOf4GVSwpsMtRqEBDNIGJfbt2E9+Lple1vP/SMmHr4a+1d9d2Fy4fWrLYAFL7ksDEHmImfUIFbTmnN/eVBqYhv/FXmb4eBQkuPOAC+TgxIAOv7Frp3qJ139MA1h024AmZfLY8Vf3tpQmExOT3mDW6V3J5ZMmgXEq4jdpra8c0BmcPmQDaZeu0bT8NB27T5A7wCro3wPKwnuJIw=
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: VI1PR07MB3181.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9e5c41f8-8a2d-4041-e3cf-08dc02482513
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Dec 2023 17:13:26.2648 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ZhbkX0CHQifh6I4rXYNDTp30nX4RZHHwWfm4gy0OgZtT6iQMieLWO4cySRXT+YCCJhOIspOPxxNNa2c5rdU2zA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR07MB10049
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/hHRlP0Rrkftk91DNAt7h_V4BU88>
Subject: [netmod] reference reference wasRe: 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: Thu, 21 Dec 2023 17:13:33 -0000

From: netmod <netmod-bounces@ietf.org> on behalf of Ladislav Lhotka <ladislav.lhotka=40nic.cz@dmarc.ietf.org>
Sent: 08 December 2023 12:48

Martin Björklund <mbj+ietf@4668.se> writes:

> 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)

I think it would be sufficient to have SHOULD instead of MUST here. Other cases apart from IANA modules may arise where it makes no sense to attach reference to every single revision. And adding dummy references just to satisfy tools is actually harmful.

On the other hand, I assume YANG doctors would object if a reference isn't provided where it is appropriate and no sound reason is given.

<tp>

This thread reminds me of a curiosity I have seen a number of times where the structure of a YANG module is

 module
   ...
   description
    "...
   reference
   " RFC xxxx"
   revision
     description
     reference
....
I see it in e.g. draft-ietf-i s is-yang
but in other I-D too and wonder what the first reference clause is up to.

Tom Petch

Lada

>
> 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://www.iana.org/assignments/yang-parameters/iana-dns-class-rr-type@2023-11-08.yang,
> 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://www.iana.org/assignments/yang-parameters/iana-dns-class-rr-type@2023-11-08.yang).
>
> 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.,
> https://www.iana.org/assignments/yang-parameters/iana-foo@2023-11-08.yang)
>
>
>
>
> Further, some IANA modules use the IETF template for the module's
> "description", see e.g.,
> https://www.iana.org/assignments/yang-parameters/iana-routing-types@2022-08-19.yang.
> 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.
>
>
>
> /martin
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

--
Ladislav Lhotka, CZ.NIC
PGP Key ID: 0xB8F92B08A9F76C67

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod