Re: [netmod] IANA registries and YANG
Ladislav Lhotka <lhotka@nic.cz> Tue, 19 November 2019 13:39 UTC
Return-Path: <lhotka@nic.cz>
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 7BDC8120922 for <netmod@ietfa.amsl.com>; Tue, 19 Nov 2019 05:39:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.997
X-Spam-Level:
X-Spam-Status: No, score=-6.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nic.cz
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 o9vwyGkF1lbr for <netmod@ietfa.amsl.com>; Tue, 19 Nov 2019 05:39:41 -0800 (PST)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 8634C120921 for <netmod@ietf.org>; Tue, 19 Nov 2019 05:39:40 -0800 (PST)
Received: from birdie (dhcp-9c3a.meeting.ietf.org [31.133.156.58]) by mail.nic.cz (Postfix) with ESMTPSA id 79B09140DC1; Tue, 19 Nov 2019 14:39:36 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1574170778; bh=xuBQB979u4r8GbyuXowFM2/mUQUC1I/AYZ9BdhmNclU=; h=From:To:Date; b=F40mtVtP9aiwhRyu37+AiUQZP8kzWy4vlskuSgc7avBLeGaYKEMk8DZxG4cMh+Gh+ 7XfoiOQw1y7zqJ6/F24x3MTGk3v6PQGl1phxD8RVbhdrv3I0kgzFFej8SJ9p0zPnM3 qp0FK03WRApykRipQUK+jZacZM8T2D6SKsf88SWU=
Message-ID: <2d543c876f4c6ba14a5c059fc15374dfd2b3041a.camel@nic.cz>
From: Ladislav Lhotka <lhotka@nic.cz>
To: tom petch <ietfc@btconnect.com>, Martin Bjorklund <mbj@tail-f.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Date: Tue, 19 Nov 2019 21:39:32 +0800
In-Reply-To: <06a001d59ecf$2fb04e00$4001a8c0@gateway.2wire.net>
References: <87pnhonpor.fsf@nic.cz> <20191119.111719.159939836067629500.mbj@tail-f.com> <73f815fa5b762de04c798698747c62225f212520.camel@nic.cz> <06a001d59ecf$2fb04e00$4001a8c0@gateway.2wire.net>
Organization: CZ.NIC
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.1
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: clamav-milter 0.100.3 at mail.nic.cz
X-Virus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/rz2xqycqaVjeoTQ8Np58dg2SSks>
Subject: Re: [netmod] IANA registries and YANG
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 19 Nov 2019 13:39:45 -0000
On Tue, 2019-11-19 at 11:48 +0000, tom petch wrote: > ----- Original Message ----- > From: "Ladislav Lhotka" <lhotka@nic.cz> > To: "Martin Bjorklund" <mbj@tail-f.com> > Cc: <netmod@ietf.org> > Sent: Tuesday, November 19, 2019 10:29 AM > > > On Tue, 2019-11-19 at 11:17 +0100, Martin Bjorklund wrote: > > > Ladislav Lhotka <lhotka@nic.cz> wrote: > > > > Hi, > > > > > > > > I would like to discuss the issue of developing YANG modules that > > > > mirror IANA registries. The main objection, raised in DNSOP WG in > > > > relation to draft-lhotka-dnsop-iana-class-type-yang-02, was that > the > > > > RFC containing the initial revision of the module doesn't get > updated > > > > along with the IANA registry (IANA is expected to keep the module > in > > > > sync without updating the RFC). As a result implementors can use > the > > > > obsolete snapshot from the RFC. > > > > > > > > I am aware of three solution proposals: > > > > > > > > 1. use some kind of template instead of a YANG module > > > > > > > > 2. include only two or three entries of the registry as examples > so > > > > that it is clear that it is not the complete list > > > > > > > > 3. keep the module in the document during the whole I-D stage but > > > > instruct the RFC Editor to remove it just before it becomes > RFC. > > > Do you mean that the RFC editor removes it and the RFC just points > to > > > the IANA registry? And then the RFC editor hands it over to IANA so > > > that they can use it as an initial version to be published? > > > > Yes. The final RFC would then only describe and explain the design of > the > > module, which is useful in itself (because there are several possible > options > > for translating a registry to YANG). > > > > > As long as the instructions to the RFC editor are clear, I think > this > > > can work. > > > > We have to work out the details and discuss it with IANA, but it > shouldn't IMO > > be too difficult. And the draft in DNSOP can be used as a guinea pig. > > I think that this is a bad idea; we have been handing over modules to > IANA to maintain since 1999 and I have not seen much in the way of > troubles in the intervening decades. I guess everyone in this mailing list will agree that this issue is largely a red herring, but it seems that our draft in DNSOP cannot move forward without solving it. For those with masochistic inclination, here is a typical ML thread: https://mailarchive.ietf.org/arch/msg/dnsop/0AjdiR8htN_vjglimt1b7z10V_E DNSOP chairs don't want to take a stance and hope that the IESG will resolve this issue somehow - but this is of course not going to happen. > > I want the RFC to contain the initial version of the module - otherwise, > we have no record of the initial version. Why do you need the initial version? After all, it is just a random snapshot of the registry that is used to explain to IANA how the module is supposed to be updated. > > What we should do is make it clear that it is the initial version and > will not be maintained e.g. in the description and revision clauses > > 'The initial version of this module was published in RFCXXXX; the > current version can be found at > https:// ...iana ... > " I suggested something like this repeatedly, without any significant success. What else can we do? Lada > > Tom Petch > > > > > > > > > > > > > Lada > > > > > > > > > > > /martin > > > > > > > > > > I am personally in favour of #3. According to Randy Presuhn, who > > > > proposed it, this procedure was used during the preparation of BCP > > > > 47. It would require some extra coordination with with IANA but, > apart > > > > from that, it should IMO work well and avoid the problem mentioned > > > > above. > > > > > > > > Thanks, Lada > > > > > > > > -- > > > > Ladislav Lhotka > > > > Head, CZ.NIC Labs > > > > PGP Key ID: 0xB8F92B08A9F76C67 > > > > > > > > _______________________________________________ > > > > netmod mailing list > > > > netmod@ietf.org > > > > https://www.ietf.org/mailman/listinfo/netmod > > > > > > -- > > Ladislav Lhotka > > Head, CZ.NIC Labs > > PGP Key ID: 0xB8F92B08A9F76C67 > > > > _______________________________________________ > > netmod mailing list > > netmod@ietf.org > > https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [netmod] IANA registries and YANG Ladislav Lhotka
- Re: [netmod] IANA registries and YANG Martin Bjorklund
- Re: [netmod] IANA registries and YANG Ladislav Lhotka
- Re: [netmod] IANA registries and YANG tom petch
- Re: [netmod] IANA registries and YANG Ladislav Lhotka
- Re: [netmod] IANA registries and YANG Ladislav Lhotka
- Re: [netmod] IANA registries and YANG Kent Watsen