Re: Question for TI-LFA

Yasuhiro Ohara <yasu1976@gmail.com> Sun, 31 March 2024 02:02 UTC

Return-Path: <yasu1976@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 5FAAEC14F5FC for <rtgwg@ietfa.amsl.com>; Sat, 30 Mar 2024 19:02:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.846
X-Spam-Level:
X-Spam-Status: No, score=-6.846 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 iBuR9pvNIEn5 for <rtgwg@ietfa.amsl.com>; Sat, 30 Mar 2024 19:02:22 -0700 (PDT)
Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 B8D7CC14F5FA for <rtgwg@ietf.org>; Sat, 30 Mar 2024 19:02:17 -0700 (PDT)
Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-6e695470280so1777953a34.3 for <rtgwg@ietf.org>; Sat, 30 Mar 2024 19:02:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711850536; x=1712455336; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vEQmsMR9u46EUPdQE5EhjRd5M4BQ318N41XBFVSZvKw=; b=P58RnY88Uo3inH1aded8p4309yGcC7A0KsB81GFQZiH9SOHc6RTpxM2KB5NQhxog0I CIBHitR3Tkj1A4y5yRDG574vo26LmIG+Px7BQYdJeZi3mDe1DW8XDqP9eBJaF5sCtSDc kYXxweLzay9uSIzAlbUKFxM0TpLu8WCezroCHUkxcTtdfpWuYi7TdeWhVst2jbkSxz5U 2i5MenFrq7sOZqtvYdwVGRZ+71MdK7nEWn+6gliGqJZzqp1IBFBvCn4UsTq+ZgW60dV2 lHcz5TPbRZrTsukW89tBAodEhiE+n/rWYfqCjPTId9M12MCzN+9xEVSKubWRnKmMpMv5 SV4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711850536; x=1712455336; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vEQmsMR9u46EUPdQE5EhjRd5M4BQ318N41XBFVSZvKw=; b=PDb745TaFAyWhryOXzIZBBlK+tvDSHLgXzb/znA5yBP5clBMTrsDGe42T8gfylerdB qcLzN2wbSVPmEzN9JlNTZ98VH3gpvxaF2y6JQxWHbYgZ0kUN8rXRtHZCI80QcKlgV8F0 8/2n48EyIazn5eBP6VEqcHFjnIvMRLwns/WXrkn3l13uC8uSB5IueSnN05QTh8AyujXR 8U+Hm0s2lb446GpDdFJUlWkVJNe2pv9v2hA3amNm9Be7M2l9Ixpw7J/NtosG+6rHOjii aywlU4Z10M2wADf8rxuNGtLVV8SDXtNaYyNJtzrq8mLxyoMf9KEbk6oehgdJVZQxpPVa B89w==
X-Gm-Message-State: AOJu0YxV1ocJz94z6QKtQIKO6HNK4lfFgbmPH8zqAhP2tte+7Flxidzu PYGS3nqzg7VRVeox07DdW6jiix+p520kHGfCCy+5mzX+u0IMLKnhahMshoNQ3tJ51FTCE5ReeM3 GPxhnK3B4KLOREnQgwSE+sapfDqQ=
X-Google-Smtp-Source: AGHT+IE4tlowV4mpJumLz7VprAgeR/8sDW1a1d4KwUWOK9uWqtsErkYxqWsfXbobKauwto9IYCKVEjUeiaJMR8ovNYc=
X-Received: by 2002:a05:6830:18c5:b0:6e5:3b9:5dad with SMTP id v5-20020a05683018c500b006e503b95dadmr6859031ote.24.1711850536337; Sat, 30 Mar 2024 19:02:16 -0700 (PDT)
MIME-Version: 1.0
References: <CAJO98mNUQ1JcHkbTPZmi_4Pq0G49ta366cmbsSxs4CHHHe=KWw@mail.gmail.com> <1FF74054-58C5-4B03-953B-A02260DDD9A8@gmail.com>
In-Reply-To: <1FF74054-58C5-4B03-953B-A02260DDD9A8@gmail.com>
From: Yasuhiro Ohara <yasu1976@gmail.com>
Date: Sun, 31 Mar 2024 11:02:05 +0900
Message-ID: <CAJO98mOJBnVzLKjfPx47nADuxNjawrmD2nqFnpY-CLXG=9pcHw@mail.gmail.com>
Subject: Re: Question for TI-LFA
To: Stewart Bryant <stewart.bryant@gmail.com>
Cc: Routing WG <rtgwg@ietf.org>, James Guichard <james.n.guichard@futurewei.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/L1WQPGwll_qJ_bqYMHm-EGOEyzc>
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, 31 Mar 2024 02:02:23 -0000

