Re: [Lsr] AD review of draft-ietf-lsr-flex-algo-20

John Scudder <jgs@juniper.net> Fri, 09 September 2022 15:29 UTC

Return-Path: <jgs@juniper.net>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95402C1522AD; Fri, 9 Sep 2022 08:29:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.325
X-Spam-Level: **
X-Spam-Status: No, score=2.325 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.571, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GB_SUMOF=5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=O92na+r9; dkim=pass (1024-bit key) header.d=juniper.net header.b=FS/0cQLh
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D61qZMaJynZ3; Fri, 9 Sep 2022 08:29:14 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 51ED9C14F72B; Fri, 9 Sep 2022 08:29:12 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 289AqFZ7014369; Fri, 9 Sep 2022 08:29:11 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=XM0ojThIHyC35XyB/dOLthhC0SS3cU4WBa1OhQcz9mU=; b=O92na+r9qL9djTziXHOKSxpCoKVvGIumoFN5JuVfm8IkVKU9Ru/ImdIVGHaSGeAP/hAG fjOvfFZIZOUzEOJRuzuudwjQI9EEJkiQsIJMljlWQHI2cNB8NC2m7DrnFePnZJktGKbQ BN0ib7WRMxkm2cTkhCU17rosDe0AgMoFfkGbUCHvkViAtVEiJE3jLzqhzh+YdbiUJ5IN /BKLijXBHt/Qsr+E7n1NwQRzjxd7GwKHv8SEQSA8g4w2/zZzGRnnvmYZ46rtsavPvSkb mjF/hIcmWSb6LJVgzGO95VdvNDh2G1CwOS0QJmH8HiXBoaBMLT/HgmIOYTtXwebI6Iol xA==
Received: from na01-obe.outbound.protection.outlook.com (mail-eastusazlp17011016.outbound.protection.outlook.com [40.93.11.16]) by mx0b-00273201.pphosted.com (PPS) with ESMTPS id 3jf6epkvne-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 Sep 2022 08:29:11 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a65z6jr574cgbwHjWjE1UtoymOUifwywqXMOSn7V8yh+y0QDtEIpXtwp+NZH/xOjQ3ffOskZTGDXSzHKTC7wK0Im/kOSx+pt5o7khzUonOdyS9i393Gb+hNnKzWwgfD9CMRfp03tjMVXPk2+nlGj7sbmL0/5tmRnfBuRpK5xoSZBsruYZyUkmvQkOUbYpRRHKoauc/zcTtgc8p7dXwGPFhHY9ppLSWQgn4vgF3PBI1qoIcYQ0bpuQ0RAdb/1xtwVorNtdnqE/j2B0xkakH7FcZNSf6oBNLXgS4PJ7qlFfM5JXwbyeQbKdsteUiZal42+yrNh1w6D3oD8WYNvL0ngTA==
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=XM0ojThIHyC35XyB/dOLthhC0SS3cU4WBa1OhQcz9mU=; b=Esgys5cL0LRABhqSAvJXjPLX1iFhIKiH6MV4ZgMCi5hzzjVblt9fNSaxiv3W2npufRLm5IV4kL+HsHu5+cDKgGaCHSalZfwvtz8jn025hi3Ay8XDr0ELOWLsb8jVtlhabPSy54JSu9z/X3faKq/uCqbXYWGiccrdoYh+dKDuhS64cq+GQL5BYDnrsj/AbMD8UMCRxnkDRBt5Hp9GyYl/VgFVxvm88vEPLGw8bK3GKwKgMtXHqoqYO+reSlTHMncMqpvsf9msglHe+zi1KsxdEHT3ZQMCHXuovYSUhYkQBx69JbVlbIIcdVzRY6EByT9KEdxu++jmHJgavAzFNTGNbA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XM0ojThIHyC35XyB/dOLthhC0SS3cU4WBa1OhQcz9mU=; b=FS/0cQLh2LzjD/AiRyg7cZHmWofQAAI9rEmf/Juz0GzZiH9lRjOQqbSQuUR55QhZspPKEAUJ3IBiqErJAfsPCYu4OqFM4fkMuxm6dFtTe5sUdzUh79B7yICAelzNKjSnKgLlmRLXaEav5H4ZRSynFTh34kh7QYHHeREac+BXYrs=
Received: from MN2PR05MB6109.namprd05.prod.outlook.com (2603:10b6:208:c4::20) by DM6PR05MB5787.namprd05.prod.outlook.com (2603:10b6:5:106::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.8; Fri, 9 Sep 2022 15:29:07 +0000
Received: from MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::915f:ef9b:a308:d50d]) by MN2PR05MB6109.namprd05.prod.outlook.com ([fe80::915f:ef9b:a308:d50d%3]) with mapi id 15.20.5612.012; Fri, 9 Sep 2022 15:29:07 +0000
From: John Scudder <jgs@juniper.net>
To: Peter Psenak <ppsenak=40cisco.com@dmarc.ietf.org>
CC: John Scudder <jgs=40juniper.net@dmarc.ietf.org>, "draft-ietf-lsr-flex-algo@ietf.org" <draft-ietf-lsr-flex-algo@ietf.org>, "lsr@ietf.org" <lsr@ietf.org>
Thread-Topic: [Lsr] AD review of draft-ietf-lsr-flex-algo-20
Thread-Index: AQHYsbl/6key7hyaQ0O/2L8TNwSmPa3JJwYAgA43UgA=
Date: Fri, 09 Sep 2022 15:29:07 +0000
Message-ID: <36CAFC5F-274C-431E-BF18-E3A6513E629F@juniper.net>
References: <F9AAEF51-34DC-4FE6-B340-12B4CB99F445@juniper.net> <6a2d5625-4bfd-c9b4-5d44-e2185f117435@cisco.com>
In-Reply-To: <6a2d5625-4bfd-c9b4-5d44-e2185f117435@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3696.120.41.1.1)
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: MN2PR05MB6109:EE_|DM6PR05MB5787:EE_
x-ms-office365-filtering-correlation-id: 0f21de9a-ae65-48f3-2bae-08da9278094f
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 0hxtdyRvZ+dwTzH2N0Wl/Jwd3py6IbfglvPf2hg/iH3nU8x5HXnPDVJA2gszYaDpR/itonrQVc+Y8Tat7mhKUCcp/x1leah8+QC4fJ02uB1sl+/n/B2XPN5b/kSy1opB0oK+5tyDgGR5z5hzUCdOWa1+26Wczi93oyGFfIVHQz1Hhu+e3Gumyl6uv2NK2uFpYt/8OvdthBFKPvlJPkCDTip8B8hJ2NtuSDKDrwHPqpRd8DIhQQgWWe/9xksVm3JgYTSktqkmvkD7ruXrYFZak8holvJ8crgCXAdBuEdKQD9QY0aYCvSBhttG2W641m0w4pSiFv2mStNFQMHwUADxkqTpT+DykCsgLqXlQwaW8L4YFZXbmdp9fDlWmxU925StCqbnJKKRwWEUgFWVpooKj2Bxg2/8UdedWHG46WycnhBdNn9sVdipulI77D5hy+x6e/MQavo74Uipaw9WIVoJPZxAcW87J5qGODp7vVTEfL5WFf3KdAklfj8Lt97WrBgWS0BfAwMN8POwFgBVOD6ir4qK67KhaB8K/rYT8JzanCi6/kxr59qAGYqdNfLbNxI3Wh4hsnR6geA++s7q2UwhGHxEMfYjQXtG+R1swmQXRr9u57tuD/nP4viCbuTRoQzFBj132VcyFrQ7gn0Bb/E6ShsK7K4U2ZbshXyh2nT1Ryq6gaqttXPIytZfcRi906OmRtYDzVE0e/k6i69SucR32WhH97rM0QVLbKGgfBrwrOoZY/rC05zwGRIlCZ1jw1tCpHiGQlDyUH2kKz7ZQarrzbLPARfVBDNoCcq0A7ZQKgAwtevT+45CstTItbRMtS9cKXFWywQnGoFGHleOjTFqpg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR05MB6109.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(136003)(396003)(39860400002)(376002)(366004)(346002)(38070700005)(8936002)(6512007)(76116006)(33656002)(66574015)(4326008)(66946007)(36756003)(41300700001)(86362001)(5660300002)(64756008)(66556008)(91956017)(2906002)(66476007)(66446008)(166002)(8676002)(316002)(54906003)(99936003)(38100700002)(6486002)(478600001)(966005)(186003)(122000001)(26005)(2616005)(71200400001)(83380400001)(6506007)(53546011)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: fGFMIr+y4KS6QcCLhRjv3sV0DlguS6Fo7t6DA0OiiSL2xnVu7HrqYCtT2QhKzROCiaq3TyQ2ymok1Somv6UjtucKG08x3DiIo+J4+5hW/rmmvc0JEfUILuskVpsL26c2kuUN/JcAvkDeQQEuj+wr3UklNa9TsAmgWzUN8NJSkrMFmRCYWS6LapBpYXw9a0NG4EQ8eLQbMyXKjlJh2jg8IxvjKSisSKc2Lp/dnedjMKLI2YnZHLznG1qT5q4hDTLaTmV2aZ7UhB592WIn5JlYKQbVou/VgdrHZ5fUMpHz/+51obHBET0qdLY8pxQqnjy0j9crBa7av8LzXVnb2ZKPtrwScZgvM2yH4yKHLxvEfU2IXlu9yqNkmhK+P4/ySMARO8MFoPXRbOSHu0dg0RXImGmnQXIlbMgzXxhRe+uQSSAAjhvlpxXrU9XrWvxWwRUiqr2d4Vvr9kdxL883MRQvop4ruf4LT1ux9k84MxsJHUXx0xYewBgGchqlCpusgeYSXSzwvQEdvoN6cDuMMtE4/yMM2CH1fnw+Y0GSyyuQP+aKD316AJDZKbXsFSQkJTTNiM6p3+81xAP9z37JKwQT3ckiv6u6Kw9Sljbax5QtFXEphrgDSdDVUhBq2TRWP79sEZ75twAqUq6sBv1t4uhnmVKsbT3yrSKDps30RrIikAeFMhy8+mmR5ALDjg2T0wSY1q3gyPlwNFEYNoKOHHxcYDJvkwCER6eop/77VuWeBZuBWscv8FdPoemaLLd4uPIa6896GfZX4KGH/GEnYBlx69FVI4VN9d4XFm5KZGCwBMMJsFBJsi9hdm/D3Cg1dq7DvLDyuMcHobqpTRSf9GMe3NB+xJ/D8KN5J75X8swRzU0YzRGYXoPrqlqn94u19/Iy2O2k+YCk5LPVO/A7a9BpNB1IguCeCTdGmgL4jIJcr+N1h1UMAa1ohhI3xTAORGceOS8HCuQ/qeIS17zpkmiTfwYqJ5/Yy6T6AV8SJlBzvfh12T6Mr/vvJCMYPLwSnlUEGMhTneYmFOTWkuQuBqnp+h6XLkIv9jCKgh0FSyj16qHxCT8CA+AX5tcIcziCZVLBTBAWSUUg9yEP2GkIo4RZDAaWysGcbIHTJYHsI6WebQ+CUdgKIJ+ih51KlWcqfRF7FMXZ5D+LPrabmg/sd/cGDyFv5LDDr2wAUphWMFIYixY9NsetsUf6MGbReEhVaZeCX2lnHqr8AuOT6Y0itz8HuRySbHWGc/fttCl4uofO0Mm84jkUa9g0WenqgdWR5KWO/0XOZYVCuB7b8311JiPBPEAJHewm6uYK7uxkDm4gy5i2VoUoNi4EFzgf922UHdauAQ++OrVnuJBLez6ovXfRJD06rZPHDIPEL/5JOXmLITMaa3TDE61ai2CsUA6gdHMfFG/dzXOSRyxS8fv1F3haPw38Z47SuZ3nJeezm+5OeAGdEnjHIjAg7gJwyfvX0hoS/z8R1yi3/NRaIMeHI6Go+gnrrCX20C1yiveKf5s+LE5UadZdtdIsmmGmdrzRGMdI4c4/neo7iL/kBpDVXKyPQ0D1RAWl8xmW3KzMh592gdnBxxj4vSWGWH5siG5PvjKi
Content-Type: multipart/mixed; boundary="_004_36CAFC5F274C431EBF18E3A6513E629Fjunipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB5787
X-Proofpoint-ORIG-GUID: 84m_PWt8YkyhdybRsqs-8PcaZinRNoF-
X-Proofpoint-GUID: 84m_PWt8YkyhdybRsqs-8PcaZinRNoF-
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-09_08,2022-09-09_01,2022-06-22_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 clxscore=1015 impostorscore=0 priorityscore=1501 suspectscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2209090054
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/jo0zzVQtpQj1d76FR-KkmP3l-v0>
Subject: Re: [Lsr] AD review of draft-ietf-lsr-flex-algo-20
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Sep 2022 15:29:18 -0000

