Re: [Lsr] WG Last Call draft-ietf-lsr-isis-srv6-extensions

Peter Psenak <ppsenak@cisco.com> Thu, 30 January 2020 10:02 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 47690120120; Thu, 30 Jan 2020 02:02:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-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 IyHZVeZMOe7o; Thu, 30 Jan 2020 02:02:21 -0800 (PST)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 971AF12011D; Thu, 30 Jan 2020 02:02:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=6843; q=dns/txt; s=iport; t=1580378540; x=1581588140; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=DKPCPyeibZTNq3CtQTmSkrlh/MBTFBVnXsu3NO3f5vk=; b=O3WcXPuK3Z9ZmHDG9bmB16ecrRCcmfvrWVMJ3Qa+RqNzaI01crbQckg2 wXOGm06MnaCRdNyb5etQeM3hbcfjPB1FOTKLPTVRT2FHHC2Dk+LcCSVkA N8ccOAtfOkkFgx2dnFGZAqtIcfLZQ5ZP6MBM2BU1uf/YzlVo35ErdEBy0 E=;
X-IronPort-AV: E=Sophos;i="5.70,381,1574121600"; d="scan'208";a="22775841"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 30 Jan 2020 10:02:18 +0000
Received: from [10.147.24.41] ([10.147.24.41]) by aer-core-3.cisco.com (8.15.2/8.15.2) with ESMTP id 00UA2Im5032637; Thu, 30 Jan 2020 10:02:18 GMT
To: Chris Bowers <chrisbowers.ietf@gmail.com>, lsr@ietf.org
Cc: lsr-ads@ietf.org, Christian Hopps <chopps@chopps.org>, "Acee Lindem (acee)" <acee@cisco.com>
References: <122B138F-AA4F-4C7C-969C-755DF15F5744@chopps.org> <CAHzoHbtnCjqZjrxpYWhR8RTqbviOBDp1UEecXyAwu0kTZ1nLGA@mail.gmail.com>
From: Peter Psenak <ppsenak@cisco.com>
Message-ID: <fa7c6ef0-e6c7-3d14-41f3-0a64861e25e0@cisco.com>
Date: Thu, 30 Jan 2020 11:02:14 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <CAHzoHbtnCjqZjrxpYWhR8RTqbviOBDp1UEecXyAwu0kTZ1nLGA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Outbound-SMTP-Client: 10.147.24.41, [10.147.24.41]
X-Outbound-Node: aer-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/97CWkJeF9uXIPQYXyEn_72TwMME>
Subject: Re: [Lsr] WG Last Call draft-ietf-lsr-isis-srv6-extensions
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: Thu, 30 Jan 2020 10:02:23 -0000

Hi Chris,

