Re: [Lsr] Is UPA expected to trigger BGP best path calculation?

Muthu Arul Mozhi Perumal <muthu.arul@gmail.com> Mon, 01 April 2024 07:42 UTC

Return-Path: <muthu.arul@gmail.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D2F8CC14F6FB for <lsr@ietfa.amsl.com>; Mon, 1 Apr 2024 00:42:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.093
X-Spam-Level:
X-Spam-Status: No, score=-2.093 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_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 UpJBuY-LcJ_i for <lsr@ietfa.amsl.com>; Mon, 1 Apr 2024 00:42:33 -0700 (PDT)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (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 D9761C14F6ED for <lsr@ietf.org>; Mon, 1 Apr 2024 00:42:33 -0700 (PDT)
Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-56c1922096cso4824040a12.0 for <lsr@ietf.org>; Mon, 01 Apr 2024 00:42:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711957352; x=1712562152; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Z8kSnSV8EC3MzyxBg0ydZD1RqvadYnN6U0NByrIbbg4=; b=Z7iAEFCg/f0Ekn8htopRsh36BtKMCqrXylB41F0Uej3cq5ozKmymE4YJ8kdSQEsI4h eTgjS+JKtojixyK10ne9m7l3HVmi0GPixbOqPDeX2hnylIN2dHlrlactx3ANxgkp17XP WQK0Oyzo+uPyfy9OHZECO7tqZrWQo11k6tJkjlqsW0Xpw8SuWMSiCTeEIbKmUx0hBdHG TfS4OeVM1NslXRWvrFq6BM57F9CE0rN6FEFWoetAmuwSg2+agAgEumZfBuJ3hFcuwOm3 wyLsKgIggmLUqwmgT2LAtOyuUhYL3LiuahGzxyKnCEI20qa6zXWh9RmS9SSzIeLcoc9l nV3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711957352; x=1712562152; h=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=Z8kSnSV8EC3MzyxBg0ydZD1RqvadYnN6U0NByrIbbg4=; b=vpRUwRYQW/YYOPVDQaNxi5w5O5ylFBkHNNV4YokvpsAAn7uwrc2UgJmzWn2ZYXaAR9 Jrz5cMCTBmtFJayWHSogKHA3Cs6hCyDJInbgd6O5OIZusJ2OYqEe5+z3JqtPqfVAYqq5 c30mWXB7KwPW/lXkrigDCFX4cOFsAjGD11FE2agrtG+dnnzLrIN9mWZfVO7DZkIVBBXB JVR0eVLNcgnJKpN9kwSb1YcmywPu4Bv4ZFjZ3OLK6dkpQWYUs8s0W6GAllcDdPF6ldI7 qbLDWSMoT4UU/AtBaeYNidqVNuBY2nFJbz5+3ocpq2GS++6IAytu/awdyifl6c1FksKX JReg==
X-Gm-Message-State: AOJu0YyIGOuDFswmFgw1A7uxstmrk23VJpbnR+guhCV37pzJAEGh/QqA bK6TQQu1QHuobeajM4HVy9HnAE0wifb4YlHSpB5l29DajTkmMQngB7yWY274N8eCHcHBlE8vrpH LU+ivhsyXm8pQoUhzcwey+vi5pDTQIvqQ45g=
X-Google-Smtp-Source: AGHT+IGOLvr1qOHW0se9JB0eXciLudbBoIOTWTAd5QCDlL6FdYs9lr94WyiT0t/LQwDxy1bzTd1s1HTOZh5YXP+Mx28=
X-Received: by 2002:a17:906:ee9:b0:a4d:fe8f:bb93 with SMTP id x9-20020a1709060ee900b00a4dfe8fbb93mr4656698eji.30.1711957351851; Mon, 01 Apr 2024 00:42:31 -0700 (PDT)
MIME-Version: 1.0
References: <CAKz0y8xdXvuTxMEuf6M4out0oghKX84PBPsunwGO5GBQ2wdYnw@mail.gmail.com> <46e2341b-5b70-4486-ae24-9784c99aa9bc@cisco.com>
In-Reply-To: <46e2341b-5b70-4486-ae24-9784c99aa9bc@cisco.com>
From: Muthu Arul Mozhi Perumal <muthu.arul@gmail.com>
Date: Mon, 01 Apr 2024 13:12:20 +0530
Message-ID: <CAKz0y8wR0N-rf3tELhx+ChmFhg8=GR6rubWZjfC=2o_D_s=QXA@mail.gmail.com>
To: Peter Psenak <ppsenak@cisco.com>
Cc: lsr <lsr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000d3ed9e0615042168"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/q2Xh5u3GxdK0VKvRyJR1M-q0lmE>
Subject: Re: [Lsr] Is UPA expected to trigger BGP best path calculation?
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Apr 2024 07:42:37 -0000

Hi Peter,

Thanks for your response..

First, to confirm if I understood correctly:
<snip>
The intent of UPA is to provide an event driven signal of the transition of
a destination from reachable to unreachable. It is not intended to
advertise a persistent state. UPA advertisements should therefore be
withdrawn after a modest amount of time, that would provides sufficient
time for UPA to be flooded network-wide and acted upon by receiving nodes,
but limits the presence of UPA in the network to a short time period. The
time the UPA is kept in the network SHOULD also reflect the intended
use-case for which the UPA was advertised.
</snip>

The withdrawal of the UPA signal does not imply that the prefix is reable
again, instead only that the (unreachable) signal is not valid anymore,
correct?

Any reason why "should therefore be withdrawn" is not using a BGP 14
keyword while "The time the UPA is kept in the network SHOULD also reflect
the intended use-case" is?

While I agree that this draft is about IGP extension and the intended
use-case/behavior is local and outside the scope of this draft, there are
certain operational implications (both good and bad) of the choice made by
the receiver, especially whether or not to trigger BGP best path based on
UPA. I think this is better described in at least an informational draft
(just like how BGP PIC is) for both the implementer and the operator to
weigh the pros vs cons of the choices..

Regards,
Muthu

On Fri, Mar 22, 2024 at 6:44 PM Peter Psenak <ppsenak@cisco.com> wrote:

> Muthu,
>
> On 18/03/2024 10:41, Muthu Arul Mozhi Perumal wrote:
>
> Hi all,
>
> draft-ietf-lsr-igp-ureach-prefix-announce mentions BGP PIC edge as one the
> use cases for UPA in the presence of summarization. However, it is not
> quite clear whether UPA is expected to trigger BGP best path calculation at
> the ingress PE (in addition to triggering BGP PIC) in spite of the BGP NH
> (or SRv6 locator as the case may be) being reachable through the summary
> route in RIB. Or should BGP wait for the service route to be withdrawn
> (say, by an RR having reachability to the egress PE) before triggering BGP
> best path?
>
> UPA draft specifies the IGP signalling for unreachable prefix.
>
> It does not specify how the UPA signal is used on the receiver. The
> handling of the UPA is optional and implementation specific.
>
>
> It looks either case would be problematic in case of a short flap in
> reachability for the BGP NH as detected by the egress ABR:
>
>    - If the ingress PE were to run the BGP best path on receiving UPA for
>    the BGP NH, what would be the trigger to run another best path when the BGP
>    NH becomes reachable again soon after, for reverting the traffic to the
>    original NH? This is unlike using MH-BFD to detect the BGP NH reachability
>    which can indicate both down/up. UPA on the other hand indicates only a
>    down.
>    - If the ingress PE were to rely on the service routes to be
>    withdrawn/re-advertised, then what about scenarios where the BGP session is
>    directly b/w the ingress and egress PEs? Is UPA not expected to be deployed
>    in such scenarios?
>
>
> There was a discussion earlier about the UP flag in the UPA advertisement
> triggering BGP best path:
> https://mailarchive.ietf.org/arch/msg/lsr/_qhlHBjQ8H-bLXtA6Nn4J7musjc/
>
> Is this applicable also to the U flag?
>
> I think it is difficult to realize the use case for UPA in an
> interoperable way without this clarity..
>
>
> there is no interoperability needed for the handling of the UPA on the
> receiver. Its a local behavior on the receiver.
>
> thanks,
> Peter
>
>
> Regards,
> Muthu
>
>
>
> _______________________________________________
> Lsr mailing listLsr@ietf.orghttps://www.ietf.org/mailman/listinfo/lsr
>
>
>