RE: [EXTERNAL] Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

Alexander Vainshtein <Alexander.Vainshtein@rbbn.com> Sun, 05 November 2023 13:04 UTC

Return-Path: <alexander.vainshtein@rbbn.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B8BA1C18E191 for <rtgwg@ietfa.amsl.com>; Sun, 5 Nov 2023 05:04:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rbbn.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 N2rHhpujVj3H for <rtgwg@ietfa.amsl.com>; Sun, 5 Nov 2023 05:04:12 -0800 (PST)
Received: from usb-smtp-delivery-110.mimecast.com (usb-smtp-delivery-110.mimecast.com [170.10.153.110]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BDD6BC2E0EA0 for <rtgwg@ietf.org>; Sun, 5 Nov 2023 04:56:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rbbn.com; s=mimecast20230413; t=1699188963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ihoNa5D7x8+lUWopYm7ykYrlVXRn6badJH4Dv6IGsYE=; b=qH4v5KfX4vVj7R+6Myw7CKFadPV1/vRc4QC3XC44HeuEjbp/BaQ8q3mWUorjZTOTEAnVDG /GHwYs/oTs8qu9t7bf78ndF9DATGdrNniVfSb/VfqQK3epjMp3YbMcwpiKDyBhs7RJPoVL KfwrcyYYQu05HE0tC5hF1YXDoEEE/jg=
Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2041.outbound.protection.outlook.com [104.47.56.41]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id usb-mta-8-YCTdNSqjOgmWuSxdcq2zwA-1; Sun, 05 Nov 2023 04:55:19 -0800
X-MC-Unique: YCTdNSqjOgmWuSxdcq2zwA-1
Received: from PH0PR03MB6300.namprd03.prod.outlook.com (2603:10b6:510:e2::5) by PH0PR03MB6478.namprd03.prod.outlook.com (2603:10b6:510:b3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6977.10; Sun, 5 Nov 2023 12:55:14 +0000
Received: from PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::2038:bab5:ca01:f755]) by PH0PR03MB6300.namprd03.prod.outlook.com ([fe80::2038:bab5:ca01:f755%6]) with mapi id 15.20.6977.015; Sun, 5 Nov 2023 12:55:14 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
To: Gyan Mishra <hayabusagsm@gmail.com>
CC: "bruno.decraene@orange.com" <bruno.decraene@orange.com>, "draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org" <draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>, rtgwg-chairs <rtgwg-chairs@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Subject: RE: [EXTERNAL] Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment
Thread-Topic: [EXTERNAL] Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment
Thread-Index: AQHaAqowhiBAbhOqmkuTLxnYc0uasbBV0xcQgAF/9YCAAAH0UIAPOxKAgAAum6CAATsDAIADzc7w
Date: Sun, 05 Nov 2023 12:55:14 +0000
Message-ID: <PH0PR03MB6300F6764AD67F5A08321B33F6ABA@PH0PR03MB6300.namprd03.prod.outlook.com>
References: <9908D9F3-45C6-497D-B3BF-84D8A68A5013@gmail.com> <AS2PR02MB88395D3114B0DEE583BEEF65F0D7A@AS2PR02MB8839.eurprd02.prod.outlook.com> <60124119-5847-4F52-8BB8-18398A9BA4AC@gmail.com> <AS2PR02MB8839FB5A5537FC3E9F37A560F0D4A@AS2PR02MB8839.eurprd02.prod.outlook.com> <PH0PR03MB63004F32F9AF282ECDB78637F6D9A@PH0PR03MB6300.namprd03.prod.outlook.com> <AS2PR02MB88393EC50B913A5F8C3AB5E2F0D8A@AS2PR02MB8839.eurprd02.prod.outlook.com> <PH0PR03MB6300D9A7F9DC3E2E864EF11EF6D8A@PH0PR03MB6300.namprd03.prod.outlook.com> <CABNhwV30uhLOo52WHAv6YS4Wg0k9gDbkrs1ANuGPPdLzc1=dsw@mail.gmail.com> <PH0PR03MB6300958E56135029D7D336AEF6A6A@PH0PR03MB6300.namprd03.prod.outlook.com> <CABNhwV1T8Wg-JGf3Xi0=KYXut0pyah1PKOxY3edoFeTts+99iQ@mail.gmail.com>
In-Reply-To: <CABNhwV1T8Wg-JGf3Xi0=KYXut0pyah1PKOxY3edoFeTts+99iQ@mail.gmail.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR03MB6300:EE_|PH0PR03MB6478:EE_
x-ms-office365-filtering-correlation-id: 0c1b2f83-3978-4dbc-1a23-08dbddfe7445
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: eDWre0jhRxzYxvfbBSfeVSQ6+o9QOEvefajyuv6F5aZ2LOn//2HQQ0owWBjdj3nJ+8hqd5zQ0p/VJ2WIn0z43b1oxlXdlnsdnavsNVPDnrKfzJg8HQXeOx34IVjUbhIm0aFYUiPFLsBBURgUnNkfRLOSjHLNnsqQwOHGFAUg+piv0gBQU+ygxScVpgqvCy8A050Jk4siFk8Ie1zEmYtJbVaFE4tc7TU9Yc3RtTnDqzV8CQZdXES2QFQr+QfyQHqpHWabvB+XneueoBZ1r0gt4m0ffmwDAEMA0ayUYGW6ri7hDvSmc0wfeS5Tg6A5II3u25bSKiTkPzStwnPmIIfviZp3zxgmMOS+YuQH3LB+l7+6Ko7jQ+Rex+Vy6qvuUWFeBwdGEsUWMZsp/LqqHytGeUlxMSHUhRxQ/fsTDni+zgU7T5SEC3C+NBaMgkY2xJq+5TRcmCsSdN5r1SWLktGgjjNZp5diJkIyz8UJuy5w/Edi+BGbd+flaFoLlEqcLDnf6EFpqlFR2bqNTVtScU62P/Hg35dFJPeFH8P4dwqgcjt0SoGPfsCdiCrdT2//EzChZygfBwiELazY0VDs/7AMuf9Oh2uErQkPrqTolwLGEubaQdp35npht4aFDIcZDTOiYuyJb6l+IYYcqLfggRXbeiwiFbRV4WVyDBYgHTTj1p9aMx8Lfl+jsIBkQuQPm2gNb8/VVBJ07VW9jJmLZcJKM8A64TwIPfH+dcRLGMhE+P4=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR03MB6300.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(39850400004)(136003)(396003)(376002)(346002)(230922051799003)(230473577357003)(230373577357003)(230173577357003)(230273577357003)(186009)(1800799009)(451199024)(64100799003)(6506007)(71200400001)(9686003)(53546011)(7696005)(478600001)(966005)(83380400001)(38070700009)(66574015)(26005)(66946007)(5660300002)(54906003)(66446008)(2906002)(66476007)(66556008)(64756008)(76116006)(30864003)(52536014)(6916009)(8676002)(4326008)(8936002)(316002)(33656002)(86362001)(38100700002)(166002)(122000001)(41300700001)(66899024)(55016003)(579004)(559001); DIR:OUT; SFP:1101
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: vJQHUWuvJYJUB5rUyTObyyK123fAaFuyYmhcaSNKDI69BTLvZI1qv8opUmzQ7smqE548RHRm6fMMK3f9z0aCLkQxvS9K4kM/31TAZNSfpw7nl36LyecgN3jHeFppgHBPYu8p2dnaPgETdUWenj3QTX0ytncDsvoLR0Nf7dmbZnNVv+234Df6cxtiPEsnE4teA1EDV5FgCXggJKb2kc+nYTu2cK/GfxLsAOZRRr19mAp0MNZICrX+9pW9rn32vYOeOmGpMHbqVnag5Sv8AHLWrdW8v96ESujcpBj9DbQHKA39iUEagmQEHj/u7Ux+5JRvLAyIxYfxiZ0zyDOj2hRuaL/MPGayTibCt06XJogKngRtkTyQcijlNJPNgv1h6Q/uOoBZhOWFWSKdOENzLmw0sSBINGCAOzFFtT50HEH4jE63lW9/gimqyn9ouZ9OKX0M9M8v2hV3HHIzmOR+LmIKbQmx94eiEHHpJJJ7v/+crWbWQ1MlerWaFhO3JqxPatB5ITSyc+UIsQVP9uG07HW6fUKLffMrC97fGhOjbxTwAdVSjIR58D0WTKCHb5yFwuSxIsthm1ZpTzz+iky2khEGLc+RcNPWFlyIqWLqZw6DVyJUz9liUMG3JChLwFxxQp2BthQzzDX9l0ZFF2D59f2YDUFjn7ywmkk/+JlnmMTc/XrdtOM+mZt1DCPLzZ6OD/Wl3uEi5qPtRTmrPH0nRKx3JAo/6PAdKnHNdVafjxaS7XQC5hw4eCL5qrQCn09HAeR+rnagKcWvashUiMj8BvEesmHZyI2Kal21pBNUMdd1vCM8xARg8OWKnSE/8xFlsksgPXjqCqYahGl/weJC6UVxMQ1BVFRjejSEavvy778XI7Wq+DtB+z9A5pV1839qOTiUlBtRPnDb2ZC+S8w1b9sGq2PFXfdmv5wAklAychTcxESIGQyCT+5kaLnCi0Ib7uVoNmecuQMY+SZpBXeCTfrq8fDcDxxer/oOSxOTbqPulPycEOfiyg88/BQMHoXIiHQtVzIbiU9udZSSnb33wxFsA9zvxDlYYsZtp8Y2ITu2t2PznYk/CrONB7SCAOZ3CiE6inQzWEsAndsHOmGZQIBPdUX30SqLeonGktcb8SsczWCXGILnHLJ+zvD/xtJlF/e7rlH5apGqnofi/hIQJxI4TGK+agk37gIuOECBR5F07VDAhQ2w6pgnaY0M/QAJxDh8bwU4rmF2NVVZn2cDIX6Tf9wWHX5wjMwmQprKCrv76oDy0ndRrwYhz0Ok3F+jt65nWjaKZm6b2sJpP+zRl2QBvrqSARtHqLSOIXeYBu/6IbKYgD0v1dn32P0K6Zz+DXrrkQfV35Sz/a23MoxE8KCCHqNeBs5hXNKyebdOO9qVbH9p6OJlH+hYADdmLd/akX0Coo/KRqQf8slhZFpQULQL0FYOrlDrzwJ1H2eMfYRdXygUJlaAFDwVSu4HxtTYC+GWTROCTyIyhnKXWBYg53uWpSxJrSckB/FDISmyPi0SIKaQoQmid9dIMZhwPkqlk5hCsLxwRP/3Nc0Ft4AOU7Khg38NmkzZk01hUNjITe/LFGfwiM6iJK4VDgifBhTIlgqf
MIME-Version: 1.0
X-OriginatorOrg: rbbn.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR03MB6300.namprd03.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0c1b2f83-3978-4dbc-1a23-08dbddfe7445
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2023 12:55:14.4782 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: n45EWN+cC2iLklgw0czu0TWnNOnKzNWzWeYr2v1DQlodZZAWCILsCouBGtLhj671PoEcFr0e5ixkd6Ly6iWGIg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR03MB6478
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: rbbn.com
Content-Language: en-US
Content-Type: multipart/alternative; boundary="_000_PH0PR03MB6300F6764AD67F5A08321B33F6ABAPH0PR03MB6300namp_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/pTEm7OFd782gd7lcS4RBAa0BES8>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Nov 2023 13:04:15 -0000

