Re: [Idr] draft-ietf-idr-next-hop-capability

Aijun Wang <wangaijun@tsinghua.org.cn> Fri, 16 September 2022 23:46 UTC

Return-Path: <wangaijun@tsinghua.org.cn>
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 2764CC1524A9; Fri, 16 Sep 2022 16:46:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.905
X-Spam-Level:
X-Spam-Status: No, score=-6.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 i8T30jYv-jOR; Fri, 16 Sep 2022 16:46:43 -0700 (PDT)
Received: from mail-m121145.qiye.163.com (mail-m121145.qiye.163.com [115.236.121.145]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CF90C14F74B; Fri, 16 Sep 2022 16:46:40 -0700 (PDT)
Received: from smtpclient.apple (unknown [221.223.103.237]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id CDCCF8000BC; Sat, 17 Sep 2022 07:46:37 +0800 (CST)
Content-Type: multipart/alternative; boundary="Apple-Mail-939E7DBB-E0C3-45D4-94E3-B716D37A2CDD"
Content-Transfer-Encoding: 7bit
From: Aijun Wang <wangaijun@tsinghua.org.cn>
Mime-Version: 1.0 (1.0)
Date: Sat, 17 Sep 2022 07:46:37 +0800
Message-Id: <8CF444DF-DE09-4A34-B643-BC52982A9438@tsinghua.org.cn>
References: <4737_1663342198_63249676_4737_489_1_99e3f16e6bb84a4cb97c93dba81486c8@orange.com>
Cc: idr@ietf.org, Gyan Mishra <hayabusagsm@gmail.com>, draft-ietf-idr-next-hop-capability@ietf.org, draft-scudder-idr-entropy-label@ietf.org
In-Reply-To: <4737_1663342198_63249676_4737_489_1_99e3f16e6bb84a4cb97c93dba81486c8@orange.com>
To: bruno.decraene@orange.com
X-Mailer: iPhone Mail (19G82)
X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFKTEtLSjdXWS1ZQUlXWQ8JGhUIEh9ZQVlDGBhJVkseGkkdGU1NT0oaQ1UTARMWGhIXJB QOD1lXWRgSC1lBWUlJSlVJSUhVSktIVUlITFlXWRYaDxIVHRRZQVlPS0hVSkpLSE1KVUpLS1VLWQ Y+
X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PUk6URw5Hj0oPhotAStCUTdR IiwKCktVSlVKTU1ISExKQkJDSE9JVTMWGhIXVQwaFRwaEhEOFTsPCBIVHBMOGlUUCRxVGBVFWVdZ EgtZQVlJSUpVSUlIVUpLSFVJSExZV1kIAVlBQ01NQkI3Bg++
X-HM-Tid: 0a8348b27299b03akuuucdccf8000bc
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/mKQYSwiUGWVKlVbEXWa4Tl-0i5U>
Subject: Re: [Idr] draft-ietf-idr-next-hop-capability
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 16 Sep 2022 23:46:48 -0000

Hi, Bruno:

The compromises will make the encoding and parsing of this attributes more complex. For example, why encoding the AFI/SAFI information within this attribute? The BGP Path attributes are always associated with one AFI/SAFI. 
How to deal the incongruous when the same information is encoded in two different places? Why other next-hop capability isn’t encoded in such way? etc.

I think we all eager to see one generalized solution/standard to meet the requirements. Incorporating the scenarios/necessaries  that described in the ELCv3 draft and make the current BGP nexthop capabilities attributes transitive is more reasonable. 

Several persons have expressed the similar concerns, then I would like to hear the logic for proposing ELCv3 draft? 

The two independent implementations are the IDR WGLC requirements of one draft, not the adoption requirements or prequalifies of the draft. Or else, we will end with various solutions that provided by each vendor, even for one common  requirement/scenario.
We have enough examples for such lessons, let’s stop such anti-standards approaches.

Aijun Wang
China Telecom

> On Sep 16, 2022, at 23:30, bruno.decraene@orange.com wrote:
> 
> 
> Hi Aijun,
>  
> Thanks for your valuable feedback.
> Please see inline [Bruno]
>  
>  
> Orange Restricted
> From: Aijun Wang <wangaijun@tsinghua.org.cn> 
> Sent: Friday, September 16, 2022 5:10 PM
> To: DECRAENE Bruno INNOV/NET <bruno.decraene@orange.com>
> Cc: idr@ietf.org; Gyan Mishra <hayabusagsm@gmail.com>; draft-ietf-idr-next-hop-capability@ietf.org; draft-scudder-idr-entropy-label@ietf.org
> Subject: Re: [Idr] draft-ietf-idr-next-hop-capability
>  
> Hi, Bruno:
>  
> No. Let the “BGP Next-hop dependent Capabilities Attributes” transitive is more reasonable.
> There is also another drawback of your bellowing proposal: how to encode the RLD value? Keep still the current “Entropy Label Next-Hop dependent Capabilities” in your document? Then there will be two places to encode the same information.
> 
> [Bruno] RLD is a good point. Thanks for raising it. May one option would be to define an “RLD Next-Hop dependent capability”
> 
> Yes the below proposal is a compromise (because IMO having two independent solutions would be worse).
> 
> Regards,
> 
> Bruno
> 
> Aijun Wang
> China Telecom
> 
> 
> On Sep 16, 2022, at 21:45, bruno.decraene@orange.com wrote:
> 
> 
> Of-list, I’ve been told that some form of backward compatibility with a deployed software (namely ELCv2, minus the squatted code-point) is a significant aspect for some actors.
>  
> I think that there may be a path to account for both the past history (ELCv2) and the future generic capabilities (BGP Next-Hop Capability) with the following attribute encoding:
> -Transitive BGP attribute, code point TBD.
> - Capability encoding :
>  
>       +---------------------------------------------------------+
>       | Address Family Identifier (2 octets)                    |
>       +---------------------------------------------------------+
>       | Subsequent Address Family Identifier (1 octet)          |
>       +---------------------------------------------------------+
>       | Length of Next Hop Network Address (1 octet)            |
>       +---------------------------------------------------------+
>       | Network Address of Next Hop (variable)                  |
>       +---------------------------------------------------------+
>  
> Followed by an optional set of NH Capabilities encoded as
>                      +------------------------------+
>                      | Capability Code (2 octets)   |
>                      +------------------------------+
>                      | Capability Length (2 octets) |
>                      +------------------------------+
>                      | Capability Value (variable)  |
>                      ~                              ~
>                      +------------------------------+
>  
>  
> That way:
> - Existing implementations see the same content as ELCv2/v3. All they need is to accept and ignore trailing octets
> - Other BGP Next-Hop capabilities may be encoded as BGP Next-Hop capability code and allowing capability value.
>  
> The main drawback that I can see is that if, in a distant future, one implementation would need to advertise some BGP Next-Hop Capabilities but without advertise ELC, we would need to define a BGP Next-Hop capability code to signal the non-support  of ELC (negative capability announcement).
> However, given the existing history (ELCv2), that may be seen as a reasonable way to merge both approaches into a single solution, with minimal impact for existing implementations (accept trailing octets, use a different codepoint).
>  
> Hope this helps,
> Regards,
> Bruno
>  
>  
>  
>  
>  
>  
> From: DECRAENE Bruno INNOV/NET 
> Sent: Friday, September 16, 2022 2:11 PM
> To: idr@ietf.org; 'Gyan Mishra' <hayabusagsm@gmail.com>
> Subject: draft-ietf-idr-next-hop-capability
>  
> Dear WG, Gyan
>  
> draft-ietf-idr-next-hop-capability provides the ability to advertise BGP Next-Hop dependent capabilities. This is typically useful for advertising data plane related capabilities.
> The draft also defines a first BGP Next-Hop capability to advertise the Entropy Label Capability. As such the draft updates RFC6790.
>  
> For this, the draft defines a new non-transitive BGP Attribute.
> The use of a non-transitive attribute (vs a transitive attribute) has benefits and disadvantages, more specifically with regards to legacy implementations not supporting draft-ietf-idr-next-hop-capability.
>  
> - the benefit of using a non-transitive attribute is that the attribute is automatically removed by implementation not supporting draft-ietf-idr-next-hop-capability, with no extra complexity (logic, data, code and related tests/bugs) as RFC 4271 already provides the non-transitivity.
> - the cost of using a non-transitive attribute is that a BGP node which is both 1) propagating the BGP route while not in the data plane path (not changing the BGP Next-Hop) and  2) not supporting draft-ietf-idr-next-hop-capability will remove the attributes/Next-Hop capabilities even though it would not need to as the BGP Next-Hop (hence the Next-Hop capabilities) is unchanged. So essentially the benefit is for BGP Route Reflectors which do not support yet draft-ietf-idr-next-hop-capability. The benefit is likely to be transient and for a small portion of the nodes (e.g. 1%)  however it’s definitely real and helps for incremental deployments.
>  
> I have two questions for the WG:
> - is the above pro & con analysis complete or are there points that would need to be added or removed ?
> - given the pro & con, does the WG prefer the use of a non-transitive or a transitive capability?
>  
>  
> Note that moving to a transitive attribute would require to add extra logic/code and extra data in the attribute (both being described in draft-scudder-idr-entropy-label) and in short:
> - the extra data: capability Next-Hop (AFI, SAFI, length of Next-Hop field, Next-Hop address)
> - the extra logic: if Next-Hop address is different in the attribute and in the BGP Next-Hop, then disregard and remove the attribute.
> The editor and authors of draft-scudder would be welcome to join as co-authors. (To be transparent, the chairs and AD would likely impose a 5 or 6 authors limit)
>  
> Regards,
> Bruno
>  
>  
>  
>  
> _________________________________________________________________________________________________________________________
>  
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>  
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
> _________________________________________________________________________________________________________________________
> 
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.