Re: [netmod] upcoming adoptions

Martin Bjorklund <mbj@tail-f.com> Wed, 30 August 2017 12:09 UTC

Return-Path: <mbj@tail-f.com>
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 509421330E3 for <netmod@ietfa.amsl.com>; Wed, 30 Aug 2017 05:09:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 H0gcacEUj5Qv for <netmod@ietfa.amsl.com>; Wed, 30 Aug 2017 05:09:33 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id E1BD413310A for <netmod@ietf.org>; Wed, 30 Aug 2017 05:09:23 -0700 (PDT)
Received: from localhost (unknown [173.38.220.57]) by mail.tail-f.com (Postfix) with ESMTPSA id D08BE1AE012C; Wed, 30 Aug 2017 14:09:22 +0200 (CEST)
Date: Wed, 30 Aug 2017 14:07:56 +0200
Message-Id: <20170830.140756.691227201120065042.mbj@tail-f.com>
To: acee@cisco.com
Cc: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <D5CC1E2A.C4EB4%acee@cisco.com>
References: <14299503-509D-43BE-A938-0B7B88C3B249@juniper.net> <20170830.122823.2236525312698458242.mbj@tail-f.com> <D5CC1E2A.C4EB4%acee@cisco.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/OS1j0Ew6aaSYIeUeXoPWg7hqbUA>
Subject: Re: [netmod] upcoming adoptions
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 30 Aug 2017 12:09:35 -0000

"Acee Lindem (acee)" <acee@cisco.com> wrote:
> Hi Martin, 
> 
> On 8/30/17, 6:28 AM, "Martin Bjorklund" <mbj@tail-f.com> wrote:
> 
> >Hi,
> >
> >Kent Watsen <kwatsen@juniper.net> wrote:
> >> 3. https://tools.ietf.org/html/draft-acee-netmod-rfc8022bis-00
> >
> >I found some trivial errors in this draft:
> >
> >  o  The revision for ietf-routing doesn't match the filename's date.
> >
> >  o  The filename for ietf-ipv6-router-advertisements is wrong (last
> >     "s" is missing)
> >
> >  o  All the old -state definitions are removed, rather than being
> >     marked as "deprecated".
> 
> 
> I’m glad you brought this up. We discussed this in the Routing YANG Design
> Team and were planning to discuss it on a wide scale.
> 
> One of the advantages of the NMDA is that it makes the models easier to
> read and consume. This is somewhat negated if we have to retain all these
> data nodes in the associated modules and mark them as “deprecated”. What
> is the consequence of not including them? They are available in the
> previous version of the model if they are need for compatibility.

It is fairly common that instead of removing functions from a
published API, you mark them as deprecated for some time, and then,
later, remove them (*).

Note that since a server cannot implement two versions of a given
module, it has to decide which version to implement.  There might be
other modules that use / augment the -state tree; if the server
implements the latest version w/o the -state tree, it cannot at the
same time implement these augmenting modules.

(*) YANG inherits the deprecation model from SMIv2.  We actually have
three states: current -> deprecated -> obsolete.  And even when
something is obsolete, it is not removed.  I guess in SMIv2 this was
necessary b/c of OID assignments; maybe this could be revisited for
YANG.  But this would require an update to RFC 7950.


If we think that a module becomes cluttered with all the deprecated
definitions, we can actually move them all to a separate submodule.


/martin