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

tom petch <ietfc@btconnect.com> Wed, 13 April 2022 09:22 UTC

Return-Path: <ietfc@btconnect.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 E3B003A0E41; Wed, 13 Apr 2022 02:22:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 mELTC_bSRJw1; Wed, 13 Apr 2022 02:22:09 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20714.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::714]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF5E53A0E3E; Wed, 13 Apr 2022 02:22:08 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VBEbMvF0N/hABowwefDZA6csY6HHFAP3F/q0mo5FO65itwlYbCZyDBsgSLJTdvstY2Sy8UwTEfHl0LV0TXkVFfrOC8VDlraE5EN8XB2RgQWxKjKfEAe3lNteePEaM7dw6d+1Pih/d0fzGn1WY0Ftj7PJnWqWrN+v49YL5yccIhEc4Wy7Sc3eZDJMRcf3D6txRYSaM1XV+Djud9BDI8gV+jynAMQv7LAwjiqsRFLVpG/ccmY98hjSW7kcHbGVv8Y/UmSUumWyL0Cugm5Q967f7KtUWu7XD0Euzopbi8WGk5KIsP2gO5SMsrqvbjuGHTPf+KWDpLtTVfaSc0HGl/74lg==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p9baVmp+Jh+7dFieiuxpG7FgGVMiyx3R3Z84KEJi35M=; b=MSitn4CQecJwo7jZQKAyJHGIawvAdjHtViaut9tuy7+A42DZ6KY2dGG5JcoMFQ8yRHeH8TxHK5R/yOU7P+WAtE/GWJchFtpURpSUrLqBzka4nP7AhG32weKzpZq+2wjsOH0ZhNw5Vkx3jtpALjhm0vh8jMR/eZPEP1lkJeSV6dl2+uV8MTTw3R4iicsKZATefS6WJJkMr/dgPXv7VS4yr9ReJeoNiOUAVok9pxl1sKBow/xXPd8vEQkdAA/ZfuMgARu5Ae+sQ5Vb26GAH1n/lJ5z/eCi9bOoscwbJ4NJ16OJJ/N7nLvdQaSu7x8HL01TS0GzT78K2h4BbuARRhjmbw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p9baVmp+Jh+7dFieiuxpG7FgGVMiyx3R3Z84KEJi35M=; b=a7SaSIpJml0gz2yCzRZxv8HUFvdpFWnKA9yP/fxh0Qa8PQFL4K8FXuEklWVNloc/8AKR38mPRAPJhlAeXdggK4Cr8tO76/1PRbwkEwiTXItfI99KCb4fdzUZi2PFkHmRwMZSdbxIZ9k8n87frTi90+NDvkdYfd0mUXAAtFxmVus=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AM8PR07MB8189.eurprd07.prod.outlook.com (2603:10a6:20b:320::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.17; Wed, 13 Apr 2022 09:22:03 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b1c5:beb7:ddbf:b358]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::b1c5:beb7:ddbf:b358%9]) with mapi id 15.20.5164.020; Wed, 13 Apr 2022 09:22:03 +0000
From: tom petch <ietfc@btconnect.com>
To: "Rob Wilton (rwilton)" <rwilton=40cisco.com@dmarc.ietf.org>, "netmod@ietf.org" <netmod@ietf.org>, "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [netmod] [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-yang-10.txt
Thread-Index: AQHYS0LtvCKzbyeW0Ui+zAGBTFJWiqzmTi+AgASoWYCAAqEdqg==
Date: Wed, 13 Apr 2022 09:22:03 +0000
Message-ID: <AM7PR07MB6248928E9399DB39EB660A67A0EC9@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <164662287026.10186.17661147788695088858@ietfa.amsl.com> <AM7PR07MB62483353E387A0538EDA44C6A0E59@AM7PR07MB6248.eurprd07.prod.outlook.com> <AM7PR07MB6248D0B4D19EF3168DEC4864A0E59@AM7PR07MB6248.eurprd07.prod.outlook.com> <978D3500-5A9C-49FA-A259-B4E234CC9332@cisco.com> <AM7PR07MB6248CE4BDC0B27008D4F04BCA0E59@AM7PR07MB6248.eurprd07.prod.outlook.com> <2C00E058-F836-415E-A357-797E01FE77AD@cisco.com> <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>
In-Reply-To: <BY5PR11MB4196F5F342BA12E79FF29B08B5EA9@BY5PR11MB4196.namprd11.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b1e3059a-fdaf-42fe-1573-08da1d2f1252
x-ms-traffictypediagnostic: AM8PR07MB8189:EE_
x-microsoft-antispam-prvs: <AM8PR07MB8189B28849A63191E3C36ECEA0EC9@AM8PR07MB8189.eurprd07.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: L5L+yY6YeNF558M92UZe+Be+bfrFt1kxFSrSp9KdWZQmQXkqiX4+ppxVJ7KTVzO5zXGaOpADvWxIunh+nPkLNIxZpfzGKIizKdJFb0mUvlejiiPe+OxxhFo80a1rcBZ5hDjGByNG3cx2s2/OWXi7GPz2iJ03nU9GXPjPpetBcvYo5A/2v0lUJyyPmul2HyG4LV2x2VFJGQu1U/sr/gevcKSW/9ERjbZRvgv7ls15d8+kSOxUlOgVwJq0EZBTfQzmKVdTNPIoSHMfKE/f7iS8+aaIASZDSrmsOq7LGV2RoEyNlE+K+IEFN69QN7Yi9ikhY0FvK2g+vhWnDnJ8fMGl+dpAMiKtEd1Ob0RupNfFWYfQbp6QmSiRUAQDGJU/xH6SY0g05F5AsGD4ISn5SFDmfeXyfbbWAB6iNEed3EBbIxltl/x5xx5HpVmpbAoyuRVn2P8Rg/scHTGxrp1lX7yhFcDpa/LIplb23nPtblbHV0s08/sLi83vLpDnc+D1pKbXJUB9Cey4+LV3EzIQ7Y7ygUK/fwampO53LoQSsbjkzoVLKXjpF5UE54oN1akDRtZldbO2BtmxrrDqkQwj47ZW4OCojfuBYf6wG7AgM1UjtZWoCfUTX4+UDy+fG0E3ISvKetQS5cQbxuUCMCrFfaNy9xdWFlrglnoGBvYzSfgs4ASiTy/QhQUOt7yP7PCMZQa5qyoplhIS1+qmNEmt0TpcGGu30fEeZram4x5Ac0vrVjji9tjAmzr2I4Fpdlef5/M/qByT47W2AETX/e6/MuL4sYBNh2/55pPcVGQ5Q5pK6Fg8lkBPqNeHIjz6nwQniuCSgPiV30KaSbxz63LdHtW1Jr12J/vpBrDEbwnYN5JAGznw2QuRkOaMyZfgpP8g/0fE
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(2906002)(966005)(33656002)(110136005)(8936002)(38070700005)(316002)(71200400001)(86362001)(55016003)(5660300002)(52536014)(186003)(26005)(82960400001)(508600001)(83380400001)(8676002)(53546011)(6506007)(91956017)(7696005)(66476007)(38100700002)(66556008)(9686003)(64756008)(66946007)(66446008)(76116006)(122000001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: xZ6mDUAQrrglL8ctu4hIA8mUAZLGeZ2xbSjE7/axzE+XFITJpz3XmHfkO5OmNfHXtQiVPfc01IL+8+i1FiLmZi8+Fyrx2m3GlY96CZwN0PqAXDwjUc+ek7UoEY+WhhWGt2ZVCWnL8VTyWXj7244GXIx8ul/O/C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g4jdc3SoHaeb6LO5QbZ84JrAG+yhwPjDCvp0i+8dQD7Nj4QO/LP8YC3iTaH6piQTw5lrh0L4LHy0uXZPM6/IzIQNcp/xU7R7TTOS3zRR09XHRNKnAZIhx21GLqK2+9aEkwXXuCEGlfA5ttvX7GSYf/aTx3Ao1hi9Uo3mY5Ya5aWhTP1r35+IID72vN0aFWPGjIHzt2xcDf8cGSwiPLOL+lbBOOmgDGo5Pbp7IlR2NynBR7dXRsi8hT4jZGZlHMYndLRvbxRSr+I+xsA5i3IjfsJjdjo4AQC0wmvqDEd+W1QCe8FW2axhW/ERZOsJDpboiwtiHtwp5dn083ygDSRhjndVdWncZyFrIb4sPZ/tmYKFoGf30kmGl8gJTEg/r++t4hpeES+Hn90hleovXEaNRJifGaNUwK5+9T2KIws4pu4/DyiyFNR2SZUZTWKslJ330yZEKgzhdPYWuKXlhx1lJB/AdsmkcMH606TIsJR5uiX8oBXdnHKuHNhkPw==
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b1e3059a-fdaf-42fe-1573-08da1d2f1252
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Apr 2022 09:22:03.3290 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: xjkhBZNa2i3v5eyive+WCT+rK1LPgwcfnEibUa74sGAmwFEIghUXPOZIq0PYnZ66nB/aJEcMvb7ea+poc5Y8cA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR07MB8189
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/oBXsRZdMfUWKeDnmfzcwZArTUH0>
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: Wed, 13 Apr 2022 09:22:13 -0000

From: netmod <netmod-bounces@ietf.org> on behalf of Rob Wilton (rwilton) <rwilton=40cisco.com@dmarc.ietf.org>
Sent: 11 April 2022 18:06

Hi all,

Thanks for the comments on this thread so far.  It would be nice if we are able to come to some sort of rough consensus to a solution.

I think that there is consensus that the YANG type ip-address (and the v4/v6 versions) are badly named as the prominent default type name has been given to the unusual variant of including zone information.

Based on the comments on this thread, it also seems likely to me that most of the usages of ip-address in YANG RFCs is likely to be wrong, and the intention was that IP addresses without zones was intended.  At a rough count, of the published RFC YANG models at github YangModels/standard/ietf/RFC/ to be:
        86 uses of ip-address
        68 uses of ipv4-address
        66 uses of ipv6-address

        1 use of ip-address-no-zone
        4 uses of ipv4-address-no-zone
        4 uses of ipv6-address-no-zone

These types appear in 49 out of the 141 YANG modules published in RFCs.  At a quick guess/check it looks like these 49 YANG modules may appear in 40-50 RFCs.


<tp>

As is sometimes the case with the processes of the IETF, this ignores any issues of transition.  I have pointed out a significant number of WG that have modules in I-D which include no-zone, in various states, perhaps increasing your figures by an order of magnitude.  What are you going to do with I-D e.g. in the RFC Editor queue?  Haul them back?

I think that the plan below is a bad one.  I would introduce types with zone - that is a no-brainer - but would deprecate the existing types.

Tom Petch

As mentioned previously, it is also worth comparing this to the OpenConfig YANG modules:
They have redefined ip-address (and v4/v6 variants) to exclude zone information and have defined separate types include zone information.
There are no explicit uses of the "-zoned" variants of OpenConfig IP addresses in the latest OpenConfig github repository.  However, approximately a third of the IP address types are still to the ietf-inet-types.yang rather than openconfig-inet-types.yang, so in theory some of those 58 entries could still intentionally be supporting zoned IP addresses, but I would expect that the vast majority would not.
I do see some strong benefit if this basic type being defined in the same way in both IETF and OC YANG, and I believe that the OC folks have got the definition right.

I see that some are arguing that the zone in the ip-address definition is effectively optional, and implementations are not really obliged to implement it.  I don't find that argument compelling, at least not with the current definition of ip-address in RFC 6991.  I see a clear difference between a type defined with an incomplete regex that may allow some invalid values and a type that is explicitly defined to included additional values in the allowable value space.  Further, I believe that a client just looking at the YANG module could reasonably expect a server that implements a data node using ip-address would be expected to support IP zones, where they are meaningful, or otherwise they should deviate that data node to indicate that they don't conform to the model.

We also need to be realistic as to what implementations will do.  They are not going to start writing code to support zones just because they are in the model.  They will mostly reject IP addresses with zone information.  Perhaps some will deviate the type to ip-address-no-zone, but probably most won't.

The option of respinning approx. 40-50 RFCs to fix this doesn't feel at all appealing.  This would take a significant amount of time/effort and I think that we will struggle to find folks who are willing to do this.  Although errata could be used to point out the bug, then can't be used to fix it, all the errata would be "hold for document update" at best.  Further, during the time that it would take us to fix it, it is plausible that more incorrect usages of ip-address will likely occur (but perhaps could be policed via scripted checks/warnings).


I still feel the right long-term solution here is to get to a state where the "ip-address" type means what 99% of people expect it to mean, i.e., excluding zone information.

Given the pushback on making a single non-backwards compatible change to the new definition, I want to ask whether the following might be a possible path that gains wider consensus:

(1) In RFC 6991 bis, I propose that we:
(i) define new ip-address-with-zone types (and v4 and v6 versions) and keep the -no-zone versions.
(ii) we change the description of "ip-address" to indicate:
- Although the type allows for zone information, many implementations are unlikely to accept zone information in most scenarios (i.e., so the description of the type more accurately reflects reality).
- A new ip-address-with-zone type has been introduced to use where zoned IP addresses are required/useful, and models that use ip-address with the intention of supporting zoned IP addresses MUST migrate to ip-address-with-zone.
- In the future (at least 2 years after RFC 6991 bis is published), the expectation is that the definition of ip-address will change to match that of ip-address-no-zone.

(2) Then in 2 years time, we publish RFC 6991-bis-bis to change the definition of ip-address to match ip-address-no-zone and deprecate the "-no-zone" version at the same time.

My reasoning as to why to take this path is:
(1) It is a phased migration, nothing breaks, 3rd parties have time to migrate.
(2) It ends up with the right definition (with the added bonus that it aligns to the OC definition).
(3) It doesn't require us republishing 40+ RFCs.
(4) it hopefully allows us to use YANG versioning to flag this as an NBC change, along with the other standards to help mitigate this change (import revision-or-derived, YANG packages, schema comparison).

I would be keen to hear thoughts on whether this could be a workable consensus solution - i.e., specifically, you would be able to live with it.

Regards,
Rob



> -----Original Message-----
> From: netmod <netmod-bounces@ietf.org> On Behalf Of Randy Presuhn
> Sent: 08 April 2022 18:59
> To: Christian Hopps <chopps@chopps.org>
> Cc: lsr@ietf.org; netmod@ietf.org
> Subject: Re: [netmod] [Lsr] I-D Action: draft-ietf-lsr-ospfv3-extended-lsa-
> yang-10.txt
>
> Hi -
>
> On 2022-04-08 5:11 AM, Christian Hopps wrote:
> ..
> > Instead, Acee (I'm not sure I'd call him WG B :) is asserting that
> > *nobody* actually wanted the current type, and it has been misused
> > everywhere and all over. The vast majority of implementations in
> > operation probably can't even handle the actual type (Andy's point). So,
> > Acee is just the messenger of bad news here. Please note that the AD in
> > charge of all this agreed with Acee as well.
>
> That's not the impression one gets from modules like
> https://www.ietf.org/archive/id/draft-ietf-mpls-mldp-yang-10.txt
> which employs both types.  So, regardless of whether one is willing
> to respect YANG's compatibility rules, it's no longer a matter of
> speculation whether a name change would cause actual damage -
> it clearly would.  Furthermore, my recollection is that the
> WG *did* discuss whether the "zonable" property was needed, so
> any argument based on the assertion that "*nobody* actually
> wanted the current type" seems to me to based on a false premise.
>
> Randy
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

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