Gyan,
Lots of thanks for your email.

I fully agree that TI-LFA draft should be published ASAP. Hopefully the clarifications proposed by Bruno and myself would suffice for resolving most of concerns regarding relationship between TI-LFA and micro-loops.

The SR Micro-loop Avoidance draft indeed exists for 7+ years already and is quite stable. Unfortunately, stability also includes Section 3 of the draft that remains unchanged from 00 to -15 (current) version.

And in any case micro-loop avoidance includes the case of recovering links  while TI-LFA only deals with links failures.
This alone looks to me a valid reason not to merge these drafts.

My 2c,
Sasha

From: Gyan Mishra <hayabusagsm@gmail.com>
Sent: Friday, November 3, 2023 4:43 AM
To: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
Cc: bruno.decraene@orange.com; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org; rtgwg-chairs <rtgwg-chairs@ietf.org>; rtgwg@ietf.org
Subject: Re: [EXTERNAL] Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

Hi Sasha

In-line below

On Thu, Nov 2, 2023 at 4:01 AM Alexander Vainshtein <Alexander.Vainshtein@rbbn.com<mailto:Alexander.Vainshtein@rbbn.com>> wrote:
Gyan and all,
Inline below.

Regards,
Sasha

From: Gyan Mishra <hayabusagsm@gmail.com<mailto:hayabusagsm@gmail.com>>
Sent: Thursday, November 2, 2023 7:09 AM
To: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com<mailto:Alexander.Vainshtein@rbbn.com>>
Cc: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org<mailto:draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>; rtgwg-chairs <rtgwg-chairs@ietf.org<mailto:rtgwg-chairs@ietf.org>>; rtgwg@ietf.org<mailto:rtgwg@ietf.org>
Subject: [EXTERNAL] Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment


