Re: [netmod] [Technical Errata Reported] RFC6020 (4911) - what next?

Lou Berger <lberger@labn.net> Mon, 23 January 2017 16:12 UTC

Return-Path: <lberger@labn.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 CB748129644 for <netmod@ietfa.amsl.com>; Mon, 23 Jan 2017 08:12:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.157
X-Spam-Level:
X-Spam-Status: No, score=-3.157 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.156, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=labn.net
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 qpYV5l6PxLnD for <netmod@ietfa.amsl.com>; Mon, 23 Jan 2017 08:12:37 -0800 (PST)
Received: from gproxy4-pub.mail.unifiedlayer.com (gproxy4-pub.mail.unifiedlayer.com [69.89.23.142]) by ietfa.amsl.com (Postfix) with SMTP id 6E504129601 for <netmod@ietf.org>; Mon, 23 Jan 2017 08:12:37 -0800 (PST)
Received: (qmail 6303 invoked by uid 0); 23 Jan 2017 16:12:32 -0000
Received: from unknown (HELO CMOut01) (10.0.90.82) by gproxy4.mail.unifiedlayer.com with SMTP; 23 Jan 2017 16:12:32 -0000
Received: from box313.bluehost.com ([69.89.31.113]) by CMOut01 with id bs9u1u00b2SSUrH01s9xjv; Mon, 23 Jan 2017 09:09:57 -0700
X-Authority-Analysis: v=2.1 cv=H75InYoi c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=h1BC+oY+fLhyFmnTBx92Jg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=xqWC_Br6kY4A:10 a=IgFoBzBjUZAA:10 a=48vgC7mUAAAA:8 a=BqEg4_3jAAAA:8 a=5mljRTJBPNmTqbC7hLEA:9 a=afl1QGrh2RY3cLpC:21 a=GZNgnuBoW0IfgMrD:21 a=pILNOxqGKmIA:10 a=mhd2NDuUijAA:10 a=w1C3t2QeGrPiZgrLijVG:22 a=0mFWnFbQd5xWBqmg7tTt:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=OPbvtuQXGAOoNS+ieAzA0eRYZE9wMFHQIZoFE9I174o=; b=yvWTGV6x3y/oKXadUCWS+ksZiW aAfCPkCYS0PfXAzjxWWHRlWIPVGGb03eYX9v9/iMsnL1MqOUwXFnZQyjplgSzxAHWzPsyz4mPJCCL MI/rY1c1XnpBAT+vESjFu3BUs;
Received: from pool-100-15-85-191.washdc.fios.verizon.net ([100.15.85.191]:48004 helo=[IPv6:::1]) by box313.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from <lberger@labn.net>) id 1cVhBr-0003pw-5o; Mon, 23 Jan 2017 09:09:55 -0700
To: Benoit Claise <bclaise@cisco.com>, mbj@tail-f.com, joelja@bogus.com, kwatsen@juniper.net, netmod@ietf.org
References: <20170118114858.62A63B80FFD@rfc-editor.org> <fc729e9c-2a65-282b-c12e-ba359347e5fb@cisco.com> <20170123104655.GA29877@elstar.local> <f30d5742-5173-2606-8ed7-8cab6f4fc0e5@cisco.com>
From: Lou Berger <lberger@labn.net>
Message-ID: <2fbe2a73-b290-619c-6f68-9d222c8253d9@labn.net>
Date: Mon, 23 Jan 2017 11:09:53 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <f30d5742-5173-2606-8ed7-8cab6f4fc0e5@cisco.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box313.bluehost.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - labn.net
X-BWhitelist: no
X-Source-IP: 100.15.85.191
X-Exim-ID: 1cVhBr-0003pw-5o
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: pool-100-15-85-191.washdc.fios.verizon.net ([IPv6:::1]) [100.15.85.191]:48004
X-Source-Auth: lberger@labn.net
X-Email-Count: 15
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/_Idw5GvvTwTTDUnddwngCWGPaTM>
Subject: Re: [netmod] [Technical Errata Reported] RFC6020 (4911) - what next?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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, 23 Jan 2017 16:12:38 -0000

How do you feel about an errata on 1.0 that it should be considered to
be updated by 1.1?

Lou