please see inline (##PP)

On 29/01/2020 17:25, Chris Bowers wrote:
> I would like to proposed the following text to make section 6 more clear.
> 
> Thanks,
> Chris
> 
> ====================
> 
>   (existing text)
> 
> 
> 6.  Advertising Anycast Property
> 
>     Both prefixes and SRv6 Locators may be configured as anycast and as
> 
>     such the same value can be advertised by multiple routers.  It is
> 
>     useful for other routers to know that the advertisement is for an
> 
>     anycast identifier.
> 
>     A new flag in "Bit Values for Prefix Attribute Flags Sub-TLV"
> 
>     registry [RFC7794] is defined to advertise the anycast property:
> 
>         Bit #: 4 (Suggested - to be assigned by IANA)
> 
>         Name: Anycast Flag (A-flag)
> 
>         When the prefix/SRv6 locator is configured as anycast, the A-flag
> 
>         SHOULD be set. Otherwise, this flag MUST be clear.
> 
>     The A-flag MUST be preserved when leaked between levels.
> 
>     The A-flag and the N-flag MUST NOT both be set.
> 
> ==== start insert new text =======
> 
> 
> Certain use cases require prefixes/locators that uniquely belong to a node.
> 
> Since prefixes/locators which are not /128 should not have the N bit set,
> 
> this node local uniqueness is decided based on A bit for non-/128 prefixes.

##PP
above does not seem correct. Above seems to imply that for non-/128 
prefix, A-bit is replacement of N-bit.

A-bit applies to both /128 and non-/128 prefixes equally.

Current draft clearly states what to do when both N a A bits are set.



> 
>     When a prefix/locator iscategorized as anycast, it does not uniquely 
> belong
> 
>     to a node and cannot be used for such use cases.  The rules below 
> specify
> 
>     how to determine whether or not a prefix/locator should be treated 
> as anycast
> 
>     in various situations.
> 
> 
>     [RFC7794] contains the following restriction on the interpretation of the N-flag.
> 
>     "If the flag is set and the prefix length is NOT a host prefix
> 
>      (/32 for IPV4, /128 forIPv6), then the flag MUST be ignored."
> 
>     The current document does NOT modify this restriction on the interpretation of
> 
>     the N-flag imposed by [RFC7794].

##PP
I don't think above text is needed. And I don't think above is 
completely correct, as we define a new case in which the N-bit should be 
ignored (when A-bit is set).


> 
>     For a prefix/SRv6 Locator advertisement with a /128 prefix/locator,
> 
>     if both N-flag and A-flag are set, the receiving router MUST treat the
> 
>     prefix advertisement as anycast.

##PP
we have following text in the draft already:

"If both N-flag and A-flag are set in the prefix/SRv6 Locator
    advertisement, the receiving routers MUST ignore the N-flag."



> 
>     For a prefix/SRv6 Locator advertisement with a /128 prefix/locator,
> 
>     if the N-flag and A-flag are NOT set, the receiving routers
> 
>     MUST treat the prefix advertisement as anycast.  

##PP
I don't think above statement is correct. Why a node cannot advertise a 
/128 prefix which is not an anycast one and does not have a N-bit set?



> This rule ensures the
> 
>     correct interpretation of a prefix advertisement originated by
> 
>     a router that is not SRv6 capable and originates a legacy
> 
>     Prefix Attribute Flags Sub-TLV based on [RFC7794] alone.
> 
>     For a prefix/SRv6 Locator advertisement with a prefix/locator that
> 
>     is NOT /128, the N-flag must be ignored, so the setting of the
> 
>     A-flag determines the anycast treatment of the prefix advertisement.

##PP
A-flag does that regardless of the length of the prefix.


> 
>     The Prefix Attribute Flags Sub-TLV can be carried in the SRv6 
> Locator TLV
> 
>     as well as the Prefix Reachability TLVs.  When a router originates
> 
>     both the Prefix Reachability TLV and the SRv6 Locator TLV for a given
> 
>     prefix, and the router is originating the Prefix Attribute Flags Sub-TLV
> 
>     in one of the TLVs, the router SHOULD advertise identical versions of the
> 
>     Prefix Attribute Flags Sub-TLV in both TLVs.

##PP
Above seems a good suggestion. Will add it.

> 
>   
> 
>     If a router receives one Prefix Attribute Flags Sub-TLV in the
> 
>     Prefix Reachability TLV and another in the SRv6 Locator TLV, the router should
> 
>     use the prefix attribute flags received in the Prefix Reachability TLV.

##PP
above contradicts what you suggest in the previous paragraph, where you 
suggest we need to advertise with both prefix and locator, and here you 
suggest we ignore what we received in the locator.

Are you talking about the case where the content of the Prefix Attribute 
Flags Sub-TLV is different in prefix vs locator?
> 
>   
> 
>     If a router receives a Prefix Attribute Flags Sub-TLV in the
> 
>     Prefix Reachability TLV but not in the SRv6 Locator TLV, the router should
> 
>     use the prefix attribute flags received in the Prefix Reachability TLV.

##PP
do we really need this? If the originator does the right thing, then we 
don't have the problem. Cross referencing data between different TLVs 
complicates the implementations.


> 
>   
> 
>     If a router receives a Prefix Attribute Flags Sub-TLV in the
> 
>     SRv6 Locator TLV but not in the Prefix Reachability TLV,
> 
>     the router should use the prefix attribute flags received in the SRv6 Locator TLV.

##PP
same as above.

thanks,
Peter

> 
> ==== end insert new text =========
> 
>     The same prefix/SRv6 Locator can be advertised by multiple routers.
> 
>     If at least one of them sets the A-Flag in its advertisement, the
> 
>     prefix/SRv6 Locator SHOULD be considered as anycast.
> 
> 
> 
> ===================
> 
> 
> On Tue, Jan 21, 2020 at 6:15 PM Christian Hopps <chopps@chopps.org 
> <mailto:chopps@chopps.org>> wrote:
> 
>     This begins a 2 week WG Last Call, ending after Feb 4, 2020, for
>     draft-ietf-lsr-isis-srv6-extensions
> 
>     https://datatracker.ietf..org/doc/draft-ietf-lsr-isis-srv6-extensions/
>     <https://datatracker.ietf.org/doc/draft-ietf-lsr-isis-srv6-extensions/>
> 
>     Authors please indicate if you aware of any other IPR beyond what is
>     posted:
> 
>     https://datatracker.ietf.org/ipr/3796/
> 
>     Thanks,
>     Chris & Acee.
>     _______________________________________________
>     Lsr mailing list
>     Lsr@ietf.org <mailto:Lsr@ietf.org>
>     https://www.ietf.org/mailman/listinfo/lsr
>