Hi Sasha, Bruno & Stewart

Thank you for going over my OPSDIR review in detail.

I am good with the latest updated verbiage that Bruno had given.

Comments in-line

On Mon, Oct 23, 2023 at 8:41 AM Alexander Vainshtein <Alexander.Vainshtein@rbbn.com<mailto:Alexander.Vainshtein@rbbn.com>> wrote:
Bruno,
Lots of thanks for a prompt and very encouraging response!

Your version of the text is definitely better than mine, I am all for using it.

As for where the clarifying text could be inserted, I see two options:

• A common “Applicability Statement” section (there is no such section in the draft)


•

• A dedicated section on relationship between TI-LFA and micro-loops.
    Gyan> I think this option would  be best.  This would fix the existing gap on uLoop.  I did mention but not sure if possible- as TI-LFA and uLoop are tightly coupled as a overall post convergence solution is it possible to combine the drafts and issue another WGLC.  (Question for authors)
          [[Sasha]] Given the current state of the SR Micro-Loop Avoidance draft<https://datatracker.ietf.org/doc/html/draft-bashandy-rtgwg-segment-routing-uloop-15> (still an individual submission at -15 version) I doubt merging TI-LFA and micro-loop avoidance is a good idea.
        Gyan> TI-LFA is a critical draft for operator SR deployments and I agree getting it published asap is a good idea.  All vendors that have implemented     TI-LFA  have implemented uLoop.  In reality any operator deploying TI-LFA would  always deploy uLoop avoidance at the same time per vendor recommendation.  The uLoop I-D  is 7 years old and  is mature as every vendor that has implemented TI-LFA has also implemented uLoop,  so I think this could be slam dunk to do a quick Adoption followed by expedite through WGLC and publish.  The other option is combine the drafts which may or may not be favorable to the WG.

