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

"Reshad Rahman (rrahman)" <rrahman@cisco.com> Fri, 24 April 2020 19:57 UTC

Return-Path: <rrahman@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 1F5213A09A5 for <netmod@ietfa.amsl.com>; Fri, 24 Apr 2020 12:57:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level:
X-Spam-Status: No, score=-9.599 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, HTML_MESSAGE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 header.b=PIuzPWjZ; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=z0Q1UgZE
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 H38q4r9xmHdl for <netmod@ietfa.amsl.com>; Fri, 24 Apr 2020 12:57:18 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68B9D3A0996 for <netmod@ietf.org>; Fri, 24 Apr 2020 12:57:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=30059; q=dns/txt; s=iport; t=1587758238; x=1588967838; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=FlQoCCCFz01iMpU16gDgHSNvoyTRnYLszkVM/QU1GoE=; b=PIuzPWjZCWZ8zhLGXz3sJSa6JbhvxQeABitpd4kaCYPYgxvvVqjHpiXO rCXVDVGIOppAbk/vDO8vcbZby0cYGsXUZOUsVbEEPXog1ysRSuDOwbl2g maQ3toFCpOY14AroQspo7Qi8027YD6Q/MrOzCon2Maki/xjVdeAgyCcge w=;
IronPort-PHdr: 9a23:jaGpwRcrB+NQAMCaVYQph9a4lGMj4e+mNxMJ6pchl7NFe7ii+JKnJkHE+PFxlwGRD57D5adCjOzb++D7VGoM7IzJkUhKcYcEFnpnwd4TgxRmBceEDUPhK/u/dTYzHMFLUndu/mqwNg5eH8OtL1A=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0D7CQDFQ6Ne/40NJK1mHAEBAQEBBwEBEQEEBAEBggOBJS8kBSgFbFggBAsqCoQVg0YDinFOgWwlmDCCUgNUCwEBAQwBARgBDAgCBAEBg39FAheCDyQ4EwIDAQELAQEFAQEBAgEFBG2FVgyFcQEBAQEDAQEQER0BAQciAwwPAgEIBwkBAwEBAQ4TBwMCAgIlCxQJCAIEARIUBweCOUsBgX5NAy4BDqcUAoE5iGF2gTKDAAEBBYEyAYNvGIIOCYE4gmOJVhqBQT+BEScMEIJNPoEEgWMBAQKCAw0Jglwygi2OEUmCXYYUJIJRh2aPeQqCRYgMj28WB4JamhePeIFWh2+TOQIEAgQFAg4BAQWBaSIpgS1wFTsqAYIKAQEBMQlHGA2RNBiDWoUUhUJ0AjMCBgEHAQEDCXyLaS2BBgGBDwEB
X-IronPort-AV: E=Sophos;i="5.73,313,1583193600"; d="scan'208,217";a="482049252"
Received: from alln-core-8.cisco.com ([173.36.13.141]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 24 Apr 2020 19:57:17 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by alln-core-8.cisco.com (8.15.2/8.15.2) with ESMTPS id 03OJvHdQ015122 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 24 Apr 2020 19:57:17 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 14:57:17 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 24 Apr 2020 14:57:16 -0500
Received: from NAM04-BN3-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 24 Apr 2020 14:57:16 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nL2PY/K7ZogTwAWI4in7sJC1SQChr0Rcp7+h3PJJom350opUDLeA4u4zGbL74CUFT8LvpupUahlFDqHvgSANRRT0f+awMftZ4dWywRn4DfSlrDWtdmk98is1fPneniLyAqHHTpXRgqwufM33WPWKmH69mMxc+NzJCDCbWxRZuLB4BDbwnbJJajEvyg4u6u7uWGVSq7/1Vhu1Ola5A+w/Sov4S4sjHucji53r7VvPbMG88XHed8rjO2mMhOtNZPj4hRBWy93B+PrwsBgZakbp1yzY3C4UCqSl801HW8vjEqRff6QlKLrTHbjNmOlWkzlOec6KuSGI6rd2YYrZl1FuiQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FlQoCCCFz01iMpU16gDgHSNvoyTRnYLszkVM/QU1GoE=; b=ZWuAOccd9RMUffawPCpc2752fwsot/jIcUrcUlK+JYK3ZSuwYrX3ET0pFSRcbb4oT6QPAFGHQwVZCVNXGLAPo7ogUZarFLamqKMye0IwaRhAkRA5NJpsbUMyuqxy2q2x0FjDTvx0qq2NpA3P+exF3OsV8LuSCxb6fmKm4Y5ekjmzKWdeyol67KLbW3heS/cOzkngdJ58shW5TjDUiGUjgi5giPDdhW09fU/IMCVfj4KtReM2IftgdDC2dE3arSCpz9nqxJW6poQS0Aguyy7w+Fn2xNTwlifS6g4x58t7qxI24fdxu3o73LZ9NU+JNZHd1V3QUVebL01L18zB6zcVBg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FlQoCCCFz01iMpU16gDgHSNvoyTRnYLszkVM/QU1GoE=; b=z0Q1UgZEZwuPPZInN/Vh7ytzJhOHbDvRdmgcdJu6GfbuyeU3+CPxqOvuA9MnNj7OD1WfrhpSYSpkDGNxyFBTTRplSLK/3uKJtc0qPJiq9IkgCAPz1gcfsO6I1+h2bWZ2UAJIroPr/5cYqivu/QhDx5T8gQifPv95bD/FIuhM6Pk=
Received: from DM5PR11MB1755.namprd11.prod.outlook.com (2603:10b6:3:112::10) by DM5PR11MB1465.namprd11.prod.outlook.com (2603:10b6:4:7::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.22; Fri, 24 Apr 2020 19:57:13 +0000
Received: from DM5PR11MB1755.namprd11.prod.outlook.com ([fe80::21ef:fc1b:13f5:1e6a]) by DM5PR11MB1755.namprd11.prod.outlook.com ([fe80::21ef:fc1b:13f5:1e6a%10]) with mapi id 15.20.2937.020; Fri, 24 Apr 2020 19:57:13 +0000
From: "Reshad Rahman (rrahman)" <rrahman@cisco.com>
To: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] [Technical Errata Reported] RFC7950 (6031)
Thread-Index: AQHWBCEZzuRy8idP80CyzzDlf8HWT6hcjXeAgAAFCACAAAp/AIAKu06AgAAX5wCAAAZLgIAAAeaAgAAOQICAABnTgIAACK0AgAQORwCAAA4ygIAFOHsAgAe+IACAAA9dgIAOTScAgAG9hoD//8OAgA==
Date: Fri, 24 Apr 2020 19:57:13 +0000
Message-ID: <E534F2CE-1637-43EA-AC68-59170C35B02A@cisco.com>
References: <20200327161318.ykrx2s36bhmaglxq@anna.jacobs.jacobs-university.de> <MN2PR11MB43666AB22069D14FC3FB9A66B5C70@MN2PR11MB4366.namprd11.prod.outlook.com> <DM5PR08MB26333FAB53D3C4C781AB7B6B9BC70@DM5PR08MB2633.namprd08.prod.outlook.com> <20200403.155421.968858617291773287.id@4668.se> <DM5PR08MB263377515563D05220D299919BC70@DM5PR08MB2633.namprd08.prod.outlook.com> <9c3ee87c0e9d14c8921796c4b53d44620b53a942.camel@nic.cz> <MN2PR11MB4366BB6982E7A530F5654789B5C70@MN2PR11MB4366.namprd11.prod.outlook.com> <20200403165538.2lk4x5j32e3ctl4t@anna.jacobs.jacobs-university.de> <0a546588-6f87-3362-17da-37de8ea08956@cesnet.cz> <20200406074235.o6gkpjsim77xfzv7@anna.jacobs.jacobs-university.de> <010001715f8c4aa2-21fad32a-36d7-441e-bbb7-24e3aef1c229-000000@email.amazonses.com> <5319ca95-1f3a-33e6-aae3-cfd9861d59d7@cesnet.cz> <CABCOCHTkXAWTXybB2hN8B79v0GRCXBsaRg9O5SkfqbCqoh-J1A@mail.gmail.com> <01000171a7fa898b-696030c8-0c3d-4e36-b2f1-49af349e1c0d-000000@email.amazonses.com> <MN2PR11MB4366BEF8C6E05E8A5386AFE2B5D00@MN2PR11MB4366.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB4366BEF8C6E05E8A5386AFE2B5D00@MN2PR11MB4366.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.21.0.200113
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rrahman@cisco.com;
x-originating-ip: [70.31.50.95]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1bd0d204-36c2-4f17-8954-08d7e889aea9
x-ms-traffictypediagnostic: DM5PR11MB1465:
x-microsoft-antispam-prvs: <DM5PR11MB1465845458FAEC5AAA86AEDDABD00@DM5PR11MB1465.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 03838E948C
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR11MB1755.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(396003)(136003)(346002)(39860400002)(376002)(478600001)(966005)(2906002)(6486002)(71200400001)(5660300002)(66574012)(110136005)(53546011)(26005)(66946007)(81156014)(2616005)(6506007)(76116006)(186003)(66476007)(91956017)(64756008)(316002)(86362001)(66556008)(66446008)(8676002)(36756003)(8936002)(6512007)(33656002); DIR:OUT; SFP:1101;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nb2V//9lhVr6jPOXWez+1FdNO4RS6JucZaacE6MN7nU0XcLs3EWoAhx0XiGgWzUjqMxFWX1LLzGLWgnQWh2XVKnex+QJdJyz19GyO9jGi8e9zTW6hYfjYOvZ5V871PcFl2pmnH7U2B6YmJ2GVN1tJW+UmIxQi9dtAdz/GeBF1gw2caryaGQb2WNwtE1Z3IJC8/KuV6Io5IzU6RYTEQge+u5U0PIMn+z6N1Hgjxo6qr3ASDkbWNnDFYs+wgxvRIYc6DUoxO3wAeMLKwMeg7md4+MQHVy+nL2VvIit1VJdeXiAE683+OSLHL6I8ZTJNjk1Nsl7qObppqC1MDD30yzQSGDvVTLqU7i6cEXRRbBxgKUbXmO2YiyF/jBmK878+JMEAoonS04fC1ikEeirAegPNqIQPoa6VUj2VtVo6kunW6izdT0rBMcGeeVmTLIWD9jVMPRioewhp2V6HsQ70HgZtNlqtT2MbtMXL1LhqhVsus2Ba4sOBSKrgSTllyinogBHEjp00U84z+0SvaouUZsHvg==
x-ms-exchange-antispam-messagedata: 7uBtaUhjqOlMZ5uMhG6tY/aCi85zJ4em/kWELlE9TBqt40EkICJoBRQmGt4uz0w8zGe9CeHypyvpD17yoqHy/CzbMWQJ8UrVqIFNBVYp9m87gLo81vr7jYa98R2iOGtJVS0PJ/abuz3oWsEZEWChlQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_E534F2CE163743EAAC6859170C35B02Aciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 1bd0d204-36c2-4f17-8954-08d7e889aea9
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2020 19:57:13.3165 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: FuqAxNI9OQUvfgGSccpFBE8Nk8DLS/OvZ9aLBNSWOykbT9+h2+csF+cG07rVkiGP3CSR1JKwS1XXkEnC9qAMAw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1465
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.15, xch-aln-005.cisco.com
X-Outbound-Node: alln-core-8.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/SrM2jKRNZYkXC46Xgh0MjXMhxsM>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6031)
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: Fri, 24 Apr 2020 19:57:22 -0000

