Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment

Stewart Bryant <stewart.bryant@gmail.com> Thu, 02 November 2023 07:29 UTC

Return-Path: <stewart.bryant@gmail.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 DF29CC15199B; Thu, 2 Nov 2023 00:29:53 -0700 (PDT)
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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 uKG8BL1FkcWj; Thu, 2 Nov 2023 00:29:49 -0700 (PDT)
Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 D9861C1519AD; Thu, 2 Nov 2023 00:29:48 -0700 (PDT)
Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-540fb78363bso960728a12.0; Thu, 02 Nov 2023 00:29:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698910187; x=1699514987; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=e/ZQa7hiEiAZ/KpVxQk868Whgor2iZn7xQPrdsnxxwU=; b=X7+G5rdb92S4pbOUPn3xn5n5P+s5Z9thmjsou6/7FeBCJMwyYwUVhT9pzR2LgQQDT4 AQIJCaLLUHEM2zpAbjHtgJx7U1BYU9gat/GiBDbEfe63dk4D82GjbKAOmPA2YRsKj++Q JEj57kdgD9Tq9ESuhNnwxRhal5T6wL4dDzub1kvQ63e9Ec7rrGfUFcpoqYylR8QZLI3J aAa1q/uX6xO/n9cnn+fCf7PCd9phF0/eYb5m2300XXZG2MacZZJ1f8zWHKctE9048PHo 0fQn0EMy8S7xqrCRVYr0tiO3B2ioxxcGndhIGvpCjP8MeMjAjjF7poWWAGHKtkX4wv57 0Upg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698910187; x=1699514987; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e/ZQa7hiEiAZ/KpVxQk868Whgor2iZn7xQPrdsnxxwU=; b=wnt04ZjKJax79uv+F0L8U/Yc7NWmBnsTVk4r5pQKSfvh/iw/lcTH8DCg9vJJ9vG6qf mUDj3ASeZ7rEWclm9pBlUFZdQtZpG/nMQPj2fLxXZbwsYE4Fe3eealPR9yH2l4h9e1/M kJW46DLdt988gtS+Sp2DG6vd+CHSoQb59qVo2Xr4aDAfJYpEq9h2m3EPtpCwLRbVyXv5 L11NCGzszyHNM0KoDwEko4AP5TFdYK3247TDZHJN7VFYnH6lnnPokOz0On1fdAuadGEM KCsJqyYr3F7OqI/Lu5qs89Zaz6NYhdvTKHFLdjzkUMuZlYmeY2U+j4R28MglWwpf8+Q0 8t9g==
X-Gm-Message-State: AOJu0YyUuwVCsCrvm3E+Ads3hyS63O6qR12Ncu8v6BP9O4F2L0uRnEC+ yU8YuSCDzSwQVN2u5YAmkCk=
X-Google-Smtp-Source: AGHT+IHzXUjfrQiTenC+yxkU30lJ2WxjIJnrFgG3v49WRcYz0dCFCq0R1Q2tFZvQsgCtK6aGTnGwkg==
X-Received: by 2002:a17:906:dc8e:b0:9be:2963:5671 with SMTP id cs14-20020a170906dc8e00b009be29635671mr3683609ejc.69.1698910186885; Thu, 02 Nov 2023 00:29:46 -0700 (PDT)
Received: from smtpclient.apple ([185.69.144.118]) by smtp.gmail.com with ESMTPSA id jx3-20020a170906ca4300b009ae3d711fd9sm782158ejb.69.2023.11.02.00.29.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2023 00:29:46 -0700 (PDT)
From: Stewart Bryant <stewart.bryant@gmail.com>
Message-Id: <6A2E595E-A7E6-4976-ACC9-E75402AD99E2@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_E5737AC5-D2E5-49CA-8B45-8D597C9A939A"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\))
Subject: Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment
Date: Thu, 02 Nov 2023 07:29:34 +0000
In-Reply-To: <CABNhwV30uhLOo52WHAv6YS4Wg0k9gDbkrs1ANuGPPdLzc1=dsw@mail.gmail.com>
Cc: Stewart Bryant <stewart.bryant@gmail.com>, Alexander Vainshtein <Alexander.Vainshtein@rbbn.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>
To: Gyan Mishra <hayabusagsm@gmail.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>
X-Mailer: Apple Mail (2.3774.100.2.1.4)
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/0gIL0BP8AvTbr7NIvatflLqzRFk>
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: Thu, 02 Nov 2023 07:29:54 -0000

Let me ask a fundamental question.

The whole point of Ti-LFA as sold to the community was that repairing along the post convergence path as opposed to repairing along a convenient temporary path avoided micro loops. The repair path constraint and subsequent segment optimisations add complexity to the calculation of the path.

Are we are now saying that micro loops can form elsewhere and as a consequence we need a micro loop avoidance strategy?

If so the fundamental premise behind TiLFA is broken and the repair can simply become: use SR to expeditiously route the packets into Q space and run a micro loop avoidance strategy. This approach removes the complexity of constraining the repair to the post convergence path.

Of course an implementor could cheat and just used the simplified strategy I describe above and almost certainly very few operators would notice because:

1) In many cases the two paths would be congruent

2) The transient is short and quite difficult to instrument

3) Unless there was some security reason or traffic management reason for the path constraint few would care.

I will look at the proposed differences later, but this sounds like it should be a topic for discussion in RTGWG before the text is finalised and sent the RFC editor.

- Stewart

> On 2 Nov 2023, at 05:09, Gyan Mishra <hayabusagsm@gmail.com> wrote:
> 
> 
> 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)
>> 
>> 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
>>  
>> 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
>> 
>>  
>> 
>> 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
> _______________________________________________
> rtgwg mailing list
> rtgwg@ietf.org
> https://www.ietf.org/mailman/listinfo/rtgwg