Re: [netmod] Erratum 5514 on NMDA [RFC 8342]

Martin Björklund <mbj+ietf@4668.se> Mon, 04 May 2020 12:39 UTC

Return-Path: <mbj+ietf@4668.se>
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 B18BF3A0845 for <netmod@ietfa.amsl.com>; Mon, 4 May 2020 05:39:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.923
X-Spam-Level:
X-Spam-Status: No, score=-0.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_NAKED_TO_NUMERO=1.177, 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=4668.se header.b=r/ivTFVN; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=kHkXH9mY
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 osGgP3emM4oi for <netmod@ietfa.amsl.com>; Mon, 4 May 2020 05:39:27 -0700 (PDT)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F33D3A07CB for <netmod@ietf.org>; Mon, 4 May 2020 05:39:27 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 67CFC6C3; Mon, 4 May 2020 08:39:26 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 04 May 2020 08:39:26 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=date :message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= ub95TkWOx1ELg9kYbvfHPMxOfbfy2ZQEVm5kKnfeeX0=; b=r/ivTFVN1o/9G2AF jy3xEFnV9KwPZqGxPIYqYYia/aziPU0CgxxtgPLDaVu+hT3AHnBem8nqf5vn40y1 RKO5y1izoSu7bASqDOZTwDmvyLXEqq7ljh7EINw86f+c0rHwDl8yEFU1+RWyJ2Yy eNFbolC0Nm4feiiY0aBiKx1MSBRIv2mxiyLBwi6SeYaZ0V3xhOPgq5YEtc2/TkIo ZrRwGVEkwprTYHr5JAItfS44iD7pk+9kz26pf2C9pkgE54VXIdLl0cnDlKWfsJuM AEKrnSDLM3Q0miovKFmZXcLsVSSXaiCQYdWUEbKBCtRjxNdrkQxpI7GBXb8D54HK 7GNTPQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=ub95TkWOx1ELg9kYbvfHPMxOfbfy2ZQEVm5kKnfee X0=; b=kHkXH9mYoBirlPTrDchUlWnW2JCd7Jn8wFRiq/ONNRSDGPnn7Ot492Sog O5x6SMrErSHIrsf5BKhF3m8dBFs5G4wTFONfM+6kErQiAeO+csybPvYwNfr+E2Eu cDgqCd9u9E6EMoO0hZMPDkBkeGO/yg8AQf4H67GZ+dZ/caHTpNWPQlc6XPIefKHh MIV6nPk29u4+9gA4FYXdagc2De3oqopF6JKzPxb8alPnWZwzClqAcdmUnM8TdKKW LQVYEbgR4zH0orpQpIyYWFq6wmcNHLeJiP9EPYsbq/5dxzXgpBKMtGOzTml9LtkF jgsEzKvTMPn/knHG1g5ptKgl/ACmQ==
X-ME-Sender: <xms:_QywXhsU9P0JHAwwHhDTINOHvUz18FEAHpjUcT6cWQJ6sp3i3rvKig>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeggdegkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffkvffuhfgjfhfogggtgfesthgsre dtredtjeenucfhrhhomhepofgrrhhtihhnuceujhpnrhhklhhunhguuceomhgsjhdoihgv thhfseegieeikedrshgvqeenucggtffrrghtthgvrhhnpeehteegtdffgfegffekvdejke evleetuedutddtfffhlefgtedvveehvdeguedtudenucfkphepudehkedrudejgedrgedr geegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmh gsjhdoihgvthhfseegieeikedrshgv
X-ME-Proxy: <xmx:_QywXhVNQsjZffqAmrty-6JKqhEtJvAEG-sv_QBjzIvK0ScWNBWghQ> <xmx:_QywXhsxaSV8ewwlXA5ghxtdOyQfuTLxujLQVJA5pvyoeTylUYFOsQ> <xmx:_QywXlU0n4xwwpVaCa00jE2hqF8nLknXNmwJuGaTEgcdoTRcE4QvyA> <xmx:_gywXmE27b8Nv-H0rv6nsbeX1TJm_wdaEBnTFx59aBRfF1Zo96t_ig>
Received: from localhost (unknown [158.174.4.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 7F2D7328005E; Mon, 4 May 2020 08:39:24 -0400 (EDT)
Date: Mon, 04 May 2020 14:39:23 +0200
Message-Id: <20200504.143923.670825645730769184.id@4668.se>
To: j.schoenwaelder@jacobs-university.de
Cc: kent@watsen.net, netmod@ietf.org, rwilton=40cisco.com@dmarc.ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <20200504122028.4ayfwbbwrcolmxyz@anna.jacobs.jacobs-university.de>
References: <01000171df8c5356-af62315f-4571-499a-bff6-0f38233ab5d5-000000@email.amazonses.com> <20200504.140441.81590666703075059.id@4668.se> <20200504122028.4ayfwbbwrcolmxyz@anna.jacobs.jacobs-university.de>
X-Mailer: Mew version 6.8 on Emacs 25.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/vrAvq1Wux1Qo4DyM4HvM7f_zVNY>
Subject: Re: [netmod] Erratum 5514 on NMDA [RFC 8342]
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: Mon, 04 May 2020 12:39:29 -0000

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> If I put an origin on every config leaf and config p-container, why
> would I need another origin somewhere up in the np-container hierachy?
> We seem to make rules that to some extend miss the point we are really
> trying to make, namely that every config leaf and config p-container
> must have an origin (defined directly or inherited).

Yes, I think this is what we should say.


/martin


> If you choose to
> inherit origin attributes, it follows that there must be a place to
> inherit from (but that place does not have to be the root or a root).
> 
> /js
> 
> On Mon, May 04, 2020 at 02:04:41PM +0200, Martin Björklund wrote:
> > Kent Watsen <kent@watsen.net> wrote:
> > > One small concern with the proposed NEW text is that it suggests that
> > > an NP-container is configuration, which I think is untrue.
> > 
> > An NP-container can represent config data, so I think that part of
> > Rob's suggested text is ok.
> > 
> > Here's Rob's proposed text:
> > 
> >     The origin for any top-level configuration data nodes, except
> >     non-presence containers, must be specified.
> > 
> > This doesn't say that a list within a top-level NP-container MUST have
> > "origin".
> > 
> > E.g.:
> > 
> >   container top {
> >     container second {
> >       list foo {
> >          ...
> >       }
> >     }
> >   }
> > 
> > Here /top/second/foo must have origin.
> > 
> > 
> > /martin
> > 
> > 
> > Thusly,
> > > maybe the following tweak is better?
> > > 
> > > s/except/which excludes/
> > > 
> > > NEWER:
> > >     The origin for any top-level configuration data nodes, which excludes
> > >     non-presence containers, must be specified.
> > > 
> > > Still, my preferred fix is captured at the end of the linked mail
> > > archive (i..e., fix the source definition for “data node” in RFC
> > > 7950....and reject this errata).
> > > 
> > > K.  // contributor 
> > > 
> > > 
> > > > On May 4, 2020, at 6:15 AM, Rob Wilton (rwilton)
> > > > <rwilton=40cisco.com@dmarc.ietf.org> wrote:
> > > > 
> > > > Are there any other comments on the proposed resolution of this
> > > > erratum?
> > > > 
> > > > Regards,
> > > > Rob
> > > > 
> > > > 
> > > >> -----Original Message-----
> > > >> From: netmod <netmod-bounces@ietf.org> On Behalf Of Martin Björklund
> > > >> Sent: 28 April 2020 16:47
> > > >> To: rwilton=40cisco.com@dmarc.ietf.org
> > > >> Cc: netmod@ietf.org
> > > >> Subject: Re: [netmod] Erratum 5514 on NMDA [RFC 8342]
> > > >> 
> > > >> "Rob Wilton \(rwilton\)" <rwilton=40cisco.com@dmarc.ietf.org> wrote:
> > > >>> Hi,
> > > >>> 
> > > >>> There is one open erratum on NMDA from 2018 that I would like to
> > > >>> process.
> > > >>> 
> > > >>> The erratum is here: https://www.rfc-editor.org/errata/eid5514
> > > >>> 
> > > >>> There has been quite a lot of discussion on this erratum previously on
> > > >>> the NETMOD alias.  The last email in the thread was
> > > >>> 
> > > >> https://mailarchive.ietf.org/arch/msg/netmod/LHJZmf5gtESX6Nobwst0OwXbGG4/
> > > >>> 
> > > >>>> From my reading of the discussion, I don't think that there is clear
> > > >>>> WG consensus between the two competing concerns:
> > > >>> (1) The origin for any top-level configuration data nodes must be
> > > >>> specified (section 7, YANG annotation definition).
> > > >>> (2) The origin applies to all configuration nodes except non-presence
> > > >>> containers (section 5.3.4).
> > > >>> 
> > > >>> Hence my proposal is to mark this as "Hold for Document Update" with
> > > >>> Kent's proposed resolution of changing the description in the YANG
> > > >>> model.
> > > >>> 
> > > >>> OLD:
> > > >>>    The origin for any top-level configuration data nodes must be
> > > >>>    specified.
> > > >>> 
> > > >>> NEW:
> > > >>>    The origin for any top-level configuration data nodes, except
> > > >>>    non-presence containers, must be specified.
> > > >>> 
> > > >>> For reference, this will mean that the extension [NEW] is defined as:
> > > >>> 
> > > >>>     md:annotation origin {
> > > >>>       type origin-ref;
> > > >>>       description
> > > >>>         "The 'origin' annotation can be present on any configuration
> > > >>>          data node in the operational state datastore.  It specifies
> > > >>>          from where the node originated.  If not specified for a given
> > > >>>          configuration data node, then the origin is the same as the
> > > >>>          origin of its parent node in the data tree.  The origin for
> > > >>>          any top-level configuration data nodes, except non-presence
> > > >>>          containers,  must be specified.";
> > > >>>     }
> > > >>> 
> > > >>> Please can you let me know if you support or object to this
> > > >>> resolution.  I'll leave it a week to see if there is consensus before
> > > >>> processing the erratum.
> > > >> 
> > > >> I think this is ok.
> > > >> 
> > > >> 
> > > >> /martin
> > > >> 
> > > >> 
> > > >> 
> > > >> _______________________________________________
> > > >> 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
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>