The uLoop basic concept is simple —>> building a list of adj-sid from PLR to RLFA PQ node merge point with a timer set at time T1 post convergence and removed when T2 timer pops.  Simple!  The solution for TI-LFA in my mind is not complete without uLoop.  The major issue that Stewart pointed out is related to multiple entry points or chain of P space nodes preceding the PLR or multiple Q space nodes preceding the RLFA PQ node merge point is what I documented in my review.  Any of those longer chain of nodes can have uLoop distributed convergence cascaded delays.

TI-LFA implementations aim to solve with optimized least number of SID to avoid hardware MSD issues to solve the problem using a single node-sid plus maybe an adj-sid and at most 4 sid’s.  Use of node-sid yields ECMP along the chain of nodes not yet converged resulting in many possible micro loops is the major issue that the  hop by hop list of adj-sid’s along the post convergence path solves with the uLoop draft.

I don’t know of any other way to resolve the TI-LFA uLoop issue if implemented by itself if node-sid ECMP is utilized.  One option but unlikely is in case of chain of nodes exists, that TI-LFA if configured by itself w/o uLoop while signaling for MSD maximum threshold, can build an adj-sid list across the nodes not yet converged from PLR to PQ node merge point.  Other then trying to fix TI-LFA so it can work independently of uLoop feature is to do what we have been discussing in the thread about adding txt related to micro loops and interaction between       TI-LFA draft and uLoop draft.

Cheers,

Gyan

In any case, I defer to you and the rest of the authors to decide what, if anything should be done for clarifying the relationship between TI-LFA and micro-loops.


Regards,
Sasha

From: bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Sent: Monday, October 23, 2023 3:27 PM
To: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com<mailto:Alexander.Vainshtein@rbbn.com>>
Cc: rtgwg@ietf.org<mailto:rtgwg@ietf.org>; rtgwg-chairs <rtgwg-chairs@ietf.org<mailto:rtgwg-chairs@ietf.org>>; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org<mailto:draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>; Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>>
Subject: [EXTERNAL] RE: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