Thank you.

I would prefer to add some texts,
because I don't understand yet if (and how) the use of the entire
RFC7490 definition
will resolve the example case (I might need some more time to understand).

Best regards,
Yasu

2024年3月29日(金) 3:35 Stewart Bryant <stewart.bryant@gmail.com>:
>
> An interesting point.
>
> The RFC 7490 definition of P-space is
>
>
> P-space:
>       The P-space of a router with respect to a protected link is the
>       set of routers reachable from that specific router using the pre-
>       convergence shortest paths without any of those paths (including
>       equal-cost path splits) transiting that protected link.
>
>       For example, the P-space of S with respect to link S-E is the set
>       of routers that S can reach without using the protected link S-E.
>
>
>
>
>
>
> For safety the ECMP exclusion needs to apply to extended P-space as well. In both cases unless the ECMP behaviour of all nodes on the path is examined and the packet is specifically steered the safe way (something that cannot be done in the general case but could be done in Ti-LFA) it is unsafe to assume that ECMP will not cause a loop back to the PLR.
>
> I therefore think that either the RFC7490 definition needs to be used, or  there needs to be  specific text included that provides guidance on the need to steer the repaired packet safely though any node that the repaired packet will be routed through that may ECMP via the failure.
>
> Best regards
>
> Stewart
>
>
>
> Begin forwarded message:
>
> From: Yasuhiro Ohara <yasu1976@gmail.com>
> Subject: Question for TI-LFA
> Date: 24 March 2024 at 05:54:33 GMT
> To: rtgwg@ietf.org
> Cc: Yasuhiro Ohara <yasu1976@gmail.com>
>
> Hi,
>
> I have a question for the draft-ietf-rtgwg-segment-routing-ti-lfa-13.
> I wonder if it needs a fix.
>
> In the I-D, the Section 3. "Terminology" defines
> the P-space as the following.
>
> The P-space P(R,X) of a router R with regard to a resource X (e.g. a
> link S-F, a node F, or a SRLG) is the set of routers reachable from R
> using the pre-convergence shortest paths without any of those paths
> (including equal-cost path splits) transiting through X.
>
>
> The Figure 1 (Section 6) in the same I-D,
> the resulting P(S, N1) includes R1,
> but one of the S's ECMPs to R1 includes N1.
> S's ECMPs to R1: [(S-N1-R1), (S-N2-R1)].
> How can we include R1 in the P(S,N1),
> given the P-space definition?
>
> My current guess is that P-space definition needs additional
> explanation on the ECMP part.
> My guess for the correct definition is:
>        A router (say 'U') can be included in the P(R,X)
>        as long as the R can exclude all the nexthops
>        possibly transiting through X.
>
> I think we are implicitly assuming that S can eliminate sending
> through N1 to R1 by itself, and so the R1 can be include in P(S,N1)
> in Section 6.
>
> As a search for other problematic example,
> we can manipulate(generate artificially)
> the topology such that S's ECMPs to R1 consist of:
> S-X-A-R1
> S-B-R1
> S-C-X-R1
> S-D-E-R1
> S-D-X-R1
>
> In this case, R1 can be included only if S can eliminate the
> X, C, D from the nexthops to R1.
> S-X-A-R1 (NG, easily avoidable)
> S-B-R1 (OK)
> S-C-X-R1 (NG, avoidable after path calculation)
> S-D-E-R1 (NG, hard to avoid unless we compute ECMP from D to R1)
> S-D-X-R1 (NG, hard to avoid unless we compute ECMP from D to R1)
>
> The current definition seems to worry about inclusion of D nexthop case,
> and contradicts with the raised example which includes B nexthop case.
>
> By the way, I think Q-space definition is correct as is
> in the current version.
>
> Best regards,
> Yasu
>
> _______________________________________________
> rtgwg mailing list
> rtgwg@ietf.org
> https://www.ietf.org/mailman/listinfo/rtgwg
>
>