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

Ahmed Bashandy <abashandy.ietf@gmail.com> Mon, 06 November 2023 14:37 UTC

Return-Path: <abashandy.ietf@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 EB619C09C227; Mon, 6 Nov 2023 06:37:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.197
X-Spam-Level:
X-Spam-Status: No, score=-7.197 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, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_HI=-5, 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=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 guoKXe48Uqyp; Mon, 6 Nov 2023 06:37:47 -0800 (PST)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 CCA5CC09076F; Mon, 6 Nov 2023 06:36:58 -0800 (PST)
Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50943ccbbaeso6471727e87.2; Mon, 06 Nov 2023 06:36:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699281417; x=1699886217; darn=ietf.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=B/eqGCwt4mtVr4yDqF0lxnA6PSqbmx+37w/wqsNJVOw=; b=C2o91L7dAPndDweV29Z1UDCbLXWWo0dM9YtyygNzcg6oI9AAVHb3eLerHmLcoaPATI TVtlh1mGVq3SLnfogqQEuuEwYWybb6Skvw9j8sYq6VyY7fupvSDFI4tG6zC2M3pku5Sj DK8ysJV+VNggsE2erceOyhTb1km5l1pVr5TBSnGFZ8sn1EeqwHlZSxXbzu1h0OfPLYn2 Qxs1s9F7BO533tCtuAkjgKtd2AGjakkrDd4l1XczbkzLXGwsgpyswOMYk5Q0gTvB7Mu9 O/slYsx0/JrcMgXp583WdmFYb/Qai6ivdEsS9BC8DbrGXfhWC48dsPeicPwCiaxFzlDQ /ppw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699281417; x=1699886217; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=B/eqGCwt4mtVr4yDqF0lxnA6PSqbmx+37w/wqsNJVOw=; b=TqyRiL6lprRFYLvTt2blhRqLgLVeTNXuOnHQZ6epa6akfT88WRvyIUBeRrjPCev+VU F8jjmmQBxQe38YkDawaBnfXkiaPzk5Y/FQBlTvC8LXx/K/oLDrEJx6SHPqMC2JV5L0Fu 7Bsm2+KImkZUK5OJSM58u1fMhSxJm6sg00KR1zcAieJTiSgTX5xQchuyThDL4Tv4E95Y YhzuP0a1JTZrlXNu4LYOjB0tE4vswm+q5nMrx2E1AJ/tTArHbkddF7LOWwCOngXb95GN f5aebJeN5tQomT6nFz5u2l1wXD84xF7nlslsuJ8Yr1FQWukvUxRzier1SUcpnCb09mH2 SbOA==
X-Gm-Message-State: AOJu0YxRDDEiFIfpXJsw+oA4DhLpgiVhp/v4jc9744MMiYtKGSOKwZfo Jm6yftC+M7UIKc/ji+dCwAE=
X-Google-Smtp-Source: AGHT+IG/sOZJ+gw+PY5GEE8tPzjEFdVb8zdvJY0AP9HhVIui8vD96fQYgHlxQbbGtqSHidDylYuuzw==
X-Received: by 2002:a19:e057:0:b0:4ff:7f7f:22e7 with SMTP id g23-20020a19e057000000b004ff7f7f22e7mr21919059lfj.17.1699281416681; Mon, 06 Nov 2023 06:36:56 -0800 (PST)
Received: from [192.168.1.5] ([45.245.202.76]) by smtp.gmail.com with ESMTPSA id d8-20020a05600c34c800b0040770ec2c19sm12803396wmq.10.2023.11.06.06.36.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Nov 2023 06:36:56 -0800 (PST)
Message-ID: <ef40ab1f-90b3-56d2-4d22-02a8eaab3ee0@gmail.com>
Date: Mon, 06 Nov 2023 06:36:53 -0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1
Subject: Re: draft-ietf-rtgwg-segment-routing-ti-lfa : A simple pathological network fragment
Content-Language: en-US
To: Gyan Mishra <hayabusagsm@gmail.com>, Alexander Vainshtein <Alexander.Vainshtein@rbbn.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>
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>
From: Ahmed Bashandy <abashandy.ietf@gmail.com>
In-Reply-To: <CABNhwV30uhLOo52WHAv6YS4Wg0k9gDbkrs1ANuGPPdLzc1=dsw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/6xZ_z5OZv3ge-Rr8sWlgFiTXcfs>
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: Mon, 06 Nov 2023 14:37:48 -0000

great

I'll change the wording accordingly

Ahmed

On 11/1/23 10:09 PM, Gyan Mishra 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> 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 <bruno.decraene@orange.com>
>> *Sent:* Monday, October 23, 2023 3:27 PM
>> *To:* Alexander Vainshtein <Alexander.Vainshtein@rbbn.com>
>> *Cc:* rtgwg@ietf.org; rtgwg-chairs <rtgwg-chairs@ietf.org>;
>> draft-ietf-rtgwg-segment-routing-ti-lfa@ietf.org; Stewart Bryant <
>> 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>
>> *Sent:* Sunday, October 22, 2023 4:21 PM
>> *To:* DECRAENE Bruno INNOV/NET <bruno.decraene@orange.com>; Stewart
>> Bryant <stewart.bryant@gmail.com>
>> *Cc:* rtgwg@ietf.org; rtgwg-chairs <rtgwg-chairs@ietf.org>;
>> 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> *On Behalf Of *
>> bruno.decraene@orange.com
>> *Sent:* Thursday, October 19, 2023 7:34 PM
>> *To:* Stewart Bryant <stewart.bryant@gmail.com>
>> *Cc:* rtgwg@ietf.org; rtgwg-chairs <rtgwg-chairs@ietf.org>;
>> 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)