Re: [spring] SID Related Algorithm in draft-peng-idr-segment-routing-te-policy-attr

Ketan Talaulikar <ketant.ietf@gmail.com> Mon, 04 April 2022 16:47 UTC

Return-Path: <ketant.ietf@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 660223A0D65; Mon, 4 Apr 2022 09:47:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qoBege6301Qc; Mon, 4 Apr 2022 09:47:53 -0700 (PDT)
Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7A9C3A0D3C; Mon, 4 Apr 2022 09:47:52 -0700 (PDT)
Received: by mail-vs1-xe30.google.com with SMTP id n5so9843871vsc.4; Mon, 04 Apr 2022 09:47:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NICwQBCfJHNzYsKJkAKbtSMdzKiOnyVbUmWV1PlHHko=; b=BrWprBO8joBfM9M4nuKKeDrn9IvgnQFeGBg10RC8ElY56Xf1FOdTKBco+HoTLQKb27 5MJALKQuEJyCVTWFepsntP44pg4x5Z8oMY9Y9FaZ8jXLw1Driucm3VYePB9AooHc+MqS S1iTjA1N96ZTtvZSzuHBgnRBJood4FMpfCxsZ0lIlYn0UmBLa16RGeopMC7GGUvU0dNu js3zwhQBVcI6BoOnvSLBoy6yZfn713DrAFOxx6lcVerB7nYBDE0AeOYzJtUs9KVWgXu/ lC/wOUBFf4nO46q5EN+2ptr32mTZPzuAo/xtXTA76jW8Mly4pUivkgxx/o9pt3oLzydp Fb/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NICwQBCfJHNzYsKJkAKbtSMdzKiOnyVbUmWV1PlHHko=; b=ynfff2y0Hmiw5oEGyEwODF2leY3f30yBxD7ilketVH8rFxJ4xixhqg6v/AQaqhQAs6 R1kfZX8HOlVcqJhcT7eDlLmpcjBSbPgKXpUcFU0f5GYmMhfFSpItyvWf9uegSQ53OO4u acvTs2pnTfXi/IfRQKHmqR8W2Ezj2NrlGxT5aayCtVCVBOls4WhrjE9tc95YqoOnyX01 VNoQn2CYlea+6cF/nBgJvArhJMVQWZiRHiify/grnOzQKsPKJO79MW63XPMe4HneRr82 yV7Cav3hpjRDKAX1gHgCevhnodbV2Bjfq7w6/HIZsdtzv99lCpu8NLowDaeGUG2e//Vq T/yA==
X-Gm-Message-State: AOAM533oeEiwQwChAWic7DLEE0As1pN4MNQohrfPNlqQuQZz+4cdehc4 iLQJlvNMagEb/WKsmKwrBMEsRUC1q4tJ9GH2QgI=
X-Google-Smtp-Source: ABdhPJxmbvEG9ODyoRwXgdnpezjLyTunncrkKXH3hTHK0R8TsXK4mDy4S35uY352/7Z6lX0qLY20tzamC51TU3oMjuo=
X-Received: by 2002:a67:b24d:0:b0:327:dd90:ec43 with SMTP id s13-20020a67b24d000000b00327dd90ec43mr335804vsh.15.1649090871358; Mon, 04 Apr 2022 09:47:51 -0700 (PDT)
MIME-Version: 1.0
References: <202203301703500769671@zte.com.cn>
In-Reply-To: <202203301703500769671@zte.com.cn>
From: Ketan Talaulikar <ketant.ietf@gmail.com>
Date: Mon, 04 Apr 2022 22:17:39 +0530
Message-ID: <CAH6gdPyxDxq9soDCTvo84kVYwbOmA5w7D57ihuoOL5fmng-bMg@mail.gmail.com>
To: liu.yao71@zte.com.cn
Cc: SPRING WG <spring@ietf.org>, idr@ietf.org
Content-Type: multipart/alternative; boundary="00000000000096f80c05dbd6e3c4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/Q4Y6mTjPdsmCp__RnCUeV8U_BWI>
Subject: Re: [spring] SID Related Algorithm in draft-peng-idr-segment-routing-te-policy-attr
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2022 16:48:04 -0000

Hi Yao,

Please check inline below.

On Wed, Mar 30, 2022 at 2:34 PM <liu.yao71@zte.com.cn> wrote:

> Hi all,
>
> We presented
> https://datatracker.ietf.org/doc/draft-peng-idr-segment-routing-te-policy-attr
> on IDR's session last week.
> This document defines two kinds of new Segment Sub-TLVs to carry SID
> related algorithm when delivering SR Policy via BGP. One is for SR-MPLS
> adjacency with algorithm, another kind is defined for carrying the algo
> along with the SR-MPLS or SRv6 SID value.
>

KT> This work is introducing new Segment Types over what is being specified
in
https://datatracker.ietf.org/doc/html/draft-ietf-spring-segment-routing-policy-22#section-4
and hence I believe at least a review in SPRING WG would be useful.


>
> While we believe that the former kind is necessary, considering
> draft-ietf-lsr-algorithm-related-adjacency-sid complements that in
> scenarios where multiple algorithm share the same link resource, the
> algorithm can be also included as part of an Adj-SID advertisement for
> SR-MPLS.


KT> I agree. That LSR draft is extending the algorithm which was associated
with Prefixes by RFC8402 to now also adjacency SID and would also benefit
from SPRING WG review. I do believe there is a use case for
algorithm-specific adjacency SID. Therefore, I see there is a case for the
introduction of the new Segment Types M, N, O, and P that is being proposed
by you in draft-peng-idr-segment-routing-te-policy-attr.


>
> We'd like to request the WG's opinion especially about the delivering
> SR-MPLS or SRv6 SID value with optional algorithm. (Thanks for Ketan's
> suggestion about this.)
> Segment Sub-TLVs carrying SID value with optional algorithm are defined in
> this draft because we think it may benefit the scenarios below:
> Scenario 1: For verification purposes. The headend can check if the SID
> value and the related algorithm received can be found in its SR-DB if
> requested to do so.
> Scenario 2: The headend may not know about the SID-related algorithm
> especially in the inter-domain scenario.  Providing the algorithm  info
> benefits troubleshooting and network management.
>

KT> I do not see the point of the Segment Types L and Q that are proposed
in your document. I fail to understand what is meant by validation or
troubleshooting here. I will point to Sec 4 and 5 of
draft-ietf-spring-segment-routing-policy for details on how the segment
types are validated/used. When the SID is specified as a label or SRv6 SID
directly, then the controller has already done its resolution and
identified the SID. I don't see the point in complicating these "simple"
types that are the most widely deployed and used ones.

Thanks,
Ketan


>
> Any comments and suggestions are welcome.
>
> Thanks,
> Yao
>