Makes sense, it’s good with me.

Regards,
Reshad.

From: netmod <netmod-bounces@ietf.org> on behalf of "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>
Date: Friday, April 24, 2020 at 3:34 PM
To: Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6031)

Hi Kent,

Thanks for creating the issue.

I think that errata falls under section 7 of https://www.ietf.org/about/groups/iesg/statements/processing-rfc-errata/, and could be classified as “Hold for Document Update”.  I.e. “Changes that modify the working of a protocol to something that might be different from the intended consensus when the document was approved should be either Hold for Document Update or Rejected. Deciding between these two depends on judgment. Changes that are clearly modifications to the intended consensus, or involve large textual changes, should be Rejected. In unclear situations, small changes can be Hold for Document Update.”

I think that the consensus of the long term fix (e.g. in YANG 1.2) is that “require-instance” should be allowed under typedefs that refined types that allow it.

Pragmatically, I think that we can mark this errata is a “Hold for Document Update”, with the accompanying errata notes (derived from Radek’s comments) changed to:

“The document does not specify whether the “require-instance” keyword is allowed in typedef refinements derived from the “leafref” or “instance-identifier” base types, but it is anticipated that a future revision of YANG would allow this.   It is suggested that modules using YANG language versions 1 [RFC 6020] and 1.1 [RFC 7950] avoid using this construct, YANG module validation tools flag a warning if this construct is used, but implementations allow this if possible.”

