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

Andy Bierman <andy@yumaworks.com> Wed, 16 March 2022 21:59 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 E669D3A11EB for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2022 14:59:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01, 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.20210112.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 4yvTxijOmDGA for <netmod@ietfa.amsl.com>; Wed, 16 Mar 2022 14:59:26 -0700 (PDT)
Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) (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 4D6753A0CA3 for <netmod@ietf.org>; Wed, 16 Mar 2022 14:59:26 -0700 (PDT)
Received: by mail-yb1-xb32.google.com with SMTP id u3so6929374ybh.5 for <netmod@ietf.org>; Wed, 16 Mar 2022 14:59:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7+W6bzsPI/Mrw7tRFppaPkctiKEwyOiKjM3UYdC7Jco=; b=zoVjjcBbHhxSq5YAh2gzxw/1wfWnmoEaLibUZ1mH91nroU4oZMG+uX7DevztcGi0Lt 9BjkmzYVHB1Ys5rMC1HR1Qysojp9vsExN51pL7tIbTYCaUe7/6luhoJrFRIrY3bOqix4 6Lp11HjCojYQNizQt6RW8JOY5PPNpN+0aNOzzATECWQDvz760y/v2HD41t/df/VG3fLL 5qlpz+4YwQxoFJTGZ6PDfZw4EIG+6oiWg2n9D45BaR/x+KgCvnbyeJJF/WIT+VpDSCkJ hh4X8+D2HFmHBUULYK2iJxo2zuh/iT/vT2zYscsijAOlOtvoZcfjkYflnfdXe5EmnhvI xZkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7+W6bzsPI/Mrw7tRFppaPkctiKEwyOiKjM3UYdC7Jco=; b=8K7/uw+mwfwFCMzV9YGnWAxDuLTatpkeeeJ3iBRs/T9of2yYNZwikW827lCXMOJakr k8rlvo4kI/Ns+nVsFspFzeDpks3TJc+dFawIwiDibIYJa7IZxLjjdPWcyBm+J0IrkNJG yrvKNyB0qWXmgYM/eycAzNztZ9PL1Fttti0+5xq8aDDpnGvdfkt0n0RTvvHyrmJRZLxZ re9AfOBnhdpBhjcGo5/hkp7eUt2Ezvr2FmaGFlXQk0cgRdNfoQWoU7kospMIuz3Ubq34 8Ywp19GKi1OoxBuNqYNtPbU8I1t/jcyjRPjBZv+2BVaOnoF9dP1Zgajo5kgIZiNy9d8a OqZA==
X-Gm-Message-State: AOAM531ZHsBMuhjcR6OkwovXwR8/Kzn8lkvyfWizyL7hsK1xfPwZkv/I VM+qbn7dHHpmIPTU0CYP1xO/YhF8A1l+ALS5Vddtsg==
X-Google-Smtp-Source: ABdhPJyV7npVoc4AkGUHLYVgRGfFLP/Dg5YG/1iq8eoQ5WnE/O1vtdgsD/aILlPYRFb3kPHsU5wnz9AT7q5EMHjYMtU=
X-Received: by 2002:a05:6902:20e:b0:627:f1cb:a9ee with SMTP id j14-20020a056902020e00b00627f1cba9eemr2080015ybs.129.1647467965075; Wed, 16 Mar 2022 14:59:25 -0700 (PDT)
MIME-Version: 1.0
References: <20220316052112.9F47A20D6AD@rfc-editor.org> <20220316061327.ce7mtqwhrk772fjw@anna> <4d482f9a-21be-b389-688a-85cfe739371f@alumni.stanford.edu>
In-Reply-To: <4d482f9a-21be-b389-688a-85cfe739371f@alumni.stanford.edu>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 16 Mar 2022 14:59:14 -0700
Message-ID: <CABCOCHTL5GubcV2NvgKvEv1CzaGLM3QcQfi0B+xTx=ZWxEcMnw@mail.gmail.com>
To: Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Cc: RFC Errata System <rfc-editor@rfc-editor.org>, Martin Bjorklund <mbj@tail-f.com>, Warren Kumari <warren@kumari.net>, Robert Wilton <rwilton@cisco.com>, Kent Watsen <kent+ietf@watsen.net>, Joel Jaeggli <joelja@bogus.com>, Berger Lou <lberger@labn.net>, kaja.mohideen@nokia.com, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d665a805da5d06e3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/jUsUNTbdEcNHXFSViX-1_59maFc>
X-Mailman-Approved-At: Tue, 22 Mar 2022 12:32:35 -0700
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6885)
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: Wed, 16 Mar 2022 21:59:31 -0000

