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

Andy Bierman <andy@yumaworks.com> Tue, 05 September 2017 20:51 UTC

Return-Path: <andy@yumaworks.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 1EEAB132E2A for <netmod@ietfa.amsl.com>; Tue, 5 Sep 2017 13:51:53 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 7SKFGrVzNLkN for <netmod@ietfa.amsl.com>; Tue, 5 Sep 2017 13:51:51 -0700 (PDT)
Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35945126B6E for <netmod@ietf.org>; Tue, 5 Sep 2017 13:51:51 -0700 (PDT)
Received: by mail-lf0-x231.google.com with SMTP id m199so13512886lfe.3 for <netmod@ietf.org>; Tue, 05 Sep 2017 13:51:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=022MKwgdqOaWuBTdFKDm+Wc8WW8IB4SIcfsBQpRPfPQ=; b=Ibbw4FY6BnYknGJOyi1ai2v5EQXzFzmnZH5fJGaREXV2z4HLA+b31DEqXmVqk5151t WBrxbRII+tL/l/A3yNS4Na4bBf1h6xjMhdU+z6T55OLsdgfwvCG4YyjMaSpp8tr03Kip s7xVXnNbfbCf0T5fLDS2Cn8zWLOX0rMDu0lPdeoRsHdsYEHWttj6NBfMKHevcZDJkAj6 QzXp2kHjwKrHfR91wq1zJkea2Z5r5ggXITEujZLe/GJyWWkHMpFoAQs9Waq3P126Qa2L cVuzIbu1KPT9p6qo1+1Ld7vewvizSBlb5tiUruaDh9lardjgCdEkCUbfCZxGkkMUABPg mftw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=022MKwgdqOaWuBTdFKDm+Wc8WW8IB4SIcfsBQpRPfPQ=; b=rlLeU+ajiQ2/CyoKMwBKlkYE85QspVMhY7mmeifmEbW2BwXhfg3swYMhiIGqh1hHiv UtzJFz/9HzvHYutfvIYLLlR7yBd2dw/xrnKNZGMAZX7VK0gut5o1dCLyOoXvpDxDiiAM /6dWWDfx0IGpTtYiqTXUklAmTsFe13+oFDl7gxjXuq/b5Skt1BxyspK+VkncCJ6drWo+ S3HGD6+mLv3Zo0vd5fJ4KzAu+RCDL20XeRW4lXwL9LQQjlP9wfsEcyuDoSejd1azKqpT g5CekgQ3ofsAgeAhZvDjtdk166sjQBP66e3i1cCuScNJHXY6hoxli2Ml+giPBnVkTPiZ xwcw==
X-Gm-Message-State: AHPjjUg68RQP/f9VuLqHQ7PIgorpCEKr/zCkeYnTd6S6NekLaFwXbZn1 QE+0tWm8aZSFQuPZpovG6imu48Ac/Zno
X-Google-Smtp-Source: ADKCNb4PLEDqod+i+sIXDj1wm/N63K+BESBq820uIzQ5Aq4QQP+3TjYviHXifV/xhHurtmgYijabcugoE2dL0RQI0bI=
X-Received: by 10.25.31.143 with SMTP id f137mr106477lff.66.1504644709424; Tue, 05 Sep 2017 13:51:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.46.68.216 with HTTP; Tue, 5 Sep 2017 13:51:48 -0700 (PDT)
In-Reply-To: <20170905190151.fizr5dljufbyuyty@elstar.local>
References: <13F2175A-C913-4173-BE2A-50C668C08FF6@juniper.net> <20170905181444.tdfliar5zk4hixsd@elstar.local> <CABCOCHS59CLdCHxZHvJr7LSRXH4m1iVpf6GctchYCZjVrLuvGw@mail.gmail.com> <20170905190151.fizr5dljufbyuyty@elstar.local>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 05 Sep 2017 13:51:48 -0700
Message-ID: <CABCOCHQnLAxVU4vNqwFf8tNTOgcpre+Xqq3jQpf79mxcpHwNQw@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, Kent Watsen <kwatsen@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a114017d06b39a1055877653d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/O4TP76wRXdDH4QMbru5nWceLQCg>
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 20:51:53 -0000

On Tue, Sep 5, 2017 at 12:01 PM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Tue, Sep 05, 2017 at 11:44:29AM -0700, Andy Bierman wrote:
> >
> > Blind cut-and-paste is not a good design goal.
> >
>
> Definitions that stand on their own since they are not context
> sensitive is IMHO a plus. If I am n pages down a YANG tree and I want
> to know whether I look at config false or config true leaves,
> searching backwards is really painful if you read on paper (oh, how
> old school I am - perhaps this is the issue). Copying a definition
> into an email and it stands on its own is a feature I appreciate. Of
> course, I understand that others have different preferences.
>
> > I still don't know what it means to define hierarchical data and say the
> > parent is deprecated but not the descendant nodes.
>
> It is odd but can happen anyway. A current augmentation of something
> that got deprecated likely stays current. I would hope that tools warn
> if they see this but that's it.
>

OK


>
> > This is rather non-intuitive, as is the idea that all descendant
> > nodes need to be manually edited (status is not inherited).
>
> Not a big deal. The benefit is that a reader like me knows clear that
> the definition I am look at is deprecated, no need to search backwards
> to find out.
>

OK -- this does not happen too often so it is not a huge impact of writers.



>
> > It also means the objects expanded from groupings cannot ever be
> > changed (clearly a bug in YANG).
>
> Yes, bug in YANG.
>


With no way to fix it in RFC 7950


>
> > We have not seen these issues yet because this is the first time
> > 'status deprecated' is being used.
>
> Yes.
>
> /js
>


Andy


>
> --
> 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/>
>