RE: Yang update from IESG ?

Roman Danyliw <rdd@cert.org> Mon, 18 November 2019 08:36 UTC

Return-Path: <rdd@cert.org>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A96C21208F6; Mon, 18 Nov 2019 00:36:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cert.org
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 kXdgp0-5dvC8; Mon, 18 Nov 2019 00:36:41 -0800 (PST)
Received: from veto.sei.cmu.edu (veto.sei.cmu.edu [147.72.252.17]) (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 B0D4F12087D; Mon, 18 Nov 2019 00:36:41 -0800 (PST)
Received: from korb.sei.cmu.edu (korb.sei.cmu.edu [10.64.21.30]) by veto.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id xAI8ae8b019789; Mon, 18 Nov 2019 03:36:40 -0500
DKIM-Filter: OpenDKIM Filter v2.11.0 veto.sei.cmu.edu xAI8ae8b019789
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cert.org; s=yc2bmwvrj62m; t=1574066200; bh=90LoGa6wcOUmD7E5jSnB+USydrbgSvY8lL7+ccw4IKk=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=r3Jfp+VjxWT7V4Z0PaXfur0wocfuJFZe3rVfNpNFy/HTG1UB2xFOR27ldlV+Auw6T jTIKk8oGe0VHKIJybxhhk7ko3ke3Y2LlIGRCMukV8cSVWhjhZ0AJQL84NsbQc+uElE lfbcTPtjWofbvKF3JCv9BCV4knyGIsXGBhWucbrU=
Received: from CASCADE.ad.sei.cmu.edu (cascade.ad.sei.cmu.edu [10.64.28.248]) by korb.sei.cmu.edu (8.14.7/8.14.7) with ESMTP id xAI8abAG010158; Mon, 18 Nov 2019 03:36:37 -0500
Received: from MARCHAND.ad.sei.cmu.edu ([10.64.28.251]) by CASCADE.ad.sei.cmu.edu ([10.64.28.248]) with mapi id 14.03.0468.000; Mon, 18 Nov 2019 03:36:37 -0500
From: Roman Danyliw <rdd@cert.org>
To: Ladislav Lhotka <lhotka@nic.cz>
CC: "iesg@ietf.org" <iesg@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, Paul Wouters <paul@nohats.ca>
Subject: RE: Yang update from IESG ?
Thread-Topic: Yang update from IESG ?
Thread-Index: AQHVmlojqBtx/RzQuE6BQ/xmgZvnO6eQH0gQgACtrACAAA9fgP//w5vw
Date: Mon, 18 Nov 2019 08:36:36 +0000
Message-ID: <359EC4B99E040048A7131E0F4E113AFC01E70B0F66@marchand>
References: <alpine.LRH.2.21.1911131435240.22669@bofh.nohats.ca> <359EC4B99E040048A7131E0F4E113AFC01E70B0061@marchand> <alpine.LRH.2.21.1911180102380.9256@bofh.nohats.ca> <a130f7c9d82299f8975ba9a9e8a2e4a6445878b4.camel@nic.cz>
In-Reply-To: <a130f7c9d82299f8975ba9a9e8a2e4a6445878b4.camel@nic.cz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.64.22.6]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf/f1pGiGrbHJJ9suHW1AVJRyoOrsk>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Nov 2019 08:36:44 -0000

Hello Lada!

> -----Original Message-----
> From: iesg <iesg-bounces@ietf.org> On Behalf Of Ladislav Lhotka
> Sent: Monday, November 18, 2019 2:06 AM
> To: Paul Wouters <paul@nohats.ca>; Roman Danyliw <rdd@cert.org>
> Cc: iesg@ietf.org; ietf@ietf.org
> Subject: Re: Yang update from IESG ?
> 
> On Mon, 2019-11-18 at 01:10 -0500, Paul Wouters wrote:
> > On Mon, 18 Nov 2019, Roman Danyliw wrote:
> >
> > [ cc:ing ietf@ietf.org for wider discussion, see attachment for Design
> > Patterns ]
> >
> > > Paul Wouters wrote:
> > > > During a plenary at the last or second last IETF, I raised an
> > > > issue about people stuffing incomplete and obsolete/deprecated
> > > > partial IANA registiries in yang drafts/RFCs. The IESG confirmed
> > > > this as a problem to me and one of the IESG members said they were
> > > > aware and would get back on this.
> > > >
> > > > I have not heard anything. The issue is still a problem.
> > > > Originally, this came up in i2nsf/ipsecme, and has now resurfaced
> > > > for me in dnsop.
> > > The IESG talked about this issue during the last IETF meeting.  See
> > > attached.
> > >
> > > The outcome of this discussion was that there is no single "right answer"
> > > and individual ADs should intervene on specific instances as appropriate.
> >
> > Thanks for the answer. Unfortunately, it is not much of guidance and
> > does not really address the issue I raised, namely that we are putting
> > snapshots of IANA registries in RFC documents. One of your three
> > Design Patterns still does this.
> 
> The snapshot should represent the consensus of a corresponding working group
> regarding the best way of modelling a given IANA registry in YANG. After the
> publication of that RFC, IANA is expected to update the YANG module along
> with the registry so as to keep both in sync.
> 
> I do agree that careless YANG modellers that don't bother to read the RFC
> could take the YANG module snapshot published therein as the most recent
> revision because the RFC itself isn't updated. Perhaps the purpose and expeced
> use of the module can be stated more clearly in the RFC, but it still won't help
> those who don't read it.
> 
> >
> > Note also that Design Pattern #1 you quote is exactly the one I am
> > trying to avoid from happening and Design Pattern #2 happened because
> > I _did_ convince those people not to do Design Pattern #1.
> 
> I strongly disagree with the statement that design pattern #1 cannot be
> updated.
> 
> First, as described in draft-lhotka-dnsop-iana-class-type-yang-02, the YANG
> module is expected to be updated (by IANA) every time the corresponding
> registry changes. So the enumeration can be updated with new mnemonic
> names.

I agree with your analysis of draft-lhotka-dnsop-iana-class-type-yang.  I had intended "design pattern #1" to be a simple hard coded registry in a YANG module.

I erroneously used a snippet of the YANG modules from draft-lhotka-dnsop-iana-class-type-yang-00 without considering the IANA guidance in Section 4.  The design pattern used in this document was not captured in the presentation.  My apologizes for this mischaracterization.

Apologetically, 
Roman