Does anyone object to this course of action (or wishes to refine my errata notes)?

Regards,
Rob


From: Kent Watsen <kent+ietf@watsen.net>
Sent: 23 April 2020 17:59
To: Andy Bierman <andy@yumaworks.com>
Cc: Radek Krejci <rkrejci@cesnet.cz>; Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>; Martin Björklund <mbj+ietf@4668.se>; netmod@ietf.org; Rob Wilton (rwilton) <rwilton@cisco.com>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6031)

The consensus seems to be that:
  - the errata should be rejected
        - Rob, do you agree?
  - YANG-next should fix it later
        - I created https://github.com/netmod-wg/yang-next/issues/104
  - implementations should try to do the right thing now
        - Radek’s suggestion below LGTM!


Tallies:
   - for reject: Andy, Martin, Juergen, and Kent
   - for accept: Radek, and Balazs
   - unclear: Lada, Rob, and Jason


Kent // as co-chair


On Apr 14, 2020, at 10:35 AM, Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>> wrote:

Hi,

I agree with Juergen that this errata should be rejected and the issue resolved in yang-next.
No IETF module should use this construct. It is easy to convert to an equivalent form that is not under dispute.


Andy


On Tue, Apr 14, 2020 at 6:40 AM Radek Krejci <rkrejci@cesnet.cz<mailto:rkrejci@cesnet.cz>> wrote:
Hi,
Dne 09. 04. 20 v 17:26 Kent Watsen napsal(a):


