Re: [Idr] WG Adoption call for draft-spaghetti-idr-bgp-sendholdtimer-09 (2/28/2023 to 3/14/2023)

tom petch <ietfc@btconnect.com> Thu, 23 March 2023 16:50 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B359C15EB2E for <idr@ietfa.amsl.com>; Thu, 23 Mar 2023 09:50:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lBNPlQ3U12-h for <idr@ietfa.amsl.com>; Thu, 23 Mar 2023 09:50:55 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0714.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::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 6A078C140675 for <idr@ietf.org>; Thu, 23 Mar 2023 09:50:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fZqQRxDdOmyeO0mimji9i5VNP+v9eO5QkunB/uE3I1HvnEFlX5GZLkDRop5iVRNQ6Hk0b7Jvim43GhADBbGXe417p/BZFEKixT5RXBmFmLcp7C87bLJ2oAMHk4cSsC7eG+wChcKQczQE9ZJwVx9lIMYD5CzOkKWxKiJ/6jbH8KL36aBifkkGkvIA0K7NVFT07lvBAvoRNadSMNzQsm2JgVzsW45PBNlH7q598njYrl/Vao4puJY+FoOuPs25YnuJ4L09ojZmcinVgt+wi8OLXCKwaEft11GN9MxPiWOLseGe6PuFj1EVjMXqgVAom4BxwtFpnEIUuDIqFw1Q104uHQ==
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=KYmAJa3lQmag/m4lCZHp9nTGzD3UNnuvAHfAIY09PvE=; b=Hhl83lNJsJXMRTL/H9OTwEysIyjGUjsiE8n3giJQWt0AtG88/7n++6Z0cIcdb676CIDNhBXNgffYMu8Bzixsx+tYrfktXi3O33Q1N5kfpE5SiohReFijddBhVf6otjGJOZCuNk3CfLK0D3AelYZcjN+TCVOCrlK2Chd85+X2i7QF6d1dVBpUfsadkeJVxsWLQWo7g/3jlOIQLgzLZ6byf1cd6PJ0ernv51+iRH6NcZkqrTqcRnsS/Xdj3F3Ecod01LJGmav9bPtKzU5qN7akUr9aGCitxTjZ1q4fAlnFmIp7ATtFMBZLjoiZtY+fZXo8NLeQH5Fi9QdN6Qf56YzoGA==
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=KYmAJa3lQmag/m4lCZHp9nTGzD3UNnuvAHfAIY09PvE=; b=XaTTBxii5cDub8gchYOXvyzwkTdKWDS2gVBla6F6vF5INOOR4Y5sHtRgHg1L+ZLBQqF8NBuEKYZsL5o5UTsF67m9fxzWYPnqKn/BtwzakEbS0uJoIdqW5DutDzP1mwbKyG0elI6qj0gieByc/AYKVMbLrUBfBT7w+WeNTgQv8Ms=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AS8PR07MB9209.eurprd07.prod.outlook.com (2603:10a6:20b:5ef::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.38; Thu, 23 Mar 2023 16:50:51 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::34a0:cbda:4ac4:e2f0]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::34a0:cbda:4ac4:e2f0%4]) with mapi id 15.20.6178.038; Thu, 23 Mar 2023 16:50:51 +0000
From: tom petch <ietfc@btconnect.com>
To: Sue Hares <shares@ndzh.com>
CC: "idr@ietf.org" <idr@ietf.org>, Jeffrey Haas <jhaas@pfrc.org>
Thread-Topic: [Idr] WG Adoption call for draft-spaghetti-idr-bgp-sendholdtimer-09 (2/28/2023 to 3/14/2023)
Thread-Index: AdlL53S35y0wFl7vSYqzgyNmdCGunwEYoa6aAD7VbQAATciRqALKb17o
Date: Thu, 23 Mar 2023 16:50:50 +0000
Message-ID: <AM7PR07MB624801FF8FD11CC3E85A8B7FA0879@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <BYAPR08MB4872FD426205CAC6F82D22BEB3AD9@BYAPR08MB4872.namprd08.prod.outlook.com> <AM7PR07MB6248673BB25E0C0BCDBEE480A0B69@AM7PR07MB6248.eurprd07.prod.outlook.com> <0FDFD143-8CA5-4268-AAB5-5912A9D3AD41@pfrc.org> <AM7PR07MB6248159033A12791B70A2DFCA0B59@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB6248159033A12791B70A2DFCA0B59@AM7PR07MB6248.eurprd07.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-traffictypediagnostic: AM7PR07MB6248:EE_|AS8PR07MB9209:EE_
x-ms-office365-filtering-correlation-id: aa501c28-24f3-4d47-9484-08db2bbec280
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Wo7W9pk5BVEy3D0wJH/VRTzNU2TlKuchVvdlJ754S3E2MunqC97oBT/Ep7k/FLsomrUc4mC9jo/SzDmjd+AYb4EyhlW6LCEPJLAA1oActjgc4pqqI85uqFRr0P9Munnh0lrfTXr/aLy7u6xm5NnZ19qcrRHUDmF5l1tbTzqZbU6C72cCItKU6APiMf4vPRXqHAT05i+94ipBz1uVQFiqfBmGluLr8bJZ8fjRPBHoOBO4gHzQWHXhBmKtoUCKYeE83VmWUc1S+5rl6ujxW80GF4k2S/fOAhvipaSmbNw3gXMVLMxb4VKQjGAwG+d+FXx+feZARjwUcr3Fp+mLIEi+7qhW2zcXzw7P3W72JMbeQQEn6UAv3cERmRzAUip5C2PTrWwZSrJCT+Xe3XuLflf3dhXCNBHVvQJdnyE7H687BBJY62kWxBWMmKwT3NBiGmGJHpzbN0OnicOwbRnPUr5PHWrJhZtLn3pvZx0zx3cVZu1cY13Bhn4fcphL+AJGryLFeu4EpfhyNnrsfrSN740f6xtB1Q7gVCbIwdpXQBSxXvI+Cz7zyGBKjOmY+X7hMIiFU20NQEFG+pLc5HO/ghYpRa7pFau7MdG+mpRGXhjJINo=
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:(13230025)(136003)(366004)(39860400002)(396003)(376002)(346002)(451199018)(33656002)(6506007)(26005)(53546011)(966005)(186003)(55016003)(64756008)(66446008)(71200400001)(54906003)(41300700001)(4326008)(66476007)(91956017)(8676002)(6916009)(9686003)(76116006)(7696005)(8936002)(52536014)(5660300002)(122000001)(82960400001)(478600001)(38100700002)(316002)(86362001)(38070700005)(83380400001)(2906002)(66946007)(66556008); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: v3qp4mwdXWGkzdUX12pg4p/0Nd6OqABmavM/J4asQc5WOtDURKEktlT8QRMsIPSHI/ciM7bYeYlv3QCBmicjEvempKdcsSFaIe2rLGumWmZfi1ub61PMnxMh9d7CQcIIu9P/lsBw7fDUWz8IMg+58tD2wjx/1h6orn+fG/qTlCg1s1LQXHD8mOzSY1XzXZSyHJD5DmS6cW3ZtvUep1LhxRq2IHv7zea1zKYPua5w8+kmoZHee4jLwObAl7TSkptLdGhuS+jYPUQYwPXN83PmjktRCZEjM+im42VmpXXYrvE5FgPYIhk2vTc91adtrRAWvFKQdVQcfQ7TCXyaT2PNx3m6GOZVmnZu1FdsjKhCzflqW0o6d+gav4UYj7WSQLVGgDx0z23qVdL1IWXaK0wbSKscsTeZp6YmmNivNpDKM2oeMkNy9Qr46mfLeXyg6TCba2sBDgepR0jHeLUKN9lcYKoidw2Y4q+hkZXlbIcEyFqDPY90XD9ezl3so230tOVUvALpn6pQf/r4WgsUDnXYqa8wh+oXr20sjQncLn6+nqavgDtBse+YebrjSt6bVXDHJSk4DSof29ft8ciTCkRP77rejEJeclRq0K5QTcEqHiDWUPtmg8sYf5hIADhN5JSsI5/q4KaOxnzd4hIBedmjV8lyCpodDg9JNpizMKXy8PV4dzqAhCrRhs/R9slgYQGuIR7W+XMy1zCwcY1Js5zAhTEEMWvRCB0LPtMd7EOFb3hvl95F9WZvfBMgEtmNrsTpEN0NODvEz+XNulm4wMD1Z6wseRAjqlIkNqc8wsut7NPenXGLuSV9qwBFnADQVFWREwrz8Lyf9CrWCt82SnroFc6rpJTnMFp4mZNy811CeU9QIfMEZqF6f+B7UQsY2Mx5xl+9S5IoEy88R1N567iXOnRUtRG6t5qTV/xv03UzM9o2cbBOzQZz5bIAl0N+XA4yDhNzQSGx9dyg17a59HSD8jcZpQL79tzd/TZm24bnqdg479I5WIL60SyGvD9uHASVmBB2ELjrp9HLXbT+wKYSch9xew4Xlb8UExs5SZ2KoGXeR5WkYIUQqF/U3aQVRWgWVbrBhLppL7TqHKdvOSd7C1saOiQhSi7Aporh11H5LutPLMBQ1WH2nsFsZlCccK8mEUHuFKuTIosZzE7Pz68xMxi6XVYePXwNqChoDQ2W69hbx15DixmDlHYVFP5cWM+dXTNNIVMgj6VvyzVFRJxa4HDhRhoPNDciYp1qCs9q3KodtLhReNx+sY8GlCYmeeXnNqtsHq4xTw3exIYBYhedUxG9qBUz0SR1zkctXi+qB3VVdEjjWNzGlidL5IoUbJRhyQFdIYR7BdOr5ai0MZmH55IzlL5If5EyzdZVGwGdltUs0CG8IQUaPch6MA0fipQZ3fk0Kl56VNOJFnuorkmb+vaNrmk/GuKl8dvv3BtGB5wK2gluq3UegtPbXnrdFUEZRG1BO8mM4scfFyc+H2YTYKGf0SXsGIS+g9oGc69nbET7NCv6DfTbkgk0J4G7Um5ObRzilIt36ca8roq/zuXDmhEJiYgiibDvLil+QQ3NmLHSQ8ADqg9XmLBKv83FuEm5
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: aa501c28-24f3-4d47-9484-08db2bbec280
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Mar 2023 16:50:50.9888 (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: aYXwankiH3TrweqM8JM72TCY6Qi1G7a7tBJLI3VyJvntaI9P9XCR/sX5Ps1gmKuN/c84a1KiPpMrH+nKYnlrlQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB9209
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/dYDJcw6fm8kbzkUv_Np_XoOJ_J0>
Subject: Re: [Idr] WG Adoption call for draft-spaghetti-idr-bgp-sendholdtimer-09 (2/28/2023 to 3/14/2023)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Mar 2023 16:50:57 -0000

Top posting to re-iterate two queries  I have about this I-D.

When is the timer set running? 3.4 mentions UPDATE and KEEPALIVE; 3.2 implies it is for OPEN as well.  Is it for all occurrences of those three transmissions and no other?

What is the benefit of  Event XX2: MsgSent (which excludes OPEN)?
 It seems to me that it will happen in every state where a message is sent and causes no change of state so it is the equivalent of setting the timer running where a message is sent which I would find simpler and clearer if stated explicitly in the FSM.

Tom Petch

________________________________________
From: Idr <idr-bounces@ietf.org> on behalf of tom petch <ietfc@btconnect.com>
Sent: 09 March 2023 12:10
To: Jeffrey Haas
Cc: Sue Hares; idr@ietf.org
Subject: Re: [Idr] WG Adoption call for draft-spaghetti-idr-bgp-sendholdtimer-09 (2/28/2023 to 3/14/2023)

From: Jeffrey Haas <jhaas@pfrc.org>
Sent: 07 March 2023 22:36

Tom,

> On Mar 6, 2023, at 11:58 AM, tom petch <ietfc@btconnect.com> wrote:
> <tp>
> I think that the authors of this I-D underestimate the work involved in updating the BGP FSM, probably by an order of magnitude.
>
> They specify a new event and give a list of actions to be performed when it happens.  This is inadequate.  As the present FSM shows, such a list is required for each and every state that the FSM can be in, so multiply that by at least six, In practice, several states have in effect substates depending on the configuration so it is more than just the six defined states.
>
> Further, the timer will be running or not running in every state transition  so that for every state transition in any state, it must be specified what happens to the timer, started, stopped and so on,  Given the number of state transitions, multiply that by fifty, or more.

I think I'm somewhat more optimistic than you are about the magnitude of surgery needed on the FSM.

For comparison purposes, I think the majority of the surgery will occur around the similar touch points for the HoldTimer.

<tp>
Well or ConnectRetryTimer; that gets reset when going to Idle state and I suspect that this timer will need similar resets at similar places if the FSM is going to be coherent. ConnectRetryTImer is an example as to how timers should be specified in an FSM, the number of places that an actin needs to be specified.

I went through the FSM in detail and got to 41 updates at which point I realised that the I-D is  unclear to me.  S.3.2 talks of updates to s.8.1.3 which is ok for the first five lines thereafter but then has text which has no place in that section.  Rather it is an incomplete update to s.8.2.2

The (SendHold)timer is described as applying to UPDATE and KEEPALIVE in s,3,3 and s.3.4 but the text in s.3.2 has the timer started after an OPEN, Connect state, event 12, which suggests that it is intended to apply to OPEN messages as well so why does this I-D specify it for some OPEN and not others?

I wonder if Event XX2 is an attempt to avoid some 20 updates to the FSM at the risk of confusing implementers.  That is, if the timer is started at an OPEN, then it should be started after a KEEPALIVE or UPDATE as well.  Event XX2 seems to be trying to avoid saying this, by creating an event which is then six updates to the FSM, instead of the timer being started in any state when a message is sent which is rather more updates to the FSM.

Event XX2 does seem a bit odd, not like any other event in this or other FSM  It  will happen in Connect state Event 20  DelayOpenTimer running with the transition to OpenConfirm state and logically Event XX2 will occur immediately in OpenConfirm.  Like I say this seems like a shortcut.  What the FSM should specify is to (re-)start the timer as part of any action when a message is sent regardless of the new state. which I think eliminates the need for Event XX2 and simplifies the FSM if not the updates thereto.

Those are my main two points of confusion but there are others.

Tom Petch
>
> As written, I think that this I-D will seriously damage RFC4271 rendering the FSM of limited value.

We're unfortunately rather aware that the FSM text, as written, doesn't tolerate surgery very well.  But similarly, we know that high level intent is fairly easy to specify and implementations largely do fine without every single corner case covered.

-- Jeff


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