Re: [netmod] [Technical Errata Reported] RFC7950 (5807)

Warren Kumari <warren@kumari.net> Fri, 06 September 2019 19:37 UTC

Return-Path: <warren@kumari.net>
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 7BABB120B27 for <netmod@ietfa.amsl.com>; Fri, 6 Sep 2019 12:37:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.878
X-Spam-Level:
X-Spam-Status: No, score=-0.878 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kumari-net.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 YiOz4H7CQM_8 for <netmod@ietfa.amsl.com>; Fri, 6 Sep 2019 12:37:54 -0700 (PDT)
Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (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 3B6E1120B29 for <netmod@ietf.org>; Fri, 6 Sep 2019 12:37:53 -0700 (PDT)
Received: by mail-qk1-x72c.google.com with SMTP id x134so6857215qkb.0 for <netmod@ietf.org>; Fri, 06 Sep 2019 12:37:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc :content-transfer-encoding; bh=UCMY/uTxtEC+K+ETuCKkbOJ3fOSmSqjFU96AuZaf0tk=; b=bPnoqwuGLL36Bs8gd1377hKaquP0peaZAl6izF3Cw1I2EzfDFzh736PgPj5I288ono gBc6TeWH92wZayU2WnLl7YBV270T+M0TJUlL+WPcY8LIhmuY/Woqxfn68Ts63AR5jSpS DhgYSyKk82j990SH4ZJVzjf13jN0mGyFmEai1I8F9V6dMOC+xV+3/wUjgrijeDR50qbk b5qPdY4FPRg4FdU8Ok6UdCtLM9K44JVZjlBzD8hQeMerRxyurdI1hf2BXQtY4eDBxO2A mJdpMlzj8fzxHF7b7fo/S2REYqAGAhuYSW5BQG8FixTg86leanFqiAdcCSz8RCFtVvKo IPdA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc:content-transfer-encoding; bh=UCMY/uTxtEC+K+ETuCKkbOJ3fOSmSqjFU96AuZaf0tk=; b=XXVX67y3IY71RyMomiMQ6bRtHHkHD1z6TEtZScl7UtxynIQF9jF5wx0/JasazO5yKk bYAdRyrjLd/hC8Vr7GPfSINAxgRI2fssyXJkRaL+jXr0mmjtGi8r+YXd0nsah6EL2WQY TGBSNIbku4X++ezJaskfcAryNbIxUEEzktQRVbMFKBxX+3tlo/DyK+cYMQvQfmN4UrWN IzOdNwktDPmwrQN4+3lM0JBKc0ApsiFFsUVEXUGP5QsBMZXr3IpyU02a5a766lRHTiD+ k2djatnz8UXhOJfvE8tsbl4DRwirAGtL3Wm8hS1kVhRswI/kXOc0lI7O1W959qZTNole qVOA==
X-Gm-Message-State: APjAAAUTL1t0N3mBgOJgli1EXMnvElmSEY8D5pZ+pJMvVjzSm3zP1S+Y MqlVB6TXilSREyJpkNQBXDyQgCPADDQmCXi2dBGEyw==
X-Received: by 2002:a37:6d2:: with SMTP id 201mt10198901qkg.106.1567798672018; Fri, 06 Sep 2019 12:37:52 -0700 (PDT)
MIME-Version: 1.0
References: <20190813112613.82CE8B80E16@rfc-editor.org>
In-Reply-To: <20190813112613.82CE8B80E16@rfc-editor.org>
From: Warren Kumari <warren@kumari.net>
Date: Fri, 06 Sep 2019 15:37:15 -0400
Message-ID: <CAHw9_iKvbmpEM8KGgnGtwG02c5vuCSbF2-JvBvD5XKqGWXRuPA@mail.gmail.com>
Cc: martin björklund <mbj@tail-f.com>, Ignas Bagdonas <ibagdona@gmail.com>, Joel Jaeggli <joelja@bogus.com>, Kent Watsen <kent+ietf@watsen.net>, Lou Berger <lberger@labn.net>, jernej.tuljak@mg-soft.si, NetMod WG <netmod@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Nn8YQm_YOJyxOgC4fD0yjN1apBQ>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (5807)
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: Fri, 06 Sep 2019 19:37:56 -0000

[ - RFC Ed (for clutter), + Benoit (who verified
https://www.rfc-editor.org/errata/eid4794) ]

I'm trying to go through and clean up the outstanding Ops and
Management Errata. I'm completely, 100% not a YANG / netmod person (I
cannot even spell YANG!), but I *think* that this Errata should be
verified, yes? This isn't changing what was decided when the WG
published this, it is simply correcting / clarifying the text.

The Errata criteria are here:
https://www.ietf.org/about/groups/iesg/statements/processing-rfc-errata/

One of the big ones is that we only use Errata to fix actual errors,
not change anything that was WG consensus at the time:
"Changes that modify the working of a protocol to something that might
be different from the intended consensus when the document was
approved should be either Hold for Document Update or Rejected.
Deciding between these two depends on judgment. Changes that are
clearly modifications to the intended consensus, or involve large
textual changes, should be Rejected. In unclear situations, small
changes can be Hold for Document Update."

Again, I'm not a NetMod person, so looking for clear advice here...

W

On Tue, Aug 13, 2019 at 7:26 AM RFC Errata System
<rfc-editor@rfc-editor.org> wrote:
>
> The following errata report has been submitted for RFC7950,
> "The YANG 1.1 Data Modeling Language".
>
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid5807
>
> --------------------------------------
> Type: Technical
> Reported by: Jernej Tuljak <jernej.tuljak@mg-soft.si>
>
> Section: 7.21.5.
>
> Original Text
> -------------
>    o  If the "when" statement is a child of a "uses", "choice", or
>       "case" statement, then the context node is the closest ancestor
>       node to the node with the "when" statement that is also a data
>       node.  If no such node exists, the context node is the root node.
>       The accessible tree is tentatively altered during the processing
>       of the XPath expression by removing all instances (if any) of the
>       nodes added by the "uses", "choice", or "case" statement.
>
> Corrected Text
> --------------
>    o  If the "when" statement is a child of a "uses", "choice", or
>       "case" statement, then the context node is the closest ancestor
>       node to the node with the "when" statement that is also a data
>       node, rpc, action or notification.  If no such node exists, the
>       context node is the root node. The accessible tree is tentatively
>       altered during the processing of the XPath expression by removing
>       all instances (if any) of the nodes added by the "uses",
>       "choice", or "case" statement.
>
> Notes
> -----
> Similar to verified errata 4794 (https://www.rfc-editor.org/errata/eid4794) but covers the "uses", "choice" and "case" corner case (instead of "augment"). If the node for which the "when" statement is defined is within an rpc, action or notification, the context node also needs to be inside that rpc, action or notification. There are published IETF modules, which rely on this to be true, such as "ietf-netconf-nmda@2019-01-07" in RFC8526 (https://tools.ietf.org/html/rfc8526) at schema node id "/ncds:get-data/ncds:input/ncds:origin-filters". Original text assigns the context node to the root node, if no data node ancestor is found. "rpc", "action" and "notification" are not data nodes and are represented by nodes that are descendants of the root node, as described in Section 6.4.1.
>
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party
> can log in to change the status and edit the report, if necessary.
>
> --------------------------------------
> RFC7950 (draft-ietf-netmod-rfc6020bis-14)
> --------------------------------------
> Title               : The YANG 1.1 Data Modeling Language
> Publication Date    : August 2016
> Author(s)           : M. Bjorklund, Ed.
> Category            : PROPOSED STANDARD
> Source              : Network Modeling
> Area                : Operations and Management
> Stream              : IETF
> Verifying Party     : IESG



-- 
I don't think the execution is relevant when it was obviously a bad
idea in the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair
of pants.
   ---maf