Re: [netmod] 'status' statement needed on every node

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 05 September 2017 18:14 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 7BB4C132D86 for <netmod@ietfa.amsl.com>; Tue, 5 Sep 2017 11:14:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=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 Fa9sHLY3x4Nn for <netmod@ietfa.amsl.com>; Tue, 5 Sep 2017 11:14:46 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E2427132D61 for <netmod@ietf.org>; Tue, 5 Sep 2017 11:14:45 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id B0BC2F14; Tue, 5 Sep 2017 20:14:44 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.217]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id R4OQuY7axasM; Tue, 5 Sep 2017 20:14:38 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Tue, 5 Sep 2017 20:14:44 +0200 (CEST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 8FEA0200E2; Tue, 5 Sep 2017 20:14:44 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id JsASWBdwGp0q; Tue, 5 Sep 2017 20:14:44 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 29A6E200E0; Tue, 5 Sep 2017 20:14:44 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 165594095F75; Tue, 5 Sep 2017 20:14:44 +0200 (CEST)
Date: Tue, 05 Sep 2017 20:14:44 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Kent Watsen <kwatsen@juniper.net>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Message-ID: <20170905181444.tdfliar5zk4hixsd@elstar.local>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <13F2175A-C913-4173-BE2A-50C668C08FF6@juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <13F2175A-C913-4173-BE2A-50C668C08FF6@juniper.net>
User-Agent: NeoMutt/20170714 (1.8.3)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/GCAUsOkH6LJtVppyLnh2HpfnV2g>
Subject: Re: [netmod] 'status' statement needed on every node
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: Tue, 05 Sep 2017 18:14:47 -0000

On Tue, Sep 05, 2017 at 05:40:23PM +0000, Kent Watsen wrote:
> 
> 
> With all the deprecating of "-state" trees going on these days,
> the 'status' statement is getting lots of use.  
> 
> I understand that some feel that the status statement needs to be
> placed on every node, since it is not inherited.  This sentiment
> likely stems from RFC 7950 stating "If no status is specified, 
> the default is current" and, of course, it not stating that status
> is inherited.
> 
> I appreciate that this is just following rules, but it seems
> excessive and I don't understand how any other interpretation
> makes sense.

There is in my view no problem worth to be solved and today's YANG
rules are clear.

<outing>
  I am a big fan of definitions that can be copied and moved around
  without changing meaning just because they appear in a different
  context. I would even prefer to have config true/false not inherited
  down the schema tree but rather have no config statement default to
  config true and everything config false needs an explicit
  statement. Side effect free cut and paste is a feature that is for
  me worth the price of a few more explicit statements. Even a human
  reader can skip over these statements very quickly.
</outing>
 
> Also I question how it's supposed to work for a grouping that 
> is used once in a deprecated tree and again in a not deprecated 
> tree.  What if the grouping is defined in another RFC?  Would
> we need to copy the grouping into the current module in order
> to set status deprecated on all of its nodes?

It would be nice to simply use refine but unfortunately section 7.13.2
of RFC 7950 does not allow to refine the status (which in my view is
an oversight but the RFC says what it says).

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>