On Wed, Mar 16, 2022 at 1:44 PM Randy Presuhn <
randy_presuhn@alumni.stanford.edu> wrote:

> Hi -
>
> On 2022-03-15 11:13 PM, Jürgen Schönwälder wrote:
> > YANG update rules expect clients to be lenient about values they
> > received but did not expect. It is possible to debate that design
> > choice but this surely is not an errata, hence this errata should
> > be rejected.
>
> I agree that the proposed erratum should be rejected.  The text
> of RFC 7950 says what the working group clearly intended, and is
> consistent with the approach taken in the SNMP SMI, for whatever
> that might be worth.
>
>
+1

The RFCs are server-centric.
It is not 100% clear what a NETCONF client MUST, SHOULD, or MAY do for
various scenarios.
I just scanned the text, and cannot find any that says a client MUST accept
augmentations.

Consider a client that ignores the server <hello> and YANG library (they
are out there!).
It is hard-wired to retrieve some subtree.  If the server implements any
module augmenting
that subtree, the client drops the session because "unknown nodes" were
found in the retrieved data.

Clearly not the intent of the WG, not not clear RFC 7950  is being violated.
(Insert plug for YANG Conformance based on packages and NOT modules)




Randy
>

Andy


>
> > /js
> >
> > On Tue, Mar 15, 2022 at 10:21:12PM -0700, RFC Errata System 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/eid6885
> >>
> >> --------------------------------------
> >> Type: Technical
> >> Reported by: R Kaja Mohideen <kaja.mohideen@nokia.com>
> >>
> >> Section: 11
> >>
> >> Original Text
> >> -------------
> >>     A definition in a published module may be revised in any of the
> >>     following ways:
> >>
> >>     o  An "enumeration" type may have new enums added, provided the old
> >>        enums's values do not change.  Note that inserting a new enum
> >>        before an existing enum or reordering existing enums will result
> >>        in new values for the existing enums, unless they have explicit
> >>        values assigned to them.
> >>
> >>     o  A "bits" type may have new bits added, provided the old bit
> >>        positions do not change.  Note that inserting a new bit before an
> >>        existing bit or reordering existing bits will result in new
> >>        positions for the existing bits, unless they have explicit
> >>        positions assigned to them.
> >>
> >> Corrected Text
> >> --------------
> >> See Notes.
> >>
> >> Notes
> >> -----
> >> When server is exposing updated yang model as mentioned in Section 11,
> particularly with enums, bits having new items - client systems that are
> not updated to use the new yang module will not be able to recognize and
> use the new values.
> >>
> >> This is problematic when there are multiple clients and those systems
> are getting updated to catch up with yang changes over time. Updated
> "Client A" recognizing new enum and using it (update datastore with new
> value using edit-config), will make, old/not-yet-updated "Client B" to
> encounter the new value (received as response of get-config) that it cannot
> work with.
> >>
> >> So, the "backward compatible" ways of updating a yang module should
> consider "multiple clients" scenario and make recommendations in such a way
> that clients are not forced to update all at once.
> >>
> >> 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
> >>
> >> _______________________________________________
> >> netmod mailing list
> >> netmod@ietf.org
> >> https://www.ietf.org/mailman/listinfo/netmod
> >
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>