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

Alexander Vainshtein <Alexander.Vainshtein@rbbn.com> Sun, 05 November 2023 07:14 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 92AE9C2FF2D2 for <rtgwg@ietfa.amsl.com>; Sun, 5 Nov 2023 00:14:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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_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_BLOCKED=0.001, 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 eliFBZAYakQv for <rtgwg@ietfa.amsl.com>; Sun, 5 Nov 2023 00:14:01 -0700 (PDT)
Received: from usb-smtp-delivery-110.mimecast.com (usb-smtp-delivery-110.mimecast.com [170.10.151.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 BBDE9C2E33DF for <rtgwg@ietf.org>; Sun, 5 Nov 2023 00:14:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rbbn.com; s=mimecast20230413; t=1699168441; 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=a/OyXLesLxOE8JSNrUHnUsDHSP4YSmlNL4uerIcj8Os=; b=UGeaqpW2AkEPL08rearJHkJ8w8Dt0oBPhCkZn7aTpXW1RO6DZZaTaaqKx7vpzR3C7WrHBQ xJJSe/8cKj3nyB4s9T6jnby8zPVivQT14QC67ie1CsLc3mtX9DEYA7/KLEX9GW1nQEvuAY FHgzCnCjdtwPxvQV9yVjKUAaECwqOkw=
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2169.outbound.protection.outlook.com [104.47.55.169]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id usb-mta-44-MVpe29S4OtGQD_jlFQZSJw-1; Sun, 05 Nov 2023 00:12:52 -0700
X-MC-Unique: MVpe29S4OtGQD_jlFQZSJw-1
Received: from PH0PR03MB6300.namprd03.prod.outlook.com (2603:10b6:510:e2::5) by PH7PR03MB7340.namprd03.prod.outlook.com (2603:10b6:510:2f3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.19; Sun, 5 Nov 2023 07:12:49 +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 07:12:48 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
To: Yingzhen Qu <yingzhen.ietf@gmail.com>
CC: Gyan Mishra <hayabusagsm@gmail.com>, "rtgwg@ietf.org" <rtgwg@ietf.org>, rtgwg-chairs <rtgwg-chairs@ietf.org>, "draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org" <draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org>, "ahmedbashandy@gmail.com" <ahmedbashandy@gmail.com>, Stewart Bryant <stewart.bryant@gmail.com>
Subject: RE: [EXTERNAL] draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment
Thread-Topic: [EXTERNAL] draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment
Thread-Index: AQHaDjUBz9CiRX8PYECrIeu9yufqMbBpB/WAgAJKGmA=
Date: Sun, 05 Nov 2023 07:12:48 +0000
Message-ID: <PH0PR03MB6300667FAFA8216A20B905A0F6ABA@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> <5AC5BAC3-4C95-4A85-93C2-95F2208A8D6B@gmail.com> <CABY-gONazNhv5PVHb+dMDkOFSjbQMKhqh000jb-TyCjUq9a2-A@mail.gmail.com>
In-Reply-To: <CABY-gONazNhv5PVHb+dMDkOFSjbQMKhqh000jb-TyCjUq9a2-A@mail.gmail.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR03MB6300:EE_|PH7PR03MB7340:EE_
x-ms-office365-filtering-correlation-id: 5814a5ac-c7df-4e71-e30d-08dbddce9e2a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0
x-microsoft-antispam-message-info: rC0x3MoHPSZYgU5lB4AyJ/2PWtEHz5yf/0EAMFbDzoFDWD6zSznnQqWy0aPKoJ8UGF8SWbE5D030eHSuDBUfUCKObrmU5BLyw8u9Roa8f0l4rxYM0OESOwdj25XC6J26KLwl9kSrRuHxuvV1gmGgGsh7NtkfBQGXLviw0Y6+8BToZFQHopYzkvr1TruDYQRS4Ab251jveEYMv2gAifAaZ8ftCp9xYZiTR29QhhtzJy824PMY3q9eavsJT2fqk70qpN2FFZVe3and9uQLeXu1+3vHSZkda2tPx4HReGdhW7f4BdTA/gKtyQyj20tJ7E7iianOzV2or+t2e3mVq2iM+vxZ1QogboD48PaM4dqcI+UGULCI3kQXCu8ZIbDMs4QQ+zpprcYh5BrBx1zPzC/9OMG4ThePCtMXXpJdhKNqYZKIEjSmmw2wfSIxBcZMP37VWkc6s6vn+HmL2zNjWP61ZQaPSWf80wtk96MRGOA7V1LyFbhgg+4YkcLDSOYSQNTSfBSQmVq8caHklGWdD7Bqf+CzVykfa+J6or94hSXODQm0Q28G2ppJIltaY9lH/1aHVS5KgSRurCMa3gGV7Fq/OPEj/DbfQEctkyQ1M078CA0vuEO9T9zH3PstaKcawzlCXe7SuoI0nrX2Bxp3MCCyfhMjjTWuDWntsS2V6I+lYho=
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)(136003)(376002)(346002)(366004)(396003)(39850400004)(230922051799003)(230173577357003)(230273577357003)(451199024)(186009)(1800799009)(64100799003)(66899024)(53546011)(71200400001)(7696005)(6506007)(9686003)(83380400001)(38100700002)(478600001)(38070700009)(122000001)(8676002)(86362001)(41300700001)(5660300002)(2906002)(52536014)(8936002)(4326008)(33656002)(66476007)(54906003)(316002)(64756008)(26005)(66446008)(76116006)(6916009)(55016003)(66946007)(66556008); DIR:OUT; SFP:1101
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: AOfjfZoiqeocWKXPSwWlEFQobr4uNINoS0jxuy5ZF1EuWQV4u8FumsP9ryRAcQIu6rT4S0SMQxNNRGN6s+3tVIW3Y1CqP6qjcx4WnuGEipG43lkK3BMF8yw2PIaZJ6MLrgIodksh/rcUH3JJnNjUZ5DN2aHQwoHLrkTSVhwZmMxTazX6ys4Yn4K4ZPOedkqK1/5SabqCtGEIipkfFmuOJRuTrZliGMGIFGeAQVuTFDhUYyJ6TAuX6f+8yF6XngZVFvFwKxzQNJTA0lE55+R4R4YgeFNeO7msUhw2HP/jnmarwvFcdS7gSf/KqzVj7Aqn7D7XdsM39aidDvxWZNT1fxwLMiQgYvCiMuP7l0aaoVcrPi4QquFyRr1gSQ1xggQmJ3C1Jg4OQaQNauwDq2WeNgS+uRPbyD7N/j8s0t6fa/lryoan8w1eYqIkKFUBKajszmPYUmS0keFdecmuEmLZ37DWCoPhMUY8Gowe0TN0EgZIK1dd89g22ReULtrcpJc8qlbMQuye9DSQu4Y3Km0l3DnK5PdYWJCTfTsZkx6dgYFO7DwgcYC8s4pYkHY5ETnpcqy3NYfcGOHqzayKAitiQ1dOxdJ4ToAbYxmaT7iRXxl0JTc6ZLPXVkUL0CV21uZtOEswsLr2b0IW7w771xR8xWIsJbo/nOmmXIcQRIzUtIMN4BwBevl6OVBw2JCyU4K/PytGu0zvQo/tqfJEzZ7Mxf+Xfj9CL+afVfv7pjPBWxcUAW5BVn18wd9KzkQMo+DAk4HHSvx4GFC/BmVPHHn8rII1u3W9//lcIqPuci7EmvkuxOsCTHvWgC0tSVjBAsG3bYwKKMbmWqQCNsAb2QeqqwgyGCA3ay5MNBNCW/zADRH/ypevM2itlwR85VSvxRYmlMF+qviYSkKpYdGcNItWfRLny5Tsd3Tnzz9LLJ8NHYAMu6lQqd3K6SLrrgpWT2nqaF9o0OLyfHsfI3rC/ZXGH1AYEGZPj379ah55YJbCgNpbaGwpYBozmDZRTfB1umS9DFPCqZzwzDGlrWLlHvF4etzqiFRJwKRs65fhzBydXO3OjwbFoBGtx7LA7GIuEAhR8HvHqG8desgyWJcs5xTLXtmFaoOGWS+aA+bQtyS31G2EDY5VpJtI9MRyKsw58mU3WJLIwDTibJ/KrQ3QlGMj01o/QpCzX56J7Q2HdL0ubwQZyDwwU/uPrV1C4PEHkyA5tq8qqo/3vRSdsWVqElLovPxAqfVXmFYi2JaMJmc4BwylKOqZyE1phB3CsMyEtFOZ0UDHBG+iZyXsNJHxkByEgG05eTByEmlHN1Uy9OXdgK7QIvNPoUivNdpNq4rRUGe1LNNg/wf/We7YOSshxdDknCRY0Lw+BUVinBfEv2GO6vWaFCSgZESzHMSlKmWId7XFLDCUUCtNIte8lhIpyAoeiG+YKyTqjefSxfqt+5Rn1BDCAW+Z7Oo1rG9KDPJsYavRaC13N5jU3HVoNusuThxKx0067WyhMtd/LkFCX/Ocn6R+ogujOWziycOUGBy3g9IDgW5jmXnPJOoc2eVtnmA9WKHnEwkpsasd33vAGM3AEXg=
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: 5814a5ac-c7df-4e71-e30d-08dbddce9e2a
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2023 07:12:48.9398 (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: qQTv7uaj9p/oXKLMW7zuCmBZKqL91WLiduGsi41Vi2Rrg+8VitlxW/mN9L3ooQvdiGE902mKznkKxDs3lzIJQg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR03MB7340
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: rbbn.com
Content-Language: en-US
Content-Type: multipart/alternative; boundary="_000_PH0PR03MB6300667FAFA8216A20B905A0F6ABAPH0PR03MB6300namp_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/_3bWLyzFiaUZctBzJIAHywYfBM4>
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 07:14:05 -0000

Dear Yingzhen,
The proposed timeslot (14:30-16:00 CET 08-Nov-23) can work for me.

Regards,
Sasha

From: Yingzhen Qu <yingzhen.ietf@gmail.com>
Sent: Friday, November 3, 2023 10:13 PM
To: Stewart Bryant <stewart.bryant@gmail.com>
Cc: Gyan Mishra <hayabusagsm@gmail.com>; Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>; rtgwg@ietf.org; rtgwg-chairs <rtgwg-chairs@ietf.org>; draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org; ahmedbashandy@gmail.com
Subject: Re: [EXTERNAL] draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

Hi,

I looked at the side meeting schedule, and found the following slot:
 Wednesday (11/8) 14:00 - 15:30.

I hope to have the following key contributors available for the discussion:
Stewart Bryant
Gyan Mishra
Sasha Vainshtein
Stephane Litkowski
Bruno Decraene
Ahmed Bashandy

Of course anyone is welcome to join the discussion.

Please let me know your availability. If this doesn't work out, we'll schedule an interim after IETF 118.

Thanks,
Yingzhen




On Fri, Nov 3, 2023 at 2:06 AM Stewart Bryant <stewart.bryant@gmail.com<mailto:stewart.bryant@gmail.com>> wrote:



On 3 Nov 2023, at 02:43, Gyan Mishra <hayabusagsm@gmail.com<mailto:hayabusagsm@gmail.com>> wrote:

        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

As I noted earlier in the thread, unless you need to ensure that the repair path is congruent with the post convergence path for TE reasons, you never need more than two labels for a link repair.

If you use the procedures in RFC 7490 then at most you need two labels for link failure. One can be a normal MPLS label, the second is a label that get the packet from P to Q. When we wrote RFC 7490 we did not have SR, so we were expecting to use T-LDP which created additional state in the network. Now SR-MPLS is deployed you can use an SR label to get from P to Q and thus avoid the need for T-LDP [1].

I would point out that none of this actually requires standardisation, since the repair is a unitary action by the PLR and uses existing widely deployed MPLS technology, i.e. any path that gets to P then Q will work and any path can be chosen that meets the needs of the operator. The notion that forcing the repair path to the post convergence path from the PLR  solves all the TE problems is questionable since, as was noted the very first time TiLFA was mooted, the operational traffic may no longer go via the PLR post convergence. It is also clear from these discussions that whilst TiLFA solves the problem of micro looping along the path from the PLR to Q space, that is not adequate in itself and thus not a useful path constraint.

Simplifying the design to use exiting RFC 7490 with an SR label to get from P to Q would not invalidate any TiLFA implementation but would make it clear that implementations could chose any path that best suited their needs.

If we expect failure to be a rare event, then we could control the convergence with an unoptimised ordered fib solution an approach which is also a unitary action at the PLR. Of course the PLR might choose to calculate the optimum path cost values to speed up the process.

If we need a more expeditious approach then we can achieve this with a method such as nearside tunnelling which also needs at most one ordinary MPLS label.

Now let us go up a level. This is an emergency use safety system. Safety engineering teaches two things, firstly that such systems are rarely executed and thus bugs may remain hidden for a long time before then manifest themselves, and secondly they normally need to applied in circumstances where instrumentation is difficult. The design philosophy in such systems is normally that they are extremely simple and thus will obviously work under all circumstances both those that are “expected” and those that are “reasonably unexpected”. This is why most safety systems are at first glance quite primitive.

With TiLFA I think we have lost sight of the need for simplicity and thus have an higher risk of a repair failure than we would have in a simpler but adequately functional alternative approach.

Best regards

Stewart

[1] Node failure is intrinsically more complex for all solutions and many more labels (or network state) may be needed. This was written up as the cartwheel problem in which a node has a black hole effect on the traffic and you need to skim the traffic around the rim of the cartwheel.

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.