Sasha,

Thanks for the summary and the constructive proposal.
Speaking for myself, this makes sense and I agree.


>  TI-LFA is a local operation applied by the PLR when it detects failure of one of its local links. As such,  it does not affect:

o   Micro-loops that appear – or do not appear –on the paths to the destination that do not pass thru TI-LFA paths

As an editorial comment, depending on where such text would be inserted, I would propose the following change:
OLD: Micro-loops that appear – or do not appear –
NEW: Micro-loops that appear – or do not appear – as part of the distributed IGP convergence [RFC5715]

Motivation: some reader could wrongly understand that such micro-loops are caused by TI-LFA

Thanks,
Regards,
--Bruno


Orange Restricted
From: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com<mailto:Alexander.Vainshtein@rbbn.com>>
Sent: Sunday, October 22, 2023 4:21 PM
To: DECRAENE Bruno INNOV/NET <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>; Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>>
Cc: rtgwg@ietf.org<mailto:rtgwg@ietf.org>; rtgwg-chairs <rtgwg-chairs@ietf.org<mailto:rtgwg-chairs@ietf.org>>; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org<mailto:draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>
Subject: RE: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment
Importance: High

Bruno, Stewart and all,
I think that most of the things about TI-LFA and micro-loops have been said already (if in a slightly different context)  and are mainly self-evident.
However, I share the feeling that somehow the relationship between TI-LFA and micro-loop avoidance has become somewhat muddled.

Therefore, I would like to suggest adding some text to the TI-LFA draft that clarifies this relationship, e.g., along the following lines:

1.       TI-LFA is a local operation applied by the PLR when it detects failure of one of its local links. As such,  it does not affect:

a.       Micro-loops that appear – or do not appear –on the paths to the destination that do not pass thru TI-LFA paths

                                                                                                              i.      As explained in RFC 5714, such micro-loops may result in the traffic not reaching the PLR and therefore not following TI-LFA paths

                                                                                                             ii.      Segment Routing may be used for prevention of such micro-loops as described in the micro-loop avoidance draft

b.       Micro-loops that appear – or do not appear - when the failed link is repaired (aside: the need for this line is based on personal experience☹)

2.       TI-LFA paths are loop-free. What’s more, they follow the post-convergence paths, and, therefore, not subject to micro-loops due to difference in the IGP convergence times of the nodes thru which they pass

3.       TI-LFA paths are applied from the moment the PLR detects failure of a local link and until IGP convergence at the PLR is completed. Therefore, early (relative to the other nodes) IGP convergence at the PLR and the consecutive ”early” release of TI-LFA paths may cause micro-loops, especially if these paths have been computed using the methods described in Section 6.2, 6.3 or 6.4 of the draft. One of the possible ways to prevent such micro-loops is local convergence delay (RFC 8333).

4.       TI-LFA procedures are complementary to application of any micro-loop avoidance procedures in the case of link or node failure:

a.       Link or node failure requires some urgent action to restore the traffic that passed thru the failed resource. TI-LFA paths are pre-computed and pre-installed and therefore suitable for urgent recovery

b.       The paths used in the micro-loop avoidance procedures typically cannot be pre-computed.

Hopefully these notes would be useful.

Regards,
Sasha

From: rtgwg <rtgwg-bounces@ietf.org<mailto:rtgwg-bounces@ietf.org>> On Behalf Of bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>
Sent: Thursday, October 19, 2023 7:34 PM
To: Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>>
Cc: rtgwg@ietf.org<mailto:rtgwg@ietf.org>; rtgwg-chairs <rtgwg-chairs@ietf.org<mailto:rtgwg-chairs@ietf.org>>; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org<mailto:draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>
Subject: [EXTERNAL] RE: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

Hi Stewart,

I agree with you on the technical points, so the first part of your email up to “So I think”.

But I don’t quite follow why you want to mix IGP Convergence issues with this Fast ReRoute Solution.

To quote RFC 5714 « IP Fast Reroute Framework”


