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

Robert Wilton <rwilton@cisco.com> Mon, 08 October 2018 13:51 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 51266130DC0 for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 06:51:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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 WesVxkNvLfA2 for <netmod@ietfa.amsl.com>; Mon, 8 Oct 2018 06:51:30 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E6C4C12F1A5 for <netmod@ietf.org>; Mon, 8 Oct 2018 06:51:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5221; q=dns/txt; s=iport; t=1539006689; x=1540216289; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=QSRasHdx0I8Ne2J10TqMWXlwouV9kcynLabNvG/MzYU=; b=CxCdm+p0cdnf7TMTajCIn5eT8O2mPbd4Zntk0wP4ijMd7xmUpUZfJnsU 7ESPTz/ejbMfgNKVN+7CMxqqr7l9X0Vblt7WecGtq3BAJl7OIoiUojbr1 oAI5r+HXmV/uEKFeZNAWUmnm3mcKMswMngRaQanfO6GEni+hA7DS0XHVZ 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A9AABgX7tb/xbLJq1jGQEBAQEBAQEBAQEBAQcBAQEBAQGBZYNZEoQdiHSNXphjDYRsAoRbOBYBAwEBAgEBAm0ohTkBAQEBAgEjDwEFLwUKEwkCDgoCAiYCAlcGAQwIAQEXgwaBegiIHptNgS6EAQF1hRWBC4pFgUE/gRIngmuBQYMngxeCVwKdbgmQQwYXgU6HTIZdiQ6GOYYrgVkhgVUzGggbFYMogiUMC41iATY+jwMBAQ
X-IronPort-AV: E=Sophos;i="5.54,357,1534809600"; d="scan'208";a="7084078"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Oct 2018 13:51:26 +0000
Received: from [10.63.23.158] (dhcp-ensft1-uk-vla370-10-63-23-158.cisco.com [10.63.23.158]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTP id w98DpQGG026383; Mon, 8 Oct 2018 13:51:27 GMT
To: Lou Berger <lberger@labn.net>, Andy Bierman <andy@yumaworks.com>, 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> <973c0b2d-cc42-fdc6-d405-dd7e561a37a3@cisco.com> <0073d57d-217d-3fff-54c3-7f0cf062c0cc@labn.net>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <cd75f603-90bb-72dd-434b-6022856495ba@cisco.com>
Date: Mon, 08 Oct 2018 14:51:26 +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: <0073d57d-217d-3fff-54c3-7f0cf062c0cc@labn.net>
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-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/H60dOgw8MU1kBLZ3LpwjxiNip-E>
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 13:51:32 -0000

Hi Lou,


On 08/10/2018 13:57, Lou Berger wrote:
> Hi Rob/All,
>
> Keep in mind that the document says what it says and that to change 
> text really requires a new version.
>
> On 10/8/2018 6:01 AM, Robert Wilton wrote:
>> So there seem to be two available solutions here:
>>
>> (i) The server MUST provide an origin value for the top level datanode,
> This is pretty close to what Andy previously quoted:
>
>      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 must be specified.";
>      }
>
>
> I think it's clear that the reviewers, notably myself as shepherd, 
> missed that this is a lowercase "must" and should have asked for 
> clarification during the review process.
So I think that the logic for it being must rather than MUST is that it 
is in a YANG module, and we didn't want to tie the YANG module to RFC 
2119 language.


>
> Having an errata saying this "must" really is a "MUST" is quite 
> reasonable from my perspective.
I'm not convinced that this has to change.

>
>> 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.
> I guess I'd need to see that specific language to understand if a new 
> requirement or recommended behavior is being prescribed.  If it is, we 
> need a new document to do so.
The additional sentence (added at the paragraph above) could be 
something along the lines of:

"For top level nodes that are non-presence containers, where the origin 
has no direct meaning other than as a hierarchical default origin, the 
server may choose any convenient origin value".

But equally, perhaps the existing test is sufficient without requiring 
any changes at all.  Then the errata that is required is the one that 
Rohit submitted.

Thanks,
Rob


>
>> (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?
>
> Either we agree that s/must/MUST in an errata or start a new (update 
> or bis) draft  to update the behavior.  It would also be fine to flag 
> the issue in the errata without specific resolution, with the 
> understanding that the issue would need to be resolved, in an update 
> or bis, at some point in the future.
>
> Lou
>
>>
>> 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
>>>
>>
>
> .
>