Re: [netmod] [Technical Errata Reported] RFC8342 (5514)

Robert Wilton <rwilton@cisco.com> Mon, 08 October 2018 10:01 UTC

Return-Path: <rwilton@cisco.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 0C550130DC4 for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 03:01:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.957
X-Spam-Level:
X-Spam-Status: No, score=-14.957 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.456, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 OSExx2ytP6vJ for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 03:01:26 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7C36B130D7A for <netmod@ietf.org>; Mon, 8 Oct 2018 03:01:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2629; q=dns/txt; s=iport; t=1538992886; x=1540202486; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=uYePRCY7LKlV9mbSNIdo9iTqKG919zQgZ4CvZUEbGlg=; b=JSNvH/lrO6Z9yCEhPCFzsA8C6nrCXYiNBOETJO12LZU5/2UA7OjGFlMO uVe+0EmVYl9o8qo2jNJhXQr+2auryrq2zj85h4DrdbZOw5C/O5aYPFXOR B21hJZinMFyvCNdZAC7XU9SqQ1Z8A7GhZuZZF/OI8Vqm+ASv6kWnnlNcF g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AJAACVKrtb/xbLJq1iGQEBAQEBAQEBAQEBAQcBAQEBAQGBUgMBAQEBAQsBg1gShB2IdI1elmmBeg2EbAKEWDUMDQEDAQECAQECbSiFOgEFIw8BBS8FChMLGAICJgICVwYBDAgBAReDBoICozOBLoQBAXWFFIELikWBQT+BEieCa4FBgyeDF4JXAp1uCZBDBheJGoZdj0eGK4FEATWBVTMaCBsVgyiCJQwLjWIBNj6PewEB
X-IronPort-AV: E=Sophos;i="5.54,356,1534809600"; d="scan'208";a="7017895"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Oct 2018 10:01:24 +0000
Received: from [10.63.23.158] (dhcp-ensft1-uk-vla370-10-63-23-158.cisco.com [10.63.23.158]) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id w98A1OGD004098; Mon, 8 Oct 2018 10:01:24 GMT
To: Andy Bierman <andy@yumaworks.com>, Lou Berger <lberger@labn.net>, Ignas Bagdonas <ibagdona@gmail.com>, NetMod WG <netmod@ietf.org>, Warren Kumari <warren@kumari.net>, RFC Errata System <rfc-editor@rfc-editor.org>
References: <20181005094808.A049EB800AE@rfc-editor.org> <20181005101427.bw7qo7ertxk2dj5d@anna.jacobs.jacobs-university.de> <1b34ccac-831f-505d-d40b-c21234efc475@labn.net> <20181005142816.avs2es2ymvc7qxwx@anna.jacobs.jacobs-university.de> <2e2f0188-770c-5fad-6a9d-a0be3abd1fce@labn.net> <CABCOCHS4GOVYC0FRJEtCpzQ+VB=u6g0LDEmL1ULqysBA=yhzNg@mail.gmail.com> <20181007064721.i4gfbmhrldvmtgbz@anna.jacobs.jacobs-university.de> <CABCOCHTZMabKuu-T4mGAwiaeWDpSWZopFB42W8A+u7g6ZvRg7w@mail.gmail.com> <20181007170907.23ussvtcds7ftnab@anna.jacobs.jacobs-university.de>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <973c0b2d-cc42-fdc6-d405-dd7e561a37a3@cisco.com>
Date: Mon, 08 Oct 2018 11:01:23 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20181007170907.23ussvtcds7ftnab@anna.jacobs.jacobs-university.de>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Outbound-SMTP-Client: 10.63.23.158, dhcp-ensft1-uk-vla370-10-63-23-158.cisco.com
X-Outbound-Node: aer-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Np45isQhYvbGvbEcg1zXlMCjtGA>
Subject: Re: [netmod] [Technical Errata Reported] RFC8342 (5514)
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, 08 Oct 2018 10:01:29 -0000

So there seem to be two available solutions here:

(i) The server MUST provide an origin value for the top level datanode, 
but for NP containers it can use whatever origin value it likes - since 
the origin value imparts no direct meaning other than the default origin 
that descendants acquire if they haven't provided an explicit origin.  
In this case we would probably add a line of text to clarify this 
behavior of choosing a suitable origin value for top level NP containers.

(ii) The requirement is weakened as Juergen has described previously.


Solution (i) minimizes the impact of the change to the RFC, but probably 
constrains server implementations slightly more than is strictly required.

Solution (ii) gives a bit more flexibility to server implementations but 
in theory could break client implementation that rely on a top level 
origin always being provided.  Although, in reality I would expect a 
robust client implementation to either not care, or choose a suitable 
default origin (e.g. "unknown") if an explicit origin hasn't been provided.

If solution (ii) is beyond the scope of what is allowed in an errata 
then it would seem that we should go with solution (i) instead.  But how 
do we get to a final decision?

Thanks,
Rob


On 07/10/2018 18:09, Juergen Schoenwaelder wrote:
> On Sun, Oct 07, 2018 at 09:49:57AM -0700, Andy Bierman wrote:
>> Can somebody explain the rationale for the highlighted text from 5.3.4?
> Note the difference between "applies to" and "carries". A non-presence
> container has no relevance for configuration and hence an origin value
> does not *apply* to a non-presence container. Still, a non-presence
> container can *carry* an origin attribute.
>
>> There are many top-level configuration NP-containers defined already.
>> It is clearly more efficient to have 1 origin attribute in the top-level
>> container than in each of the child nodes.
> There is no requirement to produce efficient encodings. This is up to
> implementations, the cost of calculating a minimal encodings may be
> high for systems that like to stream information. That said, even
> toplevel origin attributes are not sufficient to guarantee an
> efficient encoding. If most child nodes have an origin different than
> what is stated in the toplevel container, you gain little.
>
> The requirement really is that an origin must be defined for all
> configuration data nodes (except np-containers). The way how this
> is done	is up to implementations. If implementations want to set
> default	origins	at the toplevel, so be it.
>
> /js
>