On Apr 6, 2020, at 3:42 AM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de<mailto:j.schoenwaelder@jacobs-university.de>> wrote:

The definition I found in RFC 8639 is this:

       leaf stream {
         type stream-ref {
           require-instance false;
         }
         mandatory true;
         description
           "Indicates the event stream to be considered for
            this subscription.";
       }

This could be changed to:

       leaf stream {
         type leafref {
    path "/sn:streams/sn:stream/sn:name";
           require-instance false;
         }
         mandatory true;
         description
           "Indicates the event stream to be considered for
            this subscription.";
       }

I can confirm that `yanglint` validates the module cleanly after this change.



On Apr 6, 2020, at 7:38 AM, Martin Björklund <mbj+ietf@4668.se<mailto:mbj+ietf@4668.se>> wrote:

I think the correct fix is to change the text so that
"require-instance" is not classified as a restriction and keep the
default.

Agreed.


Also, I think that it would be easiest (for backwards
compatibility w/ existing models) to allow "require-inetance" to be
changed in derived types.

However, this cannot imo be done in an errata.

While I appreciate Radek and Michal’s perspective, I also think that is would be best for the community for `yanglint` to support this, as they are published modules doing it.


I don't feel as an expert for IETF processes, so I don't know if this issue can be solved in errata or not (and I'm not sure there is a consensus on this in mailing list). For the implementation, I would appreciate at least a consensus on a solution. So far I saw opinions to allow it, to disallow and also to make it implementation-specific (which means in fact to disallow from the authors perspective, since there can be a tool disallowing it and we are saying that such a tool is ok). So, there is no clear way for implementors, which means problems for interoperability - there will be always someone unhappy and so far I don't know what is the major opinion to go.

So far, I tend to allow it (accept by libyang), but print warning to warn authors about possible problems (some tool can refuse such a module). Is it ok?

Radek



As an aside, I feel that all modules should be tested against all available validation tools during the publication process, but to find issues in the modules and well as possibly improve the tools.

Sadly, I only have `yanglint` and `yangson` available to me.  I just checked for the “yang validator” project, but both www.yangvalidator.com<http://www.yangvalidator.com/> and https://www.yangcatalog.org/yangvalidator seem to be down.


Kent // contributor


_______________________________________________
netmod mailing list
netmod@ietf.org<mailto:netmod@ietf.org>
https://www.ietf.org/mailman/listinfo/netmod