In order to reduce packet disruption times to a duration commensurate
   with the failure detection times, two mechanisms may be required:

   a.  A mechanism for the router(s) adjacent to the failure to rapidly
       invoke a repair path, which is unaffected by any subsequent re-
       convergence.

   b.  In topologies that are susceptible to micro-loops, a micro-loop
       control mechanism may be required [RFC5715<https://datatracker.ietf.org/doc/html/rfc5715>].

   Performing the first task without the second may result in the repair
   path being starved of traffic and hence being redundant.



https://datatracker.ietf.org/doc/html/rfc5714#section-4<https://datatracker.ietf.org/doc/html/rfc5714#section-4>



I would assume that you agree with the above (as you are an author of this RFC and my guess would be that you wrote that text)



My point is that there are two different mechanisms involved, in two different time periods:

-     Fast ReRoute (“a”): this is the scope of draft-ietf-rtgwg-segment-routing-ti-lfa

o   Timing: from detection time , to start of the IGP convergence

-     IGP Micro-loop avoidance (“b”)

o   Timing: from start of IGP convergence to end of IGP convergence

The scope of draft-ietf-rtgwg-segment-routing-ti-lfa is FRR / “a”. IGP micro-loop is out of scope. Other documents are proposing solutions for this. (and for those Micro-loop documents, FRR is similarly out of scope).

Personally I agree with you that both mechanisms are needed. But I think that this is already highlighted in RFC 5714, and that this is no different than RFC 7490 (RLFA). Therefore, I don’t see why the outcome/text should be different. Hence my proposition to reuse the text from RFC 7490 (RLFA). I find it adequate. You wrote it so probably find it adequate.


On a side note, RFC5715, that you also wrote, seems to already cover what you are asking for. Quoting the abstract, it

      provides a summary of the causes and consequences of
   micro-loops and enables the reader to form a judgement on whether
   micro-looping is an issue that needs to be addressed in specific
   networks.

Note that this RFC5715 is already cited in the proposed text.

PS: If you were ready to wrote a 5715bis, I would support this.

Best regards,
--Bruno



Orange Restricted
From: Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>>
Sent: Tuesday, October 17, 2023 1:48 PM
To: DECRAENE Bruno INNOV/NET <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Cc: Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>>; rtgwg@ietf.org<mailto:rtgwg@ietf.org>; rtgwg-chairs <rtgwg-chairs@ietf.org<mailto:rtgwg-chairs@ietf.org>>; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org<mailto:draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>
Subject: Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

Hi Bruno

I was thinking about this some more. It is something that was recognised in the early days, but somewhat swept aside.

The case that Gyan bought up was an ECMP case, but I fear that the case is more common and I think we should characterise it as part of the text rather that giving the impression it is unusual.

I think the problem occurs whenever there are two or more nodes between the point of packet entry and the failure.

CE1 - R1 - R2 - R3 - R4 -/- R5 - CE2
      |                     |
      R6 - R7 - R8 - R9 — R10

The normal path CE1-CE2 is via R2

When R4-R5 fails it is trivial to see how the repair works with R7 as the entry into Q space.

However unless R1, R2,  R3 converge in that order there will be microloops for traffic entering via any of those three nodes.

So I think we can say that unless the PLR is only receiving traffic to be protected directly or from its immediate neighbour it is not guaranteed that there  will not be micro loops that are not addressable by the propose strategy of aligning the repair path with the post convergence path.

Now thinking about the text you have below, I think we need to write in in terms of - Unless the operator is certain that no micro loops will form over any path the protected traffic will traverse between entry to the network and arrival at the PLR a micro loop avoidance method MUST be deployed. Of course I think that it would be helpful to the operator community for the text to provide some guidance on how to ascertain whether there is a danger of the formation of micro loops.

I would note that the long chains of nodes show in the example above were probably not present in the test topologies which as I remember were all national scale provider networks, but unless we provide guidance otherwise Ti-LFA could reasonably be deployed in edge networks and in the case of cell systems these are often ring topologies.

So I think we need to agree (as a WG) on the constrains that we are prepared to specify in the text and the degree of warning we need to provide to the operator community and then we can polish the text below.

Best regards

Stewart




On 16 Oct 2023, at 17:25, bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> wrote:

Hi Stewart,

Please see inline


Orange Restricted
From: Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>>
Sent: Monday, October 16, 2023 2:08 PM
To: rtgwg@ietf.org<mailto:rtgwg@ietf.org>; rtgwg-chairs <rtgwg-chairs@ietf.org<mailto:rtgwg-chairs@ietf.org>>; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org<mailto:draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>
Cc: Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>>
Subject: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

During the operations directorate early review of draft-ietf-rtgwg-segment-routing-ti-lfa
Gyan Mishra points to a simple pathological network fragment that I think deserves wider discussion.

https://datatracker.ietf.org/doc/review-ietf-rtgwg-segment-routing-ti-lfa-11-opsdir-early-mishra-2023-08-25/<https://datatracker.ietf.org/doc/review-ietf-rtgwg-segment-routing-ti-lfa-11-opsdir-early-mishra-2023-08-25>

I am not aware of any response to the RTGWG by the draft authors concerning the review comment and I cannot see obvious new text addressing this concern.

The fragment is as follows

CE1 –R1- R2-/-R3-CE2
     |         |
     R4 – R5 -R6

In the pre converged network R4 is ECMP CE2 via R5 (cost 4) and via R1 (cost also 4).

We can easily build a TI-LFA repair path from R2 under link failure to CE2 (so long as we remember that R4 is an ECMP path to CE2), but the problem occurs during convergence. If R1 converges before R4, R4 may ECMP packets addressed to CE2 back to R1 in a micro loop. Meanwhile since no packets for R3 are reaching R2 the Ti-LFA repair is not doing anything useful.

The Ti-LFA text leads the reader to conclude that it is a loop-free solution, but gives no guidance on how to determine when this assumption breaks down. There is an informational reference to
draft-bashandy-rtgwg-segment-routing-uloop, but this short individual draft does little in the way of helping the reader determine when  loop avoidance strategy needs to be deployed and the loop-free approach it describes does not seem to be fully developed.

I am worried that proceeding with the Ti-LFA draft without noting that there is a real risk that simple network fragments can micoloop, and providing a fully formed mitigation strategy is a disservice to the operator community given the industry interest in Ti-LDA and the insidious nature of unexpected micro loop network transients, I am wondering what the view of the working group is on how to proceed.

One approach would be for the Ti-LFA draft to incorporate detailed guidance on how to determine the risk of a micro loop in a specific operator network, and to provide specific mitigation advice. Another approach would be to  reference a developed loop avoidance strategy and recommending its preemptive deployment. Another approach would be to make draft-bashandy-rtgwg-segment-routing-uloop a normative reference and tie the fate of the two drafts. Another approach would be to elaborate on the risks and their manifestations but declare it a currently unsolved problem. I am sure there are other options that the WG may formulate.

What is the opinion of the working group on how we should proceed with draft-ietf-rtgwg-segment-routing-ti-lfa when considering the possible formation of micro loops?

FRR takes place between the failure (detection) and the IGP reconvergence. Those are two consecutive steps that the WG has so far addressed with different solutions and documents.
That’s not new and that’s not specific to TI-LFA. E.g., that’s applicable to RLFA.

Would the below text, taken verbatim from RFC 7490 (RLFA), work for you? Or would you say that the text is not good enough?

“When the network reconverges, micro-loops [RFC5715<https://datatracker.ietf.org/doc/html/rfc5715>] can form due to

   transient inconsistencies in the forwarding tables of different

   routers.  If it is determined that micro-loops are a significant

   issue in the deployment, then a suitable loop-free convergence

   method, such as one of those described in [RFC5715<https://datatracker.ietf.org/doc/html/rfc5715>], [RFC6976<https://datatracker.ietf.org/doc/html/rfc6976>], or

   [ULOOP-DELAY<https://datatracker.ietf.org/doc/html/rfc7490#ref-ULOOP-DELAY>], should be implemented.”

https://datatracker.ietf.org/doc/html/rfc7490#section-10<https://datatracker.ietf.org/doc/html/rfc7490#section-10>

Of course, we could update the list of informative references.
E.g., by adding another informative reference to draft-bashandy-rtgwg-segment-routing-uloop and by removing informative references to [RFC6976] and [ULOOP-DELAY] which are probably outdated.

--Bruno


- Stewart

____________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.


____________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.


Disclaimer

This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.

____________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc

pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler

a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,

Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.



This message and its attachments may contain confidential or privileged information that may be protected by law;

they should not be distributed, used or copied without authorisation.

If you have received this email in error, please notify the sender and delete this message and its attachments.

As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.

Thank you.
_______________________________________________
rtgwg mailing list
rtgwg@ietf.org<mailto:rtgwg@ietf.org>
https://www.ietf.org/mailman/listinfo/rtgwg<https://www.ietf.org/mailman/listinfo/rtgwg>