Re: [Idr] Few questions about Segment Routing extensions for BGP LS (draft-ietf-idr-bgp-ls-segment-routing-ext)

Jeff Tantsura <jefftant.ietf@gmail.com> Thu, 22 July 2021 00:47 UTC

Return-Path: <jefftant.ietf@gmail.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEAF73A30CA for <idr@ietfa.amsl.com>; Wed, 21 Jul 2021 17:47:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 5NLCY6CfrnJA for <idr@ietfa.amsl.com>; Wed, 21 Jul 2021 17:47:10 -0700 (PDT)
Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) (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 B44D43A30C8 for <idr@ietf.org>; Wed, 21 Jul 2021 17:47:09 -0700 (PDT)
Received: by mail-lf1-x133.google.com with SMTP id g22so5998132lfu.0 for <idr@ietf.org>; Wed, 21 Jul 2021 17:47:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aCu5ZqNEHh6TFXh2nOYpfCfUIjEpWNKsi4BWdstXan4=; b=sSiTAVtu83c5qcySloFbst3LOiu33ky2Rhk2vTY6oWr/mTdtFwuCPRwEk0V0+Wvh60 fRPIYPnHVoiRg1k//8B9s20DIxni7djGvsX71EHLHz0gDXTWdp0HDv1i6Rhu2sjLUa1X fCps65Bh9gyNjphbHwMK1p5Ft4WylXvCQ6IIdAmfzMVbJRScRTFlm6QtXqr2hPAiEgHU 9JOBkz+16AhIYKQ/PbtCPw/F/YXQ1uHu8Q313TFku97JxjUxcVdRuNn3zRltn7xGjm4p KIYHlzOuvRi4V1MJcoyipnljNQ8WvbiTDkmsGFUjto620/kUIYUkznP0OLq9GBZ6FeYS Hlsw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aCu5ZqNEHh6TFXh2nOYpfCfUIjEpWNKsi4BWdstXan4=; b=lzpWtGkf3oyO6pRMKXAqKugen6U5zMDawEslodqU8ZVjtOs1vVYg1dA/V2hyfXiBj6 1+bBBRSWwbhq0NvtuNYYOXsM3bssV7qg7W0B8zq/AQc3AUwY041435ioWwtk+UVSzUqi WYsfTxZPln3zaq1JMK31uARV2WFnbxS0vMZmWojFLhACCduAMGe+HnamJyv0ouwKIW7j qI17ldQggmy2z84meNPPHPyCayNS2hKN7QOgBWGWxkHj/ClsT6m30ViUq9L2vtxZNM5d Bld5pASK6gNXiqQx4HEHD9vODNLqjzz0KFzAWUBs7A99Eb5cdgWTJBl8Q2oW301fWgXq xa7w==
X-Gm-Message-State: AOAM5301dHlz9L0uvh7X52jlZa33TS0yvnZDvRGaUU6pAsGUIVPjHHhY g5eg8qjVbtsMWH/H2efvNByD7aMpVKWphDU3BcQ=
X-Google-Smtp-Source: ABdhPJwFpU5eMLHllLnFhJSlsyCdv3uAJUzWpkQbI98+ypZ2AJkltj5sy6EVjaGDUhXZLKBXIlOgv04cjeGR+a3iYUA=
X-Received: by 2002:a05:6512:2186:: with SMTP id b6mr26738250lft.490.1626914827153; Wed, 21 Jul 2021 17:47:07 -0700 (PDT)
MIME-Version: 1.0
References: <1162423632.764584.1626861282633.ref@mail.yahoo.com> <1162423632.764584.1626861282633@mail.yahoo.com> <CAOj+MMGwgE7NDijTiuFRKCi2ifw-8j9BBjkTELYJUCReADF0Zw@mail.gmail.com>
In-Reply-To: <CAOj+MMGwgE7NDijTiuFRKCi2ifw-8j9BBjkTELYJUCReADF0Zw@mail.gmail.com>
From: Jeff Tantsura <jefftant.ietf@gmail.com>
Date: Wed, 21 Jul 2021 17:46:55 -0700
Message-ID: <CAFAzdPUea5y-+v3WANSOB7VEJ8o2pVJ19m8FDvAp9fnwiCeOGg@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Boris Hassanov <bhassanov=40yahoo.com@dmarc.ietf.org>, IDR List <idr@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005a32db05c7aba06a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/R-MJo88Z7VH-W9ThzO0txsCgySE>
Subject: Re: [Idr] Few questions about Segment Routing extensions for BGP LS (draft-ietf-idr-bgp-ls-segment-routing-ext)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Jul 2021 00:47:15 -0000

What Robert said.
What is the use case to treat Anycast SID differently than a regular Prefix
SID(which it is)?

On Wed, Jul 21, 2021 at 4:20 AM Robert Raszuk <robert@raszuk.net> wrote:

> Boris,
>
> IMO Anycast SID is a Prefix SID. Just like anycast address is an IPv4 or
> IPv6 address. What makes it an anycast is the fact that it is advertised
> from more then one node. So anycast in IP or SR is a deployment construct.
>
> In other words node advertising it may have no clue that it is anycast.
> And the moment other nodes from the anycast group stop advertising it - is
> it no longer anycast.
>
> To your other question it is my understanding that you use SID/Label TLV
> when you have SR-MPLS, and for SRv6 you use Prefix SID TLV.
>
> Best,
> R.
>
> On Wed, Jul 21, 2021 at 11:57 AM Boris Hassanov <bhassanov=
> 40yahoo.com@dmarc.ietf.org> wrote:
>
>> Hi all,
>>
>> 1) Need an advice, I might be missing something but I see that Anycasi
>> SID (3333 in the example below)  is in BGP-LS update as regular Prefix SID
>> TLV:
>>
>>  Path Attribute - BGP-LS Attribute
>>             Flags: 0x80, Optional, Non-transitive, Complete
>>                 1... .... = Optional: Set
>>                 .0.. .... = Transitive: Not set
>>                 ..0. .... = Partial: Not set
>>                 ...0 .... = Extended-Length: Not set
>>                 .... 0000 = Unused: 0x0
>>             Type Code: BGP-LS Attribute (29)
>>             Length: 12
>>             Link State
>>                 Prefix SID TLV
>>                     Type: 1158
>>                     Length: 8
>>                     Flags: 0x40, Node-SID (N)
>>                         0... .... = Re-advertisement (R): Not set
>>                         .1.. .... = Node-SID (N): Set
>>                         ..0. .... = No-PHP (P): Not set
>>                         ...0 .... = Explicit-Null (E): Not set
>>                         .... 0... = Value (V): Not set
>>                         .... .0.. = Local (L): Not set
>>                     Algorithm: 0
>>                     SID/Index: 3333
>>
>>
>> Here is confusion, how, let's say, a controller, which receives such
>> BGP-LS update, could  distinguish it from regular Prefix/Node SID?
>>
>> Unfortunately draft-ietf-idr-bgp-ls-segment-routing-ext-18 does not
>> clarify this issue because it only describes Prefix SID TLV type 1158. Any
>> suggestions?
>>
>> 2)  draft-ietf-idr-bgp-ls-segment-routing-ext-18 has two types of labels
>> TLV: SID/Label TLV type 1161 and Prefix SID  TLV type 1158.  I checked
>> several vendors implementations of BGP-LS, all of them use only Prefix SID
>> TLV.
>> Why the draft does not have some conditions or clarifications when to use
>> SID/Label TLV and when Prefix SID TLV?
>>
>> Thank you.
>>
>> SY,
>> Boris
>>
>>
>> _______________________________________________
>> Idr mailing list
>> Idr@ietf.org
>> https://www.ietf.org/mailman/listinfo/idr
>>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>