On 1/23/2017 6:08 AM, Benoit Claise wrote:
> On 1/23/2017 11:46 AM, Juergen Schoenwaelder wrote:
>> Benoit,
>>
>> RFC 6020 is ambiguous and this is just how it is. The solution for
>> YANG 1 is simply to give advice to module writers to avoid ambiguous
>> character sequences (and avoiding ambiguity can be easily done).
>>
>> YANG 1.1 fixes the ambiguity in YANG 1 but backporting this fix to
>> YANG 1 is a change of YANG 1, i.e., it might turn a conforming
>> implementation into a non-conforming implementation. Hence, this may
>> go beyond the scope of an errata.
>>
>> If tools generate proper warnings, I think we are fine and we do not
>> need to change YANG 1. These kind of issues are caught by tools, not
>> by humans reading language specifications.
>>
>> If you feel strongly that an errata is needed, then the errata should
>> simply clearly spell out that certain backslahs sequences are
>> ambiguous and provide advice that they should not be used.
> That would work.
> Can we modify the errata this way.
>
> Regards, Benoit
>> This is
>> backwards compatible. Making them illegal is not backwards compatible.
>>
>> /js
>>
>> PS: This is also my recollection of the discussion of issue Y06 when
>>      YANG 1.1 was put together.
>>
>> On Mon, Jan 23, 2017 at 11:29:25AM +0100, Benoit Claise wrote:
>>> Dear all,
>>>
>>> Let me summarize the situation.
>>>      - The RFC 6020 spec is clearly ambiguous.
>>>      - The solution is to use YANG 1.1
>>>      - RFC 7950 doesn't update or obsolete RFC 6020 (*)
>>>      - We should stop this problem from spreading further: updating tooling
>>> is one good aspect, we should update the spec. too to at least warn the
>>> users.
>>>
>>> There is no perfect solution.
>>> Because of (*), I believe I should accept this errata.
>>> Any strong objections? If you have, propose a better plan. And I don't
>>> believe that "do nothing" is sufficient.
>>>
>>> Regarding the "update" solution, see the RFC 7950 writeup at https://datatracker.ietf.org/doc/draft-ietf-netmod-rfc6020bis/shepherdwriteup/
>>>
>>>     (16) Will publication of this document change the status of any
>>>     existing RFCs? Are those RFCs listed on the title page header, listed
>>>     in the abstract, and discussed in the introduction? If the RFCs are not
>>>     listed in the Abstract and Introduction, explain why, and point to the
>>>     part of the document where the relationship of this document to the
>>>     other RFCs is discussed. If this information is not in the document,
>>>     explain why the WG considers it unnecessary.
>>>
>>>        No. YANG 1.0 [RFC6020] is not expected to change its status since
>>>        there are data models on the standards-track that conform to YANG
>>>        1.0. YANG 1.0 may be considered for retirement once all data models
>>>        have naturally been updated to a future version of YANG.
>>>
>>> Regards, Benoit
>>>> The following errata report has been submitted for RFC6020,
>>>> "YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)".
>>>>
>>>> --------------------------------------
>>>> You may review the report below and at:
>>>> http://www.rfc-editor.org/errata_search.php?rfc=6020&eid=4911
>>>>
>>>> --------------------------------------
>>>> Type: Technical
>>>> Reported by: Ladislav Lhotka <lhotka@nic.cz>
>>>>
>>>> Section: 6.1.3
>>>>
>>>> Original Text
>>>> -------------
>>>> Within a double-quoted string (enclosed within " "), a backslash
>>>> character introduces a special character, which depends on the
>>>> character that immediately follows the backslash:
>>>>
>>>>    \n      new line
>>>>    \t      a tab character
>>>>    \"      a double quote
>>>>    \      a single backslash
>>>>
>>>>
>>>> Corrected Text
>>>> --------------
>>>> Within a double-quoted string (enclosed within " "), a backslash
>>>> character introduces a special character, which depends on the
>>>> character that immediately follows the backslash:
>>>>
>>>>    \n      new line
>>>>    \t      a tab character
>>>>    \"      a double quote
>>>>    \      a single backslash
>>>>
>>>> The backslash MUST NOT be followed by any other character.
>>>>
>>>> Notes
>>>> -----
>>>> The text doesn't state whether other characters may follow the backslash, and if yes, what it means. Existing implementations have used three approaches:
>>>>
>>>> 1. report an error if another character follows the backslash
>>>> 2. keep only the character following the backslash, i.e., for example, "\x" is the same as "x".
>>>> 3. keep both the backslash and the character following it.
>>>>
>>>> This ambiguity is undesirable and YANG 1.1 [RFC 7950] explicitly adopted option #1. However, many modules are still being written using YANG version 1.0, so it is important to clarify this issue in RFC 6020 as well.
>>>>
>>>> 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.
>>>>
>>>> --------------------------------------
>>>> RFC6020 (draft-ietf-netmod-yang-13)
>>>> --------------------------------------
>>>> Title               : YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)
>>>> Publication Date    : October 2010
>>>> Author(s)           : M. Bjorklund, Ed.
>>>> Category            : PROPOSED STANDARD
>>>> Source              : NETCONF Data Modeling Language
>>>> Area                : Operations and Management
>>>> Stream              : IETF
>>>> Verifying Party     : IESG
>>>> .
>>>>
>>> _______________________________________________
>>> netmod mailing list
>>> netmod@ietf.org
>>> https://www.ietf.org/mailman/listinfo/netmod
>