Re: [Lsr] Last Call: <draft-ietf-lsr-isis-srv6-extensions-14.txt> (IS-IS Extension to Support Segment Routing over IPv6 Dataplane) to Proposed Standard

Peter Psenak <ppsenak@cisco.com> Mon, 03 May 2021 09:18 UTC

Return-Path: <ppsenak@cisco.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 A725D3A13D3; Mon, 3 May 2021 02:18:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level:
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 S1AndXN-HD4C; Mon, 3 May 2021 02:18:00 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 942FB3A13D0; Mon, 3 May 2021 02:17:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5996; q=dns/txt; s=iport; t=1620033479; x=1621243079; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=txw3/PTZd5JuTpWrjmOrow3IXN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ti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.82,268,1613433600"; d="scan'208";a="33246667"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 03 May 2021 09:17:57 +0000
Received: from [10.60.140.52] (ams-ppsenak-nitro3.cisco.com [10.60.140.52]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id 1439Huwr003241; Mon, 3 May 2021 09:17:57 GMT
To: "Van De Velde, Gunter (Nokia - BE/Antwerp)" <gunter.van_de_velde@nokia.com>, "draft-ietf-lsr-isis-srv6-extensions@ietf.org" <draft-ietf-lsr-isis-srv6-extensions@ietf.org>
Cc: "chopps@chopps.org" <chopps@chopps.org>, "aretana.ietf@gmail.com" <aretana.ietf@gmail.com>, "lsr@ietf.org" <lsr@ietf.org>
References: <161912242429.12485.17590245376033356793@ietfa.amsl.com> <AM0PR07MB638668F6AC767504D0534925E05B9@AM0PR07MB6386.eurprd07.prod.outlook.com>
From: Peter Psenak <ppsenak@cisco.com>
Message-ID: <98456c8b-42dc-a387-0a18-f7921a94aeb1@cisco.com>
Date: Mon, 03 May 2021 11:17:56 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <AM0PR07MB638668F6AC767504D0534925E05B9@AM0PR07MB6386.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Outbound-SMTP-Client: 10.60.140.52, ams-ppsenak-nitro3.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/TRy3HgvnjETVEOEn3Dc7FK2_wtQ>
Subject: Re: [Lsr] Last Call: <draft-ietf-lsr-isis-srv6-extensions-14.txt> (IS-IS Extension to Support Segment Routing over IPv6 Dataplane) to Proposed Standard
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
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, 03 May 2021 09:18:05 -0000

Hi Gunter,

Prefix Attribute Flags Sub-TLV has been defined as an optional Sub-TLV. 
The problem you describe is not specific to Locator TLV, same applies to 
regular IPv4/v6 prefixes (forget SR MPLS for a while) - if the Prefix 
Attribute Flags TLV is not included, one can not tell whether the prefix 
has been propagated (L1->L2) or generated as a result of the local 
interface attached on the originator. Same applies to redistribution and 
R-flag for IPv4 prefix TLVs.

SRv6 Locator TLV has been defined a while back and the Prefix Attribute 
Flags Sub-TLV has always been an optional Sub-TLV of it. I'm not sure we 
can start to mandate the Prefix Attribute Flags TLV at this point.

Technically I agree with you and if everybody agrees, I'm fine to 
enforce the presence of the Prefix Attribute Flags TLV in the Locator TLV.

thanks,
Peter


On 03/05/2021 10:45, Van De Velde, Gunter (Nokia - BE/Antwerp) wrote:
> Hi Peter, All,
> 
> Could we update to "draft-ietf-lsr-isis-srv6-extensions" that the prefix-attribute tlv is mandatory when a locator is redistributed?
> 
> Why?
> *When calculating a LFA for an SRv6 End.SID we better know if the locator has been redistributed or not for a correct operation.
> 
> Reasoning:
> * A locator has the D bit. This one is set when we redistribute from L2 to L1.
> ** So this end-sid will not be used as we know that it is redistributed.
> 
> * In the other direction (L1-L2), we only know that a locator is redistributed from L1 to L2 if the prefix-attribute sub-tlv is advertised.
> ** This means if the operator does not configure advertisement of the prefix-attribute tlv, ISIS could potentially use an end-sid which does not terminate on the expected  node.
> 
> * Compared to sr-mpls, a prefix-sid has the R flag indicating it is redistributed.
> * We don't have that for locator end-sids.
> 
> Relevant snip from " draft-ietf-lsr-isis-srv6-extensions"
> 
> 7.1.  SRv6 Locator TLV Format
> 
>     The SRv6 Locator TLV has the following format:
> 
>         0                   1                   2                   3
>         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>        |   Type        |     Length    |R|R|R|R|    MT ID              |
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
>        Type: 27
> 
>          Length: variable.
> 
>          R bits: reserved for future use. They MUST be
>          set to zero on transmission and MUST be ignored on receipt.
> 
>          MT ID: Multitopology Identifier as defined in [RFC5120].
>          Note that the value 0 is legal.
> 
>     Followed by one or more locator entries of the form:
> 
>         0                   1                   2                   3
>         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>        |                          Metric                               |
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>        |   Flags       |  Algorithm    |
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>        |  Loc Size     | Locator (variable)...
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>        |  Sub-TLV-len  |         Sub-TLVs (variable) . . .             |
>        +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> 
> 
>          Metric: 4 octets. As described in [RFC5305].
> 
>          Flags: 1 octet. The following flags are defined
> 
>            0
>            0 1 2 3 4 5 6 7
>           +-+-+-+-+-+-+-+-+
>           |D|    Reserved |
>           +-+-+-+-+-+-+-+-+
> 
>           where:
>             D-flag: Same as described in section 4.1. of [RFC5305].
> 
> 
> G/
> 
> -----Original Message-----
> From: Lsr <lsr-bounces@ietf.org> On Behalf Of The IESG
> Sent: Thursday, April 22, 2021 10:14 PM
> To: IETF-Announce <ietf-announce@ietf.org>
> Cc: lsr@ietf.org; lsr-chairs@ietf.org; chopps@chopps.org; draft-ietf-lsr-isis-srv6-extensions@ietf.org; aretana.ietf@gmail.com
> Subject: [Lsr] Last Call: <draft-ietf-lsr-isis-srv6-extensions-14.txt> (IS-IS Extension to Support Segment Routing over IPv6 Dataplane) to Proposed Standard
> 
> 
> The IESG has received a request from the Link State Routing WG (lsr) to consider the following document: - 'IS-IS Extension to Support Segment Routing over IPv6 Dataplane'
>    <draft-ietf-lsr-isis-srv6-extensions-14.txt> as Proposed Standard
> 
> The IESG plans to make a decision in the next few weeks, and solicits final comments on this action. Please send substantive comments to the last-call@ietf.org mailing lists by 2021-05-07. Exceptionally, comments may be sent to iesg@ietf.org instead. In either case, please retain the beginning of the Subject line to allow automated sorting.
> 
> Abstract
> 
> 
>     The Segment Routing (SR) allows for a flexible definition of end-to-
>     end paths by encoding paths as sequences of topological sub-paths,
>     called "segments".  Segment routing architecture can be implemented
>     over an MPLS data plane as well as an IPv6 data plane.  This document
>     describes the IS-IS extensions required to support Segment Routing
>     over an IPv6 data plane.
> 
>     This documents updates RFC 7370 by modifying an existing registry.
> 
> 
> 
> 
> 
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-lsr-isis-srv6-extensions/
> 
> 
> The following IPR Declarations may be related to this I-D:
> 
>     https://datatracker.ietf.org/ipr/3796/
>     https://datatracker.ietf.org/ipr/4486/
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Lsr mailing list
> Lsr@ietf.org
> https://www.ietf.org/mailman/listinfo/lsr
> 
>