Re: [netconf] IANA templates for algorithms

Kent Watsen <kent+ietf@watsen.net> Wed, 19 February 2020 11:59 UTC

Return-Path: <010001705d5105d1-87b474be-6b84-4a22-8a7f-2629923661c3-000000@amazonses.watsen.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CD0A12011F for <netconf@ietfa.amsl.com>; Wed, 19 Feb 2020 03:59:19 -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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ueMsdD2fx1OB for <netconf@ietfa.amsl.com>; Wed, 19 Feb 2020 03:59:17 -0800 (PST)
Received: from a8-31.smtp-out.amazonses.com (a8-31.smtp-out.amazonses.com [54.240.8.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9693E12011C for <netconf@ietf.org>; Wed, 19 Feb 2020 03:59:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1582113556; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:Feedback-ID; bh=m93gbKe0ceLHTD+uYt64bAO9SHEuT6qYY0tpXHex2BE=; b=S0V9ZJFONUQxLROT3R7Q9hj/umpadwp018bG33V+Nbv3rnpLF1rQclgFOCCB13IQ PHVVHE5i87EDbP8OTcR/7KoPpA/xCe6/8Bkl1jbUa1AEnFffykK5at4imrldYHZYdTx c4R+qAQpaFLeaCnwdRkQAsFC1vlFmXHUWUA/zjZc=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Kent Watsen <kent+ietf@watsen.net>
In-Reply-To: <87h7znvtvg.fsf@nic.cz>
Date: Wed, 19 Feb 2020 11:59:16 +0000
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-ID: <010001705d5105d1-87b474be-6b84-4a22-8a7f-2629923661c3-000000@email.amazonses.com>
References: <010001705ad1e8a3-891d7081-80c2-4a0d-857e-f6242b1a8793-000000@email.amazonses.com> <87h7znvtvg.fsf@nic.cz>
To: Ladislav Lhotka <lhotka@nic.cz>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2020.02.19-54.240.8.31
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/XIcQjr9CrzK-bUyj6ZeDLpLZ3tI>
Subject: Re: [netconf] IANA templates for algorithms
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Feb 2020 11:59:19 -0000

Hi Lada,

> Strictly speaking, the XSLT stylesheet is still intended only for producing the initial revision of the module.

Apparently  my expectations got ahead of me.


> Re-running the stylesheet on a later revision of the registry would essentially work, only the revision history would be lost. I don't see any easy workaround to this.

Perhaps pass the YIN of the “current” YANG module into the XSLT script too?


> It is up to IANA (we can help them) to decide whether the YANG module will be updated as before, e.g. by manually adding new enums, identities etc., or whether they use the stylesheet and then manually edit the revision history.

But it’s still a manual YANG-editor level effort, which is new (I assume) to IANA.


> Maybe it would be useful to write an informational RFC suggesting a workflow for these cases.

Don’t think that there is a patten just yet.  Your draft’s use XSLT to create the initial revision makes sense only in that the registry already exists and new registrations may occur while your draft is being published.  

In crypto-type's case, the intention is to create a brand new registry/YANG-module, so we could just as easily put the initial YANG module into the draft, negating the need for IANA to run `xsltproc` at all.

If IANA doesn’t run XSLT for subsequent updates, I think that we (NETCONF) need to question if a registry is even needed.   The motives behind defining a registry are 1) to accommodate IANA and 2) to make it seem more official/interesting to the Sec folks (since “YANG” appears to be uncool/taboo?).  But if IANA is okay editing the YANG, and the Sec folks are still uninterested, then we could skip creating the registry altogether.

That said, I feel that creating a, e.g., “base algorithms” registry is best, as it allows for potential future/other use cases, and I’m hopeful/optimistic that we can get the Sec folks onboard.


Kent // contributor