Re: [CCAMP] [netmod] What to reference when importing an IANA module?

tom petch <ietfc@btconnect.com> Fri, 13 January 2023 12:45 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B9C6FC16FE57; Fri, 13 Jan 2023 04:45:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, 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 (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 n4_FcduGpsTS; Fri, 13 Jan 2023 04:45:47 -0800 (PST)
Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2135.outbound.protection.outlook.com [40.107.249.135]) (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 68FD3C15C526; Fri, 13 Jan 2023 04:45:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SplXRYCB6mQTXhNL/pKpcy10m6ChsOeyOMYiCRQMCvEsZ46iuOYyV4UZuGyIf1ZIgTrUF5V2uCsKlC8gbc9KrnhIzKJx2jvGAt38vWeUUw9GO4BdTKgRNGCJw74wl/bQQj6cAEHzD2PrSX5l+7F3w+Wapv8KNU03InvFmtWEaSQIWXjC8a0ESq94uhDjxnxFJPZIEmjSDXzW2SzE53oPnl/s22zopkWpO70KB1zbhzFDV36gYuixztIDfQA+bbJh/nBnE4sL1kFpMmUm2k5ExyL1yAxqvwEB2Z34T6lVsbStVC5w44BPSicELaJneS+5xt0VJ4PUrPYY2OoBKAP63w==
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=3KMMHhpg4xtaGtxZ2GDmJ+gAdbPfazShuT6+sr4b4a4=; b=Bykk+54ycPN0I0cJCmW/MBXduIMayS8aEc5a5s0uTjIS4S6Jezqwt3KbGJ0tEbvjKLDGPGsZuf851AlimSQSwcnRqPqR28xKiOhxXSq3CutJ0EEB6X+o0ZJRtqvD+gmMy3Xhi4twGBrPKimrPLtwrTkT6U4og/6hSDfiV/FJbJfW891PGQOCkqM5QUiDZT2QVcOgppTMcuc4cQby9t/TJxXJJeN3OuL1UuMPH5M+C/3wtLSPMu+hpAGPE3oNOiE1kL4kuO4F4qEyQEdGKP8EQpVnr+zQcrcWm5Seqlun/EGDaPn2Z5kfx/7jImRsMNIpUO8m17wyX73Gwj5KlCActA==
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=3KMMHhpg4xtaGtxZ2GDmJ+gAdbPfazShuT6+sr4b4a4=; b=wI9f2CYTIjWUGNx0JBtSIefaKqUfLPo+rgYrvpYUpd/0GYKFZXljScZp3uOwIlquOul5TlpipGK4SuzEqywcqMquCGpL11Bx05XPR5FMzHcLzWC02M3UeZlmDogcN9YjG6EXiNjofDRck45m6maHKYYqnbL9R4hzh7FGO4GH4fg=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by PR3PR07MB6585.eurprd07.prod.outlook.com (2603:10a6:102:61::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.12; Fri, 13 Jan 2023 12:45:43 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::86cd:e36d:9333:8537]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::86cd:e36d:9333:8537%4]) with mapi id 15.20.5986.019; Fri, 13 Jan 2023 12:45:43 +0000
From: tom petch <ietfc@btconnect.com>
To: Benoit Claise <benoit.claise@huawei.com>, Italo Busi <Italo.Busi@huawei.com>, "netmod@ietf.org" <netmod@ietf.org>
CC: "ccamp@ietf.org" <ccamp@ietf.org>
Thread-Topic: [netmod] What to reference when importing an IANA module?
Thread-Index: Adkmfno43JPdXxpTR261Pa5dN8ObDAAFgekAAAQP/ewAAMZMAAApELq0
Date: Fri, 13 Jan 2023 12:45:43 +0000
Message-ID: <AM7PR07MB6248DE5396AC76C0101B233BA0C29@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <900fcde63e90473b8424658bc7095818@huawei.com> <ede7a11a-bc66-26a5-f33a-83b15fc61fde@huawei.com> <AM7PR07MB624874275BBD327AEB38C004A0FD9@AM7PR07MB6248.eurprd07.prod.outlook.com> <ab763386-7668-39a7-a080-1bc202eb992e@huawei.com>
In-Reply-To: <ab763386-7668-39a7-a080-1bc202eb992e@huawei.com>
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: AM7PR07MB6248:EE_|PR3PR07MB6585:EE_
x-ms-office365-filtering-correlation-id: e7588f54-ce4e-4647-5535-08daf56415de
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: q0dcl+h5sF2MvhkiCG0/HljDlEfv0Shg7b6m+vIX1hQFnBU53Cr11iWlbQSpLbmsW2SXb7JyV9Wy6Pr7V9tg8hoI/yYNVyymncNpfUvRRJUevbwZG9pcPowfSzSLHk2qGhv4bQ1T0cx8OjvSj59pADl/laNFltPdqM+j2jZYFk2+Sm6RFjbmjYIZ8sLqihmPjiJzEh6eBUWnhfK9EJHddDo0Kqxv/ktn9Uw7f7kIgV+Q8ydAB7CX1Ro8/jF7dQsaIsbxrMWMBhflk1euZt1EKX/rrHS1Yw06d2CeYcwKfiCFLersn9ZuD5IHuSHlcWB9T1goQuEJfq41TNT4zKtEJo2LJN5KY8wsWPXAMKQX4rGdBpmVl1fymF44l1xbGjalYjYpW43ItoOaxBWAsm4Q5Iw5ktGqnskZCyjIoUY1CmT5LyeTpsUDfPiFPtmPKWrZqiXx7/NIVdrkVenLM+ZAmSQu/LUewTh3XTOXxV1lUHgn99PArB0dHpqNICDkcLCOvoWSiyypncegpq+L7D2Z8HlCMO2r80fZjKKsv8bDrvxKtEB//qX+VETpEI3GY30P67uHdGqVGf/sBQtK2jBvuj1RPkULsXzTrWQoX+9XJ/sXyuBwvRzxZ66etO9v+OmrPQH4Y/VxmgFuXIC6i20I7aCgk6SJj2Hu+9E9MIeqaJDeT4zIWjQ5GQsyhOC2XsQKgr0EVkI2io6cA9sXkjIby2D+0gnKyptk/c24m/HxFHge4ar6+z6kwGOxMKI9NbhZd0pMkTnb6ksczqX2McG5MA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(376002)(346002)(136003)(396003)(39860400002)(451199015)(26005)(966005)(7696005)(478600001)(71200400001)(76116006)(91956017)(53546011)(186003)(316002)(110136005)(9686003)(8676002)(4326008)(66946007)(66446008)(66556008)(66476007)(41300700001)(6506007)(64756008)(52536014)(83380400001)(2906002)(8936002)(5660300002)(82960400001)(38100700002)(38070700005)(33656002)(122000001)(86362001)(55016003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: pRHwWV7SCAvadPdRpNMBAkiyws8ewjOanStU5/iihk/Ux0dzjCvp74E0sEREI3RM6zmqgfQcIHy066UdQL6T/vSw6iN12F7F0RSnn/DxFFVMdL271zd259eWcQZjhPqHlU2rwC+xECSozGLP/CgpnzNodvf5Gwvj3HLoxB7EydfLk6zPVspKjPRxmA6wP8gB34RPxFp094W+1WrfttuvtZMrx6U2RtNHSe4O623Oh0B/WprHnjfyujNfCu58+A3ufA8Ti/cqrNomG+4m/00u8sUAXHy6ouc1TvQ+xstk+vfmTvJD7IVuO9NceyVu4wN9Rbruh+zxHmK6blrEdUmhJ7JEgXzzIULn/w3++D7bBFynuSdm7yXq4eyS9N8x8nziLi17DXamxTBxuSRQkSTIZ6c/VxlWIelm09wEkIVqXw7UVRHu64n73Cex9DZSmXXkcuE3ZnOOysS0kdh54sgMTS+oVA5TkqevE2FPLgo0PNyttNftWHQdjpoLSHQrPIVfEbgB8Phvw//Z3Ge1G9KIu2ubhCWQpDJ77Tt+iMTyYoE974fCrDnlsgDpu0S+1e3o03s2A8mPT18oP0q0R8gX1LHqwf9oO1l9U+tGDtoTYj8b1JfMusLXxYOQVXWrb72sYGP9X+z0ZrwniDK56EjsZQC6+s1usGZhxYljQ2yTbSxW1zQ6vb1EG8+tWO8DkcX2s2Ry303YX+doGtx8XiVXRTEC6WEK7y8iVOEhlZfpA/IHCIHTj1h6J9gA349DkaAZLdOiciUrWoEHoccC1gcCAfwmApKWH3g4CB9NzUCpZiQZUGy8yaOZMKFQUI7qscCwT719d5lO0BXM7Nds/2tSwyqZXf9XhUnmk4rgEpIH/vuZBNSrq8xHiEOR2f+33OesLcNw4hc8E6DS6tRXazm2Y5MjMvUVshUapG6q5F9H5mMVV7Zm5/GREDX0eftsWozs3m6qk58ZVQkMCf5t9RD6vwQyBthGXDLMT0hi4eZQCqRPRYgWQ5LgQJRDF/hieiEtUDJ6QpMNK7bPJ/OfcFd8chPJEf2KdjH2kmOq/PnLofh3TYF+MwA4BwoZaqvLdOeI4utIS0Pr09U5bU6axJCDKVKgv6cgwVrAGtk7Orvexjn9KFZquC8tAlAmS/pZeaN2PzfNzcZrQn/YcVLFT5PbQ7I2U2qRX7uy3sdBFWPui0RtPVBz+az6NiIClrGnM6iZKvy7hWzVbynJRr1WohnRSRJIBqar9Ar+xMRXOsAWQ7yHMUBKhi0Fdek8zooASbtlRBCKK/U4vnTuDlewC50bgAhSwzAtEO4qEH2WbFutqK4FNvYH+xrjLlQ4RcVxRGAcHkrchm4COtINEOcrqHLnAMraY+OKl2QKoCeicssLjaUMLiFbH2OpwV0yHUAISaUFyoDTJ+bH7O6GA/v5+JyxFrBtjVcZ3gOJpKrX5hbS5WzBW/1I+g9jXBCy8pTCsyi+U/jHxTSt+biq2/Kz9hBs0wd930HQJchELVU4GbSF6ysTb2RKFAB8iYBSn6vDBy43NSlb/cbfDdaJExhnH7XVWV7qpw8SuhbxM5ykZLQVjUoEwmF5AhzM7mSFkaFmMQ5C
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: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e7588f54-ce4e-4647-5535-08daf56415de
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2023 12:45:43.8461 (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: EvfNCrUhQtST+hpaCQFLPrtgK4FhrglzsxC2kjoP5QH/8tKc9zkX9GLdmKYPvGqSKtNQiyhJhgcebp4LrMH4Cg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR07MB6585
Archived-At: <https://mailarchive.ietf.org/arch/msg/ccamp/DX6ziYOCO03Gkf2LVHP03e9XtIs>
Subject: Re: [CCAMP] [netmod] What to reference when importing an IANA module?
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jan 2023 12:45:51 -0000

From: Benoit Claise <benoit.claise@huawei.com>
Sent: 12 January 2023 17:03

Hi Tom,

On 1/12/2023 5:51 PM, tom petch wrote:
> From: netmod <netmod-bounces@ietf.org> on behalf of Benoit Claise <benoit.claise=40huawei.com@dmarc.ietf.org>
> Sent: 12 January 2023 14:45
>
> Dear all,
>
> >From the initial problem statement:
> During a WG adoption poll we have received a comment that the URL
> should be added in the reference statement when importing a YANG
> module maintained by IANA
> The important question to me is: is this reference text supposed to be read by a machine or a human?
> It seems to me that the answer is "a human". https://datatracker.ietf.org/doc/html/rfc6020#section-7.19.4
>
> If this is true, why do we care about having a URL in there?
>
> <tp>
> One of the requirements in the design of URL was that they could be easily used by humans, written on  a napkin and handed over from one human to another to be consumed later so URL are designed for human consumption.
>
> Also,  the version of the module in an RFC is obsolete as soon as the RFC is published because IANA has change control so including an RFC number is directing users to out-of-date information, misleading them.  A well-written RFC will make this point and direct the reader to the IANA website (but most RFC are not well written).  Often the aim of putting data into IANA is to make it more readily available to others outside the IETF process and while experts like you will know the caveats, others may think that a reference to e.g.
> X.690 is a reference to the current, latest version.  So, if you want to mislead such people, point users at the RFC.

Oh, because you conclude that, if we put a RFC number in the reference,
the community will (be stupid enough to) conclude that it has to extract
the YANG module from the RFC text directly ... as opposed to look for a
location where it's already store? IANA, yangcatalog.
Ok, if you think that this is really a problem...

<tp>

Yes I do think that people outside the IETF may be ignorant of the nuances of the way the IETF works and  may not realise that a URL to the IANA website must be used in preference to an RFC.  There is more to YANG modules than extracting the code from somewhere in order to incorporate it into something.  I have even seen RFC reference the obsolete list of possibilities  in the RFC that set up an IANA registry

Tom Petch
Regards, Benoit
>
> Tom Petch
>
> Regards, Benoit
>
> On 1/12/2023 1:20 PM, Italo Busi wrote:
> Hi all,
>
> Happy New Year
>
> During a WG adoption poll we have received a comment that the URL should be added in the reference statement when importing a YANG module maintained by IANA and we are not sure how to address this comment
>
> See: https://mailarchive.ietf.org/arch/msg/ccamp/zD6gAfEUlYJ4W3qQlz6Y_gfX5TY/
>
> I have checked RFC8407 but I have not found any guideline on what to reference when importing an IANA module
>
> I have checked a couple of examples I knew (RFC8343 and RFC8348) and noted that the IANA modules are imported with no reference
>
> I have also noted that within the IANA YANG model registry, the reference for the IANA modules is the RFC where the module has been initially defined:
>
> https://www.iana.org/assignments/yang-parameters/yang-parameters.xhtml
>
> What would be your suggestion?
>
> Are there any guidelines I have missed?
>
> Do you know if there are other examples of published RFCs importing an IANA module?
>
> Thanks in advance
>
> Italo
>
>
>
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org<mailto:netmod@ietf.org>
> https://www.ietf.org/mailman/listinfo/netmod
>
>
>