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, 09 March 2023 12:10 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 AF475C14CE4D for <idr@ietfa.amsl.com>; Thu, 9 Mar 2023 04:10:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 ouhj7xnYkXgO for <idr@ietfa.amsl.com>; Thu, 9 Mar 2023 04:10:26 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20705.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::705]) (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 94AF7C14CE4A for <idr@ietf.org>; Thu, 9 Mar 2023 04:10:26 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JWeu2e+xs1O8D0PH3dOa8OXiwNCRG1ANX9FJq0ZLEr7ixCyUJx/OWhkRO070kGN0l0LxPCabsfgw+wVR2Ujjurw/BVaQF8hgCiuQKsMoA7ZB4v+/ukxPb3uC7XHUYDhMQvgGHVBjQJUshDaUWoXmMUkCGEKPj68T9v/6goIKIyG+6lrvEViEKpr+8qGZftEfYOeqvL82uIHQmwtTP7Hpki0YawP2D772v2OvrcAp9etiYvvQk2ifb/2UVYJWhg3E8is7N0eMFRN4IUzjP6cP+R8dWPLWWOjJuqbqebrjiLJOfOD+U6KZpGQ07n13mFOgniee/+maR6yM8uorrku1Rg==
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=NOuA0q3xdUfCx7j/TXEjOrXksV4aWyOdYZn2N0L23Fw=; b=RipNnk2t6bsbnmZgtqg4Uh8krbn0ZlRSlgD546bY9owiU6Bm8dXAgojCT+mRNi3dg8NMOeBTrX22uggUpRiCHGX0GTW5bhVwbfCgetAkrHZAJO4Q4x2pWK4Z/hJz/F8XQvRGRsZtVKlX5mObyFs2hJ1b5nArI56fxe7qq/AR1hBD3kurAmoVKuo3v+friIUES4swqtwsIB9o9eLiHRb4RcmzMN17nBMCdOtApl7fwxq47yPwXpnmUFB9I+wyFd6/N6fugIh1Sz+X+ZFZLOT45hgOD3gV584dykzJtNxgHyO+E8cG+eOe/UQN1mjI/1sLhMiizTBEyR+RK84ydEhD5Q==
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=NOuA0q3xdUfCx7j/TXEjOrXksV4aWyOdYZn2N0L23Fw=; b=KkhV5TzcDhLl0WkNR9BRXFhMmrfURhaQNtEzhi0kEsiNJCVPWoQeuHID+VB7AbrUA3wVRutASGKCmdPqwBlQIgJ0PVu8QbLMZr7+5kN3+yksuf/hjYtBP0L/TKNOV9+Om8Y2mhdf0mDA+IBYScOQmTu0cbAA2elJ7SrSnxjq6/0=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by AS5PR07MB9724.eurprd07.prod.outlook.com (2603:10a6:20b:678::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.29; Thu, 9 Mar 2023 12:10:23 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::34a0:cbda:4ac4:e2f0]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::34a0:cbda:4ac4:e2f0%5]) with mapi id 15.20.6178.018; Thu, 9 Mar 2023 12:10:22 +0000
From: tom petch <ietfc@btconnect.com>
To: Jeffrey Haas <jhaas@pfrc.org>
CC: Sue Hares <shares@ndzh.com>, "idr@ietf.org" <idr@ietf.org>
Thread-Topic: [Idr] WG Adoption call for draft-spaghetti-idr-bgp-sendholdtimer-09 (2/28/2023 to 3/14/2023)
Thread-Index: AdlL53S35y0wFl7vSYqzgyNmdCGunwEYoa6aAD7VbQAATciRqA==
Date: Thu, 09 Mar 2023 12:10:22 +0000
Message-ID: <AM7PR07MB6248159033A12791B70A2DFCA0B59@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>
In-Reply-To: <0FDFD143-8CA5-4268-AAB5-5912A9D3AD41@pfrc.org>
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_|AS5PR07MB9724:EE_
x-ms-office365-filtering-correlation-id: dc5a3561-4b67-4bdb-38bc-08db20974261
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 1PFXr+oxDX1CdeNXVcN7lC/Q9Z5A56jUSgc1UglwUXb5O192Jug6dLLXUJkfPVMaTyXJ/Ph2iea90AwKyAFYmQo5VtiMJz6PtlCKH6fm9bCqifR08m81FS9m29p4wOngoJLG/QgQ20P7WL8MzqVrpe8JeG+s/OcAZJHL9yB0QByEfzqFjRPRUlT6yT1szAPnDx+Lg1ScajBrbbONxEFJ+dC1ZxjOWHo2WKspp5pNbUnaMHH6S91ZaV/zGcUQJpkn1RRSFQdFTX6znZdnPy4icZzq1kPqvv/KjVLe9oM2Mqf3HtD/Tcpsmr+7GuZ5mrv99LcdsUl08bQSyw/PwIhRIjAhnuKaFe7yP+wjyaUUUPZil3VCqeYlmaqMuBX7If0zX370fiUszBqO64nOeo3D7vAvfQ5O/lw3vZYIKWPM1Ftwsx1SkQZaYmu84PJuGRSqN1dyavcIWThJckLbOZfJDcrTDULyHcEUqDKmqAhso8QJ4Wh6Az6a/nL/KWrCkqyQTjiMmvgi3VdIvYu+jzeHEYR3csA+qgLEipIEZx7nD0pM2nCRiMeNU+PQx1wCA9V8j3939Zx1p8yNQzNY/UwWARydVzOxMqQdM1mw+ktczbRTxnzldBBP+3/YxpVmDK7doY8cf71CT6azItE9Wer1+CfK2kzoBvSFdCnjlWkxRK9kyCzRlgtSjT7Q+me2M0FSQ2qLpqvKPbSqye+cG2wsQg==
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)(396003)(366004)(136003)(376002)(39860400002)(346002)(451199018)(122000001)(82960400001)(2906002)(83380400001)(33656002)(41300700001)(5660300002)(66476007)(52536014)(66446008)(55016003)(8936002)(66946007)(76116006)(64756008)(66556008)(38070700005)(6916009)(8676002)(4326008)(91956017)(38100700002)(316002)(478600001)(86362001)(54906003)(6506007)(7696005)(186003)(9686003)(53546011)(26005)(71200400001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: Ptma8geJJ0o11Z1tjBIiBhiFIaRrLH9kNd5B2vqA9oUpbT1NRodfgSP3A0HkrRz1x/XquFSynOtMaFvvWuD8aKGpkeJrH4bRdjblGJrm/oHsz4huYNA0sk+M3XUJGuzpvgQFBDQX+sdWJ2UJxvrsVSchlbRVNpN24Y7VfsAaDeB2l+8TO50bxTicKEQrZYO4rCOM/yZ6nxJAnrQlqiXiDUmNsofcE+h8b5FhvL4ysOdJBRwH1BpBAsEMFaEKcsu0JaBrKhtpD0zzLUIx1iAJe6TnSuu6paPO/LhC5kSl1MYW9ydiaRtFItNGn+9ocOXAmUXQd4wwFvXYqL+kJ3hhkfCHgZxZLt2DxllVDpP6Jev3c7OzPEdqeO/gW0yloIRtaJXHKi226BZoOvDPr6+rGde+QV2ErZVGj73HBEexwGJT3KNIS4C/XG2sppzZDskjEPGpY+vVQioqnhxhsGBrHhjD+IMHwiUNIjulG/utrQmtrdZnInO9tk/QNBuoJCmYXzCgp+14j3TjO+mMnCSW2ur3yBhEfYGs+VkxU0mS3XiwEasPQ0dHzwVeVVu2m8kbMO3ZihPIbqNu4vCUixJL2mKnIIHK2b9yUXPumuCXo2yO919mJfGcHAfkm4Wng1Q6KeBA52c0+Wa/+e/qzRCGQ0SauFXiAFrzqmA43NLjAT9AAt5BVowFPwRYyLpwmsh2TB2fnNMFLdLEHsFRHocttSQNDo6OloN4sM2gwlQsKz1kbn8j+0p4R7ORvqpW7yC+r4Ad8PQhj3giORxfdZ+TtmKc5c38ZhILFzVLt9wpTqk8WFCmxnUAwb0g6cr4JaRlJV3/E9XXJa35YkN90EC8QAiNTF/Qrz0Wg/FRPJ6RqSlDYy/Ti4CXNpDUq0embxARTfjKXpx+nyJ8OzOBT7WFT8Ojn6M6wyLFhYsxc5RF+oSfchCK8RSUCW641qBSw6SJas+0EV9Av6uCPGFTY5wzq8Ju65cIveEDWUPw2hH/U0VdJyklylaANrGlBtpDfc+Oqct02gsFqbQJ1UpGJr8RaTxxyJuFGKd8MDQA0NUn/UPhiPo5Bp2URtm2myvJf4WHlqTTM7tsGadJELJFQucpJ4lULEYwbmRV1Z72x1CNzwY0qzTReIv/BAsqJEGKSrMTsSDJ2/9OXNSJnaONiobMzceih4W0s8rlw4tkBWYVjm24fw2OxUl0b8YhGXVNiUzniOOH0eol0G5Z2lWmU2jy6M/hbAbcRV2ocV5X6iA2KYK9YsQhnYvHdM+xHuxjzcBOIEEhZAJSY3eTrE1puNh0QljKtFHSX9oyt0HbjLC42gN8cBIWbkfyosXt3sPinxP6ar0X9b/q5U8RbBAqBOrNWA7EXELu7Cir26VvxwXIQhzYkkIRvDX9A4Myu2xo40wfUdzCwyZYR4P2iGswL/A7dc+RKcMQgtUj7SKcFz483EqEdAEtSivuImiXOF7fckGb6QBVagvtMepPpYDwF9bmnRue4hB1cx4VnVhE9wFgavJEoJTQrAO7UgYANHIoZG6n9QIuuXETfrAj55zutxgXIO0uC9XiMBsNVK6GGLOYJlNYXFutUHlTsSuG+8kGWWRi
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: dc5a3561-4b67-4bdb-38bc-08db20974261
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2023 12:10:22.8250 (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: uP8YKbaHniAk3q679PiZxGNQn8AQtKwtETYzFBOzV2jLnbhjnXQTT895E5tiEMVospMOdk7s6DLO7FtEqhe2dg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR07MB9724
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/GkaButkIhN-Sdm9RYjL4K8EotqE>
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, 09 Mar 2023 12:10:27 -0000

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