Re: [netmod] [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-10.txt

Kent Watsen <kent+ietf@watsen.net> Tue, 12 April 2022 14:44 UTC

Return-Path: <010001801e3bd325-80cdfee9-a7d3-4019-a393-273d15605385-000000@amazonses.watsen.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 C398A3A1270; Tue, 12 Apr 2022 07:44:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.907
X-Spam-Level:
X-Spam-Status: No, score=-6.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 5ZaSOXv8x2NW; Tue, 12 Apr 2022 07:44:40 -0700 (PDT)
Received: from a8-96.smtp-out.amazonses.com (a8-96.smtp-out.amazonses.com [54.240.8.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0DF4A3A1266; Tue, 12 Apr 2022 07:44:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1649774679; h=From:Message-Id:Content-Type:Mime-Version:Subject:Date:In-Reply-To:Cc:To:References:Feedback-ID; bh=yCa2u0S6tpypSXWlsq3vJlGBo/zd0p1XCckbA+4nPS0=; b=NWK6Ixeb6c3L3jKZOCzKYpOqMbD9usAqpWRFbkri/15JGXhTqQBLf3PbfbfROiNj jroKvXzLkm72oHLjAt1Fnq9pwOf5hBYSAGCpijSkkX9w2vNru/mjKlUjsYhVBOcp5r8 kuFFdDXxqzO1TU0wCOZc3oOCsFbjUp4p24EYS6FU=
From: Kent Watsen <kent+ietf@watsen.net>
Message-ID: <010001801e3bd325-80cdfee9-a7d3-4019-a393-273d15605385-000000@email.amazonses.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_EF7A9644-99C6-453A-B57A-F98DC556A5F6"
Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\))
Date: Tue, 12 Apr 2022 14:44:38 +0000
In-Reply-To: <20220412070222.bkc5bhby4c2n32bs@anna>
Cc: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, "lsr@ietf.org" <lsr@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
References: <DB7E3112-3C2F-4040-81E1-F4625689DA62@chopps.org> <645FCC0B-8279-4070-B052-A553317B8474@cisco.com> <3F7DDA02-DEFA-4680-B048-1AB0A54C2FA1@chopps.org> <BB1D53D0-0D36-40DF-8B9D-4BD4EB6A35C1@cisco.com> <5b05a34d-41b6-7b65-ebe7-9dcaca80eeb2@alumni.stanford.edu> <m2wnfzydgz.fsf@ja.int.chopps.org> <530e30e1-9436-2123-7d03-eb4f876a9f90@alumni.stanford.edu> <BY5PR11MB4196F5F342BA12E79FF29B08B5EA9@BY5PR11MB4196.namprd11.prod.outlook.com> <CABCOCHS+uLjK5GcpCrmegCWBHoK=1-ySZhqO+D-TEnyGUki5kQ@mail.gmail.com> <de50de1e-7f8c-5cdd-6809-b8fdf0b5df9d@joelhalpern.com> <20220412070222.bkc5bhby4c2n32bs@anna>
X-Mailer: Apple Mail (2.3693.60.0.1.1)
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
X-SES-Outgoing: 2022.04.12-54.240.8.96
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/V-pnb-k2YNtrZyVOZXKOG2j2708>
Subject: Re: [netmod] [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-10.txt
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: Tue, 12 Apr 2022 14:44:42 -0000


> For me, the only sensible option (other than accepting that types are
> named the way they are) is to introduce ip-address-with-zone and to
> deprecate ip-address and stop there. Yes, this means coexistance of
> inet:ip-address and ip-address-with-zone until YANG is getting
> replaced.

As a contributor, this seems to be the most reasonable "by the rules" option.  There's nothing wrong with introducing a more-explicit label and deprecating a less-explicit label.   Having more explicit labels seems to be general goodness (e.g., more readable tree-diagrams) while not impacting CLI usability.  Deprecating less-explicit labels enables tooling to move existing non-explicit label uses to the more-explicit labels.  

It is easy to empathize with those seeing this as a bug-fix, but there's no clean way to assume a particular definition is what was universally intended and used.  It's additionally difficult to support an approach that breaks the rules that we are charged to defend.

Level-upping, is there any takeaway modeling advice coming out of this?  There's a historical trend to define base types with a broad value-space assuming uses will refine the value space as needed.  This trend seems well-reasoned, and yet here we are. Should there be advice indicating that if a value space is faceted, a union of more-explicit types is better (e.g., inet:host)?  If there is a type that is the union of "-with-zone" and "-without-zone", would it better to call it "ip-address-with-or-without-zone" or just "ip-address"?  [PS: I'm assuming that -with-zone" requires a zone, i.e., it's not optional]

PS: As a chair, consensus seems elusive.   Roughly 10 people have provided opinions with a nearly 50/50 split between the "follow the rules" and "do what's 'right'" camps.

K.