Hi Peter,

Thanks for your reply and for the ping.

Where necessary I’ve replied in line below. I’ve snipped any points that are agreed and don’t need further discussion. I’ve also reviewed the -21 diffs, basically LGTM. It looks like you missed a few of the nits, I don’t know if this was by choice or oversight. I’ve attached an edited version of -21 that captures the remaining ones, plus a few new ones I noticed. You can diff if you want to pick those up for inclusion in -22.

> On Aug 31, 2022, at 10:23 AM, Peter Psenak <ppsenak=40cisco.com@dmarc.ietf.org> wrote:
>
> [External Email. Be cautious of content]
>
>
> Hi John,
>
> thanks a lot for the thorough review.
>
> I incorporated all your edits and almost all of your comments.
>
> For the few that I have not, please see inline (loop for ##PP):

[snip]

>>     Any change in the Flex-Algorithm definition may result in temporary
>>     disruption of traffic that is forwarded based on such Flex-Algorithm
>>     paths.  The impact is similar to any other event that requires
>>     network-wide convergence.
>> +
>> +jgs: IMO this would merit discussion in the Operational Considerations
>> +section.  In particular, is there any advice regarding how to
>> +stage/sequence FAD config changes in order to minimize disruption?
>
> ##PP
> I don't really see much to add here. FAD changes the constraints used
> during the algo specific SPF and as such any change in it requires all
> routers to recompute the entire topology. In terms of the order of
> changes, I don't see why that would be significant and why someone would
> not want to advertise all changes at once if there are any multiple
> changes in the FAD.

I take your point, thanks. I guess about the most that you could say in Operational Considerations would be something like

---
15.X  FAD Changes

As [Section 5.3] notes, a change in the Flex-Algorithm definition may require network-wide SPF recomputation and network reconvergence. This potential for disruption should be taken into consideration when planning and making changes to the FAD.
---

Obvs, re-word as appropriate. IMHO it's worth elevating in the O.C. section even if only briefly, but I don’t insist.

[snip]

>> +jgs: Are "sender" and "receiver" sufficiently clear to OSPF practitioners
>> +that there would be no ambiguity? I can think of two different ways
>> +to read them -- one is that the "sender" is the router that
>> +originates the LSA, and the "receiver" is any router that processes
>> +the LSA. I think that's what you mean. The other, pedantic, reading,
>> +is the "sender" is any router that puts the LSA on the wire, and the
>> +"receiver" is any router that takes the LSA from the wire, so anyone
>> +participating in flooding would be both a "sender" and a "receiver"
>> +at times.
>> +
>> +If this is how people write OSPF specs and talk about OSPF, fine.
>> +But if there are more precise terms than "sender" and "receiver" in
>> +use, it would be nice to use them.
>
> ##PP
> send/receive is the standard term used, e.g
> https://urldefense.com/v3/__https://datatracker.ietf.org/doc/html/rfc8665*section-5__;Iw!!NEt6yMaO-gk!HAdyT2s3c5I_fktGSY3YPuQdVeF95m5Yb-utZWsGn9214bNEm1SkQ1dDgtbTL2tEJz4kJBwXudGrWyHF3P9zB8IEVqDz$
>
> I can replace sender with originator, if you prefer, but receiver would
> remain.

As you prefer. It’s not a big deal. I agree, by the way, that receiver is unambiguous.

[snip]

>>
>> @@ -1194,15 +1258,36 @@
>>       |                                                               |
>>       +-                            TLVs                             -+
>>       |                             ...                               |
>> +
>> +jgs: Maybe add something like
>>
>> +   Other than where specified below, these fields' definitions are as
>> +   given in [RFC2328] Section A.4.1.
>
> ##PP
> RFC2328 does not use TLVs, so that would not be correct.

I looked again, and the fields that are excluded from my suggested statement, since they are “where specified below” are Opaque Type, Opaque ID, Length, and TLVs. That leaves LS Age, Options, LS Type, Advertising Router, LS sequence number, and LS checksum. But if my suggested wording is wrong, that’s fine, choose your own -- the more general observation is that specs that provide a packet diagram usually tell the reader what the fields mean, either by defining them, or by saying what reference to look in.

[snip]

> ##PP
> Though I agree that the order is not important for now, one can imagine
> that in the future there could be rules added for which the order would
> be important. I feel numbering these rules and keep them in the strict
> order would help in such case. And mandating the order from the
> beginning does not make any harm. So I would prefer to keep it as it is.

I disagree, but it’s not a blocking disagreement, if you’ve considered this and decided to keep it as written, so be it.

But to give a little outline of why I still don’t agree, it goes like

- The rules as written are overspecified.
- This means a savvy implementor will perceive they are free to ignore the ordering requirement.
- This means an implementation might indeed ignore it. It will still operate per-spec.
- If in fact a later spec introduces something where ordering is relevant, in part because of the foregoing observations it will be necessary for the spec to be clear about its ordering assumptions anyway. So I don’t think you’ve really relieved future spec authors, or implementors, of any work.

But TBH that wasn’t in my mind when I wrote the comment, it was just the general “don’t overspecify” heuristic.

Anyhow, do as you prefer, I’ve said my piece.

[snip]

>>     Algorithm (with FAD selected includes the M-Flag) where the
>>     advertising ASBR is in a remote area, the metric will be the sum of
>>     the following:
>> +
>> +jgs: I don't understand what the words in parentheses are trying to
>> say, can
>> +you explain?
>
> ##PP
> it means that the "winning" FAD includes the M-bit.

Then how about this replacement text?

OLD:
   In the case of OSPF, when calculating external routes in a Flex-
   Algorithm (with FAD selected includes the M-Flag) where the
   advertising ASBR is in a remote area, the metric will be the sum of
   the following:

NEW:
   In the case of OSPF, when calculating external routes in a Flex-
   Algorithm, if the winning FAD includes the M-Flag, and where the
   advertising ASBR is in a remote area, the metric will be the sum of
   the following:

Thanks,

—John