Re: [yang-doctors] [IANA #1289473] Revision statements in IANA-maintained YANG modules

Mahesh Jethanandani <mjethanandani@gmail.com> Sat, 09 March 2024 01:12 UTC

Return-Path: <mjethanandani@gmail.com>
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 E3DE1C14F713 for <yang-doctors@ietfa.amsl.com>; Fri, 8 Mar 2024 17:12:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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=gmail.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 IgpXDx1bIiVD for <yang-doctors@ietfa.amsl.com>; Fri, 8 Mar 2024 17:12:32 -0800 (PST)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4B1E2C14F712 for <yang-doctors@ietf.org>; Fri, 8 Mar 2024 17:12:32 -0800 (PST)
Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6e66a3d492fso1475088b3a.2 for <yang-doctors@ietf.org>; Fri, 08 Mar 2024 17:12:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709946751; x=1710551551; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=KEF1/q32gmfTW415Zf/5K0bpNufsOUyI1egedsIh1g8=; b=RCwVomJkymKm7x9oWZ5Yy6EzcMOQ5ZBauguix37wi1G3chc0IhZeSyN51pWk9Aptfc XXy4CFG2doDhyXuToCrRiz5ZfkkdXyjAksarOT6lHNmlGsRcxM4rzEHC/3g+MoHoXTT/ VswMEbw+Yx+LQkZyURJ9AMBUaoyPBFy2F8rNFKm7BFBsYQrJ6Itz+MqaMDs028RfHR5K SfNgJzLiFRSB3oMX4CI0Ud/3RzGYUCkkHNvan46KeAdqYRND2wZa34MBNQHZBHHF9u3B tvBCEN2YO4NfzUZ8gSih7NY6acmxuaGOD9ohtMby8xB/Hx9yA8AzXnHB4HdumwnZKKwR xBAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709946751; x=1710551551; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KEF1/q32gmfTW415Zf/5K0bpNufsOUyI1egedsIh1g8=; b=bpXVD5nkLALHFRjcm7RslINfMajCqQpItJGi3CApyBQSm8vUmRwdWVpO5Bfrpy4ekA P17/yMhOky/q/mF0axsn6PmpEAKXBripZwo1EPrQv+tmt/Mq1bzlOFobJnEmCLf4BE62 X1guPLH+x/csWKftnwdNK0ZQBGkvCARyCr5oWlsvkvM3begufUrtgfRLxQyn1ekDxQ9X 5u1Pvq7Dr6Thu4P9vD2aJWvWKTicIPRrsYDhqfeJnTJUeXcpvYsm5zEmWzujULI3S3lk XW18MD1U2qSUw0rCfoPsjYDfy/Fpezs1czKO/DniT1ls1DFRJ/QTbSTpl2sF+7WOCzzh zL9w==
X-Gm-Message-State: AOJu0YyRoD4Bn18UVRsylFjzlciTPsSKYvevCgK/IO3PEPqZYZxkFKIL 0OFzuquTuI59tJ8kr2VuvfW9r9fjqnTgmEfbp9Yb97+k7jkkkTkfvBQFta0gVq8=
X-Google-Smtp-Source: AGHT+IG7ep8ByfqT/mLASaMOx9ug58efMYpnrIl2ir4KzCHQfID101Tkleszs8ez7V5tBzFmvEbzBA==
X-Received: by 2002:a05:6a00:870a:b0:6e6:7aae:4b4e with SMTP id hj10-20020a056a00870a00b006e67aae4b4emr193015pfb.8.1709946750512; Fri, 08 Mar 2024 17:12:30 -0800 (PST)
Received: from smtpclient.apple (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id a14-20020a62d40e000000b006e6629e6a76sm315251pfh.137.2024.03.08.17.12.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2024 17:12:29 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <AA51BCB6-EE65-4349-B1C5-85353BAAE657@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_954E545C-6D99-485D-99D1-72C833AA1F73"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\))
Date: Fri, 08 Mar 2024 17:12:27 -0800
In-Reply-To: <rt-5.0.3-939729-1709923874-1278.1289473-37-0@icann.org>
Cc: iana-issues@iana.org
To: YANG Doctors <yang-doctors@ietf.org>
References: <RT-Ticket-1289473@icann.org> <rt-5.0.3-866735-1709871684-909.1289473-37-0@icann.org> <0100018e1e0366b7-31bae558-303e-470d-b510-98401e63ea9c-000000@email.amazonses.com> <rt-5.0.3-914242-1709900546-350.1289473-37-0@icann.org> <rt-5.0.3-939729-1709923874-1278.1289473-37-0@icann.org>
X-Mailer: Apple Mail (2.3696.120.41.1.8)
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/ts9hGZyK9r6TF3Sevquo7PkhBls>
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: Sat, 09 Mar 2024 01:12:36 -0000

Hi Amanda, please wait on further instructions before implementing anything new at this time.

I went back to the thread that Amanda started in November, and here is a summary of discussion we have had. Cutting and pasting some of the text from earlier threads as needed.

1. When an IANA module is first published on IANA’s web site, the IANA module is copied as-is from the RFC to form the original version. Subsequent updates, should result in:

1a. Adding a “revision” statement at the top level that contains a “description" statement as discussed in 2.
1b. Addition of a “reference” statement in the same “revision” statement as discussed in 3.
1c. The description of the module should be updated from:

    This version of this YANG module is part of RFC XXXX; see
    the RFC itself for full legal notices.”;

     to say:

    This original version of this YANG module is part of RFC XXXX; see
    the RFC itself for full legal notices.";

2. IANA will ask the requestor to provide a “description” statement to be inserted as part of the update to the “revision” statement. That “description" statement may or may not include a RFC number.

3. Cutting and pasting Martin’s response here.

>  RFC 8407 currently says:
> 
>   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.
> 

[My own addition] In the case there is an RFC that updates the IANA module, that RFC should be used in the “reference" statement.

> 
> In this case, there really isn't any "published document" - the module
> is published directly on the web.  One option could be to add the URL
> to the module in "reference".  The motivation for the rule is:
> 
>   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.
> 
> So the URL would help for this.

In light of the fact what Amanda stated, that the IANA ticket system is not visible to outsiders, it makes sense to go with Martin’s proposal. Does anyone strongly disagree. In other words. 

Is it agreed that if IANA registers a codepoint in a First Come First Served or Expert Review range, and there is no associated specification, IANA will list a URL in the reference statement. It would for example use https://www.iana.org/assignments/yang-parameters/iana-dns-class-rr-type@2023-11-08.yang <https://www.iana.org/assignments/yang-parameters/iana-dns-class-rr-type@2023-11-08.yang>.

If agreed, we will ask Med to update 8407bis to reflect this.

Thanks.


> On Mar 8, 2024, at 10:51 AM, Amanda Baber via RT <iana-issues@iana.org> wrote:
> 
> Hi Kent,
> 
> Sorry, I didn't make this clear: tickets (and the IANA github) aren't public. They require an IANA login. That's why, if you want to use the ticket number, I was suggesting something like
> 
> reference
> [IANA #123456]: iana@iana.org
> 
> instead of 
> 
> reference:
> https://iana.org/tickets/123456 [not the actual link]
> 
> That way someone could contact us and refer to ticket 123456, which we could then use to find the ticket quickly. 
> 
> It should be noted, though, that in addition to not giving the requester direct access, all this does for IANA is save a minute or two. We can also search the ticket system for the name of the registration or the date it was completed, or we can look at the commit message for the file that was created on that date.
> 
>> From our perspective, it might be more useful to link to, e.g., https://www.iana.org/assignments/address-family-numbers for an Address Family Number registration, which would allow the reader to find the contact information for John Smith directly via the registration's reference field. 
> 
>> It was my assumption that all existing registrations would be
>> grandfathered together under a single top-level “revision” statement,
>> pointing to the RFC that created the IANA-defined YANG module (e.g.,
>> my two drafts going thru the IESG right now).
> 
> That's our understanding as well.
> 
>> What we’re discussing here/now is how IANA sets the top-level
>> “revision” statement for all subsequent updates to the YANG module,
>> made by IANA.
> 
> That's our understanding too.
> 
>>> 2) If we use the submitter's description, would it be useful for us
>>> to automatically prepend something like "Added value 47."?
>> 
>> Yes.  In general, it would be helpful towards making the top-level
>> “revision” statement’s “description” better at explaining *why* the
>> module was updated, to include whatever tid-bits of information
>> possible.
>> 
>> That said, I suggest using discretion, as sometimes it may be
>> overwhelming to list out, e.g., a family of updates, in which case, it
>> might be better for the description to refer to the family as a whole.
>> 
> <snip>
>> 
>>> 4) For the submitter-provided description, could a document like
>>> 8407bis provide examples in this style that we can refer Expert
>>> Review/FCFS requesters to? If not, would it be possible to provide
>>> something for our internal records? At the moment I'm not sure we
>>> have any particularly verbose ones (outside of the initial
>>> revisions).
>>> 
>>> Or would this just be the description that we entered in the
>>> registry's name/description field?
>> 
>> We’re possibly overthinking this  :/
> 
> I'm asking for examples because applicants (for various types of registrations) don't always know what kind of answers they're expected to provide. In this case, we wouldn't be able to tell them, and would have to put the registration on hold while we asked the YANG doctors.
> 
>> For updates to the underlying registry that did NOT come from a
>> normative document, no user-supplied description is needed.  The
>> important thing to capture is:
>> 
>> 1) *why* is the module being updated
>>       - this is in the “description” statement
>> 
>> 2) *where* is the proof that the *why* occurred
>>      - this is in the “revision” statement
> 
> If descriptions need to be captured for some revision statements and not for others, and this can't be recorded in an RFC (as in 8407bis or a similar document rather than a document that creates a specific module), we need clear instructions from the group. 
> 
> IANA maintains more than 3000 registries, and won't always have the same staff working in the IETF area, so special instructions need to be recorded, if only in our internal wiki. If the instructions are coming informally, from correspondence, we'd also like them to be validated by the AD on the list.
> 
>> We may wish to  have a meeting, but maybe the following will make
>> sense.  Let me expand on the why/where from above:
>> 
>> 1) *why* is the module being updated
>>       - this is in the “description” statement
>>       - the description statement SHOULD contain an identifier of
>> some sort.  E.g., an RFC number, an IANA-ticket number, etc.
> 
> Does the RFC number belong in both the description field and the reference field?
> 
> thanks,
> Amanda
> 
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors


Mahesh Jethanandani
mjethanandani@gmail.com